/*
 Theme Name:   Sydney Child
 Template:     sydney
 Version:      2.0.0
 Description:  ITRevolution GmbH — Corporate Design Web (CD §10 + §10.21). Blau (#183D6A), Gold (#C2A677), Off-White (#F6F6F4). Roboto-Font, DSGVO-konform.
 Author:       ITRevolution GmbH / Gregor Tomitzek
*/

/* ==========================================================================
   0b. SYDNEY GLOBAL COLORS — CD override (removes parent-theme reds/inconsistent blues)
   ==========================================================================
   Problem: Sydney Parent-Theme injectet inline --sydney-global-color-N Variablen
   (#d65050 Rot, #b73d3d, #6d7685 grau, etc.) die CD-Farben überschreiben.
   Lösung: Alle Sydney Global Colors auf CD-Palette mappen.
   ========================================================================== */
:root {
    --sydney-global-color-1:  #183D6A !important;  /* Primary Blue (statt #d65050 Rot) */
    --sydney-global-color-2:  #0F3144 !important;  /* Deep Blue (statt #b73d3d) */
    --sydney-global-color-3:  #183D6A !important;  /* Primary Blue */
    --sydney-global-color-4:  #183D6A !important;  /* Footer Blue = Primary (statt #00102E) */
    --sydney-global-color-5:  #5A6470 !important;  /* Ink Mute (statt #6d7685) */
    --sydney-global-color-6:  #0F3144 !important;  /* Deep Blue */
    --sydney-global-color-7:  #F6F6F4 !important;  /* Off-White (statt #F4F5F7) */
    --sydney-global-color-8:  #E4E2D8 !important;  /* Line Light (statt #dbdbdb) */
    --sydney-global-color-9:  #FFFFFF !important;  /* Soft White */
}

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (CD §10.1 + §10.10)
   ========================================================================== */
:root {
    /* Grundfarben */
    --bg:            #F6F6F4;    /* Off-White — Seitenhintergrund */
    --bg-soft:       #FFFFFF;    /* Soft White — Card- und Container */
    --bg-tint:       #EFEFE9;    /* Warm Tint — Platzhalter */
    --line:          #E4E2D8;    /* Line Light — Trennlinien */
    --line-strong:   #D4D1C1;    /* Line Strong — starke Trennlinien */

    /* Text */
    --ink:           #111A22;    /* Ink — Primärtext */
    --ink-2:         #19272E;    /* Ink Dark — Fließtext */
    --ink-mute:      #5A6470;    /* Ink Mute — Meta, Labels */

    /* Primary (Website: #183D6A ersetzt #1200ff) */
    --primary:       #183D6A;    /* Primary Blue */
    --primary-deep:  #0F3144;    /* Deep Blue */
    --primary-hover: #0e00cc;    /* Dunkler (aus CD §3) */
    --primary-soft:  #E8EEF6;

    /* Gold-Akzente (ersetzt Alert Orange) */
    --gold:          #C2A677;    /* Gold */
    --gold-deep:     #A88A56;    /* Gold Deep */
    --gold-soft:     #F5EEE0;    /* Gold Soft */

    /* Warnung / Erfolg */
    --alert:         #dd6b20;    /* Alert Orange */
    --danger:        #E03131;    /* Rot */
    --success:       #2F9E44;    /* Grün */

    /* Typografie */
    --sans:          "Roboto", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --display:       "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;

    /* Abstände & Radii */
    --radius-sm:     4px;        /* Buttons */
    --radius-md:     8px;
    --radius-lg:     12px;
    --radius-xl:     18px;
    --radius-pill:   999px;

    /* Shadows */
    --shadow-sm:     0 1px 3px rgba(17,26,34,0.06);
    --shadow-md:     0 4px 12px rgba(17,26,34,0.08);
    --shadow-lg:     0 8px 24px rgba(17,26,34,0.10);
}

/* ==========================================================================
   2. RESET & BASIS (CD §10.11)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Link-Basis */
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-deep); }

/* ==========================================================================
   3. TYPOGRAFIE (CD §10.2)
   ========================================================================== */
h1, h2 {
    font-family: var(--display);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.08;
}

/* H3: CD §10.2 — weight 700 (nicht 900) */
h3 {
    font-family: var(--display);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.08;
}

h4, h5, h6 {
    font-family: var(--display);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(34px, 4.4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 1.1rem; font-weight: 700; }

/* Eyebrow (CD §10.4.1) */
.eyebrow, .section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Prose / Fließtext (CD §10.19) */
.prose {
    max-width: 760px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--ink-2);
    line-height: 1.75;
}
.prose p { margin-bottom: 1.4em; }
.prose strong { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   4. LAYOUT & CONTENT (SYDNEY + CD ÜBERSCHREIBUNG)
   ========================================================================== */
/* Sydney: Haupt-Hintergrund auf Off-White */
body, #page, #content, .page-wrap, .content-wrapper,
.container.content-area, #primary, main#main {
    background-color: var(--bg) !important;
}


/* Sydney: Artikel transparent */
article.post, .page, .entry-post, .site-main {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   5. HEADER & NAVIGATION (SYDNEY + CD)
   ========================================================================== */
.shfb-row-wrapper.shfb-main_header_row,
.shfb-row-wrapper.shfb-main_header_row.shfb-sticky-header,
.shfb-row-wrapper.shfb-main_header_row.sticky-active,
header#masthead {
    background-color: var(--primary) !important;
    border-bottom: none !important;
}

.shfb-row-wrapper .main-navigation a,
.shfb-row-wrapper .site-title a,
.shfb-row-wrapper .header-elements-item {
    color: var(--bg-soft) !important;
}

.shfb-row-wrapper svg,
.shfb-row-wrapper svg path,
.shfb-row-wrapper .sydney-svg-icon {
    fill: var(--bg-soft) !important;
    color: var(--bg-soft) !important;
}

/* Untertitel / Slogan */
.shfb-row-wrapper .site-description,
.shfb-row-wrapper .header-elements-item p,
.shfb-row-wrapper .header-elements-item span,
header#masthead .site-description {
    color: var(--bg-soft) !important;
    opacity: 1 !important;
}

/* Nav-Titel auf Mobile */
@media (max-width: 768px) {
    .shfb-row-wrapper .site-logo,
    .shfb-row-wrapper .custom-logo-link,
    header#masthead .site-logo-img {
        display: none !important;
    }
    .shfb-row-wrapper .site-description,
    header#masthead .site-description {
        display: none !important;
    }
    .shfb-row-wrapper .site-title,
    header#masthead .site-title a {
        display: block !important;
        color: var(--bg-soft) !important;
    }
}

/* Untermenüs / Dropdowns (CD-konform) */
.main-navigation ul ul.sub-menu,
.main-navigation .sub-menu,
.main-navigation .sub-menu li,
.shfb-row-wrapper .main-navigation ul.sub-menu,
.shfb-row-wrapper .main-navigation ul.sub-menu li {
    background-color: var(--primary) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.main-navigation .sub-menu a,
.main-navigation .sub-menu li a,
.main-navigation .sub-menu .sydney-dropdown-link,
.shfb-row-wrapper .main-navigation ul.sub-menu li a {
    background-color: var(--primary) !important;
    color: var(--bg-soft) !important;
    display: block !important;
    width: 100% !important;
}

.main-navigation .sub-menu li:hover > a,
.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu .sydney-dropdown-link:hover,
.shfb-row-wrapper .main-navigation ul.sub-menu li a:hover,
.shfb-row-wrapper .main-navigation ul.sub-menu li:hover > a {
    background-color: var(--primary-hover) !important;
    color: var(--bg-soft) !important;
}

/* ==========================================================================
   5b. MOBILE OFFCANVAS MENÜ (CD §10.1 + §10.5)
   ==========================================================================
   Problem: Das Sydney-Parent-Theme setzt für .sydney-offcanvas-menu ein
   sehr helles Blau (#8ed1fc, WordPress preset "pale-cyan-blue") als
   Standard-Hintergrund. Das Child-Theme hat dafür keine Override-Regel.
   Ergebnis: Mobile-Menü erscheint in hellblau statt dunkelblau (#183D6A).

   Lösung: Alle relevanten Selektoren explizit auf CD-Farben setzen.
   ========================================================================== */

/* Offcanvas-Hauptcontainer — dunkelblauer Hintergrund */
.sydney-offcanvas-menu,
.shfb-header.shfb-mobile,
.shfb-header.shfb-mobile .shfb-above_header_row,
.shfb-header.shfb-mobile .shfb-main_header_row,
.shfb-header.shfb-mobile .shfb-below_header_row {
    background-color: var(--primary) !important;
}

/* Offcanvas-Link-Text — weiß */
.sydney-offcanvas-menu a,
.sydney-offcanvas-menu a:visited,
.sydney-offcanvas-menu .sydney-dropdown ul li a,
.sydney-offcanvas-menu .sydney-dropdown ul li .sydney-dropdown-link,
.sydney-offcanvas-menu .mainnav ul li a,
.sydney-offcanvas-menu #mainnav ul li a {
    color: var(--bg-soft) !important;
}

/* Offcanvas-Submenu-Hintergrund — dunkler als Hauptmenü */
.sydney-offcanvas-menu .sydney-dropdown ul ul,
.sydney-offcanvas-menu .sydney-dropdown ul ul li {
    background-color: #0a1d3a !important;
}

.sydney-offcanvas-menu .sydney-dropdown ul ul li a,
.sydney-offcanvas-menu .sydney-dropdown ul ul li .sydney-dropdown-link {
    color: rgba(255,255,255,0.85) !important;
}

/* Offcanvas-Listentrenner — weiß, dezent */
.sydney-offcanvas-menu .sydney-dropdown ul li,
.sydney-offcanvas-menu #mainnav ul li {
    border-bottom-color: rgba(255,255,255,0.12) !important;
}

.sydney-offcanvas-menu #mainnav ul ul li:first-of-type {
    border-top-color: rgba(255,255,255,0.12) !important;
}

/* Schließen-Button (X) — weiß */
.mobile-menu-close,
.mobile-menu-close svg,
.mobile-menu-close .sydney-svg-icon {
    color: var(--bg-soft) !important;
    fill: var(--bg-soft) !important;
}

/* Hamburger-Icon im mobilen Header — weiß */
.shfb-header.shfb-mobile .btn-menu .sydney-svg-icon,
.shfb-header.shfb-mobile .btn-menu svg {
    fill: var(--bg-soft) !important;
}

/* Mobile-Header-Elemente (Logo, Titel) — weiß */
.shfb-header.shfb-mobile .site-title a,
.shfb-header.shfb-mobile .site-description,
.shfb-header.shfb-mobile .header-elements-item {
    color: var(--bg-soft) !important;
}

/* Mobile-Header-SVG-Icons — weiß */
.shfb-header.shfb-mobile svg,
.shfb-header.shfb-mobile svg path,
.shfb-header.shfb-mobile .sydney-svg-icon {
    fill: var(--bg-soft) !important;
}

/* ==========================================================================
   6. FOOTER (CD §10.3.5)
   ========================================================================== */
.site-footer,
.shfb-footer-row-wrapper,
.shfb-row-wrapper.shfb-below_footer_row,
.footer-widgets {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-top: 2px solid var(--gold) !important;
}

.site-footer a,
.shfb-below_footer_row a,
.site-footer svg path,
.site-footer .sydney-svg-icon {
    color: #ffffff !important;
    fill: #ffffff !important;
}

.site-footer a:hover {
    color: var(--gold) !important;
}

/* ==========================================================================
   7. BUTTONS (CD §4 + §10.5 + §10.21.1)
   ========================================================================== */
/* Basis-Buttons (Sydney + CD) */
.button, .roll-button, button, input[type="submit"],
.woocommerce a.button, input.search-submit {
    background-color: var(--primary) !important;
    color: var(--bg-soft) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 24px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    border: none !important;
    outline: none !important;
    font-family: var(--sans) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.button:hover, .roll-button:hover, input.search-submit:hover,
.woocommerce a.button:hover {
    background-color: var(--primary-hover) !important;
    box-shadow: 0 0 0 3px rgba(24, 61, 106, 0.3) !important;
    color: var(--bg-soft) !important;
}

/* Gold-Button */
.btn-gold, .button.btn-gold {
    background-color: var(--gold) !important;
    color: var(--ink) !important;
}
.btn-gold:hover, .button.btn-gold:hover {
    background-color: var(--gold-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 166, 119, 0.3) !important;
    color: var(--ink) !important;
}

/* Outline-Button */
.btn-outline, .button.btn-outline {
    background: transparent !important;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
}
.btn-outline:hover, .button.btn-outline:hover {
    background: var(--primary) !important;
    color: var(--bg-soft) !important;
}

/* ==========================================================================
   7b. BUTTON FIX — Spezifitätskonflikt mit Sydney-Theme (DSGVO-konform)
   ========================================================================== */
/* 
   Problem: Das Sydney-Theme hat eine Regel `a { color: #111A22; }` die die
   weiße Schrift von .btn-primary nach dem Klick überschreibt.
   Lösung: Höhere Spezifität mit !important erzwingt weiße Schrift.
*/
a.btn-primary,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active,
a.btn-primary:focus {
    color: var(--bg-soft) !important;
    background-color: var(--primary) !important;
}

a.btn-gold,
a.btn-gold:visited,
a.btn-gold:hover,
a.btn-gold:active,
a.btn-gold:focus {
    color: var(--ink) !important;
    background-color: var(--gold) !important;
}

a.btn-outline,
a.btn-outline:visited,
a.btn-outline:hover,
a.btn-outline:active,
a.btn-outline:focus {
    color: var(--primary) !important;
    background: transparent !important;
    border: 1.5px solid var(--primary) !important;
}

/* ==========================================================================
   8. UI-KOMONENTEN (CD §10.21)
   ========================================================================== */

/* --- 8.1 Feature-Card-Grid (Z-Layout) --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.feature-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--ink-mute);
    line-height: 1.7;
    margin-bottom: 18px;
}

/* --- 8.2 Formular-Komponenten --- */
.ticket-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row-full { margin-bottom: 20px; }

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-mute);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg-soft);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(24,61,106,0.10);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-char-count {
    font-size: 11px;
    color: var(--ink-mute);
    text-align: right;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* --- 8.3 Quick-Action-Cards --- */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.quick-action-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.25s;
}

.quick-action-card:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quick-action-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--ink);
}

.quick-action-card p {
    font-size: 0.82rem;
    color: var(--ink-mute);
    line-height: 1.5;
}

/* --- 8.4 Hotline-Karten-Grid --- */
.hotline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hotline-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.25s;
}

.hotline-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.hotline-card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.hotline-card h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 10px;
}

.hotline-card p {
    font-size: 0.9rem;
    color: var(--ink-mute);
    margin-bottom: 4px;
}

.hotline-card .phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin: 10px 0;
    transition: color 0.2s;
}

.hotline-card .phone-link:hover {
    color: var(--gold-deep);
}

.hotline-card .emergency {
    color: var(--danger) !important;
}

.hotline-card .emergency .phone-link {
    color: var(--danger);
}

/* --- 8.5 Abrechnungshinweis-Box --- */
.abrechnungshinweis {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--gold-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    border-left: 4px solid var(--gold);
    font-size: 0.92rem;
    color: var(--ink-2);
    line-height: 1.7;
}

.abrechnungshinweis strong {
    color: var(--gold-deep);
}

.abrechnungshinweis a {
    font-weight: 600;
    color: var(--gold-deep);
}

/* --- 8.6 FAQ-Akkordeon mit Suchleiste --- */
.faq-search {
    max-width: 500px;
    margin: 0 auto 32px;
}

.faq-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg-soft);
    transition: all 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235A6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 16px center;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(24,61,106,0.10);
}

.faq-search input::placeholder {
    color: var(--ink-mute);
}

.faq-item {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    user-select: none;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg);
}

.faq-toggle {
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--ink-mute);
    line-height: 1.75;
    margin-bottom: 14px;
}

.faq-answer ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.faq-answer ol li {
    font-size: 0.92rem;
    color: var(--ink-mute);
    line-height: 1.75;
    margin-bottom: 6px;
}

.faq-answer ol li strong {
    color: var(--ink-2);
}

/* --- 8.7 Schnellhilfe-Info-Box --- */
.schnellhilfe-info {
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--gold-soft);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--ink-2);
    display: none;
    border-left: 3px solid var(--gold);
}

.schnellhilfe-info.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 8.8 Info-Box (CD §9 Template) --- */
.itr-box {
    padding: 16px 20px;
    margin-top: 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.itr-box-info {
    background-color: var(--bg);
    border-left: 4px solid var(--primary);
    color: var(--ink-mute);
}

.itr-box-info .itr-box-title {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

/* --- 8.9 Final CTA (CD §10.3.4) --- */
.final-cta {
    background: #0c2a4d;
    border-radius: var(--radius-xl);
    padding: 96px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(194,166,119,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 20%, rgba(24,61,106,0.20) 0%, transparent 70%);
    filter: blur(38px);
    pointer-events: none;
}

.final-cta-inner {
    position: relative;
}

.final-cta h2 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--bg-soft);
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.70);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.final-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- 8.10 Hero-Eyebrow (CD §10.4.1) --- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: rgba(194,166,119,0.12);
    border: 1px solid rgba(194,166,119,0.4);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

/* --- 8.11 Hero Meta Chips (CD §10.4.3) --- */
.hero-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-meta .chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.78);
    font-size: 12.5px;
    font-weight: 500;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    transition: all 0.2s;
}

.hero-meta .chip:hover {
    border-color: rgba(194,166,119,0.5);
    background: rgba(194,166,119,0.08);
    color: var(--bg-soft);
    transform: translateY(-2px);
}

/* --- 8.12 Section-Head (CD §10.3.2) --- */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-title {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(34px, 4.4vw, 52px);
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--ink-mute);
    line-height: 1.7;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* --- 8.13 Section-Alt --- */
.section-alt {
    #background: var(--bg-soft);
    #border-top: 1px solid var(--line);
    #border-bottom: 1px solid var(--line);
}

/* --- 8.14 Fokus-Rahmen (Barrierefreiheit) --- */
a:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
   9. SIDEBAR — DEZENTE BLAUE BOX (CD --primary-soft: #e8eef6)
   ==========================================================================
   Lösung: #secondary Container UND individuelle Widget-Boxen bekommen
   hellblauen Hintergrund (#e8eef6). Durchgängige Sidebar-Fläche +
   optische Trennung der Widgets.
   ========================================================================== */

/* Sidebar-Container als ganze Box */
#secondary {
    background-color: #e8eef6 !important;
    padding: 20px !important;
}

/* Widget-Boxen als dezente Cards */
#secondary .widget {
    background-color: #e8eef6 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(24,61,106,0.08) !important;
}

/* Widget-Titel */
#secondary h2,
#secondary h3 {
    color: #111A22 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #E4E2D8 !important;
}

/* Sidebar-Text und Links — AAA-konform */
#secondary p,
#secondary a,
#secondary li a {
    color: #333333 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Sidebar-Links: Hover Gold */
#secondary a:hover {
    color: #A88A56 !important;
}

/* Widget-Listen */
#secondary ul {
    list-style: none !important;
    padding-left: 0 !important;
}

#secondary ul li {
    padding: 6px 0 !important;
    border-bottom: 1px solid rgba(24,61,106,0.08) !important;
}

#secondary ul li:last-child {
    border-bottom: none !important;
}

/* Suchfeld */
#secondary .searchform input[type=text],
#secondary #s {
    background: #fff !important;
    border: 1px solid #E4E2D8 !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    color: #111A22 !important;
    width: 100% !important;
}

#secondary .searchform input[type=submit] {
    background: #183D6A !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 8px !important;
}
   9. RESPONSIVE (CD §10.21.13)
   ========================================================================== */
@media (max-width: 960px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hotline-grid {
        grid-template-columns: 1fr;
    }
    .final-cta {
        padding: 64px 32px;
    }
}

@media (max-width: 768px) {
    .hero { padding: 80px 20px 60px; }
    .hero-buttons { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 64px 20px; }
    .section-head { margin-bottom: 40px; }
    .ticket-form { padding: 24px; }
    .final-cta { padding: 64px 32px; }
}

/* ==========================================================================
   10. prefers-reduced-motion (CD §10.17)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   10b. FEHLende Klassen (Live-Seite Elementor-Diff)
   ========================================================================== */
/* .cta-buttons — Live-Seite: flex center gap (Final-CTA) */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* .btn-orange — Live-Seite: Alert-Orange Button */
.btn-orange,
.button.btn-orange {
    background-color: var(--alert) !important;
    color: var(--bg-soft) !important;
}
.btn-orange:hover,
.button.btn-orange:hover {
    background-color: #c45d1a !important;
    transform: translateY(-1px);
    color: var(--bg-soft) !important;
}

/* .btn-outline-light — Live-Seite: weiße Outline auf dunklem Hintergrund (Final-CTA) */
.btn-outline-light,
.button.btn-outline-light {
    background: transparent !important;
    color: var(--bg-soft) !important;
    border: 1.5px solid rgba(255,255,255,0.30) !important;
    padding: 14px 36px !important;
    font-size: 1rem !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 600 !important;
    font-family: var(--sans) !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
}
.btn-outline-light:hover {
    border-color: var(--gold) !important;
    background: rgba(194,166,119,0.10) !important;
    color: var(--bg-soft) !important;
}

/* ==========================================================================
   0. LOKALE ROBOTO FONTS (DSGVO-konform — keine Google-Anfrage)
   ========================================================================== */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/roboto/Roboto-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/roboto/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/roboto/Roboto-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/roboto/Roboto-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('fonts/roboto/Roboto-Black.ttf') format('truetype');
}
