/* --- FONTS --- */
        @font-face { font-family: 'Inter'; src: url('/assets/fonts/inter/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
        @font-face { font-family: 'Inter'; src: url('/assets/fonts/inter/Inter-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
        @font-face { font-family: 'Inter'; src: url('/assets/fonts/inter/Inter-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

        :root {
            --primary-blue: #002244;
            --accent-gold: #C5A059;
            --text-main: #2D3436;
            --text-light: #64748b;
            --bg-light: #f8fafc;
            --white: #ffffff;
            --whatsapp-green: #25D366;
            --border-color: #f1f5f9;
            --max-width: 1600px; 
        }

        /* ===== THEME TOKENS (Light / Dark) ===== */
        :root {
          --bg: #ffffff;
          --surface: #ffffff;
          --text: #2D3436;
          --text-muted: #64748b;
          --border: #f1f5f9;
        }

        /* Dark Mode */
        :root[data-theme="dark"] {
          --bg: #0b1220;
          --surface: #0f172a;
          --text: #e5e7eb;
          --text-muted: #94a3b8;
          --border: rgba(255,255,255,0.14);
        }
        
        * { margin: 0; padding: 0; box-sizing: border-box; font-style: normal !important; }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            -webkit-font-smoothing: antialiased;
            color: var(--text);
            line-height: 1.6;
            background-color: var(--bg);
            scroll-behavior: smooth;
        }

        nav,
        footer,
        .service-card,
        .flow-card,
        .faq-item,
        .contact-box {
          background-color: var(--surface);
          border-color: var(--border);
        }

        .container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
        .section-padding { padding: 8rem 0; }
        .flex { display: flex; }
        .flex-col { flex-direction: column; }
        .items-center { align-items: center; }
        .justify-center { justify-content: center; }
        .justify-between { justify-content: space-between; }
        .gap-2 { gap: 0.5rem; }
        .gap-4 { gap: 1rem; }
        .gap-6 { gap: 1.5rem; }
        .gap-8 { gap: 2rem; }
        .text-center { text-align: center; }
        .grid { display: grid; }

        @media (min-width: 768px) {
            .md-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
            .md-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
            .md-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
        }

        /* --- NAVIGATION --- */
        nav {
            background-color: rgba(255, 255, 255, 0.98);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-color);
            height: 5.5rem;
        }

        .nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

        .nav-brand { flex: 1; display: flex; flex-direction: column; text-decoration: none; }
        .nav-links-center { display: none; flex: 2; justify-content: center; gap: 3.5rem; }
        .nav-icons-right { display: none; flex: 1; justify-content: flex-end; gap: 1.25rem; }

        @media (min-width: 1024px) {
            .nav-links-center { display: flex; }
            .nav-icons-right { display: flex; }
            .hamburger-btn { display: none !important; }
        }

        .logo-text { font-size: 1.35rem; font-weight: 700; color: var(--primary-blue); letter-spacing: -0.025em; }
        .logo-sub { font-size: 11px; color: #9ca3af; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

        .nav-link { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #6b7280; text-decoration: none; transition: color 0.2s; }
        .nav-link:hover { color: var(--primary-blue); }

        .nav-icon-btn { 
            width: 2.75rem; height: 2.75rem; border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; 
            color: white !important; transition: transform 0.2s;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }
        .nav-icon-btn.btn-call { background-color: var(--primary-blue) !important; }
        .nav-icon-btn.btn-wa { background-color: var(--whatsapp-green) !important; }
        .nav-icon-btn:hover { transform: scale(1.1); }
        .nav-icon-btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

        .hamburger-btn { background: none; border: none; cursor: pointer; color: var(--primary-blue); padding: 0.5rem; display: flex; align-items: center; justify-content: center; }

        /* --- MOBILE MENU --- */
        #mobile-menu {
            position: fixed; top: 0; right: 0; width: 100%; height: 100%;
            background: white; z-index: 2000; padding: 2rem;
            display: flex; flex-direction: column;
            transform: translateX(100%); transition: transform 0.3s ease;
        }
        #mobile-menu.active { transform: translateX(0); }
        #mobile-menu .nav-link { font-size: 1.5rem; margin-bottom: 2rem; text-align: center; text-decoration: none; font-weight: 700; color: var(--primary-blue); text-transform: uppercase; }
        #mobile-menu .menu-icons { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem; }

        /* Floating WhatsApp Button */
        .whatsapp-float {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background-color: var(--whatsapp-green);
            color: white;
            width: 3.5rem;
            height: 3.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            z-index: 999;
            transition: transform 0.2s;
            text-decoration: none;
        }
        .whatsapp-float:hover { transform: scale(1.1); }
        .whatsapp-float svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }

        /* --- HERO --- */
        .hero-clean {
            background: linear-gradient(rgba(0, 34, 68, 0.75), rgba(0, 34, 68, 0.65)), 
                        url('/assets/img/hero/dsb-header.webp');
            background-size: cover; background-position: center;
            padding: 10rem 1.5rem; text-align: center; color: white;
        }
        @media (min-width: 768px) { .hero-clean { padding: 14rem 1.5rem; } }
        .hero-h1 { font-size: 2.75rem; font-weight: 300; margin-bottom: 1.5rem; line-height: 1.2; }
        @media (min-width: 768px) { .hero-h1 { font-size: 4.5rem; } }
        .hero-h1 .bold { font-weight: 700; }
        .hero-p { font-size: 1.25rem; font-weight: 300; opacity: 0.95; max-width: 52rem; margin: 0 auto 4rem; }

                /* --- BUTTONS --- */
        .btn-group{
            display:flex;
            flex-direction:column;
            gap:1rem;
            align-items:stretch;
            justify-content:center;
            width:100%;
            max-width:28rem;
            margin:0 auto;
        }
        .btn-group .btn{ width:100%; justify-content:center; }
        @media (min-width: 640px){
            .btn-group{ flex-direction:row; align-items:center; max-width:none; }
            .btn-group .btn{ width:auto; min-width:16rem; }
        }

.btn { padding: 1.25rem 2.75rem; border-radius: 1rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.85rem; transition: all 0.2s; text-decoration: none; font-size: 1.05rem; border: none; cursor: pointer; }
        .btn-white { background-color: white; color: var(--primary-blue); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .btn-primary { background-color: var(--primary-blue); color: white; }
        .btn:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }

        /* --- SERVICES --- */
        .services-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
            justify-items: center;
        }
        @media (min-width: 1024px) {
            .services-grid { grid-template-columns: repeat(3, 1fr); }
        }

        .service-card { 
            background: white; 
            border-radius: 1.5rem; 
            overflow: hidden; 
            border: 1px solid var(--border-color); 
            transition: all 0.3s ease; 
            display: flex; 
            flex-direction: column;
            max-width: 380px; 
        }
        .service-card:hover { border-color: var(--accent-gold); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
        .service-card-img-link { display: block; overflow: hidden; height: 260px; }
        .service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
        .service-card-body { padding: 2.5rem; text-align: center; }
        .card-h4 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.25rem; text-transform: uppercase; color: var(--primary-blue); }

        .section-accent-title { 
            color: var(--accent-gold); 
            font-size: 1.15rem; 
            font-weight: 700; 
            text-transform: uppercase; 
            letter-spacing: 0.15em; 
            margin-bottom: 1rem; 
            display: block; 
        }

        .section-main-title {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary-blue);
            text-transform: uppercase;
            margin-bottom: 2rem;
        }
        @media (min-width: 768px) {
            .section-main-title { font-size: 2.5rem; }
        }

        .more-info-text { 
            color: var(--accent-gold); font-size: 0.85rem; font-weight: 700; 
            text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; 
            display: inline-flex; align-items: center; gap: 0.5rem; transition: opacity 0.2s;
        }
        .more-info-text:hover { opacity: 0.7; }
        .info-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); color: var(--text-light); font-size: 0.95rem; text-align: left; }
        .info-content.active { max-height: 300px; padding-top: 1.5rem; }

        /* --- ÜBER UNS --- */
        .ueber-uns-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
        @media (min-width: 1024px) { .ueber-uns-grid { grid-template-columns: 1fr 1.2fr; } }
        .ueber-uns-img-box { border-radius: 2rem; overflow: hidden; aspect-ratio: 4/5; background-color: #f1f5f9; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
        .ueber-uns-img-box img { width: 100%; height: 100%; object-fit: cover; }
        .usp-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
        .usp-item { display: flex; align-items: flex-start; gap: 1rem; font-weight: 700; color: var(--primary-blue); text-align: left; }
        .usp-item svg { width: 1.25rem; height: 1.25rem; fill: var(--whatsapp-green); flex-shrink: 0; margin-top: 0.2rem; }

        /* --- EINSATZGEBIETE --- */
        .city-badge { 
            background: white; border: 1px solid var(--border-color); padding: 0.85rem 2rem; 
            border-radius: 0.75rem; font-size: 12px; font-weight: 700; color: #94a3b8; 
            text-transform: uppercase; letter-spacing: 0.1em; transition: all 0.2s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        }
        .city-badge:hover { border-color: var(--accent-gold); color: var(--primary-blue); transform: translateY(-2px); }

        /* --- FLOW / ABLAUF --- */
        .flow-card { 
            background: white; 
            padding: 3rem 2rem; 
            border-radius: 1.5rem; 
            border: 1px solid var(--border-color); 
            text-align: center; 
            transition: all 0.3s ease; 
        }
        .flow-card:hover {
            border-color: var(--accent-gold);
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        }
        .flow-step { font-size: 2.5rem; font-weight: 800; color: var(--accent-gold); opacity: 0.3; margin-bottom: 1.5rem; display: block; }
        .flow-title { font-weight: 800; color: var(--primary-blue); margin-bottom: 1rem; text-transform: uppercase; font-size: 1.1rem; }
        .flow-text { font-size: 1rem; color: var(--text-light); line-height: 1.6; }

        /* --- FAQ --- */
        .faq-item { background: white; border-radius: 1rem; border: 1px solid var(--border-color); margin-bottom: 1rem; transition: all 0.2s ease; }
        .faq-item:hover { border-color: var(--accent-gold); }
        .faq-question { padding: 1.5rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--primary-blue); text-transform: uppercase; font-size: 0.85rem; }
        .faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-light); display: none; font-size: 0.95rem; line-height: 1.7; }
        .faq-item.active .faq-answer { display: block; }
        .faq-icon { transition: transform 0.3s ease; font-size: 1.2rem; }
        .faq-item.active .faq-icon { transform: rotate(45deg); }

        /* --- KONTAKTFORMULAR --- */
        .contact-form-stack { display: flex; flex-direction: column; gap: 2.5rem; }
        .input-field { width: 100%; padding: 1.25rem; border-radius: 0.75rem; border: 1px solid #e2e8f0; background: var(--bg-light); font-size: 1.05rem; }
        .form-group label { font-size: 13px; font-weight: 700; text-transform: uppercase; color: #94a3b8; margin-bottom: 0.75rem; display: block; text-align: left; }

        /* --- COOKIE BANNER SLIM --- */
        #cookie-banner { 
            display: none; position: fixed; bottom: 0; left: 0; 
            width: 100%; z-index: 5000; background: white; 
            box-shadow: 0 -5px 30px rgba(0,0,0,0.08); padding: 1.25rem 2rem; border-top: 1px solid var(--border-color);
        }
        .cookie-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
        @media (min-width: 768px) { .cookie-inner { flex-direction: row; justify-content: space-between; } }
        .cookie-text { font-size: 0.9rem; color: var(--text-light); text-align: center; }
        @media (min-width: 768px) { .cookie-text { text-align: left; } }
        .cookie-btn { padding: 0.75rem 2rem; border-radius: 0.5rem; font-weight: 700; text-transform: uppercase; cursor: pointer; border: none; font-size: 0.8rem; }

        /* --- FOOTER OPTIMIERUNG --- */
        footer { border-top: 1px solid var(--border-color); padding-top: 5rem; background: white; padding-bottom: 2rem; }
        .footer-icon { fill: var(--accent-gold); width: 1.1rem; height: 1.1rem; margin-right: 0.75rem; vertical-align: middle; }
        .slogan-footer { font-size: 1.5rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 3rem; letter-spacing: -0.01em; }

        .footer-brand-section {
            padding-left: 1.5rem; /* Abstand vom Rand für Branding & Daten */
        }

        
        .footer-review-btn{
            margin-top: 2.25rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.9rem;
            background: var(--accent-gold);
            color: white;
            padding: 1.25rem 2.75rem;
            border-radius: 2rem;
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            text-decoration: none;
            box-shadow: 0 14px 30px rgba(0,0,0,0.10);
            width: 100%;
            max-width: 28rem;
        }
        .footer-review-btn:hover{ filter: brightness(0.98); }
        .footer-review-btn svg{ width: 1.1rem; height: 1.1rem; fill: currentColor; }
        @media (min-width: 768px){
            .footer-review-btn{ width: auto; }
        }
.footer-bottom { 
            border-top: 1px solid var(--border-color); padding-top: 3rem; margin-top: 4rem;
            display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
            text-align: center; 
        }
        .footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
        .footer-links a { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #94a3b8; text-decoration: none; transition: color 0.2s; }
        .footer-links a:hover { color: var(--primary-blue); }
        .copyright { font-size: 11px; color: #cbd5e1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

        .icon-inline { width: 1.25rem; height: 1.25rem; vertical-align: middle; fill: currentColor; }
        .text-accent { color: var(--accent-gold); }

        /* Einleitungstext Styling */
        .intro-lead-text {
            max-width: 65rem;
            margin: 0 auto 5rem;
            color: var(--text-light);
            font-size: 1.4rem; 
            line-height: 1.9;
        }
        .intro-lead-text p { margin-bottom: 2.5rem; }

/* --- LEGAL PAGES (DATENSCHUTZ / IMPRESSUM) --- */
.legal-hero { padding: 6rem 1.5rem; }
@media (min-width: 768px) { .legal-hero { padding: 8rem 1.5rem; } }

.legal-h1 { 
  font-size: 2.5rem; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: -0.02em; 
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .legal-h1 { font-size: 3.5rem; } }

.legal-sub { 
  max-width: 42rem; 
  margin: 0 auto; 
  font-size: 0.75rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.25em; 
  color: var(--accent-gold); 
  opacity: 1;
}

.legal-content { max-width: 56rem; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  margin: 0 0 1.25rem;
  color: var(--text-light);
  font-size: 1.02rem;
  font-weight: 300;
}

.legal-content a { color: var(--primary-blue); font-weight: 700; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

.legal-content ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.legal-content li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; color: var(--text-light); }
.legal-content li::before { content: "•"; position: absolute; left: 0; color: var(--accent-gold); font-weight: 900; }

.legal-content strong { color: var(--primary-blue); font-weight: 800; }
.legal-content hr { border: 0; border-top: 1px solid var(--border-color); margin: 2.5rem 0; }

/* H1 immer mittig */
.hero-title {
  text-align: center;
}

/* Umbruch nach "Fensterreparatur" nur mobil */
.break-mobile {
  display: inline;
}

@media (max-width: 768px) {
  .break-mobile {
    display: block;
  }
}

.whatsapp-link {
  color: var(--whatsapp-green);
  font-weight: 700;
  text-decoration: none;
}
.whatsapp-link:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

/* ===== Header / Logo Fix Mobile ===== */
.nav-brand {
  max-width: 70%;
  white-space: nowrap;
}

.logo-text {
  font-size: 1.1rem;
}

.logo-sub {
  font-size: 0.85rem;
}

/* Mobile Anpassung */
@media (max-width: 480px) {
  .nav-brand {
    max-width: 75%;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-sub {
    font-size: 0.75rem;
  }
}

.hero-h1{
  text-align: center;
  line-height: 1.12;
  max-width: 22ch;                 /* etwas mehr Luft */
  margin: 0 auto 1.1rem;           /* Abstand zur Subline */
  font-size: clamp(2.55rem, 6.4vw, 3.55rem);

  /* wichtig: Wort nie trennen */
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-p{
  margin-top: 0;
}

/* Fensterreparatur nur als Zeile umbrechen, nie trennen */
.break-mobile{
  display: inline;
}

@media (max-width: 768px){
  .break-mobile{
    display: block;
    white-space: nowrap;
  }
}

/* sehr kleine Geräte */
@media (max-width: 380px){
  .hero-h1{
    font-size: 2.35rem;
  }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-clean .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-h1 {
  margin: 0 auto 1.5rem;
}

.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.service-card {
  height: auto;
}

.service-card-body {
  height: auto;
}

.info-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.info-content.active {
  max-height: 2000px; /* bewusst hoch, Inhalt bestimmt echte Höhe */
}

.info-content p {
  margin-bottom: 1rem;
}


/* ===== THEME TOGGLE ===== */
.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 700;
}

.theme-toggle .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.25;
  position: relative;
}

.theme-toggle .dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
  transform: translateX(-8px);
  transition: transform 0.25s ease;
}

:root[data-theme="dark"] .theme-toggle .dot::after {
  transform: translateX(0);
}
