/* 1. Die aufrechte (normale) Variante */
@font-face {
  font-family: 'Inter Variable';
  src: url('Inter-VariableFont_opsz,wght.ttf') format('truetype-variations'),
       url('Inter-VariableFont_opsz,wght.ttf') format('truetype'); /* Fallback */
  
  /* Definiert den unterstützten Gewichtsbereich (von 100 bis 900) */
  font-weight: 100 900; 
  font-style: normal;
  font-display: swap;
}

/* 2. Die kursive Variante */
@font-face {
  font-family: 'Inter Variable';
  src: url('Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations'),
       url('Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype'); /* Fallback */
  
  /* Auch hier: voller Gewichtsbereich für Kursiv */
  font-weight: 100 900; 
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Globale Schriftzuweisung aktualisieren
   ========================================================================== */
:root {
  --font-main: 'Inter Variable', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --primary: #005bb5;
  --primary-dark: #004388;
  --accent: #25d366; 
  --accent-dark: #1da851;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Verhindert automatisches Wort-Abbrechen & skaliert Schrift sauber */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 1rem;
    overflow-x: hidden;
}

/* Verhindert Worttrennungen/Abschneiden auf Mobilgeräten */
h1, h2, h3, h4, h5, h6, p, a, span {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   HEADER & HOTLINE
   ========================================================================== */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.logo a {
    font-size: clamp(1.3rem, 4vw, 1.75rem);
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.header-hotline {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hotline-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hotline-number {
    font-size: clamp(1.1rem, 3.5vw, 1.35rem);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.hotline-number:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: clamp(3rem, 8vw, 6rem) 0;
    text-align: center;
}

.hero-content {
    max-width: 850px;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.hero-solution {
    font-size: clamp(1.05rem, 3vw, 1.35rem);
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.hero-solution strong {
    color: #ffffff;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    width: 100%;
}

@media (min-width: 480px) {
    .btn {
        width: auto;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-whatsapp {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: var(--accent-dark);
}

.btn-large {
    background-color: var(--primary);
    color: #ffffff;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    padding: 1.1rem 2.2rem;
    box-shadow: 0 4px 15px rgba(0, 91, 181, 0.3);
}

.btn-large:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services, .region, .about, .pricing, .notice-section {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-title h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   HINWEIS KIN LADENGESCHÄFT
   ========================================================================== */
.notice-box {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.notice-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.notice-text h3 {
    font-size: 1.15rem;
    color: #1e40af;
    margin-bottom: 0.4rem;
}

.notice-text p {
    color: #1e3a8a;
    font-size: 0.95rem;
}

/* ==========================================================================
   REGION
   ========================================================================== */
.region {
    background-color: var(--bg-white);
    text-align: center;
}

.region-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.region-badge {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
}

.region-badge.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.region-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   ÜBER MICH
   ========================================================================== */
.about-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: clamp(1.75rem, 5vw, 3rem);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.about-card h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

.about-lead {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-card p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   PREISE
   ========================================================================== */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.price-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.price-card.highlight {
    border: 2px solid var(--primary);
    position: relative;
}

.price-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price-amount small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

.price-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.final-cta h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.final-cta p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    margin-bottom: 2rem;
}

.cta-subtext {
    margin-top: 1.5rem !important;
    font-size: 0.95rem !important;
}

.cta-subtext a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 2.5rem 0;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Feinschliff für sehr kleine Displays */
@media (max-width: 500px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-hotline {
        align-items: flex-start;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}