/* =====================================================
   HDN Site.css – strukturierte Version
   Hinweis: Keine Klassen/Selektoren/Properties geändert.
   Nur Kommentare/Gliederung hinzugefügt.
   ===================================================== */

/* Inhaltsverzeichnis
   00  Global / Base
   10  Layout / Container / Cards / Hero (alt)
   20  Footer
   30  Impressum / Legal
   40  Kontakt
   50  Cookie / DSGVO
   60  Header / Navigation
   70  Unternehmen / Company
   80  Page Hero / Home
   90  Marquee / Why HDN
   95  Section Scroll Nav
   98  Fixes / Overrides (Ende)
*/

:root{
  --hdn-dark:#231f20; /* Logo-Schwarz */
  --hdn-gray:#5b5a5c; /* Logo-Grau */
  --hdn-gold:#cba85a; /* Logo-Gold */
  --hdn-bg:#f7f7f8;
  --hdn-card:#ffffff;
  --hdn-border:rgba(35,31,32,.12);
  --hdn-shadow:0 10px 28px rgba(0,0,0,.08);
  --hdn-radius:18px;
}

/* -----------------------------------------------------
   00  Global / Base
   ----------------------------------------------------- */

*{box-sizing:border-box;}

html,body{height:100%;}

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--hdn-dark);
    background: var(--hdn-bg);
}

a{color:inherit;text-decoration:none;}

a:hover{color:var(--hdn-gold);}

/* Layout: Footer bleibt unten */

/* -----------------------------------------------------
   10  Layout / Container / Cards / Hero (alt)
   ----------------------------------------------------- */

.site{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.container{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
}

/* Main */
.site-main{
  flex:1;
  padding:38px 0 46px;
}

.card{
  background:var(--hdn-card);
  border:1px solid var(--hdn-border);
  border-radius:var(--hdn-radius);
  box-shadow:var(--hdn-shadow);
  padding:28px;
}

.hero{
  display:grid;
  place-items:center;
  text-align:center;
  padding:24px 10px 10px;
}

.hero-logo{
  width:min(920px, 100%);
  height:auto;
  display:block;
}

.hero-title{
  margin:18px 0 6px;
  font-size:clamp(18px, 2.2vw, 26px);
  font-weight:800;
  letter-spacing:.02em;
}

.hero-subtitle{
  margin:0;
  color:var(--hdn-gray);
  font-size:clamp(14px, 1.6vw, 17px);
}

/* ===========================
   Footer (HDN - wie Highline, aber Gold)
   =========================== */


/* -----------------------------------------------------
   20  Footer
   ----------------------------------------------------- */

.site-footer {
    position: relative;
    color: #f3f3f3;
    background: linear-gradient(180deg, #181516 0%, #121012 55%, #0c0b0c 100%);
    border-top: 1px solid rgba(255,255,255,.08);
}

/* Goldene Linie oben */
    .site-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--hdn-gold);
    }

/* Weniger Nebel / sauberer Kontrast */
    .site-footer::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(700px 240px at 18% 0%, rgba(203,168,90,.12), transparent 55%), radial-gradient(700px 240px at 82% 10%, rgba(255,255,255,.06), transparent 60%);
        opacity: .8;
    }

.footer-wrap {
    position: relative;
    z-index: 1;
    padding: 46px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.65fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.footer-title {
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255,255,255,.82);
    margin-bottom: 14px;
}

.footer-link {
    display: block;
    padding: 7px 0;
    color: rgba(255,255,255,.72);
    font-weight: 700;
    font-size: 16px; /* kleiner & eleganter */
    letter-spacing: .01em;
    transition: color .12s ease, transform .12s ease;
}

.footer-link:hover {
        color: var(--hdn-gold);
        transform: translateX(2px);
    }

.footer-text {
    margin: 0;
    color: rgba(255,255,255,.66);
    line-height: 1.8;
    font-weight: 600;
    font-size: 16px;
    max-width: 62ch;
}

/* Kontakt CTA */
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(203,168,90,.55);
    background: rgba(203,168,90,.10);
    color: #fff;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 12px;
    margin: 2px 0 14px;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.footer-cta:hover {
        background: rgba(203,168,90,.18);
        border-color: rgba(203,168,90,.85);
        box-shadow: 0 16px 30px rgba(0,0,0,.28);
        transform: translateY(-1px);
    }

.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.footer-contact-link {
    color: rgba(255,255,255,.80);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 13px; /* weniger laut */
}

.footer-contact-link:hover {
        color: var(--hdn-gold);
    }

/* Icons kleiner + feiner */
.footer-ico {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
}

.footer-ico svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: .92;
    }

/* Social Buttons schner */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.footer-social-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(203,168,90,.65);
        background: rgba(203,168,90,.12);
        box-shadow: 0 16px 30px rgba(0,0,0,.28);
    }

.footer-social-btn svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: .9;
    }

/* Bottom row */
.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,.56);
    font-weight: 700;
    letter-spacing: .02em;
}

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 12px;
}

.footer-top:hover {
        color: var(--hdn-gold);
    }

.footer-top .top-ico {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.14);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.05);
    }

/* Responsive */
@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

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

/* ===========================
   Impressum - edler Look
   =========================== */

:target {
    scroll-margin-top: 120px;
}

/* -----------------------------------------------------
   30  Impressum / Legal
   ----------------------------------------------------- */

.impressum .subtle {
    opacity: .78;
}

.legal-header {
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(35,31,32,.08);
}

/* Links */
.impressum a.legal-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 650;
}

.impressum a.legal-link:hover {
        color: var(--hdn-gold);
    }

/* TOC */
.legal-toc {
    margin: 18px 0 26px 0;
    padding: 16px;
    border: 1px solid rgba(35,31,32,.10);
    border-left: 4px solid var(--hdn-gold);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(203,168,90,.10), rgba(255,255,255,0));
}

.legal-toc-title {
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .85;
    margin-bottom: 12px;
}

.legal-toc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.legal-toc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(35,31,32,.10);
    background: rgba(255,255,255,.78);
    text-decoration: none;
    color: inherit;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.legal-toc-item:hover {
        background: rgba(255,255,255,.96);
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(0,0,0,.06);
    }

.legal-toc-item .arrow {
        opacity: .55;
        font-weight: 900;
    }

/* Panels */
.legal-panel {
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(35,31,32,.10);
    background: #fff;
    box-shadow: 0 14px 36px rgba(0,0,0,.06);
}

.legal-panel-head {
    padding: 14px 16px;
    background: radial-gradient(circle at 15% 20%, rgba(203,168,90,.35), rgba(203,168,90,0) 55%), linear-gradient(90deg, rgba(203,168,90,.18), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(35,31,32,.06);
}

.legal-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-ico {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(203,168,90,.40);
    background: linear-gradient(180deg, rgba(203,168,90,.28), rgba(255,255,255,.0));
}

.legal-ico svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: var(--hdn-dark);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: .92;
    }

.legal-panel-kicker {
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .90;
}

.legal-panel-body {
    padding: 16px;
}

/* Key/Value */
.legal-kv {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 10px 18px;
    margin: 0;
}

.legal-kv dt {
        font-weight: 750;
        opacity: .82;
        color: var(--hdn-gray);
    }

.legal-kv dd {
        margin: 0;
        font-weight: 650;
        color: var(--hdn-dark);
    }

/* Mini Cards */
.legal-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.legal-mini-card {
    border-radius: 16px;
    border: 1px solid rgba(35,31,32,.10);
    background: linear-gradient(180deg, rgba(35,31,32,.02), rgba(255,255,255,0));
    padding: 14px;
}

.legal-mini-title {
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .82;
    margin-bottom: 8px;
}

/* Back to top + Stand */
.back-to-top {
    display: inline-flex;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    opacity: .7;
}

.back-to-top:hover {
        opacity: 1;
        text-decoration: underline;
    }

.legal-stand {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
    color: var(--hdn-gray);
    opacity: .75;
}

/* Responsive */
@media (max-width: 1100px) {
    .legal-toc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .legal-toc-grid {
        grid-template-columns: 1fr;
    }

    .legal-kv {
        grid-template-columns: 1fr;
    }

    .legal-two-col {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Kontakt Layout (HDN Farben)
   =========================== */


/* -----------------------------------------------------
   40  Kontakt
   ----------------------------------------------------- */

.contact-hero {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 44px;
    align-items: start;
    padding: 6px 0 18px;
    margin-bottom: 10px;
}

.contact-headline {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -.02em;
    font-weight: 500;
}

.contact-intro {
    margin: 8px 0 0;
    color: var(--hdn-gray);
    line-height: 1.8;
    font-size: 15px;
    max-width: 52ch;
}

/* 2 Spalten: links Form, rechts Leistungen */
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 44px;
    margin-top: 8px;
    align-items: start;
}

.mp-form {
    padding-top: 4px;
}

.mp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
}

.mp-field {
    display: flex;
    flex-direction: column;
}

.mp-full {
    grid-column: 1 / -1;
}

.mp-field label {
    font-weight: 700;
    font-size: 13px;
    color: var(--hdn-dark);
    margin-bottom: 8px;
}

/* Underline Inputs */
.mp-line {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 10px 2px 10px !important;
    border-bottom: 2px solid rgba(35,31,32,.28) !important;
    box-shadow: none !important;
}

.mp-line:focus {
        border-bottom-color: var(--hdn-gold) !important;
        box-shadow: none !important;
    }

/* Textarea etwas clean */
.mp-area {
    border-radius: 14px;
    border: 1px solid rgba(35,31,32,.14);
    background: rgba(255,255,255,.86);
    padding: 12px 14px;
    min-height: 160px;
}

/* Side Column */
.mp-side {
    padding-top: 8px;
}

.mp-side .mp-btn {
        margin-top: 14px;
    }

.mp-side-title {
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--hdn-gray);
    margin-bottom: 12px;
}

/* CheckBoxList im Flow: Items sind spans */
.mp-options span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.mp-options br {
    display: none;
}

.mp-options input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(35,31,32,.35);
    background: transparent;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.mp-options input[type="checkbox"]:checked {
        border-color: var(--hdn-gold);
    }

.mp-options input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            inset: 3px;
            border-radius: 999px;
            background: var(--hdn-gold);
        }

.mp-options label {
    cursor: pointer;
    color: var(--hdn-dark);
    font-weight: 650;
}

/* Consent Block */
.mp-consent {
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(35,31,32,.08);
}

/* Button rechts unten */
.mp-btn {
    margin-top: 14px;
}

.mp-btn {
    width: 100%;
    border: 1px solid rgba(35,31,32,.18);
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 999px;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(203,168,90,.95), rgba(203,168,90,.72));
    color: var(--hdn-dark);
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.mp-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 22px 44px rgba(0,0,0,.14);
        filter: saturate(1.05);
    }

/* Responsive */
@media (max-width: 980px) {
    .contact-hero,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .mp-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------
   98  Fixes / Overrides (Ende)
   ----------------------------------------------------- */

/* HARD FIX: SVG nie riesig werden lassen */
.contact .contact-ico svg.ico-svg,
.contact .mini-ico svg.ico-svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

/* ===========================
   CONTACT: Icons + Info Cards + Pills (FINAL)
   =========================== */

/* Icon-Container */
.contact .contact-ico,
.contact .mini-ico {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(203,168,90,.35);
    background: rgba(203,168,90,.14);
}

/* SVG: immer Outline statt gefllt (sonst schwarze Kstchen) */
.contact svg.ico-svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
}

.contact svg.ico-svg,
    .contact svg.ico-svg * {
        fill: none !important;
        stroke: var(--hdn-dark) !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        opacity: .92;
    }

/* Info-Grid wieder als Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 12px;
}

.contact-info-card {
    border-radius: 18px;
    border: 1px solid rgba(35,31,32,.10);
    background: linear-gradient(180deg, rgba(203,168,90,.10), rgba(255,255,255,0));
    box-shadow: 0 14px 36px rgba(0,0,0,.05);
    padding: 16px;
}

.contact-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--hdn-gray);
    margin-bottom: 10px;
}

.contact-info-text {
    font-weight: 700;
    color: var(--hdn-dark);
    line-height: 1.55;
}

/* Links im Contact wieder edel */
.contact a.legal-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 750;
}

.contact a.legal-link:hover {
        color: var(--hdn-gold);
    }

/* Pills (Impressum/Datenschutz) */
.contact-links {
    margin: 10px 0 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(35,31,32,.12);
    background: rgba(255,255,255,.85);
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.contact-pill:hover {
        border-color: rgba(203,168,90,.85);
        box-shadow: 0 10px 22px rgba(203,168,90,.18);
        transform: translateY(-1px);
    }

/* Responsive */
@media (max-width: 980px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Fokus: nie Rahmen/Outline, nur Unterlinie */
.contact .mp-line,
.contact .mp-line:focus,
.contact .mp-line:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.contact input.mp-line {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    border-bottom: 2px solid rgba(35,31,32,.28) !important;
}

.contact input.mp-line:focus {
        border-bottom-color: var(--hdn-gold) !important;
    }

/* auch Checkbox-Fokus ohne schwarzen Ring */
.contact .mp-options input:focus,
.contact .mp-options input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Summary-Box gold statt schwarz */
.msg.msg-warn {
    background: rgba(203,168,90,.14);
    border-color: rgba(203,168,90,.45);
    color: #3b3423;
}

.msg.msg-warn ul {
        margin: 8px 0 0 18px;
    }

.msg.msg-warn li::marker {
        color: var(--hdn-gold);
    }

/* falls irgendwo doch noch .val sichtbar ist */
.val {
    color: rgba(203,168,90,.95) !important;
    font-weight: 800 !important;
    font-size: 12px;
}

/* untereinander + saubere Zeilen */
.mp-options {
    width: 100%;
    border-collapse: collapse;
}

.mp-options td {
        padding: 8px 0;
    }

/* Checkbox (square) */
    .mp-options input[type="checkbox"] {
        appearance: none;
        width: 18px;
        height: 18px;
        border: 2px solid rgba(35,31,32,.35);
        border-radius: 6px;
        background: #fff;
        vertical-align: middle;
        margin-right: 10px;
        position: relative;
        cursor: pointer;
    }

.mp-options input[type="checkbox"]:checked {
            border-color: var(--hdn-gold);
            background: rgba(203,168,90,.18);
        }

.mp-options input[type="checkbox"]:checked::after {
                content: "";
                position: absolute;
                left: 5px;
                top: 2px;
                width: 5px;
                height: 9px;
                border: solid var(--hdn-gold);
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

.mp-options label {
        cursor: pointer;
        font-weight: 650;
    }

/* ===========================

/* -----------------------------------------------------
   50  Cookie / DSGVO
   ----------------------------------------------------- */

   Cookie Banner + Modal (HDN)
   =========================== */

/* ===========================
   Cookie - Kuchen
   =========================== */

#hdnCookieFab {
    position: fixed;
    left: 22px;
    bottom: 140px; /* <-- hher */
    z-index: 9999;
}

.cookie-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.30);
    z-index: 9998;
    backdrop-filter: blur(2px);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    width: min(980px, calc(100% - 24px));
    z-index: 9999;
}

.cookie-inner {
    display: flex;
    gap: 14px;
    align-items: center;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(35,31,32,.12);
    border-left: 5px solid var(--hdn-gold);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0,0,0,.18);
    padding: 14px;
}

.cookie-icoWrap {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(203,168,90,.45);
    background: rgba(203,168,90,.14);
    flex: 0 0 auto;
}

/* Cookie Icon Fix */
.cookie-svg {
    width: 22px !important;
    height: 22px !important;
    display: block;
}

.cookie-svg * {
        fill: none !important;
        stroke: var(--hdn-dark) !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

.cookie-content {
    flex: 1;
    min-width: 0;
}

.cookie-title {
    font-weight: 950;
    margin: 0 0 4px;
}

.cookie-text {
    color: var(--hdn-gray);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 10px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid rgba(35,31,32,.14);
    cursor: pointer;
    background: #fff;
}

.cookie-btn.primary {
        border-color: rgba(203,168,90,.65);
        background: rgba(203,168,90,.20);
    }

.cookie-btn.primary:hover {
            box-shadow: 0 10px 22px rgba(203,168,90,.22);
            border-color: var(--hdn-gold);
        }

.cookie-btn.ghost {
        background: transparent;
    }

.cookie-btn.ghost:hover {
            border-color: rgba(203,168,90,.55);
            background: rgba(203,168,90,.10);
        }

/* Modal */
.cookie-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: min(720px, calc(100% - 24px));
    z-index: 10000;
}

.cookie-modal-card {
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(35,31,32,.14);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
    overflow: hidden;
}

.cookie-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(203,168,90,.18), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(35,31,32,.08);
}

.cookie-modal-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-modal-logo {
    height: 28px;
    width: auto;
    display: block;
}

.cookie-modal-title {
    font-weight: 950;
}

.cookie-modal-sub {
    color: var(--hdn-gray);
    font-size: 13px;
    margin-top: 2px;
}

.cookie-x {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(35,31,32,.12);
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 0;
}

.cookie-x:hover {
        border-color: rgba(203,168,90,.55);
    }

.cookie-modal-body {
    padding: 16px;
}

.cookie-setting {
    border: 1px solid rgba(35,31,32,.10);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(35,31,32,.02), rgba(255,255,255,0));
    padding: 14px;
    margin-bottom: 12px;
}

.cookie-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cookie-setting-title {
    font-weight: 900;
}

.cookie-setting-text {
    color: var(--hdn-gray);
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.45;
}

.cookie-pill {
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(203,168,90,.55);
    background: rgba(203,168,90,.15);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 11px;
}

.cookie-pill.fixed {
        opacity: .85;
    }

/* Switch */
.cookie-switch {
    position: relative;
    width: 54px;
    height: 32px;
    flex: 0 0 auto;
}

.cookie-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cookie-slider {
    position: absolute;
    inset: 0;
    background: rgba(35,31,32,.14);
    border-radius: 999px;
    border: 1px solid rgba(35,31,32,.12);
    cursor: pointer;
    transition: .15s;
}

.cookie-slider:before {
        content: "";
        position: absolute;
        width: 26px;
        height: 26px;
        left: 3px;
        top: 2px;
        background: #fff;
        border-radius: 999px;
        border: 1px solid rgba(35,31,32,.12);
        transition: .15s;
    }

.cookie-switch input:checked + .cookie-slider {
    background: rgba(203,168,90,.35);
    border-color: rgba(203,168,90,.55);
}

.cookie-switch input:checked + .cookie-slider:before {
        transform: translateX(22px);
    }

.cookie-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 8px;
}

.cookie-modal-links {
    margin-top: 12px;
    font-size: 12px;
    color: var(--hdn-gray);
    text-align: right;
}

@media (max-width:640px) {
    .cookie-inner {
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-setting-row {
        align-items: flex-start;
    }
}

/* Floating Cookie Button (Kuchen) */
.cookie-fab {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(203,168,90,.45);
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
}

.cookie-fab:hover {
        border-color: var(--hdn-gold);
        box-shadow: 0 18px 44px rgba(0,0,0,.22);
    }

.cookie-fab-svg {
    width: 22px;
    height: 22px;
    display: block;
}

.cookie-fab-svg * {
        fill: none;
        stroke: var(--hdn-dark);
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ===== Footer (HDN  edler) ===== */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-footer {
    position: relative;
    color: #f3f3f3;
    background: radial-gradient(circle at 18% 0%, rgba(203,168,90,.16), transparent 55%), radial-gradient(circle at 75% 20%, rgba(255,255,255,.06), transparent 55%), linear-gradient(180deg, #1b1718 0%, #141112 60%, #0f0d0e 100%);
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-wrap {
    padding: 44px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.65fr 1.1fr;
    gap: 36px;
}

.footer-title {
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255,255,255,.86);
    margin-bottom: 14px;
}

.footer-link {
    display: block;
    padding: 8px 0;
    color: rgba(255,255,255,.78);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

.footer-text {
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
    font-weight: 650;
    font-size: 18px;
    max-width: 56ch;
}

/* Kontakt CTA Button */
.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(203,168,90,.40);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 12px;
    margin: 2px 0 14px;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.footer-cta:hover {
        background: rgba(203,168,90,.22);
        border-color: rgba(203,168,90,.75);
        box-shadow: 0 14px 28px rgba(0,0,0,.25);
        transform: translateY(-1px);
    }

.footer-contact-link {
    color: rgba(255,255,255,.84);
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 14px;
}

/* Kleine Icon-Badges */
.footer-ico {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
}

/* Social Buttons (schner) */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.footer-social-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(203,168,90,.65);
        background: rgba(203,168,90,.14);
        box-shadow: 0 16px 30px rgba(0,0,0,.25);
    }

/* Bottom line */
.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer-copy {
    font-size: 14px;
    color: rgba(255,255,255,.62);
    font-weight: 700;
    letter-spacing: .02em;
}

.footer-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.76);
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
}

.footer-top .top-ico {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.14);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.06);
    }

/* Responsive */
@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-link, .footer-text {
        font-size: 16px;
    }

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

/* ===========================
   Kontakt: Fokus-Rahmen komplett weg
   =========================== */
.contact input:focus,
.contact input:focus-visible,
.contact textarea:focus,
.contact textarea:focus-visible,
.contact select:focus,
.contact select:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Textarea: nur Border sauber, kein Ring */
.contact .mp-area:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: rgba(203,168,90,.55);
}

/* ===========================
   Pills oben: Gold hinterlegt
   =========================== */
.contact .contact-pill {
    background: linear-gradient(180deg, rgba(203,168,90,.95), rgba(203,168,90,.72));
    border: 1px solid rgba(35,31,32,.12);
    color: var(--hdn-dark);
    box-shadow: 0 12px 26px rgba(0,0,0,.10);
}

.contact .contact-pill:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 36px rgba(0,0,0,.14);
        border-color: rgba(203,168,90,.85);
    }

/* ===========================
   Leistungen: Table-Layout sauber
   =========================== */
.contact .mp-options {
    width: 100%;
    border-collapse: collapse;
}

.contact .mp-options td {
        padding: 10px 0;
        vertical-align: middle;
    }

/* Checkbox: kein Fokus-Ring */
    .contact .mp-options input[type="checkbox"]:focus,
    .contact .mp-options input[type="checkbox"]:focus-visible {
        outline: none !important;
        box-shadow: none !important;
    }

/* Validator-Gold sicherstellen */
.contact .val {
    color: rgba(203,168,90,.95) !important;
    font-weight: 800 !important;
    font-size: 12px;
}

/* Consent-Fehler direkt unter Text  gold */
.val-consent {
    display: block;
    margin-top: 8px;
    color: rgba(203,168,90,.95) !important;
    font-weight: 800 !important;
    font-size: 12px;
}

/* leichte Hervorhebung wenn Consent ungltig (optional) */
input[type="checkbox"][aria-invalid="true"] {
    outline: none;
}

/* Consent-Fehlertext */
.val-consent {
    display: block;
    margin-top: 8px;
}

/* Consent-Zeile gold, wenn nicht angehakt */
.consent-row.consent-invalid .consent-text,
.consent-row.consent-invalid .consent-text a,
.consent-row.consent-invalid .consent-text .req {
    color: var(--hdn-gold) !important;
    font-weight: 800;
}

/* ===========================
   Contact: Success / Error Messages (HDN Gold)
   =========================== */

.contact .msg {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(203,168,90,.55);
    background: rgba(203,168,90,.12);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    font-weight: 900;
    color: var(--hdn-dark);
}

/* Text + Icon in Gold */
    .contact .msg,
    .contact .msg * {
        color: var(--hdn-gold) !important;
    }

/* OK */
.contact .msg-ok {
    border-color: rgba(203,168,90,.65);
    background: linear-gradient(180deg, rgba(203,168,90,.16), rgba(255,255,255,0));
}

/* ERROR (etwas krftiger, aber trotzdem Gold) */
.contact .msg-err {
    border-color: rgba(203,168,90,.75);
    background: linear-gradient(180deg, rgba(203,168,90,.20), rgba(255,255,255,0));
}

/* Error-Text fett & klar */
.contact .msg-err {
    font-weight: 950;
}

/* Optional: wenn du einen Titel willst */
.contact .msg strong {
    font-weight: 950;
}

.contact .msg {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(203,168,90,.55);
    background: rgba(203,168,90,.10);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
    font-weight: 900;
    color: var(--hdn-dark);
}

.contact .msg .icon,
    .contact .msg b,
    .contact .msg strong {
        color: var(--hdn-gold);
        font-weight: 950;
    }

.contact .msg-ok {
    background: rgba(203,168,90,.10);
}

.contact .msg-err {
    background: rgba(203,168,90,.16);
}

/*heade*/

:root {
    --bg: #0f0f10;
    --text: #ffffff;
    --muted: rgba(255,255,255,.72);
    --line: rgba(255,255,255,.14);
    --card: rgba(255,255,255,.06);
    --gold: #b89a4a;
    --shadow: 0 14px 40px rgba(0,0,0,.35);
    --radius: 16px;
}

/* -----------------------------------------------------
   60  Header / Navigation
   ----------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(10px);
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

/* TOPBAR */
.topbar {
    background: linear-gradient(90deg, rgba(184,154,74,.12), rgba(0,0,0,.0));
    border-bottom: 1px solid rgba(184,154,74,.35);
}

.topbar .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 22px;
    }

.topbar-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-right {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.toplink {
    color: var(--muted);
    text-decoration: none;
}

.toplink:hover {
        color: #fff;
    }

.dot {
    opacity: .55;
}

/* service buttons */
.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .2px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.svc-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(184,154,74,.55);
        background: rgba(184,154,74,.10);
    }

.svc-btn .ico {
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        color: rgba(255,255,255,.9);
    }

.svc-btn svg {
        width: 18px;
        height: 18px;
    }

/* MAIN NAV */
.navshell {
    background: rgba(15,15,16,.82);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.navrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 34px;
    width: auto;
}

.nav {
    display: block;
}

.navlist {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navlink {
    position: relative;
    display: inline-flex;
    padding: 10px 8px;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .2px;
    transition: color .2s ease;
}

.navlink:hover {
        color: #fff;
    }

/* ACTIVE underline (Gold) */
    .navlink[aria-current="page"] {
        color: #fff;
    }

.navlink[aria-current="page"]::after {
            content: "";
            position: absolute;
            left: 8px;
            right: 8px;
            bottom: 2px;
            height: 2px;
            background: var(--gold);
            border-radius: 2px;
        }

/* Dropdown */
.hasdrop {
    position: relative;
}

.drop {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(18,18,20,.98);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
    display: none;
}

.drop a {
        display: flex;
        padding: 10px 10px;
        border-radius: 10px;
        color: rgba(255,255,255,.86);
        text-decoration: none;
        font-size: 14px;
    }

.drop a:hover {
            background: rgba(184,154,74,.10);
            color: #fff;
        }

.hasdrop:hover .drop {
    display: block;
}

/* CTA button */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(184,154,74,.18);
    border: 1px solid rgba(184,154,74,.45);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: transform .2s ease, background .2s ease;
    white-space: nowrap;
}

.cta:hover {
        transform: translateY(-1px);
        background: rgba(184,154,74,.24);
    }

.cta.full {
        width: 100%;
    }

/* BURGER */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
}

.burger span {
        display: block;
        height: 2px;
        margin: 6px 10px;
        background: rgba(255,255,255,.9);
        border-radius: 2px;
    }

/* MOBILE DRAWER */
.drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999;
}

.drawer.is-open {
        display: block;
    }

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 92vw);
    background: rgba(16,16,18,.98);
    border-left: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
    padding: 14px;
    overflow: auto;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.drawer-title {
    color: #fff;
    font-weight: 600;
    letter-spacing: .2px;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.drawer-services {
    display: grid;
    gap: 10px;
    padding: 14px 8px;
}

.svc-btn.full {
    width: 100%;
    justify-content: center;
}

.drawer-nav {
    display: grid;
    gap: 8px;
    padding: 8px;
}

.drawer-nav a {
        padding: 12px 12px;
        border-radius: 12px;
        color: rgba(255,255,255,.88);
        text-decoration: none;
        border: 1px solid rgba(255,255,255,.08);
        background: rgba(255,255,255,.04);
    }

.drawer-nav a:hover {
            border-color: rgba(184,154,74,.45);
            background: rgba(184,154,74,.10);
            color: #fff;
        }

.acc {
    text-align: left;
    padding: 12px 12px;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
}

.accpanel {
    display: none;
    padding: 8px 0 10px;
    margin-left: 10px;
    border-left: 1px solid rgba(255,255,255,.10);
}

.accpanel a {
        margin: 6px 0;
        background: transparent;
        border: none;
        padding: 8px 10px;
        color: rgba(255,255,255,.80);
    }

.accpanel a:hover {
            color: #fff;
            background: rgba(184,154,74,.10);
            border-radius: 10px;
        }

/* Responsive */
@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .cta {
        display: none;
    }

    .burger {
        display: block;
    }

    .topbar-right {
        display: none;
    }
    /* optional: auf mobil ausblenden */
}

/* Motion safe */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* Service Buttons: edle Pills */
.svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.svc-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(203,168,90,.65);
        background: rgba(203,168,90,.14);
        color: #fff;
    }

.svc-btn .ico {
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
    }

/* NAVSHELL: zum Footer passend (dunkel) */
.navshell {
    background: rgba(27,23,24,.92);
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

.navrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

/* Logo-Badge: damit schwarzes Logo auf dunklem Header sichtbar ist */
.brand {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
}

.brand-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* Nav Links: clean */
.navlink {
    color: rgba(255,255,255,.86);
}

/* Active underline in HDN Gold */
    .navlink[aria-current="page"]::after {
        background: var(--hdn-gold);
    }

/* Dropdown */
.drop {
    background: rgba(18,16,18,.98);
    border: 1px solid rgba(255,255,255,.12);
}

/* CTA */
.cta {
    border-color: rgba(203,168,90,.55);
    background: rgba(203,168,90,.14);
}

.cta:hover {
        background: rgba(203,168,90,.22);
    }

/* Responsive */
@media (max-width: 980px) {
    .topbar-meta {
        display: none;
    }
    /* damit es oben nicht zu voll wird */
}

/* ===== TOPBAR: weiss wie Body ===== */

.site-header .topbar {
    background: var(--hdn-bg); /* weiss/hell wie Body */
    border-bottom: 1px solid rgba(35,31,32,.10);
}

.site-header .topbar-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

/* Logo links oben  grsser */
.site-header .topbar-brand {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 14px;
    background: transparent; /* kein Badge ntig auf weiss */
    border: 0;
    box-shadow: none;
}

.site-header .topbar-logo {
    height: 36px; /* <-- grer (vorher 28) */
    width: auto;
    display: block;
}

/* Buttons rechtsbndig bleiben */
.site-header .topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Service Buttons: dunkel auf weiss */
.site-header .svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(35,31,32,.14);
    color: rgba(35,31,32,.88); /* dunkle Schrift */
    font-size: 13px;
    font-weight: 700;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.site-header .svc-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(203,168,90,.70);
        background: rgba(203,168,90,.10);
        box-shadow: 0 10px 24px rgba(0,0,0,.10);
        color: rgba(35,31,32,1);
    }

.site-header .svc-btn .ico {
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        color: rgba(35,31,32,.85);
    }

.site-header .svc-btn svg {
        width: 18px;
        height: 18px;
    }

/* Optional: ganz feine goldene Linie oben wie "Highline" */
.site-header .topbar {
    position: relative;
}

.site-header .topbar::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 2px;
        background: rgba(203,168,90,.80);
    }

/* svc-btn auch fr <button> sauber */
.topbar-actions .svc-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255,255,255,.14);
    cursor: pointer;
    font: inherit;
}

/* ===========================
   Unternehmen  schner Text + Timeline
   =========================== */


/* -----------------------------------------------------
   70  Unternehmen / Company
   ----------------------------------------------------- */

.company-page {
    padding: 28px;
}

/* HERO */
.company-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 34px;
    align-items: start;
    padding: 6px 0 2px;
}

.company-kicker {
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--hdn-gray);
    margin-bottom: 10px;
}

.company-h1 {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.05;
    letter-spacing: -.02em;
    font-weight: 500;
}

.company-lead {
    margin: 14px 0 0;
    color: var(--hdn-gray);
    line-height: 1.95;
    font-size: 16px;
    font-weight: 650;
    max-width: 70ch;
}

/* Side card */
.company-sidecard {
    border-radius: 18px;
    border: 1px solid rgba(35,31,32,.10);
    background: linear-gradient(180deg, rgba(203,168,90,.12), rgba(255,255,255,0));
    box-shadow: 0 14px 36px rgba(0,0,0,.05);
    padding: 18px;
}

.company-side-title {
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--hdn-gray);
    margin-bottom: 10px;
}

.company-quote {
    font-weight: 850;
    line-height: 1.7;
    color: var(--hdn-dark);
    margin-bottom: 14px;
}

/* Divider */
.company-divider {
    height: 1px;
    background: rgba(35,31,32,.08);
    margin: 22px 0;
}

/* Sections */
.company-section {
    padding-top: 2px;
}

.company-section-head {
    margin-bottom: 10px;
}

.company-section-kicker {
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--hdn-gray);
    margin-bottom: 8px;
}

.company-h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: .01em;
}

/* Copy typography */
.company-copy {
    margin-top: 10px;
    max-width: 78ch;
}

.company-copy p {
        margin: 0 0 14px;
        color: var(--hdn-gray);
        line-height: 2.02;
        font-weight: 650;
        font-size: 16px;
    }

.company-copy p:last-child {
            margin-bottom: 0;
        }

/* Quote Box */
.company-quote-box {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid rgba(203,168,90,.45);
    background: linear-gradient(180deg, rgba(203,168,90,.14), rgba(255,255,255,0));
    padding: 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.company-quote-mark {
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    color: var(--hdn-gold);
}

.company-quote-big {
    font-weight: 900;
    color: var(--hdn-dark);
    line-height: 1.6;
}

/* CTA Buttons */
.company-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.company-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(35,31,32,.18);
    cursor: pointer;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    background: linear-gradient(180deg, rgba(203,168,90,.95), rgba(203,168,90,.72));
    color: var(--hdn-dark);
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.company-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 22px 44px rgba(0,0,0,.14);
        filter: saturate(1.05);
    }

.company-cta.ghost {
        background: rgba(255,255,255,.92);
        border: 1px solid rgba(35,31,32,.14);
        box-shadow: none;
    }

.company-cta.ghost:hover {
            border-color: rgba(203,168,90,.70);
            background: rgba(203,168,90,.10);
            box-shadow: 0 10px 24px rgba(0,0,0,.10);
        }

/* ===========================
   Timeline: Zeitschiene (Desktop horizontal)
   =========================== */

.company-timeline {
    margin-top: 12px;
    position: relative;
    padding-top: 18px;
}

.company-timeline::before {
        content: "";
        position: absolute;
        left: 8px;
        right: 8px;
        top: 16px;
        height: 2px;
        background: rgba(203,168,90,.45);
        border-radius: 2px;
    }

.company-tl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.company-tl-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(35,31,32,.10);
    background: #fff;
    box-shadow: 0 14px 36px rgba(0,0,0,.05);
    padding: 16px;
    padding-top: 18px;
}

.company-tl-dot {
    position: absolute;
    top: -14px;
    left: 18px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--hdn-gold);
    box-shadow: 0 10px 22px rgba(203,168,90,.24);
}

.company-tl-pill {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(203,168,90,.55);
    background: rgba(203,168,90,.12);
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--hdn-dark);
}

.company-tl-text {
    margin-top: 10px;
    color: var(--hdn-gray);
    line-height: 1.85;
    font-weight: 650;
    font-size: 15px;
}

/* ===========================
   Timeline: Mobile vertical
   =========================== */
@media (max-width: 980px) {
    .company-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .company-timeline {
        padding-top: 0;
        padding-left: 18px;
    }

        .company-timeline::before {
            top: 8px;
            bottom: 8px;
            left: 6px;
            right: auto;
            width: 2px;
            height: auto;
        }

    .company-tl-grid {
        grid-template-columns: 1fr;
    }

    .company-tl-card {
        padding-left: 16px;
    }

    .company-tl-dot {
        top: 20px;
        left: -18px;
    }
}

/* ===========================
   PAGE HERO (fr alle Einzelseiten)
   =========================== */


/* -----------------------------------------------------
   80  Page Hero / Home
   ----------------------------------------------------- */

.page-hero {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(35,31,32,.12);
    box-shadow: 0 18px 48px rgba(0,0,0,.10);
    background: #0f0d0e;
    color: #fff;
}

/* Background image layer */
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .78;
    transform: scale(1.02);
    filter: saturate(1.02) contrast(1.02);
}

/* Overlay for readability */
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 260px at 18% 20%, rgba(203,168,90,.18), transparent 60%), radial-gradient(700px 260px at 82% 15%, rgba(255,255,255,.10), transparent 62%), linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.34));
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    padding: 34px 28px;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 22px;
    align-items: center;
}

.page-hero-kicker {
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255,255,255,.78);
    margin-bottom: 10px;
}

.page-hero-h1 {
    margin: 0;
    font-size: clamp(28px, 3.7vw, 54px);
    line-height: 1.05;
    letter-spacing: -.02em;
    font-weight: 550;
}

.page-hero-lead {
    margin: 14px 0 0;
    color: rgba(255,255,255,.82);
    line-height: 1.9;
    font-size: 16px;
    font-weight: 650;
    max-width: 72ch;
}

.page-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* Buttons (match HDN gold) */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(203,168,90,.55);
    background: linear-gradient(180deg, rgba(203,168,90,.95), rgba(203,168,90,.72));
    color: var(--hdn-dark);
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btn-gold:hover {
        transform: translateY(-1px);
        box-shadow: 0 22px 44px rgba(0,0,0,.28);
        filter: saturate(1.05);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.btn-ghost:hover {
        transform: translateY(-1px);
        border-color: rgba(203,168,90,.55);
        background: rgba(203,168,90,.12);
    }

/* Right mini card */
.hero-mini {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(18,16,18,.52);
    backdrop-filter: blur(6px);
    padding: 16px;
}

.hero-mini-title {
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255,255,255,.80);
    margin-bottom: 10px;
}

.hero-mini-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: rgba(255,255,255,.86);
    font-weight: 750;
}

.hero-mini-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(203,168,90,.95);
    box-shadow: 0 10px 18px rgba(203,168,90,.22);
    flex: 0 0 auto;
}

.hero-mini-quote {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.90);
    font-weight: 900;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 980px) {
    .page-hero-inner {
        grid-template-columns: 1fr;
        padding: 26px 18px;
    }
}

/* ===========================
   HOME content styling
   =========================== */

.home .home-section {
    padding-top: 2px;
}

.home .home-kicker {
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--hdn-gray);
    margin-bottom: 10px;
}

.home .home-copy {
    color: var(--hdn-gray);
    line-height: 2.0;
    font-weight: 650;
    font-size: 16px;
    max-width: 78ch;
}

.home .home-divider {
    height: 1px;
    background: rgba(35,31,32,.08);
    margin: 22px 0;
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.home-why-card {
    border-radius: 18px;
    border: 1px solid rgba(35,31,32,.10);
    background: linear-gradient(180deg, rgba(35,31,32,.02), rgba(255,255,255,0));
    padding: 16px;
    color: var(--hdn-gray);
    line-height: 1.85;
    font-weight: 650;
    box-shadow: 0 14px 36px rgba(0,0,0,.05);
}

.home-why-card.home-why-quote {
        border-color: rgba(203,168,90,.45);
        background: linear-gradient(180deg, rgba(203,168,90,.14), rgba(255,255,255,0));
        color: var(--hdn-dark);
        font-weight: 900;
    }

@media (max-width: 980px) {
    .home-why-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   HOME HERO: Bild heller + Overlay etwas leichter
   ========================= */
.page-hero-bg {
    opacity: .92; /* vorher ~.78 */
    filter: brightness(1.18) saturate(1.06) contrast(1.03);
}

/* weniger "dunkle Decke", damit Bild heller wirkt */
.page-hero::after {
    background: radial-gradient(760px 300px at 18% 20%, rgba(203,168,90,.20), transparent 62%), radial-gradient(760px 300px at 82% 15%, rgba(255,255,255,.12), transparent 64%), linear-gradient(90deg, rgba(0,0,0,.50), rgba(0,0,0,.18));
}

/* Inner Content bleibt ber allem */
.page-hero-inner {
    position: relative;
    z-index: 2;
}

/* =========================
   Gold-Linie im Men "shimmer" (hell/dunkel luft drber)
   NUR die Goldkante!
   ========================= */
@keyframes hdnGoldShimmer {
    0% {
        background-position: -260px 0;
    }

    100% {
        background-position: 260px 0;
    }
}

/* Goldkante oben (topbar)  falls du die behalten willst */
.site-header .topbar::before {
    background: linear-gradient(90deg, rgba(203,168,90,.35), rgba(203,168,90,1), rgba(203,168,90,.35), rgba(203,168,90,1), rgba(203,168,90,.35) );
    background-size: 260px 100%;
    animation: hdnGoldShimmer 6s linear infinite;
}

/* Zustzliche Goldkante unten an der navshell (wirkt richtig "Men") */
.site-header .navshell {
    position: relative;
}

.site-header .navshell::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 3px;
        background: linear-gradient(90deg, rgba(203,168,90,.35), rgba(203,168,90,1), rgba(203,168,90,.35), rgba(203,168,90,1), rgba(203,168,90,.35) );
        background-size: 260px 100%;
        animation: hdnGoldShimmer 6.8s linear infinite;
        opacity: .95;
        pointer-events: none;
    }

/* =========================
   "Warum HDN" Karten fahren durchs Hero (3 Lanes, abwechselnd)
   ========================= */
.hero-fly {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    height: 128px;
    z-index: 1; /* unter Text, ber Bild */
    pointer-events: none;
    overflow: hidden;
}

/* 3 Spuren */
.fly-lane {
    position: absolute;
    left: 0;
    right: 0;
}

/* Positionen der Spuren (damit sie unten durchs Bild laufen) */
    .fly-lane.lane-1 {
        top: 0px;
    }

.fly-lane.lane-2 {
        top: 44px;
    }

.fly-lane.lane-3 {
        top: 88px;
    }

/* Kartenoptik (wie deine hero-mini, nur floating) */
.fly-card {
    display: inline-block;
    max-width: min(720px, calc(100% - 40px));
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(18,16,18,.52);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,.92);
    font-weight: 800;
    line-height: 1.55;
    box-shadow: 0 18px 48px rgba(0,0,0,.22);
    white-space: nowrap;
}

.fly-card.fly-quote {
        border-color: rgba(203,168,90,.40);
        background: rgba(203,168,90,.14);
        color: #fff;
    }

/* Animationen */
@keyframes flyLeft {
    0% {
        transform: translateX(110%);
    }

    100% {
        transform: translateX(-110%);
    }
}

@keyframes flyRight {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(110%);
    }
}

/* abwechselnde Richtung + leicht unterschiedliche Speed */
.lane-1 .fly-card {
    animation: flyLeft 22s linear infinite;
}

.lane-2 .fly-card {
    animation: flyRight 26s linear infinite;
}

.lane-3 .fly-card {
    animation: flyLeft 24s linear infinite;
}

/* Mobile: lieber ruhig (sonst zu voll) */
@media (max-width: 980px) {
    .hero-fly {
        display: none;
    }
}

/* Wenn Nutzer reduzierte Bewegung will: aus */
@media (prefers-reduced-motion: reduce) {
    .lane-1 .fly-card,
    .lane-2 .fly-card,
    .lane-3 .fly-card,
    .site-header .topbar::before,
    .site-header .navshell::after {
        animation: none !important;
    }
}

/* ===========================
   WHY/REFERENCES  PREMIUM MARQUEE (Boxen fahren)
   =========================== */


/* -----------------------------------------------------
   90  Marquee / Why HDN
   ----------------------------------------------------- */

@keyframes refMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ref-marquee {
    position: relative;
    margin-top: 12px;
    border-radius: 18px;
    border: 1px solid rgba(35,31,32,.10);
    background: radial-gradient(700px 200px at 18% 0%, rgba(203,168,90,.12), transparent 55%), linear-gradient(180deg, rgba(35,31,32,.02), rgba(255,255,255,0));
    padding: 14px 0;
    overflow: hidden;
}

.ref-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 88px;
    z-index: 2;
    pointer-events: none;
}

.ref-fade-left {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.ref-fade-right {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

/* Track: zwei Gruppen nebeneinander => -50% luft exakt eine Gruppe aus dem Bild */
.ref-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: refMarquee 34s linear infinite;
}

.ref-marquee:hover .ref-track {
    animation-play-state: paused; /* sexy: hover pausiert */
}

.ref-group {
    display: flex;
    gap: 12px;
    padding: 0 14px;
}

/* Karten */
.ref-card {
    width: 360px;
    max-width: calc(100vw - 72px);
    flex: 0 0 auto;
    border-radius: 18px;
    border: 1px solid rgba(35,31,32,.10);
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
    box-shadow: 0 14px 36px rgba(0,0,0,.06);
    padding: 14px 14px 12px;
}

.ref-card-gold {
    border-color: rgba(203,168,90,.45);
    background: linear-gradient(180deg, rgba(203,168,90,.16), rgba(255,255,255,0));
}

.ref-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ref-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(203,168,90,.45);
    background: rgba(203,168,90,.10);
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--hdn-dark);
}

.ref-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(203,168,90,.95);
    box-shadow: 0 10px 18px rgba(203,168,90,.20);
}

.ref-meta {
    color: var(--hdn-gray);
    font-weight: 800;
    font-size: 13px;
}

.ref-text {
    color: var(--hdn-dark);
    font-weight: 750;
    line-height: 1.7;
    font-size: 14px;
}

/* Mobile: schneller + weniger Fade */
@media (max-width: 980px) {
    .ref-track {
        animation-duration: 26s;
    }

    .ref-fade {
        width: 56px;
    }
}

/* Motion safe */
@media (prefers-reduced-motion: reduce) {
    .ref-track {
        animation: none !important;
        transform: none !important;
    }
}

/* In-Page Scroll Navigation (ersetzt Untermens) */

/* -----------------------------------------------------
   95  Section Scroll Nav
   ----------------------------------------------------- */

.section-scrollnav {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding: 10px 2px 12px;
    margin: 12px 0 6px;
    scroll-snap-type: x mandatory;
}

.section-scrollnav::-webkit-scrollbar {
        height: 8px;
    }

.section-scrollnav::-webkit-scrollbar-thumb {
        background: rgba(35,31,32,.12);
        border-radius: 99px;
    }

.section-pill {
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 11px;
    white-space: nowrap;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.section-pill:hover {
        transform: translateY(-1px);
        border-color: rgba(203,168,90,.55);
        background: rgba(203,168,90,.12);
    }

.section-block {
    padding: 22px 0;
    border-top: 1px solid rgba(35,31,32,.08);
}

.section-block:first-child {
        border-top: 0;
    }

.section-h2 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 950;
}

.section-copy {
    color: var(--hdn-gray);
    line-height: 2.0;
    font-weight: 650;
    font-size: 16px;
    max-width: 78ch;
}

.section-list {
    margin: 10px 0 0 18px;
    color: var(--hdn-gray);
    line-height: 1.9;
    font-weight: 650;
}

/* ============ MOBILE DRAWER ============ */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity .25s ease;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 92vw);
    background: #0b0b0c;
    transform: translateX(105%);
    transition: transform .25s ease;
    pointer-events: auto;
    overflow-y: auto;
    border-left: 1px solid rgba(255,255,255,.08);
}

.drawer.is-open {
    pointer-events: auto;
}

.drawer.is-open .drawer-backdrop {
        opacity: 1;
    }

.drawer.is-open .drawer-panel {
        transform: translateX(0);
    }

/* Scroll Lock */
html.nav-lock, body.nav-lock {
    overflow: hidden !important;
    height: 100%;
}

/* Mobile: Desktop-Navi ausblenden, Burger zeigen (falls noch nicht) */
@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .burger {
        display: inline-flex;
    }
}

/* Desktop: Drawer ausblenden */
@media (min-width: 981px) {
    .drawer {
        display: none;
    }
}

/* ===== MOBILE DRAWER (HDN GOLD) ===== */
.drawer-panel {
    background: radial-gradient(600px 220px at 18% 0%, rgba(203,168,90,.12), transparent 55%), linear-gradient(180deg, #0c0b0c 0%, #0a090a 100%);
    border-left: 1px solid rgba(255,255,255,.10);
    position: relative;
}

/* goldener Balken links im Drawer */
    .drawer-panel::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, rgba(203,168,90,.25), rgba(203,168,90,1), rgba(203,168,90,.25));
        opacity: .95;
    }

/* Headline + Trennlinie etwas goldiger */
.drawer-head {
    border-bottom: 1px solid rgba(203,168,90,.22);
}

.drawer-title {
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 12px;
    color: rgba(255,255,255,.88);
}

/* Services als goldene Pills */
.drawer-services .svc-btn.full {
    justify-content: flex-start;
    gap: 10px;
    border-color: rgba(203,168,90,.28);
    background: rgba(255,255,255,.05);
}

.drawer-services .svc-btn.full:hover {
        border-color: rgba(203,168,90,.55);
        background: rgba(203,168,90,.10);
    }

/* Nav Links mit Icon */
.drawer-nav {
    gap: 10px;
    padding: 10px 8px 16px;
}

.drawer-nav .mnav {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 12px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,.10);
        background: rgba(255,255,255,.04);
        color: rgba(255,255,255,.90);
        font-weight: 750;
    }

.drawer-nav .mnav:hover {
            border-color: rgba(203,168,90,.55);
            background: rgba(203,168,90,.10);
        }

/* Icon Badge */
.mnav-ico {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(203,168,90,.30);
    background: rgba(203,168,90,.10);
    flex: 0 0 auto;
}

.mnav-ico svg {
        width: 18px;
        height: 18px;
    }

.mnav-ico svg,
        .mnav-ico svg * {
            fill: none;
            stroke: rgba(255,255,255,.92);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

/* CTA im Drawer: richtig gold */
.drawer-nav .mnav-cta {
    border-color: rgba(203,168,90,.55);
    background: linear-gradient(180deg, rgba(203,168,90,.22), rgba(203,168,90,.10));
}

.drawer-nav .mnav-cta .mnav-ico {
        background: rgba(203,168,90,.18);
        border-color: rgba(203,168,90,.55);
    }

.drawer-nav .mnav-cta:hover {
        background: linear-gradient(180deg, rgba(203,168,90,.28), rgba(203,168,90,.12));
    }

/* =========================
   FORCE: Cookie immer ganz unten
   (muss ganz am Ende stehen!)
   ========================= */

#hdnCookieBanner.cookie-banner {
    left: 50% !important;
    bottom: 10px !important;
    transform: translateX(-50%) !important;
    width: min(980px, calc(100% - 24px)) !important;
    z-index: 10050 !important;
}

#hdnCookieFab.cookie-fab {
    left: 18px !important;
    bottom: 10px !important; /* <- ganz unten */
    z-index: 10051 !important; /* ber Banner, falls ntig */
}

/* ===========================
   HDN HEADER (ONE TRUE VERSION)
   =========================== */

/* Topbar hell */
.site-header .topbar {
    background: var(--hdn-bg);
    border-bottom: 1px solid rgba(35,31,32,.10);
}

.site-header .topbar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.site-header .topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Service Buttons (oben rechts) */
.site-header .svc-btn {
    height: 40px;
    padding: 0 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(35,31,32,.14);
    color: rgba(35,31,32,.92);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-header .svc-btn:hover {
        border-color: rgba(203,168,90,.70);
        background: rgba(203,168,90,.10);
        box-shadow: 0 10px 22px rgba(0,0,0,.10);
    }

.site-header .svc-btn .ico {
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
    }

.site-header .svc-btn svg,
    .site-header .svc-btn svg * {
        fill: none !important;
        stroke: rgba(35,31,32,.92) !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

/* Navshell dunkel wie Footer */
.site-header .navshell {
    background: rgba(27,23,24,.94);
    border-bottom: 1px solid rgba(255,255,255,.10);
    position: relative;
}

.site-header .navshell::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 3px;
        background: var(--hdn-gold);
        opacity: .95;
    }

/* Desktop Nav */
.site-header .navrow {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.site-header .nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.site-header .navlist {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .navlink {
    color: rgba(255,255,255,.88);
    padding: 10px 8px;
    text-decoration: none;
}

.site-header .navlink:hover {
        color: #fff;
    }

.site-header .navlink[aria-current="page"] {
        color: #fff;
    }

.site-header .navlink[aria-current="page"]::after {
            content: "";
            display: block;
            height: 2px;
            border-radius: 2px;
            background: var(--hdn-gold);
            margin-top: 6px;
        }

/* Burger sichtbar + als Button */
.site-header .burger {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Burger-SVG fix */
    .site-header .burger svg {
        width: 22px;
        height: 22px;
    }

.site-header .burger svg,
        .site-header .burger svg * {
            fill: none !important;
            stroke: #fff !important;
            stroke-width: 2.2 !important;
            stroke-linecap: round !important;
            stroke-linejoin: round !important;
        }

/* Mobile */
@media (max-width:980px) {
    .site-header .nav {
        display: none;
    }

    .site-header .burger {
        display: inline-flex;
    }
}

/* Super Mobile: Service Buttons nur als Icons (keine "..." mehr) */
@media (max-width:520px) {
    .site-header .svc-btn {
        width: 44px;
        padding: 0;
        justify-content: center;
    }

        .site-header .svc-btn .txt {
            display: none;
        }
}

/* ===========================
   MOBILE TOPBAR: Service Buttons fit machen
   =========================== */

/* Topbar darf nicht berlaufen */
.site-header .topbar-row {
    flex-wrap: nowrap;
}

.site-header .topbar-actions {
    min-width: 0;
    flex: 0 0 auto;
}

/* Buttons: nie umbrechen, Text nicht rausdrcken */
.site-header .svc-btn {
    white-space: nowrap;
}

/* ab Tablet: etwas tighter */
@media (max-width: 760px) {
    .site-header .svc-btn {
        height: 40px;
        padding: 0 10px;
        border-radius: 12px;
        gap: 8px;
    }

        .site-header .svc-btn .txt {
            display: none !important; /* < WICHTIG: Text ausblenden */
        }

    .site-header .svc-btn {
        width: 44px; /* < Icon-Button */
        padding: 0;
        justify-content: center;
    }

        .site-header .svc-btn .ico {
            width: 20px;
            height: 20px;
        }

        .site-header .svc-btn svg {
            width: 20px;
            height: 20px;
        }
}

/* ab sehr klein: noch etwas kompakter */
@media (max-width: 420px) {
    .site-header .topbar-actions {
        gap: 6px;
    }

    .site-header .svc-btn {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
}

/* ===== Topbar Icons: grer, klar, einheitlich ===== */
.site-header .svc-btn .ico {
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
}

.site-header .svc-btn svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

/* Stroke/Outline look */
    .site-header .svc-btn svg,
    .site-header .svc-btn svg * {
        fill: none !important;
        stroke: rgba(35,31,32,.92) !important;
        stroke-width: 2.2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

/* Mobile: Buttons bleiben Squares, Icon bisschen grer */
@media (max-width: 760px) {
    .site-header .svc-btn {
        width: 46px !important;
        height: 46px !important;
    }

        .site-header .svc-btn .ico,
        .site-header .svc-btn svg {
            width: 26px !important;
            height: 26px !important;
        }
}

/* ===== Tooltip (Desktop Hover) via data-tip ===== */
.site-header .svc-btn {
    position: relative;
}

/* Tooltip nur wenn text ausgeblendet ist ODER du es immer willst */
@media (hover:hover) {
    .site-header .svc-btn[data-tip]:hover::after {
        content: attr(data-tip);
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        background: rgba(20,17,18,.92);
        color: #fff;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .04em;
        white-space: nowrap;
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: 0 16px 30px rgba(0,0,0,.22);
        z-index: 9999;
    }

    .site-header .svc-btn[data-tip]:hover::before {
        content: "";
        position: absolute;
        top: calc(100% + 4px);
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-bottom-color: rgba(20,17,18,.92);
        z-index: 9999;
    }
}

/* =========================
   FIX: Drawer (Mobile Men)  Service Icons wei
   ========================= */
.drawer-services .svc-btn {
    color: rgba(255,255,255,.92) !important; /* Text + currentColor */
}

.drawer-services .svc-btn .ico svg,
    .drawer-services .svc-btn .ico svg * {
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
        opacity: .95 !important;
    }

/* =========================
   Tooltips: Desktop AUS, Mobile AN (lesbar)
   ========================= */

/* Desktop: Tooltips komplett deaktivieren */
@media (min-width: 981px) {
    .svc-btn[data-tip]::before,
    .svc-btn[data-tip]::after {
        content: none !important;
        display: none !important;
    }
}

/* Mobile: Tooltip nur bei den Topbar-Buttons (Icon-Buttons) */
@media (max-width: 980px) {
    .topbar-actions .svc-btn {
        position: relative; /* Anker fr Tooltip */
    }

        .topbar-actions .svc-btn[data-tip]::after {
            content: attr(data-tip);
            position: absolute;
            left: 50%;
            top: calc(100% + 10px); /* unter dem Button */
            transform: translateX(-50%);
            padding: 8px 10px;
            border-radius: 12px;
            background: rgba(12,11,12,.92);
            color: #fff;
            font-weight: 800;
            font-size: 12px;
            letter-spacing: .02em;
            white-space: nowrap;
            border: 1px solid rgba(255,255,255,.10);
            box-shadow: 0 16px 36px rgba(0,0,0,.28);
            opacity: 0;
            pointer-events: none;
            z-index: 999999;
        }

        .topbar-actions .svc-btn[data-tip]::before {
            content: "";
            position: absolute;
            left: 50%;
            top: calc(100% + 4px);
            transform: translateX(-50%);
            width: 10px;
            height: 10px;
            background: rgba(12,11,12,.92);
            border-left: 1px solid rgba(255,255,255,.10);
            border-top: 1px solid rgba(255,255,255,.10);
            transform: translateX(-50%) rotate(45deg);
            opacity: 0;
            pointer-events: none;
            z-index: 999999;
        }

        .topbar-actions .svc-btn[data-tip]:hover::after,
        .topbar-actions .svc-btn[data-tip]:hover::before,
        .topbar-actions .svc-btn[data-tip]:focus-visible::after,
        .topbar-actions .svc-btn[data-tip]:focus-visible::before {
            opacity: 1;
        }
}

/* =========================
   MOBILE Tooltip  Text erzwingen (Fix "schwarzer Fleck")
   ========================= */
@media (max-width: 980px) {
    .topbar-actions .svc-btn[data-tip] {
        position: relative !important;
        overflow: visible !important;
    }

        .topbar-actions .svc-btn[data-tip]::after {
            content: attr(data-tip) !important;
            color: #fff !important;
            font-size: 12px !important;
            line-height: 1.2 !important;
            font-weight: 800 !important;
            letter-spacing: .02em !important;
            position: absolute !important;
            left: 50% !important;
            top: calc(100% + 10px) !important;
            transform: translateX(-50%) !important;
            padding: 8px 10px !important;
            border-radius: 12px !important;
            background: rgba(12,11,12,.92) !important;
            border: 1px solid rgba(255,255,255,.10) !important;
            box-shadow: 0 16px 36px rgba(0,0,0,.28) !important;
            white-space: nowrap !important;
            opacity: 0 !important;
            pointer-events: none !important;
            z-index: 100600 !important;
            text-shadow: 0 1px 0 rgba(0,0,0,.45) !important; /* lesbarer */
        }

        .topbar-actions .svc-btn[data-tip]::before {
            content: "" !important;
            position: absolute !important;
            left: 50% !important;
            top: calc(100% + 4px) !important;
            transform: translateX(-50%) rotate(45deg) !important;
            width: 10px !important;
            height: 10px !important;
            background: rgba(12,11,12,.92) !important;
            border-left: 1px solid rgba(255,255,255,.10) !important;
            border-top: 1px solid rgba(255,255,255,.10) !important;
            opacity: 0 !important;
            pointer-events: none !important;
            z-index: 100600 !important;
        }

        .topbar-actions .svc-btn[data-tip]:hover::after,
        .topbar-actions .svc-btn[data-tip]:hover::before,
        .topbar-actions .svc-btn[data-tip]:focus-visible::after,
        .topbar-actions .svc-btn[data-tip]:focus-visible::before {
            opacity: 1 !important;
        }
}

/* =========================
   Zammad Chat immer VORNE
   ========================= */
#zammad-chat,
.zammad-chat,
.zammad-chat-widget,
.zammad-chat-modal,
.zammad-chat-overlay,
.zammad-chat .modal,
.zammad-chat iframe{
  z-index: 100700 !important;
}

/* Tooltip Text erzwingen (weiss) */
@media (max-width: 980px) {

    /* Tooltip-Box */
    .topbar-actions .svc-btn[data-tip]::after {
        content: attr(data-tip) !important;
        color: #fff !important; /* <- Text weiss */
        -webkit-text-fill-color: #fff !important; /* <- falls irgendwas "fill" nutzt */
        opacity: 1 !important; /* <- sichtbar */
        visibility: visible !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        background: rgba(0,0,0,.92) !important; /* <- schwarzer Hintergrund */
    }

        /* falls irgendwo "alles im tooltip wird schwarz" gesetzt ist */
        .topbar-actions .svc-btn[data-tip]::after,
        .topbar-actions .svc-btn[data-tip]::after * {
            color: #fff !important;
            -webkit-text-fill-color: #fff !important;
        }

    /* Tooltip nur bei Hover/Fokus zeigen (nicht immer) */
    .topbar-actions .svc-btn[data-tip]::after,
    .topbar-actions .svc-btn[data-tip]::before {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .topbar-actions .svc-btn[data-tip]:hover::after,
    .topbar-actions .svc-btn[data-tip]:hover::before,
    .topbar-actions .svc-btn[data-tip]:focus-visible::after,
    .topbar-actions .svc-btn[data-tip]:focus-visible::before {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* =========================
   TOOLTIP (nur Mobile Topbar)
   - Desktop: AUS
   - Mobile: per JS Klasse .tip-show (siehe Script unten)
   ========================= */

/* Desktop komplett aus */
@media (min-width: 981px) {
    .topbar-actions .svc-btn::before,
    .topbar-actions .svc-btn::after {
        content: none !important;
        display: none !important;
    }
}

/* Mobile Tooltip-Style (aber NICHT per :hover, sondern via .tip-show) */
@media (max-width: 980px) {
    .topbar-actions .svc-btn {
        position: relative !important;
        overflow: visible !important;
    }

        .topbar-actions .svc-btn::after,
        .topbar-actions .svc-btn::before {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity .12s ease, visibility .12s ease;
        }

        /* Tooltip Box */
        .topbar-actions .svc-btn::after {
            content: attr(data-tip);
            position: absolute;
            left: 50%;
            top: calc(100% + 10px);
            transform: translateX(-50%);
            padding: 8px 10px;
            border-radius: 12px;
            background: rgba(12,11,12,.92);
            border: 1px solid rgba(255,255,255,.12);
            box-shadow: 0 16px 36px rgba(0,0,0,.28);
            color: #fff;
            -webkit-text-fill-color: #fff;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: .02em;
            white-space: nowrap;
            z-index: 100600;
        }

        /* Tooltip Pfeil */
        .topbar-actions .svc-btn::before {
            content: "";
            position: absolute;
            left: 50%;
            top: calc(100% + 4px);
            transform: translateX(-50%) rotate(45deg);
            width: 10px;
            height: 10px;
            background: rgba(12,11,12,.92);
            border-left: 1px solid rgba(255,255,255,.12);
            border-top: 1px solid rgba(255,255,255,.12);
            z-index: 100600;
        }

        /* Sichtbar wenn JS-Klasse gesetzt */
        .topbar-actions .svc-btn.tip-show::after,
        .topbar-actions .svc-btn.tip-show::before {
            opacity: 1 !important;
            visibility: visible !important;
        }
}
