/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rP2Wp2ywxg089UriCZaSExdy3sGt9zz86GPwyKy58UfkvU0oaw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWCBl0-8Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWCBl0-8Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWCBl0-8Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWCBl0-8Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/vEFH2_tTDB4M7-auWDN0ahZJW1ge6NmXq2ZbF8zBfb98SUr6aX0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --bg-deep: #0a0d12;
    --bg-dark: #12161e;
    --surface: #ffffff;
    --surface-muted: #f1f3f7;
    --surface-warm: #faf8f5;
    --text: #0f1419;
    --text-muted: #4a5568;
    --text-on-dark: #f4f6f8;
    --text-muted-on-dark: #a8b0bd;
    --border: rgba(15, 20, 25, 0.12);
    --border-dark: rgba(255, 255, 255, 0.12);
    --accent: #b87333;
    --accent-soft: #d4a574;
    --accent-glow: rgba(184, 115, 51, 0.22);
    --ok: #15803d;
    --error: #b91c1c;
    --font-sans: "DM Sans", system-ui, sans-serif;
    --font-serif: "Source Serif 4", Georgia, serif;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

/* Sticky Header + ggf. zweizeilige Nav: Ziel nicht unter der Leiste verstecken */
html {
    scroll-padding-top: 5.5rem;
}

@media (min-width: 640px) and (max-width: 1199px) {
    html {
        scroll-padding-top: 8rem;
    }
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--surface-muted);
    line-height: 1.6;
    font-size: 1.02rem;
}

/* Visuell verborgen bis Tastaturfokus — vermeidet sichtbare Rand-/Schatten-Reste oben links */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
    position: fixed;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 300;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.5rem 1rem;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 0.35rem;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    outline: none;
}

#main-content:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
}

.wrap {
    width: min(1080px, 92vw);
    margin: 0 auto;
}

.section-narrow {
    max-width: 72ch;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(10, 15, 25, 0.06);
}

.site-header.is-open {
    z-index: 200;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 76px;
    position: relative;
    z-index: 2;
}

.brand img {
    height: auto;
    width: clamp(160px, 28vw, 220px);
    border-radius: 0.35rem;
    display: block;
}

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

/* Schmal: Drawer + Hamburger (bis 639px) */
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(10, 15, 25, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.site-header.is-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-left: auto;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    background: var(--surface);
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-toggle-bars {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a202c;
    border-radius: 1px;
    box-shadow: 0 7px 0 #1a202c, 0 -7px 0 #1a202c;
    position: relative;
}

.site-header.is-open .nav-toggle-bars {
    background: transparent;
    box-shadow: none;
}

.site-header.is-open .nav-toggle-bars::before,
.site-header.is-open .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 2px;
    margin-top: -1px;
    background: #1a202c;
    border-radius: 1px;
}

.site-header.is-open .nav-toggle-bars::before {
    transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
    transform: rotate(-45deg);
}

.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    width: min(19rem, 90vw);
    height: 100dvh;
    height: 100vh;
    margin: 0;
    padding: calc(4.75rem + env(safe-area-inset-top, 0px)) 1.15rem 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--surface);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.2);
    border-left: 1px solid var(--border);
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.is-open .main-nav {
    transform: translateX(0);
}

.main-nav a {
    color: #1a202c;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: normal;
    padding: 0.75rem 0.35rem;
    border-bottom: 1px solid rgba(15, 20, 25, 0.08);
}

.main-nav a:last-child {
    border-bottom: 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent);
}

.main-nav a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

/* Mittel: kein Hamburger — Navigation umbrechend (zwei Zeilen), volle Breite unter dem Logo */
@media (min-width: 640px) and (max-width: 1199px) {
    .nav-backdrop {
        display: none !important;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-wrap {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 0.35rem;
    }

    .main-nav {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        position: static;
        z-index: auto;
        height: auto;
        min-height: 0;
        transform: none !important;
        transition: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        align-content: flex-start;
        justify-content: flex-start;
        gap: 0.35rem 0.85rem;
        padding: 0.15rem 0 0.35rem;
        overflow: visible;
        -webkit-overflow-scrolling: auto;
        background: transparent;
        box-shadow: none;
        border: none;
        mask-image: none;
    }

    .site-header.is-open .main-nav {
        transform: none !important;
    }

    .main-nav a {
        font-size: 0.8rem;
        white-space: nowrap;
        padding: 0.3rem 0.1rem;
        border-bottom: 2px solid transparent;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        color: var(--accent);
        border-bottom-color: var(--accent-glow);
    }
}

/* Breit: eine Zeile, horizontal scrollbar bei Bedarf */
@media (min-width: 1200px) {
    .nav-backdrop {
        display: none !important;
    }

    .nav-toggle {
        display: none;
    }

    .nav-wrap {
        flex-wrap: nowrap;
        align-items: center;
    }

    .main-nav {
        order: 0;
        position: static;
        z-index: auto;
        width: auto;
        height: auto;
        min-height: 0;
        min-width: 0;
        flex: 1 1 0%;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.65rem;
        padding: 0.2rem 0;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        background: transparent;
        box-shadow: none;
        border: none;
        transform: none;
        transition: none;
        mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    }

    .site-header.is-open .main-nav {
        transform: none;
    }

    .main-nav a {
        font-size: 0.82rem;
        white-space: nowrap;
        padding: 0.35rem 0.15rem;
        border-bottom: 2px solid transparent;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        border-bottom-color: var(--accent-glow);
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-nav,
    .nav-backdrop {
        transition: none;
    }
}

.hero {
    /* Kein Foto-Hintergrund: das alte Motiv (ZÜNDE DIE WELT) wirkte zugeschnitten und konkurrierte mit Inhalt */
    background:
        radial-gradient(ellipse 70% 55% at 90% 15%, rgba(184, 115, 51, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(148, 163, 184, 0.06) 0%, transparent 50%),
        linear-gradient(165deg, #07090d 0%, #0e131a 42%, #121a24 100%);
    color: var(--text-on-dark);
    padding: 4.5rem 0 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy h1 {
    color: #fff;
}

.eyebrow {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--accent-soft);
    margin: 0 0 0.75rem;
    font-weight: 600;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    line-height: 1.18;
    margin: 0 0 0.85rem;
    font-weight: 600;
}

h1 {
    font-size: clamp(1.85rem, 4vw, 2.85rem);
}

h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

h3 {
    font-size: 1.15rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.hero-tagline {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #e2e5ea;
    max-width: 52ch;
    line-height: 1.45;
}

.hero-lead {
    color: var(--text-muted-on-dark);
    max-width: 52ch;
    margin: 0;
    font-size: 1.05rem;
}

.hero-lead strong {
    color: #e8eaed;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.68rem 1.15rem;
    border-radius: 0.4rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: #fff;
    color: var(--bg-deep);
    border-color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--surface-warm);
}

.btn-secondary {
    border-color: var(--border-dark);
    color: var(--text-on-dark);
    background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--accent-soft);
    color: #fff;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    border-color: var(--accent-soft);
}

.hero-visual {
    margin: 0;
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    background: #000;
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 340px;
    opacity: 0.92;
}

.hero-visual--portrait {
    max-width: min(400px, 88vw);
    margin-inline: auto;
}

@media (min-width: 961px) {
    .hero-layout .hero-visual--portrait {
        margin-inline: 0 0;
        margin-left: auto;
    }
}

.hero-visual--portrait img {
    max-height: none;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 18%;
    opacity: 1;
}

.hero-caption {
    font-size: 0.82rem;
    color: var(--text-muted-on-dark);
    padding: 0.65rem 0.85rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.35);
}

.section-idee {
    background: linear-gradient(180deg, var(--surface-muted) 0%, var(--surface-warm) 100%);
    border-top: 1px solid var(--border);
}

.idee-grid {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 2rem clamp(1.25rem, 4vw, 2.5rem);
    align-items: start;
}

.idee-visual {
    margin: 0;
    justify-self: center;
    width: 100%;
    max-width: 300px;
}

.idee-visual img {
    width: 100%;
    height: auto;
    max-height: min(38vh, 360px);
    object-fit: contain;
    display: block;
    margin-inline: auto;
    border-radius: 0.65rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border);
}

.idee-caption {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.55rem;
    text-align: center;
}

.idee-copy h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 1rem;
}

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

    .idee-visual {
        order: -1;
        max-width: min(100%, 380px);
        margin-inline: auto;
    }

    .idee-visual img {
        max-height: min(42vh, 320px);
    }
}

section {
    padding: 3.5rem 0;
}

/* Schnelleres First Paint (mobil/klein): unterhalb Hero */
main > section:not(.hero) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 520px;
}

@media (min-width: 1024px) {
    main > section:not(.hero) {
        content-visibility: visible;
    }
}

.section-light {
    background: var(--surface);
}

.section-muted {
    background: var(--surface-muted);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark-text {
    color: var(--text-muted-on-dark) !important;
}

.lead {
    color: var(--text-muted);
    max-width: 72ch;
    margin: 0 0 1rem;
}

.section-intro {
    margin-bottom: 1.75rem;
}

.section-dark .lead {
    color: var(--text-muted-on-dark);
}

.inline-link {
    color: var(--accent-soft);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(212, 165, 116, 0.45);
}

.section-light .inline-link,
.section-muted .inline-link {
    color: var(--accent);
    border-bottom-color: rgba(184, 115, 51, 0.45);
}

.inline-link:hover,
.inline-link:focus-visible {
    border-bottom-color: currentColor;
}

.triad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.triad-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 1.25rem 1.2rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.triad-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.triad-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.credibility {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.credibility-card {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 1.2rem;
}

.credibility-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.credibility-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.96rem;
}

.service-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.service-tile {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dark);
    border-radius: 0.65rem;
    padding: 1.35rem 1.2rem;
}

.service-tile h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-tile p {
    margin: 0 0 0.75rem;
    color: var(--text-muted-on-dark);
    font-size: 0.96rem;
}

.service-tile--accent {
    border-color: rgba(184, 115, 51, 0.45);
    box-shadow: 0 0 0 1px rgba(184, 115, 51, 0.12) inset;
}

.section-elbart {
    background: linear-gradient(145deg, #151821 0%, #1a1410 100%);
    color: var(--text-on-dark);
    border-top: 1px solid rgba(184, 115, 51, 0.2);
    border-bottom: 1px solid rgba(184, 115, 51, 0.15);
}

.section-elbart h2 {
    color: #fff;
}

.elbart-lead {
    color: #c9cdd4 !important;
}

.elbart-lead strong {
    color: #eef0f3;
}

.elbart-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.section-elbart .btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.section-elbart .btn-primary:hover,
.section-elbart .btn-primary:focus-visible {
    background: #9a5f28;
    border-color: #9a5f28;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.ref-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 1.2rem 1.15rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.ref-card--brand {
    border-color: rgba(184, 115, 51, 0.35);
    background: var(--surface-warm);
}

.ref-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.65rem;
}

.ref-card-head h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.2rem;
}

.ref-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ref-facts {
    margin: 0;
}

.ref-facts div {
    margin-bottom: 0.55rem;
}

.ref-facts div:last-child {
    margin-bottom: 0;
}

.ref-facts dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 0.15rem;
}

.ref-facts dd {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text);
}

.quotes-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
}

.quotes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.testimonial-card {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 1rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0.85rem;
    align-items: start;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(184, 115, 51, 0.35);
}

.testimonial-card blockquote {
    margin: 0;
    border-left: 3px solid var(--accent);
    padding: 0.15rem 0 0.15rem 0.85rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.quote-author {
    display: block;
    margin-top: 0.55rem;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
}

.eco-diagram {
    max-width: 560px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.eco-diagram--structured {
    max-width: 760px;
}

.eco-branches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: start;
    margin-top: 0.15rem;
}

.eco-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eco-branch--stack {
    gap: 0;
}

.eco-entity {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.05rem;
}

.eco-entity a {
    font-weight: 700;
    color: var(--text-on-dark);
    text-decoration: none;
}

.eco-entity a:hover,
.eco-entity a:focus-visible {
    color: var(--accent-soft);
}

.eco-legal {
    display: inline-block;
    margin-left: 0.2rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted-on-dark);
}

.eco-hub {
    display: inline-block;
    padding: 0.85rem 1.4rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark);
}

.eco-hub--root {
    border-color: rgba(184, 115, 51, 0.45);
    background: rgba(184, 115, 51, 0.1);
}

.eco-hub strong {
    display: block;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    font-family: var(--font-serif);
}

.eco-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted-on-dark);
}

.eco-connector {
    width: 2px;
    height: 1.25rem;
    background: linear-gradient(var(--accent), rgba(184, 115, 51, 0.2));
    margin: 0 auto;
}

.eco-connector--short {
    height: 0.85rem;
}

.eco-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.25rem;
}

.eco-node {
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dark);
}

.eco-node strong,
.eco-node a {
    font-weight: 700;
    color: var(--text-on-dark);
    text-decoration: none;
}

.eco-node a:hover,
.eco-node a:focus-visible {
    color: var(--accent-soft);
}

.eco-node--partner {
    font-size: 0.95rem;
}

.eco-dot {
    margin: 0 0.25rem;
    opacity: 0.5;
}

.eco-node--elbart {
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.proof-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 72ch;
}

.proof-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.proof-list li:last-child {
    border-bottom: 0;
}

.proof-list a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 115, 51, 0.35);
}

.proof-list a:hover,
.proof-list a:focus-visible {
    border-bottom-color: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 1.2rem;
    align-items: start;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contact-card--wide {
    grid-column: 1 / 2;
}

.contact-routing {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.85rem 1rem 1rem;
    margin: 0 0 1rem;
    min-width: 0;
    display: block;
}

.contact-routing legend {
    font-weight: 700;
    padding: 0 0.35rem;
    font-size: 0.95rem;
}

.radio-line {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.65rem;
    margin-top: 0.55rem;
    cursor: pointer;
    font-size: 0.94rem;
    color: var(--text-muted);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.radio-line:first-of-type {
    margin-top: 0.35rem;
}

.radio-line input[type="radio"] {
    flex: 0 0 auto;
    margin: 0.2rem 0 0;
    accent-color: var(--accent);
    width: 1.05rem;
    height: 1.05rem;
}

.radio-line span {
    flex: 0 1 auto;
    min-width: 0;
    line-height: 1.45;
    text-align: left;
}

/* Hero-Buttons sind hell; im Kontaktformular (helle Karte) braucht der Primaerbutton Kontrast */
.contact-card .btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.contact-card .btn-primary:hover,
.contact-card .btn-primary:focus-visible {
    background: #9a5f28;
    border-color: #9a5f28;
    color: #fff;
}

.contact-card .btn-primary:focus-visible {
    outline: 2px solid rgba(184, 115, 51, 0.45);
    outline-offset: 2px;
}

.contact-card .form-actions {
    margin-top: 1.15rem;
    margin-bottom: 0;
}

.optional {
    font-weight: 500;
    color: #94a3b8;
    font-size: 0.88rem;
}

.alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.55rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.45;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
    animation: notice-enter 220ms ease-out;
}

.form-notice:empty {
    display: none;
}

.alert-success {
    background: linear-gradient(180deg, rgba(21, 128, 61, 0.1), rgba(21, 128, 61, 0.06));
    color: #14532d;
    border: 1px solid rgba(21, 128, 61, 0.3);
}

.alert-error {
    background: linear-gradient(180deg, rgba(248, 113, 113, 0.12), rgba(239, 68, 68, 0.08));
    color: #7f1d1d;
    border: 1px solid rgba(220, 38, 38, 0.28);
}

.alert::before {
    flex: 0 0 auto;
    margin-top: 0.03rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.alert-success::before {
    content: "✓";
    color: var(--ok);
}

.alert-error::before {
    content: "!";
    color: var(--error);
}

#contactSubmit[disabled] {
    opacity: 0.75;
    cursor: wait;
}

@keyframes notice-enter {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

label {
    display: block;
    margin: 0.65rem 0 0.2rem;
    font-weight: 600;
    font-size: 0.92rem;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(100, 116, 139, 0.45);
    border-radius: 0.45rem;
    padding: 0.65rem 0.7rem;
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--accent-glow);
    border-color: rgba(184, 115, 51, 0.55);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    background: var(--bg-deep);
    color: var(--text-on-dark);
    padding: 2.5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 1rem;
}

.site-footer h2,
.site-footer h3 {
    font-family: var(--font-serif);
}

.site-footer a {
    color: var(--text-muted-on-dark);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--accent-soft);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    margin-top: 1.5rem;
    padding-top: 0.85rem;
}

.footer-muted {
    font-size: 0.85em;
    opacity: 0.75;
}

.footer-quick {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.footer-quick a {
    font-weight: 600;
}

.legal {
    padding: 3.5rem 0;
}

.legal .wrap {
    width: min(900px, 92vw);
}

.legal h1 {
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.legal h2 {
    margin-top: 2rem;
    font-family: var(--font-serif);
}

.error-hero {
    background:
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(184, 115, 51, 0.08) 0%, transparent 45%),
        linear-gradient(155deg, #0a0d12 0%, #141c28 100%);
    color: var(--text-on-dark);
    border-radius: 0.65rem;
    padding: 3rem 1rem;
    text-align: center;
}

.error-code {
    display: inline-block;
    margin: 0 0 0.65rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(184, 115, 51, 0.18);
    border: 1px solid rgba(184, 115, 51, 0.45);
    color: var(--accent-soft);
    font-weight: 700;
}

.error-hero .lead {
    color: #cbd5e1;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 960px) {
    .hero-layout,
    .triad,
    .credibility,
    .service-tiles,
    .ref-grid,
    .eco-row,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-layout {
        gap: 1.75rem;
    }

    .hero {
        padding: 3.5rem 0 3rem;
    }

    .ref-grid {
        margin-bottom: 2rem;
    }

    .eco-row {
        grid-template-columns: 1fr;
    }

    .eco-branches {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
    }

    .testimonial-photo {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 0.98rem;
    }

    h1 {
        font-size: clamp(1.65rem, 8vw, 2.35rem);
    }

    h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    }

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

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

@media (max-width: 560px) {
    body {
        font-size: 0.94rem;
    }

    .wrap {
        width: min(1080px, 94vw);
    }

    .hero-card,
    .card,
    .testimonial-card,
    .contact-card,
    .triad-card,
    .credibility-card {
        padding: 0.95rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-actions .btn {
        width: auto;
        flex: 1 1 auto;
        min-width: min(100%, 200px);
    }
}
