/* ============================================================
   DISKETTENWERK - Maritime Theme + Dark Mode
   Override-Layer für bestehende CSS-Variablen
   Stand: 27.02.2026
   ============================================================ */

/* ========================================
   LIGHT MODE - Maritime Palette
   Überschreibt die bestehenden :root Variablen
   ======================================== */
:root,
html[data-theme="light"] {
  /* Bestehende Variablen → Maritime Farben */
  --nav:            #0A2540;
  --ink:            #0A2540;
  --primary-blue:   #0A2540;
  --primary-green:  #0D9488;
  --dark-blue:      #0A2540;
  --light-blue:     #E1F0F8;
  --accent-green:   #5EEAD4;
  --accent:         #0D9488;
  --pink:           #0D9488;

  --text-dark:      #0F2D44;
  --text-light:     #4A6B80;
  --muted:          #5A7A8F;

  --bg:             #F5F8FB;
  --bg-light:       #EAF2F8;
  --white:          #FFFFFF;
  --card:           #FFFFFF;
  --border:         #D1DEE8;
  --input-border:   #C5D5E0;

  --ring:           rgba(10, 37, 64, 0.15);
  --shadow:         0 2px 8px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.04);
  --shadow-hover:   0 8px 24px rgba(10, 37, 64, 0.1), 0 4px 8px rgba(10, 37, 64, 0.06);
  --shadow-md:      0 4px 6px rgba(10, 37, 64, 0.07);
  --shadow-lg:      0 10px 15px rgba(10, 37, 64, 0.1);
  --shadow-xl:      0 20px 25px rgba(10, 37, 64, 0.12);

  --dark-green:     #065F46;
  --light-green:    #CCFBF1;
  --warn:           #F59E0B;

  --gray-50:        #F5F8FB;
  --gray-100:       #EAF2F8;
  --gray-200:       #D1DEE8;
  --gray-300:       #B8C9D6;
  --gray-600:       #4A6B80;
  --gray-900:       #0A2540;

  --box-bg:         #0A2540;
  --box-border:     #1B3A5C;
  --box-muted:      rgba(255, 255, 255, 0.65);
}


/* Light Mode body-level Override */
html[data-theme="light"] body,
:root body {
  --nav:            #0A2540;
  --ink:            #0A2540;
  --primary-blue:   #0A2540;
  --primary-green:  #0D9488;
  --dark-blue:      #0A2540;
  --light-blue:     #E1F0F8;
  --accent-green:   #5EEAD4;
  --accent:         #0D9488;
  --text-dark:      #0F2D44;
  --text-light:     #4A6B80;
  --white:          #FFFFFF;
  --card:           #FFFFFF;
  --border:         #D1DEE8;
  --input-border:   #C5D5E0;
  --dark-green:     #065F46;
  --light-green:    #CCFBF1;
  --gray-50:        #F5F8FB;
  --gray-100:       #EAF2F8;
  --gray-200:       #D1DEE8;
  --gray-300:       #B8C9D6;
  --gray-600:       #4A6B80;
  --gray-900:       #0A2540;
}

/* ========================================
   DARK MODE
   ======================================== */
html[data-theme="dark"] {
  --nav:            #071B2E;
  --ink:            #E1EDF8;
  --primary-blue:   #4A9EBF;
  --primary-green:  #14B8A6;
  --dark-blue:      #7BC4E0;
  --light-blue:     #162B4D;
  --accent-green:   #5EEAD4;
  --accent:         #14B8A6;
  --pink:           #14B8A6;

  --text-dark:      #E1EDF8;
  --text-light:     #A4BFD4;
  --muted:          #7A95AD;

  --bg:             #0B1929;
  --bg-light:       #0F2035;
  --white:          #112240;
  --card:           #112240;
  --border:         #1E3A5F;
  --input-border:   #1E3A5F;

  --ring:           rgba(74, 158, 191, 0.25);
  --shadow:         0 2px 8px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
  --shadow-hover:   0 8px 24px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-md:      0 4px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg:      0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-xl:      0 20px 25px rgba(0, 0, 0, 0.35);

  --dark-green:     #6EE7B7;
  --light-green:    #052E1D;
  --warn:           #FBBF24;

  --gray-50:        #0F2035;
  --gray-100:       #162B4D;
  --gray-200:       #1E3A5F;
  --gray-300:       #2A4F75;
  --gray-600:       #A4BFD4;
  --gray-900:       #E1EDF8;

  --box-bg:         #071525;
  --box-border:     #1E3A5F;
  --box-muted:      rgba(255, 255, 255, 0.5);
}

/* ========================================
   DARK MODE - Hardcodierte Farben Override
   (für alles was NICHT via Variable gesetzt wird)
   ======================================== */
/* Dark Mode body-level Override (überschreibt body{} Definitionen in style.css) */


/* Header bleibt dunkel in beiden Modi */
html[data-theme="dark"] .site-header {
  background: #071525;
}

/* Hintergründe */
html[data-theme="dark"] .intro,
html[data-theme="dark"] .card,
html[data-theme="dark"] .faq details,
html[data-theme="dark"] .form fieldset,
html[data-theme="dark"] .thankyou,
html[data-theme="dark"] .agb-card,
html[data-theme="dark"] .contact,
html[data-theme="dark"] #formwrap .card,
html[data-theme="dark"] .compare,
html[data-theme="dark"] .compare tbody tr,
html[data-theme="dark"] .steps li,
html[data-theme="dark"] .intro-card,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .material-item,
html[data-theme="dark"] .process-step,
html[data-theme="dark"] .size-item {
  background: #112240;
  border-color: #1E3A5F;
  color: #E1EDF8;
}

html[data-theme="dark"] .compare tbody tr:nth-child(odd) {
  background: #162B4D;
}
html[data-theme="dark"] .compare tbody tr:hover,
html[data-theme="dark"] .faq summary:hover {
  background: #1A3358;
}

/* Sections & Gradients */
html[data-theme="dark"] section,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #0F2035 0%, #112240 100%);
}

html[data-theme="dark"] .faq summary {
  background: linear-gradient(90deg, #112240, #162B4D);
  color: #E1EDF8;
}

/* Notice/Alert/Eco Boxen */
html[data-theme="dark"] .notice {
  background: linear-gradient(135deg, #162B4D, #112240);
  border-left-color: #4A9EBF;
  color: #E1EDF8;
}

html[data-theme="dark"] .eco-note,
html[data-theme="dark"] #sustain {
  background: linear-gradient(135deg, #052E1D, #064A35);
  color: #6EE7B7;
  border-left-color: #14B8A6;
}

html[data-theme="dark"] #sustain h2,
html[data-theme="dark"] #sustain p,
html[data-theme="dark"] .eco-note strong {
  color: #6EE7B7;
}

html[data-theme="dark"] .warn-text,
html[data-theme="dark"] .warn-box,
html[data-theme="dark"] .warning-box {
  background: linear-gradient(135deg, #2E1E05, #3D2A0A);
  border-left-color: #FBBF24;
  color: #FDE68A;
}

html[data-theme="dark"] .warn-text strong,
html[data-theme="dark"] .warn-box strong,
html[data-theme="dark"] .warning-box h3 {
  color: #FBBF24;
}

html[data-theme="dark"] .info-box {
  background: linear-gradient(135deg, #0F2035, #162B4D);
  border-left-color: #4A9EBF;
  color: #B8DFF0;
}

html[data-theme="dark"] .checklist {
  background: #0F2035;
  border-left-color: #4A9EBF;
}

html[data-theme="dark"] .tip-box {
  background: #052E1D;
  border-left-color: #14B8A6;
}

html[data-theme="dark"] .highlight-box {
  background: linear-gradient(135deg, #0F2035, #162B4D);
  color: #E1EDF8;
}

html[data-theme="dark"] .pricing-info {
  background: linear-gradient(135deg, #0F2035, #112240);
}

/* Texte */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .card h2,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .agb-card h2,
html[data-theme="dark"] .contact a,
html[data-theme="dark"] .faq summary,
html[data-theme="dark"] .form legend,
html[data-theme="dark"] .share-box h2,
html[data-theme="dark"] section h2,
html[data-theme="dark"] section h3,
html[data-theme="dark"] .step-card h2,
html[data-theme="dark"] .intro-card p,
html[data-theme="dark"] .checklist h3,
html[data-theme="dark"] #shipping-group legend {
  color: #E1EDF8;
}

html[data-theme="dark"] .intro h1,
html[data-theme="dark"] .thankyou h1,
html[data-theme="dark"] .price-value,
html[data-theme="dark"] section h3 {
  background: linear-gradient(135deg, #4A9EBF, #14B8A6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .lead,
html[data-theme="dark"] .card ul li,
html[data-theme="dark"] .agb-card p,
html[data-theme="dark"] .faq details > div,
html[data-theme="dark"] .faq details div,
html[data-theme="dark"] .hint,
html[data-theme="dark"] .check-list li,
html[data-theme="dark"] .ticks li,
html[data-theme="dark"] .price-label,
html[data-theme="dark"] .price-desc,
html[data-theme="dark"] .price-divider,
html[data-theme="dark"] .small-note,
html[data-theme="dark"] #service .card li,
html[data-theme="dark"] .step-card > p,
html[data-theme="dark"] .process-desc,
html[data-theme="dark"] .demo-label {
  color: #A4BFD4;
}

html[data-theme="dark"] .form label span,
html[data-theme="dark"] label > span,
html[data-theme="dark"] .notice {
  color: #E1EDF8;
}

/* Links */
html[data-theme="dark"] .contact a {
  border-bottom-color: rgba(74, 158, 191, 0.3);
}
html[data-theme="dark"] .contact a:hover {
  border-bottom-color: #4A9EBF;
}

/* Formulare */
html[data-theme="dark"] .form input[type="text"],
html[data-theme="dark"] .form input[type="email"],
html[data-theme="dark"] .form input[type="tel"],
html[data-theme="dark"] .form input[type="date"],
html[data-theme="dark"] .form select,
html[data-theme="dark"] .form textarea,
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="tel"],
html[data-theme="dark"] select,
html[data-theme="dark"] #formwrap input,
html[data-theme="dark"] #formwrap select,
html[data-theme="dark"] #formwrap textarea {
  background: #162B4D;
  border-color: #1E3A5F;
  color: #E1EDF8;
}

html[data-theme="dark"] .form input:focus,
html[data-theme="dark"] .form select:focus,
html[data-theme="dark"] .form textarea:focus,
html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus {
  border-color: #4A9EBF;
  box-shadow: 0 0 0 3px rgba(74, 158, 191, 0.25);
}

/* Tabellen */
html[data-theme="dark"] .compare thead {
  background: linear-gradient(135deg, #0A2540, #1B4D7A);
}

/* Footer */
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] footer {
  background: #060F1C;
}

/* Cookie Banner */
html[data-theme="dark"] .cookie-banner {
  background: #071525;
}

/* Hero-spezifisch */
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .hero-h1,
html[data-theme="dark"] .hero-header h1 {
  color: #E1EDF8;
}

html[data-theme="dark"] .hero-text,
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .hero-description {
  color: #A4BFD4;
}

html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .hero-pill {
  background: rgba(13, 148, 136, 0.15);
  color: #5EEAD4;
  border-color: rgba(13, 148, 136, 0.3);
}

html[data-theme="dark"] .hero-btn-primary {
  background: #1B4D7A;
}

html[data-theme="dark"] .hero-btn-primary:hover {
  background: #2E6E9E;
}

html[data-theme="dark"] .hero-btn-secondary,
html[data-theme="dark"] .hero-link-secondary,
html[data-theme="dark"] .hero-link {
  color: #7BC4E0;
}

/* Floating Disketten dezenter im Dark Mode */
html[data-theme="dark"] .diskette,
html[data-theme="dark"] .diskette-float {
  opacity: 0.02;
}

/* Demo Items */
html[data-theme="dark"] .demo-item {
  background: #162B4D;
}
html[data-theme="dark"] .demo-item.correct {
  background: #052E1D;
  border-color: #14B8A6;
}
html[data-theme="dark"] .demo-item.wrong {
  background: #2E0505;
  border-color: #EF4444;
}

/* Scrollbar Dark */
html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #0B1929;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #1E3A5F;
}

/* Selection */
html[data-theme="dark"] ::selection {
  background: #2E6E9E;
  color: #fff;
}

/* Smooth Transition beim Wechsel */
body,
.site-header,
.site-footer,
footer,
.card,
.intro,
section,
.faq details,
.faq summary,
main,
.form fieldset,
.form input,
.form select,
.form textarea,
.thankyou,
.agb-card,
.contact,
.notice,
.eco-note,
.warn-text,
.steps li,
h1, h2, h3,
.lead,
.hero,
.hero-title,
.compare,
.highlight-box,
.pricing-info,
.step-card,
.intro-card {
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ========================================
   THEME TOGGLE STYLES
   ======================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.theme-toggle-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  color: rgba(255,255,255,0.7);
}

.theme-toggle-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
  width: 17px;
  height: 17px;
}

.theme-toggle-btn .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle-btn .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle-btn .icon-moon { display: block; }

/* Emoji-Icons verstecken */
.theme-toggle-icon { display: none !important; }


/* Link-Farben: Teal statt Browser-Default-Lila */
a:not(.cta-primary):not(.btn):not(.btn-white):not(.contact-btn):not(.brand):not(.nav a):not(.social):not(.social-btn):not(.badge) {
  color: #0A2540;
}
a:visited:not(.cta-primary):not(.btn):not(.btn-white):not(.contact-btn):not(.brand):not(.social):not(.social-btn):not(.badge) {
  color: #1B4D7A;
}

/* Links im Content */
.card a,
main a:not(.btn):not(.cta-primary):not(.contact-btn):not(.badge):not(.brand):not(.social):not(.social-btn):not(.nav a):not(.footer-nav a) {
  color: #0A2540 !important;
  text-decoration: underline;
  text-decoration-color: rgba(13, 148, 136, 0.3);
}
.card a:hover,
main a:not(.btn):not(.cta-primary):not(.contact-btn):not(.badge):not(.brand):hover {
  color: #0A2540 !important;
  text-decoration-color: #0A2540;
}

/* Nav/Footer Links bleiben weiß */
.site-header a, .site-footer a, footer a, .nav a, .footer-nav a {
  color: #fff !important;
}


/* Dark Mode Links */
html[data-theme="dark"] a {
  color: #5EEAD4;
}
html[data-theme="dark"] a:visited {
  color: #4FD1C5;
}
html[data-theme="dark"] .card a,
html[data-theme="dark"] main a:not(.btn):not(.cta-primary):not(.contact-btn):not(.badge):not(.brand):not(.social):not(.social-btn) {
  color: #5EEAD4 !important;
}
html[data-theme="dark"] .card a:hover,
html[data-theme="dark"] main a:not(.btn):not(.cta-primary):not(.contact-btn):not(.badge):not(.brand):hover {
  color: #7BC4E0 !important;
}

html[data-theme="dark"] .cta-primary,
html[data-theme="dark"] .contact-btn {
  background: linear-gradient(135deg, #0A2540, #1B4D7A) !important;
}

html[data-theme="dark"] .btn:not(.btn-secondary):not(.btn-white):not(.btn-outline):not(.ghost):not(.more-menu-btn) {
  background: linear-gradient(135deg, #0A2540, #1B4D7A) !important;
}

/* Konsistente Heading-Farben: alle Navy */
h1, h2, h3,
.card h2, .card h3,
section h2, section h3,
.intro h1,
.agb-card h2,
.contact h2,
.faq summary,
.form legend,
.share-box h2,
.step-card h2,
.checklist h3,
#shipping-group legend,
.contact a {
  color: #0A2540 !important;
}

/* Gradient-Texte (h1, h3 mit background-clip) behalten Gradient aber mit Navy */
.intro h1,
.thankyou h1,
.price-value,
section h3:not(.format-header h3) {
  background: linear-gradient(135deg, #0A2540, #1B4D7A) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Final-CTA, Hero-Pack, CTA-Boxen: Gradient passend zum Header */
.final-cta,
.agb-footer-cta,
#disketten .cta,
.cta-pack,
.hero-pack {
  background: var(--gradient-cta) !important;
}

#disketten .card header,
.compare thead {
  background: linear-gradient(135deg, #0A2540, #0D3158) !important;
}

.steps li:before,
.agb-number {
  background: linear-gradient(135deg, #0A2540, #1B4D7A) !important;
}


/* CTA-Buttons: etwas hellerer Gradient für bessere Sichtbarkeit */


/* Section h2 border-bottom: konsistenter Teal-Akzent */
section h2 {
  border-bottom-color: #0D9488 !important;
}

.card h2 {
  border-bottom-color: #0D9488 !important;
}


/* Dark Mode: Heading-Farben */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .card h2,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] section h2,
html[data-theme="dark"] section h3,
html[data-theme="dark"] .agb-card h2,
html[data-theme="dark"] .contact h2,
html[data-theme="dark"] .faq summary,
html[data-theme="dark"] .form legend,
html[data-theme="dark"] .share-box h2,
html[data-theme="dark"] .step-card h2,
html[data-theme="dark"] .checklist h3,
html[data-theme="dark"] #shipping-group legend,
html[data-theme="dark"] .contact a {
  color: #E1EDF8 !important;
}

html[data-theme="dark"] .intro h1,
html[data-theme="dark"] .thankyou h1,
html[data-theme="dark"] .price-value,
html[data-theme="dark"] section h3 {
  background: linear-gradient(135deg, #4A9EBF, #14B8A6) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Dark Mode: CTA-Boxen dunkler */
html[data-theme="dark"] .final-cta,
html[data-theme="dark"] .agb-footer-cta,
html[data-theme="dark"] #disketten .cta,
html[data-theme="dark"] .cta-pack,
html[data-theme="dark"] .hero-pack,
html[data-theme="dark"] #disketten .card header {
  background: linear-gradient(135deg, #071525, #0D2540) !important;
}

html[data-theme="dark"] .cta-primary,
html[data-theme="dark"] .contact-btn {
  background: linear-gradient(135deg, #1B4D7A, #2E6E9E) !important;
}

html[data-theme="dark"] .compare thead {
  background: linear-gradient(135deg, #071525, #0A2540) !important;
}

html[data-theme="dark"] section h2,
html[data-theme="dark"] .card h2 {
  border-bottom-color: #14B8A6 !important;
}


/* Weiße Texte in dunklen Gradient-Boxen */
.final-cta h2,
.final-cta p,
.agb-footer-cta h2,
.agb-footer-cta p,
#disketten .cta h2,
#disketten .cta p,
#disketten .card header h2,
#disketten .card header .sub,
.cta-pack h2,
.cta-pack p,
.hero-pack h1,
.hero-pack .lead,
.compare thead th,
.toast {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

/* Dark Mode: gleich */
html[data-theme="dark"] .final-cta h2,
html[data-theme="dark"] .final-cta p,
html[data-theme="dark"] .agb-footer-cta h2,
html[data-theme="dark"] .agb-footer-cta p,
html[data-theme="dark"] #disketten .cta h2,
html[data-theme="dark"] #disketten .cta p,
html[data-theme="dark"] #disketten .card header h2,
html[data-theme="dark"] #disketten .card header .sub,
html[data-theme="dark"] .cta-pack h2,
html[data-theme="dark"] .cta-pack p,
html[data-theme="dark"] .hero-pack h1,
html[data-theme="dark"] .hero-pack .lead,
html[data-theme="dark"] .compare thead th {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

/* ========================================
   FOOTER MOBILE ACCORDION
   ======================================== */
@media (max-width: 768px) {
  .footer-column .footer-heading {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-column .footer-heading::after {
    content: "▼";
    font-size: 0.65rem;
    transition: transform 0.3s;
    color: rgba(255, 255, 255, 0.5);
  }
  .footer-column.open .footer-heading::after {
    transform: rotate(180deg);
  }
}

/* ========================================
   HEADER LAYOUT FIX - Alles in einer Zeile
   ======================================== */

/* Header-Row: Alles in EINER Zeile */
.site-header .wrap.header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  max-width: 1200px !important;
}

/* Brand: nicht schrumpfen */
.header-row .brand {
  flex-shrink: 0;
}

/* Nav: margin-top killen, einzeilig */
.header-row nav,
.header-row .nav,
#mainnav {
  margin-top: 0 !important;
  flex: 1;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
}

.header-row .nav > ul {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  flex-wrap: nowrap !important;
  gap: 2px !important;
  margin: 0 !important;
}

.header-row .nav > ul > li.mobile-only {
  display: none !important;
}

.header-row .nav a {
  padding: 8px 8px !important;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Burger: nur mobile */
.header-row .burger {
  display: none;
}

/* Theme Toggle: ganz rechts */
.header-row .theme-toggle {
  flex-shrink: 0;
  margin-left: 4px;
}

/* Desktop: Nav + More-Menu + Toggle in einer Zeile */
@media (min-width: 901px) {
  .header-row .nav {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .header-row .nav ul {
    flex-direction: row !important;
    align-items: center !important;
  }

  .header-row .nav a {
    white-space: nowrap;
  }

  /* More-Menu-Container inline */
  .more-menu-container {
    flex-shrink: 0;
  }
}

/* Mobile: Burger + Toggle sichtbar */
@media (max-width: 900px) {
  .header-row {
    gap: 8px !important;
  }

  .header-row .brand {
    flex: 1;
    min-width: 0;
  }

  .header-row .theme-toggle {
    order: 8;
    margin-left: 0;
  }

  .header-row .burger {
    display: inline-flex !important;
    order: 9;
  }
}

/* ========================================
   CTA/BUTTON SYSTEM (FINAL v2)
   Strategie: AUSSCHLUSS statt Überschreibung
   ======================================== */

/* --- 1. Teal-Buttons: nur AUSSERHALB von Navy-Boxen --- */
html body .hero-cta-right:not(.final-cta *),
html body .hero-cta-primary:not(.final-cta *),
html body .hero-btn-primary,
html body .cta-primary,
html body .contact-btn,
html body .btn-primary,
html body .btn-whatsapp {
  background: linear-gradient(135deg, #0A2540, #0D3158) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* .btn Teal: NUR wenn NICHT in einer Navy-Box */
html body *:not(.final-cta):not(.agb-footer-cta):not(.cta-pack):not(.cta-buttons) > .btn:not(.btn-secondary):not(.btn-white):not(.btn-outline):not(.ghost):not(.more-menu-btn) {
  background: linear-gradient(135deg, #0A2540, #0D3158) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Hover */
html body .hero-cta-right:hover,
html body .hero-cta-primary:hover,
html body .hero-btn-primary:hover,
html body .cta-primary:hover,
html body .contact-btn:hover,
html body .btn-primary:hover {
  background: linear-gradient(135deg, #0D3158, #0A2540) !important;
}

/* Sekundäre Buttons */
html body .hero-cta-secondary {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0A2540 !important;
  -webkit-text-fill-color: #0A2540 !important;
}

/* btn-white */
html body .btn-white,
html body a.btn-white {
  background: #fff !important;
  color: #0A2540 !important;
  -webkit-text-fill-color: #0A2540 !important;
}

/* --- 2. CTA-Boxen: Box-Hintergrund --- */
.final-cta,
.agb-footer-cta,
#disketten .cta,
.cta-pack,
.hero-pack {
  background: var(--gradient-cta) !important;
}

/* --- 3. Text in Navy-Boxen: WEISS --- */
html body .final-cta h2, html body .final-cta h3, html body .final-cta p,
html body .agb-footer-cta h2, html body .agb-footer-cta p,
html body .cta-pack h2, html body .cta-pack p,
html body #disketten .cta h2, html body #disketten .cta p,
html body .hero-pack h1, html body .hero-pack .lead,
html body .compare thead th {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

/* --- 4. Dark Mode --- */
html[data-theme="dark"] body .hero-cta-right,
html[data-theme="dark"] body .hero-cta-primary,
html[data-theme="dark"] body .hero-btn-primary,
html[data-theme="dark"] body .cta-primary,
html[data-theme="dark"] body .contact-btn {
  background: linear-gradient(135deg, #0A2540, #1B4D7A) !important;
}

/* ========================================
   DARK MODE: Tiefdunkel wie Header
   ======================================== */
html[data-theme="dark"],
html[data-theme="dark"] body {
  --bg: #0A2540;
  --white: #1A1F2E;
  --light-blue: #1A1F2E;
  --card: #1A1F2E;
  --border: #163A5E;
  --text: #E1EDF8;
  --primary-blue: #E1EDF8;
  --primary-green: #7BC4E0;
  --accent: #7BC4E0;
  --dark-green: #5EEAD4;
  --pink: #7BC4E0;
  --soft-white: #1A1F2E;
  --soft-blue: #0A2540;
  background: #071525 !important;
  color: #E1EDF8 !important;
}

/* Alles gleich dunkel */
html[data-theme="dark"] main,
html[data-theme="dark"] .wrap,
html[data-theme="dark"] section,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .hero-main,
html[data-theme="dark"] .hero-container,
html[data-theme="dark"] .hero-content-grid,
html[data-theme="dark"] .hero-usp-banner,
html[data-theme="dark"] .hero-content,
html[data-theme="dark"] #service,
html[data-theme="dark"] #disketten,
html[data-theme="dark"] .faq,
html[data-theme="dark"] .intro,
html[data-theme="dark"] .content-section,
html[data-theme="dark"] .page-content {
  background: transparent !important;
}

/* Cards/Boxen: Minimal heller als Hintergrund */
html[data-theme="dark"] .card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .content-box,
html[data-theme="dark"] .step-mini-card,
html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .steps-mini-grid,
html[data-theme="dark"] .video-container,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] details,
html[data-theme="dark"] summary,
html[data-theme="dark"] .form-group,
html[data-theme="dark"] table,
html[data-theme="dark"] thead,
html[data-theme="dark"] th,
html[data-theme="dark"] td {
  background: #1A1F2E !important;
  border-color: #163A5E !important;
  color: #E1EDF8 !important;
}

/* USP Banner */
html[data-theme="dark"] .hero-usp-banner {
  background: #1A1F2E !important;
  border-color: #163A5E !important;
}
html[data-theme="dark"] .hero-usp-title,
html[data-theme="dark"] .hero-usp-desc {
  color: #E1EDF8 !important;
}

/* Texte: Hell auf Dunkel */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] span,
html[data-theme="dark"] label,
html[data-theme="dark"] strong,
html[data-theme="dark"] b {
  color: #E1EDF8 !important;
  -webkit-text-fill-color: #E1EDF8 !important;
  background: none !important;
}

/* Gradient-Headings im Dark Mode: keine Gradients */
html[data-theme="dark"] .intro h1,
html[data-theme="dark"] .thankyou h1,
html[data-theme="dark"] .price-value,
html[data-theme="dark"] section h3,
html[data-theme="dark"] .card h2,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] section h2,
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .step-mini-title,
html[data-theme="dark"] .step-number {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
}

/* Hero-Badges */
html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] a.hero-badge {
  background: #E8F5EA !important;
  color: #0A2540 !important;
  -webkit-text-fill-color: #0A2540 !important;
  border-color: #E8F5EA !important;
}

/* Links */
html[data-theme="dark"] a:not(.btn):not(.cta-primary):not(.hero-btn-primary):not(.hero-cta-right):not(.hero-cta-primary):not(.contact-btn):not(.brand):not(.nav a) {
  color: #7BC4E0 !important;
}

/* Inputs */
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: #0A2540 !important;
  color: #E1EDF8 !important;
  border-color: #163A5E !important;
}

/* Footer */
html[data-theme="dark"] footer,
html[data-theme="dark"] .site-footer {
  background: #071525 !important;
  border-top-color: #163A5E !important;
}

/* Navy-Boxen im Dark Mode: noch etwas dunkler */
html[data-theme="dark"] .final-cta,
html[data-theme="dark"] .agb-footer-cta,
html[data-theme="dark"] .cta-pack,
html[data-theme="dark"] .hero-pack,
html[data-theme="dark"] #disketten .cta {
  background: #071525 !important;
  border: 1px solid #163A5E !important;
}

/* Trennlinien */
html[data-theme="dark"] hr,
html[data-theme="dark"] .divider,
html[data-theme="dark"] .separator {
  border-color: #163A5E !important;
  background: #163A5E !important;
}

/* Bilder: leichter Glow-Effekt */
html[data-theme="dark"] img:not([src*="logo"]) {
  border-radius: 8px;
}

/* Scroll-to-top */
html[data-theme="dark"] .scroll-top-btn {
  background: #1A1F2E !important;
  border-color: #163A5E !important;
}

/* Dark Mode: Badges hellgrün mit dunkler Schrift */
html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .hero-badge span,
html[data-theme="dark"] a.hero-badge {
  background: #E8F5EA !important;
  color: #0A2540 !important;
  -webkit-text-fill-color: #0A2540 !important;
  border-color: #E8F5EA !important;
}

/* Hero-Badges: Hintergrund hellgrün */
.hero-badge,
a.hero-badge {
  background: #E8F5EA !important;
}

/* Dark Mode: /disketten/ Seite */
html[data-theme="dark"] .format-section,
html[data-theme="dark"] .format-body {
  background: #071525 !important;
}

html[data-theme="dark"] .format-header {
  background: linear-gradient(135deg, #0A2540, #0D3158) !important;
}

html[data-theme="dark"] .tech-specs-box {
  background: #1A1F2E !important;
  border-color: #2A3040 !important;
}

html[data-theme="dark"] .tech-spec-value {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html[data-theme="dark"] .tech-spec-label {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
}

html[data-theme="dark"] .subtype-item {
  background: #1A1F2E !important;
  border-color: #2A3040 !important;
}

html[data-theme="dark"] .subtype-name {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html[data-theme="dark"] .subtype-note {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
}

html[data-theme="dark"] .subtype-capacity {
  color: #7BC4E0 !important;
  -webkit-text-fill-color: #7BC4E0 !important;
}

html[data-theme="dark"] .recognition-box {
  background: #1A1F2E !important;
  border-color: #2A3040 !important;
  color: #E1EDF8 !important;
}

html[data-theme="dark"] .recognition-box h4,
html[data-theme="dark"] .recognition-box strong {
  color: #7BC4E0 !important;
  -webkit-text-fill-color: #7BC4E0 !important;
}

html[data-theme="dark"] .recognition-box p {
  color: #CBD5E1 !important;
  -webkit-text-fill-color: #CBD5E1 !important;
}

html[data-theme="dark"] .section-cta .btn,
html[data-theme="dark"] .section-cta a {
  background: linear-gradient(135deg, #0A2540, #0D3158) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html[data-theme="dark"] .year-badge {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
}

html[data-theme="dark"] .format-description {
  color: #CBD5E1 !important;
  -webkit-text-fill-color: #CBD5E1 !important;
}

/* Dark Mode: Bilder besser sichtbar */
html[data-theme="dark"] .card img,
html[data-theme="dark"] .card-icon,
html[data-theme="dark"] .feature-card img,
html[data-theme="dark"] .step-card img,
html[data-theme="dark"] .hero-process-image img,
html[data-theme="dark"] .format-body img,
html[data-theme="dark"] .format-content img {
  background: rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  box-sizing: border-box;
}

/* /disketten/ Seite: Feinoptimierung */

/* Section-CTA Buttons: Navy, keine Unterstreichung */
html body .section-cta a,
html body .section-cta .btn {
  background: linear-gradient(135deg, #0A2540, #0D3158) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
}
html body .section-cta a:hover {
  background: linear-gradient(135deg, #0D3158, #1B4D7A) !important;
}

/* Erkennungsmerkmale Box: Light Mode */
.recognition-box {
  background: #E8F5EA !important;
  border: none !important;
}
.recognition-box h4,
.recognition-box strong {
  color: #0A2540 !important;
}

/* Dark Mode: Erkennungsmerkmale */
html[data-theme="dark"] .recognition-box {
  background: #1A1F2E !important;
}

/* Format-Header: Dark Mode konsistent */
html[data-theme="dark"] .format-header {
  background: #0A2540 !important;
}
html[data-theme="dark"] .format-header h2,
html[data-theme="dark"] .format-header h3,
html[data-theme="dark"] .format-header .year-badge {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Dark Mode: section-cta Button */
html[data-theme="dark"] .section-cta a,
html[data-theme="dark"] .section-cta .btn {
  background: linear-gradient(135deg, #163A5E, #1B4D7A) !important;
  text-decoration: none !important;
}

/* Format-Section: Dark Mode Outer Card */
html[data-theme="dark"] .format-section {
  background: #111827 !important;
  border: 1px solid #1E2A3A !important;
  border-radius: 12px;
}

/* Zur Vergleichstabelle Button: Light Mode */
html body .hero-cta-secondary,
html body a.hero-cta-secondary {
  text-decoration: none !important;
}

/* /disketten/ Light Mode Fixes */
.format-header h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

.section-cta,
a.section-cta,
a.section-cta:link,
a.section-cta:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  background: #0A2540 !important;
}

/* Tech-spec & Subtype: Light Mode schöner */
.tech-specs-box {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

.subtype-item {
  background: #fff !important;
  border-color: #e2e8f0 !important;
}

.recognition-box {
  border: none !important;
}

/* Format-Section saubere Card */
.format-section {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden;
}

.format-header {
  background: #0A2540 !important;
  border-bottom: none !important;
}

/* Subtype-Name: Navy statt schwarz */
.subtype-name {
  color: #0A2540 !important;
}

/* Dark Mode: Alles konsistent */
html[data-theme="dark"] .format-section {
  background: #111827 !important;
  border-color: #1E2A3A !important;
}

html[data-theme="dark"] .format-body {
  background: #111827 !important;
}

html[data-theme="dark"] .format-description,
html[data-theme="dark"] .format-body p {
  color: #CBD5E1 !important;
  -webkit-text-fill-color: #CBD5E1 !important;
}

html[data-theme="dark"] .tech-specs-box {
  background: #1A1F2E !important;
  border-color: #2A3040 !important;
}

html[data-theme="dark"] .tech-specs-box h3 {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
}

html[data-theme="dark"] .subtype-item {
  background: #1A1F2E !important;
  border-color: #2A3040 !important;
}

html[data-theme="dark"] .subtype-name {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html[data-theme="dark"] .subtype-note {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
}

html[data-theme="dark"] .recognition-box {
  background: #1A1F2E !important;
  border-left-color: #7BC4E0 !important;
}

html[data-theme="dark"] .recognition-box h4 {
  color: #7BC4E0 !important;
  -webkit-text-fill-color: #7BC4E0 !important;
}

html[data-theme="dark"] .recognition-box p {
  color: #CBD5E1 !important;
  -webkit-text-fill-color: #CBD5E1 !important;
}

html[data-theme="dark"] .section-cta,
html[data-theme="dark"] a.section-cta {
  background: #163A5E !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
}

html[data-theme="dark"] .format-image img {
  background: rgba(255,255,255,0.06) !important;
  padding: 6px !important;
  border-radius: 10px !important;
}

/* Hero auf /disketten/: Light Mode clean */
.hero-notice {
  background: #f0f7ff !important;
  border-left-color: #0A2540 !important;
}
