/* ==========================================================================
   ZG Solutions GmbH – Landingpage
   Basis: Bootstrap 5.3.8 · Schrift: TASA Orbiter · Icons: Hugeicons
   Bildsprache & Formen angelehnt an zg-outdoor.de
   ========================================================================== */

/* ---------- 1. Schrift ---------- */
@font-face {
    font-family: "TASA Orbiter";
    src: url("../fonts/TASAOrbiter-VariableFont_wght.woff2") format("woff2-variations"),
         url("../fonts/TASAOrbiter-VariableFont_wght.woff2") format("woff2"),
         url("../fonts/TASAOrbiter-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

/* ---------- 2. Design-Tokens ---------- */
:root {
    --zg-orange: #eb5729;
    --zg-orange-light: #f58047;
    --zg-orange-dark: #d24a1f;
    --zg-gradient: linear-gradient(91deg, #f58047 0%, #ec572a 100%);
    --zg-dark: #0f0f0f;
    --zg-ink: #1d1d1b;
    --zg-text: #4a4a48;
    --zg-muted: #8a8a86;
    --zg-line: #ebebea;
    --zg-light: #fcfcfc;
    --zg-sand: #f6f4f1;
    --zg-white: #ffffff;

    --zg-radius-sm: 16px;
    --zg-radius: 25px;
    --zg-radius-lg: 40px;
    --zg-radius-xl: 60px;
    --zg-shadow: 0 3px 40px rgba(36, 36, 36, .10);
    --zg-shadow-hover: 0 18px 50px rgba(36, 36, 36, .14);

    --zg-header-h: 90px;
    --zg-ease: cubic-bezier(.22, .61, .36, 1);

    /* Bootstrap-Variablen überschreiben */
    --bs-body-font-family: "TASA Orbiter", "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-weight: 400;
    --bs-body-font-size: 1.0625rem;
    --bs-body-line-height: 1.6;
    --bs-body-color: var(--zg-text);
    --bs-body-bg: var(--zg-white);
    --bs-primary: #eb5729;
    --bs-primary-rgb: 235, 87, 41;
    --bs-link-color: var(--zg-orange);
    --bs-link-color-rgb: 235, 87, 41;
    --bs-link-hover-color: var(--zg-orange-dark);
    --bs-link-hover-color-rgb: 210, 74, 31;
    --bs-heading-color: var(--zg-dark);
    --bs-border-color: var(--zg-line);
    --bs-focus-ring-color: rgba(235, 87, 41, .35);
}

/* ---------- 3. Basis ---------- */
html {
    scroll-padding-top: calc(var(--zg-header-h) + 8px);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--bs-body-font-family);
    font-weight: 700;
    color: var(--zg-dark);
    letter-spacing: -.01em;
    line-height: 1.1;
}

p { margin-bottom: 1rem; }

a { transition: color .25s var(--zg-ease); }

::selection { background: var(--zg-orange); color: #fff; }

:focus-visible {
    outline: 2px solid var(--zg-orange);
    outline-offset: 3px;
    border-radius: 6px;
}

img { max-width: 100%; height: auto; }

.text-accent { color: var(--zg-orange); }

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: .6rem 1.2rem;
    background: var(--zg-dark);
    color: #fff;
    border-radius: 50px;
}

/* Hugeicons (SVG-Sprite, Stroke Rounded) */
.hgi {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: -.15em;
    color: currentColor;
}

/* ---------- 4. Bausteine ---------- */
.section {
    padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section-head {
    text-align: center;
    margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.eyebrow {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--zg-orange);
}

.section-title {
    font-size: clamp(2rem, 3.6vw, 2.625rem);
    margin-bottom: 0;
}

.zg-divider {
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 1.25rem;
    border-radius: 3px;
    background: var(--zg-gradient);
}

/* ---------- 5. Buttons (Pill-Stil wie zg-outdoor.de) ---------- */
.btn-zg {
    --bs-btn-padding-x: 1.9rem;
    --bs-btn-padding-y: .9rem;
    --bs-btn-font-size: 1.0625rem;
    --bs-btn-font-weight: 500;
    --bs-btn-border-width: 2px;
    --bs-btn-border-radius: 50px;
    --bs-btn-line-height: 1.25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    white-space: nowrap;
    transition: background-color .3s var(--zg-ease), color .3s var(--zg-ease),
                border-color .3s var(--zg-ease), box-shadow .3s var(--zg-ease), transform .3s var(--zg-ease);
}

.btn-zg .hgi { font-size: 1.2em; }

.btn-zg .btn-icon { transition: transform .3s var(--zg-ease); }

.btn-zg:hover .btn-icon,
.btn-zg:focus-visible .btn-icon { transform: translateX(4px); }

.btn-zg:active { transform: scale(.98); }

.btn-zg-sm {
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-padding-y: .55rem;
    --bs-btn-font-size: .9375rem;
}

/* Orange gefüllt → Hover dunkel */
.btn-zg-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--zg-orange);
    --bs-btn-border-color: var(--zg-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--zg-dark);
    --bs-btn-hover-border-color: var(--zg-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--zg-dark);
    --bs-btn-active-border-color: var(--zg-dark);
    --bs-btn-focus-shadow-rgb: 235, 87, 41;
    background-image: var(--zg-gradient);
    box-shadow: 0 10px 24px -10px rgba(235, 87, 41, .65);
}

.btn-zg-primary:hover,
.btn-zg-primary:focus-visible {
    background-image: none;
    box-shadow: 0 10px 24px -12px rgba(15, 15, 15, .6);
}

/* Dunkel gefüllt → Hover orange (Original zg-outdoor.de) */
.btn-zg-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--zg-dark);
    --bs-btn-border-color: var(--zg-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--zg-orange);
    --bs-btn-hover-border-color: var(--zg-orange);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--zg-orange-dark);
    --bs-btn-active-border-color: var(--zg-orange-dark);
}

/* Outline dunkel */
.btn-zg-outline {
    --bs-btn-color: var(--zg-dark);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--zg-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--zg-dark);
    --bs-btn-hover-border-color: var(--zg-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--zg-dark);
    --bs-btn-active-border-color: var(--zg-dark);
}

/* Outline orange (wie "Projekt ansehen" auf zg-outdoor.de) */
.btn-zg-outline-orange {
    --bs-btn-color: var(--zg-orange);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: var(--zg-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--zg-orange);
    --bs-btn-hover-border-color: var(--zg-orange);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--zg-orange-dark);
    --bs-btn-active-border-color: var(--zg-orange-dark);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
}

/* Textlink mit animierter Unterstreichung */
.site-link {
    position: relative;
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .35s var(--zg-ease), color .25s var(--zg-ease);
}

.site-link:hover,
.site-link:focus-visible {
    color: var(--zg-orange);
    background-size: 100% 1px;
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    height: var(--zg-header-h);
    display: flex;
    align-items: center;
    transition: background-color .3s ease-in-out, box-shadow .3s ease-in-out, height .3s ease-in-out;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header.is-scrolled {
    --zg-header-h: 74px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 rgba(15, 15, 15, .06), 0 10px 30px -18px rgba(15, 15, 15, .25);
}

.navbar-brand {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding: 0;
    margin-right: auto;
}

.navbar-brand img {
    display: block;
    height: 34px;
    width: auto;
    transition: height .3s ease-in-out;
}

.is-scrolled .navbar-brand img { height: 30px; }

/* Desktop: Navigations-Pille (wie zg-outdoor.de) */
.nav-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 5px;
    list-style: none;
    background: var(--zg-light);
    border: 1px solid var(--zg-line);
    border-radius: 50px;
    box-shadow: 0 6px 24px -14px rgba(15, 15, 15, .25);
}

.site-header .nav-link {
    display: block;
    padding: .55rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    color: #000;
    text-decoration: none;
    transition: background-color .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
}

.site-header .nav-link:focus-visible {
    box-shadow: none;
    outline: 2px solid var(--zg-orange);
    outline-offset: 2px;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    background: var(--zg-line);
    border-color: #e3e3e3;
    color: #000;
}

.site-header .nav-link.active {
    background: var(--zg-dark);
    border-color: var(--zg-dark);
    color: #fff;
}

.menu-cta { display: none; }

/* Menü-Button (nur mobil sichtbar) – 50px Kreis wie zg-outdoor.de */
.menu-btn {
    display: none;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 5px;
    border: 0;
    border-radius: 25px;
    background: var(--zg-light);
    color: #000;
    cursor: pointer;
    box-shadow: 0 6px 20px -12px rgba(15, 15, 15, .35);
    transition: background-color .3s ease-in-out;
}

.menu-btn:hover { background: var(--zg-line); }

.menu-btn-line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .3s ease-in-out;
}

/* Die zwei Linien werden im geöffneten Zustand zu einem "X" */
.menu-btn[aria-expanded="true"] .menu-btn-line--top { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-line--bottom { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobil (≤ 960px): Vollbild-Menü – 1:1 nach zg-outdoor.de */
@media (max-width: 960px) {
    :root { --zg-header-h: 80px; }

    .site-header.is-scrolled {
        --zg-header-h: 64px;
        /* bewusst ohne backdrop-filter: sonst wird das fixierte Vollbild-Menü am Header abgeschnitten */
        background: var(--zg-light);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .navbar-brand img { height: 30px; }
    .is-scrolled .navbar-brand img { height: 26px; }

    .nav-cta { display: none; }

    .menu-btn { display: inline-flex; }

    .nav-pill {
        position: fixed;
        inset: 0;
        z-index: 1;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 100px 20px 40px;
        overflow-y: auto;
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s, visibility 0s linear .3s;
    }

    .nav-pill.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity .3s, visibility 0s;
    }

    .nav-pill .nav-item {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    .site-header .nav-pill .nav-link {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.925rem; /* 2.2em wie zg-outdoor.de */
        font-weight: 500;
        text-align: center;
        border: 0;
        border-radius: 25px;
        background: transparent;
    }

    .site-header .nav-pill .nav-link:hover,
    .site-header .nav-pill .nav-link:focus-visible,
    .site-header .nav-pill .nav-link.active {
        background: transparent;
        color: var(--zg-orange);
    }

    .menu-cta {
        display: block;
        margin-top: 1.25rem;
    }

    /* Einträge erscheinen nacheinander */
    .nav-pill .nav-item {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity .35s ease, transform .35s ease;
    }

    .nav-pill.active .nav-item { opacity: 1; transform: none; }
    .nav-pill.active .nav-item:nth-child(1) { transition-delay: .05s; }
    .nav-pill.active .nav-item:nth-child(2) { transition-delay: .1s; }
    .nav-pill.active .nav-item:nth-child(3) { transition-delay: .15s; }
    .nav-pill.active .nav-item:nth-child(4) { transition-delay: .2s; }
    .nav-pill.active .nav-item:nth-child(5) { transition-delay: .25s; }

    /* Geöffnetes Menü: Header transparent, Seite nicht scrollbar */
    body.menu-open { overflow: hidden; }

    body.menu-open .site-header {
        background: transparent;
        box-shadow: none;
    }

    body.menu-open .back-to-top { opacity: 0; visibility: hidden; }
}

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(760px, 92vh);
    padding: calc(var(--zg-header-h) + 3rem) 0 5rem;
    background: var(--zg-sand);
    border-radius: 0 0 var(--zg-radius-xl) var(--zg-radius-xl);
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60%;
    z-index: -1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% center;
}

/* Weicher Übergang vom Text zum Bild (wie im Entwurf) */
.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--zg-sand) 0%, rgba(246, 244, 241, .85) 18%, rgba(246, 244, 241, 0) 55%);
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.02em;
    margin-bottom: 0;
}

.hero-lead {
    margin: 1.5rem 0 2.25rem;
    font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
    line-height: 1.65;
    color: var(--zg-text);
    max-width: 34rem;
}

@media (max-width: 991.98px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: calc(var(--zg-header-h) + 1.5rem) 0 3.5rem;
        border-radius: 0 0 var(--zg-radius-lg) var(--zg-radius-lg);
    }

    .hero-media {
        position: relative;
        order: 2;
        width: calc(100% - 24px);
        max-width: 696px;
        height: clamp(240px, 52vw, 420px);
        margin: 2.5rem auto 0;
        border-radius: var(--zg-radius-lg);
        overflow: hidden;
        z-index: 0;
    }

    .hero-media::before { display: none; }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-media { max-width: 516px; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2.375rem; }
    .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- 8. Marke ---------- */
.brand-card {
    display: grid;
    grid-template-columns: minmax(0, 23fr) minmax(0, 27fr) minmax(0, 40fr);
    background: var(--zg-white);
    border-radius: var(--zg-radius-lg);
    box-shadow: var(--zg-shadow);
    overflow: hidden;
    max-width: 1080px;
    margin-inline: auto;
}

.brand-card-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: 2.5rem 1.5rem;
    background: var(--zg-dark);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-card-logo::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 128, 71, .35), rgba(236, 87, 42, 0) 70%);
    pointer-events: none;
}

.brand-mark {
    width: clamp(96px, 9vw, 128px);
    height: auto;
}

.brand-word {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    margin-right: -.32em;
}

.brand-tagline {
    font-size: .875rem;
    color: rgba(255, 255, 255, .72);
}

.brand-card-media {
    position: relative;
    min-height: 300px;
}

.brand-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--zg-ease);
}

.brand-card:hover .brand-card-media img { transform: scale(1.04); }

.brand-card-body {
    padding: clamp(2rem, 4vw, 3.25rem);
    align-self: center;
}

.brand-card-title {
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    margin-bottom: 1.1rem;
}

.brand-card-body .btn { margin-top: .75rem; }

@media (max-width: 991.98px) {
    .brand-card { grid-template-columns: 1fr 1fr; }
    .brand-card-body { grid-column: 1 / -1; }
    .brand-card-media { min-height: 260px; }
}

@media (max-width: 575.98px) {
    .brand-card { grid-template-columns: 1fr; border-radius: 30px; }
    .brand-card-logo { padding: 2rem 1rem; }
    .brand-card-media { min-height: 220px; }
}

/* ---------- 9. Über uns ---------- */
.value-card {
    height: 100%;
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--zg-white);
    border: 1px solid var(--zg-line);
    border-radius: var(--zg-radius);
    transition: transform .4s var(--zg-ease), box-shadow .4s var(--zg-ease), border-color .4s var(--zg-ease);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(235, 87, 41, .35);
    box-shadow: var(--zg-shadow-hover);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(235, 87, 41, .08);
    color: var(--zg-orange);
    font-size: 2.25rem;
    transition: background-color .4s var(--zg-ease), color .4s var(--zg-ease);
}

.value-card:hover .value-icon {
    background: var(--zg-orange);
    color: #fff;
}

.value-title {
    font-size: 1.375rem;
    margin-bottom: .75rem;
}

.value-text {
    margin: 0;
    font-size: 1rem;
    color: var(--zg-text);
}

.about-text {
    max-width: 46rem;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    text-align: left;
    font-size: 1.125rem;
    color: var(--zg-ink);
}

/* ---------- 10. Highlights (dunkles Band wie "Vorteile" auf zg-outdoor.de) ---------- */
.highlights-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 3vw, 2.5rem);
    background: var(--zg-dark);
    border-radius: var(--zg-radius-xl);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.highlights-inner::before {
    content: "";
    position: absolute;
    inset: auto -10% -60% auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 87, 41, .22), rgba(235, 87, 41, 0) 65%);
    pointer-events: none;
}

.highlight {
    position: relative;
    padding: .75rem 1.5rem;
    text-align: center;
}

.highlight + .highlight::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, .14);
}

.highlight-icon {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--zg-orange);
    font-size: 2.5rem;
    line-height: 1;
}

.highlight-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: .4rem;
}

.highlight-text {
    margin: 0;
    font-size: .9875rem;
    color: rgba(255, 255, 255, .66);
}

@media (max-width: 767.98px) {
    .highlights-inner {
        grid-template-columns: 1fr;
        border-radius: var(--zg-radius-lg);
        gap: .5rem;
    }

    .highlight { padding: 1.25rem .5rem; }

    .highlight + .highlight::before {
        left: 20%;
        right: 20%;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }
}

/* ---------- 11. Kontakt ---------- */
.contact {
    background: linear-gradient(180deg, var(--zg-white) 0%, var(--zg-sand) 45%);
    padding-bottom: calc(clamp(4rem, 8vw, 6.5rem) + var(--zg-radius-xl));
    margin-bottom: calc(var(--zg-radius-xl) * -1);
}

.contact-card {
    background: var(--zg-white);
    border-radius: var(--zg-radius-lg);
    box-shadow: var(--zg-shadow);
    overflow: hidden;
}

.contact-intro,
.contact-details {
    padding: clamp(2rem, 4.5vw, 3.75rem);
}

.contact-intro p {
    margin: 1.4rem 0 2rem;
    max-width: 30rem;
}

@media (min-width: 992px) {
    .contact-details {
        position: relative;
        display: flex;
        align-items: center;
    }

    .contact-details::before {
        content: "";
        position: absolute;
        left: 0;
        top: 3.5rem;
        bottom: 3.5rem;
        width: 1px;
        background: var(--zg-line);
    }
}

@media (max-width: 991.98px) {
    .contact-details {
        border-top: 1px solid var(--zg-line);
        background: var(--zg-light);
    }
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.4rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    font-size: 1.0625rem;
    color: var(--zg-ink);
}

.contact-list address {
    margin: 0;
    line-height: 1.65;
}

.contact-list strong {
    font-weight: 700;
    color: var(--zg-dark);
    font-size: 1.125rem;
}

.contact-list a { align-self: center; }

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(235, 87, 41, .08);
    color: var(--zg-orange);
    font-size: 1.35rem;
}

@media (max-width: 575.98px) {
    .contact .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- 12. Footer ---------- */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 3.75rem 0 2.5rem;
    background: var(--zg-dark);
    color: rgba(255, 255, 255, .78);
    border-radius: var(--zg-radius-xl) var(--zg-radius-xl) 0 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    text-align: center;
}

.footer-logo img {
    height: 30px;
    width: auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-nav a {
    padding: .2rem 1.75rem;
    color: #fff;
    font-weight: 500;
}

.footer-nav a + a { border-left: 1px solid rgba(255, 255, 255, .25); }

.footer-nav a.is-accent { color: var(--zg-orange); }
.footer-nav a:hover { color: var(--zg-orange-light); }

.footer-copy {
    margin: 0;
    padding-top: 1.75rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .875rem;
    color: rgba(255, 255, 255, .55);
}

@media (max-width: 575.98px) {
    .site-footer { border-radius: var(--zg-radius-lg) var(--zg-radius-lg) 0 0; }
    .footer-nav a { padding-inline: 1rem; }
}

/* ---------- 13. Back-to-top ---------- */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1020;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--zg-dark);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 10px 30px -10px rgba(15, 15, 15, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s var(--zg-ease), transform .3s var(--zg-ease), visibility .3s, background-color .3s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover { background: var(--zg-orange); color: #fff; }

/* ---------- 14. Unterseiten (Impressum / Datenschutz) ---------- */
.page-hero {
    padding: calc(var(--zg-header-h) + 3.5rem) 0 3.5rem;
    background: var(--zg-sand);
    border-radius: 0 0 var(--zg-radius-xl) var(--zg-radius-xl);
}

.page-hero .section-title { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }

.legal {
    max-width: 52rem;
}

.legal h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 .9rem;
}

.legal h3 {
    font-size: 1.15rem;
    margin: 1.75rem 0 .6rem;
}

.legal .placeholder-note {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--zg-orange);
    border-radius: 0 var(--zg-radius-sm) var(--zg-radius-sm) 0;
    background: rgba(235, 87, 41, .06);
    color: var(--zg-ink);
    font-size: .95rem;
}

.page-impressum .site-footer,
.page-datenschutz .site-footer { margin-top: 2rem; }

/* ---------- 15. Mobil kompakt (≤ 768px) ---------- */
@media (max-width: 768px) {
    :root {
        --zg-radius-xl: 28px;
        --zg-radius-lg: 24px;
        --zg-radius: 18px;
        --bs-body-font-size: 1rem;
        --bs-body-line-height: 1.55;
    }

    /* Abstände der Sektionen */
    .section { padding-block: 2.5rem; }

    .section-head { margin-bottom: 1.5rem; }

    .eyebrow {
        margin-bottom: .35rem;
        font-size: .75rem;
        letter-spacing: .12em;
    }

    .section-title { font-size: 1.625rem; }

    .zg-divider {
        width: 36px;
        margin-top: .75rem;
    }

    p { margin-bottom: .75rem; }

    /* Buttons etwas kompakter */
    .btn-zg {
        --bs-btn-padding-x: 1.4rem;
        --bs-btn-padding-y: .75rem;
        --bs-btn-font-size: 1rem;
        gap: .5rem;
    }

    .btn-row { gap: .625rem; }

    /* Hero: ohne Buttons, kompakter */
    .hero {
        padding: calc(var(--zg-header-h) + .75rem) 0 1.25rem;
    }

    .hero-title { font-size: 2.125rem; }

    .hero .zg-divider { margin-top: 1rem; }

    .hero-lead {
        margin: 1rem 0 0;
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero .btn-row { display: none; }

    .hero-media {
        height: clamp(200px, 56vw, 340px);
        margin-top: 1.5rem;
        border-radius: var(--zg-radius-lg);
    }

    /* Marke: ohne Logo-Kachel, Bild + Text */
    .brand-card {
        grid-template-columns: 1fr;
        border-radius: var(--zg-radius-lg);
    }

    .brand-card-logo { display: none; }

    .brand-card-media { min-height: clamp(180px, 50vw, 300px); }

    .brand-card-body { padding: 1.25rem 1.25rem 1.5rem; }

    .brand-card-title {
        font-size: 1.25rem;
        margin-bottom: .625rem;
    }

    .brand-card-body p { font-size: .9688rem; }

    .brand-card-body .btn {
        margin-top: .5rem;
        width: 100%;
    }

    /* Über uns: Icon links, Titel + Text rechts */
    #ueber-uns .row { --bs-gutter-y: .625rem; }

    #ueber-uns .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .value-card {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas:
            "icon title"
            "icon text";
        column-gap: .875rem;
        row-gap: .2rem;
        align-items: start;
        padding: 1rem 1.125rem;
        text-align: left;
    }

    .value-icon {
        grid-area: icon;
        width: 44px;
        height: 44px;
        margin: 0;
        font-size: 1.375rem;
    }

    .value-title {
        grid-area: title;
        margin: 0;
        padding-top: .1rem;
        font-size: 1.0625rem;
        line-height: 1.3;
    }

    .value-text {
        grid-area: text;
        font-size: .9063rem;
        line-height: 1.5;
    }

    .about-text {
        margin-top: 1.25rem;
        font-size: .9688rem;
        line-height: 1.6;
    }

    /* Highlights: Icon links, Text rechts, Trennlinien horizontal */
    .highlights-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: .5rem 1.25rem;
        border-radius: var(--zg-radius-lg);
    }

    .highlights-inner::before {
        width: 320px;
        height: 320px;
    }

    .highlight {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas:
            "icon title"
            "icon text";
        column-gap: .875rem;
        row-gap: .15rem;
        align-items: start;
        padding: 1rem 0;
        text-align: left;
    }

    .highlight + .highlight::before {
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .highlight-icon {
        grid-area: icon;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 50%;
        background: rgba(235, 87, 41, .14);
        font-size: 1.375rem;
    }

    .highlight-title {
        grid-area: title;
        margin: 0;
        padding-top: .1rem;
        font-size: 1.0625rem;
        line-height: 1.3;
    }

    .highlight-text {
        grid-area: text;
        font-size: .9063rem;
        line-height: 1.45;
    }

    /* Kontakt */
    .contact {
        padding-bottom: calc(2.5rem + var(--zg-radius-xl));
        margin-bottom: calc(var(--zg-radius-xl) * -1);
    }

    .contact-intro,
    .contact-details { padding: 1.25rem; }

    .contact-intro p { margin: .875rem 0 1.25rem; }

    .contact .btn-row .btn { flex: 1 1 200px; }

    .contact-list { gap: .875rem; }

    .contact-list li {
        gap: .875rem;
        font-size: .9688rem;
    }

    .contact-list address { line-height: 1.55; }

    .contact-list strong { font-size: 1rem; }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Footer */
    .site-footer {
        padding: 2.25rem 0 1.5rem;
        border-radius: var(--zg-radius-xl) var(--zg-radius-xl) 0 0;
    }

    .footer-inner { gap: 1.25rem; }

    .footer-logo img { height: 26px; }

    .footer-nav a {
        padding: .15rem .875rem;
        font-size: .9375rem;
    }

    .footer-copy {
        padding-top: 1.25rem;
        font-size: .8125rem;
    }

    /* Unterseiten */
    .page-hero { padding: calc(var(--zg-header-h) + 1.5rem) 0 1.75rem; }
    .page-hero .section-title { font-size: 2rem; }
    .legal h2 { font-size: 1.25rem; margin: 1.75rem 0 .6rem; }
    .legal h3 { font-size: 1.0625rem; margin: 1.25rem 0 .4rem; }

    /* Back-to-top */
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    /* Dezentere Einblend-Animation */
    .js .reveal { transform: translateY(16px); }
}

/* Touch-Geräte: keine Hover-Sprünge */
@media (hover: none) {
    .value-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--zg-line);
    }

    .value-card:hover .value-icon {
        background: rgba(235, 87, 41, .08);
        color: var(--zg-orange);
    }

    .brand-card:hover .brand-card-media img { transform: none; }
}

/* ---------- 16. Scroll-Animationen ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--zg-ease), transform .8s var(--zg-ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Einwilligungsbanner (zg-consent.js) ---------- */
.zg-consent {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    z-index: 1090;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.zg-consent[hidden] { display: none; }
.zg-consent-inner {
    pointer-events: auto;
    width: 100%;
    max-width: 720px;
    background: var(--zg-white);
    border-radius: var(--zg-radius);
    box-shadow: var(--zg-shadow-hover);
    padding: 1.5rem 1.75rem;
}
.zg-consent-title { font-size: 1.25rem; margin: 0 0 .5rem; }
.zg-consent-text { font-size: .9375rem; margin: 0 0 1rem; }
.zg-consent-settings { display: none; margin: 0 0 1rem; }
.zg-consent.is-settings .zg-consent-settings { display: grid; gap: .6rem; }
.zg-consent-option { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; line-height: 1.45; }
.zg-consent-option input { margin-top: .25rem; accent-color: var(--zg-orange); width: 1.05rem; height: 1.05rem; flex: none; }
.zg-consent-option code { font-size: .85em; color: var(--zg-ink); }
.zg-consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.zg-consent .zg-consent-show-settings { display: none; }
.zg-consent.is-settings .zg-consent-show-settings { display: inline-flex; }
.zg-consent.is-settings .zg-consent-hide-settings { display: none; }
@media (max-width: 575.98px) {
    .zg-consent { inset: auto .5rem .5rem .5rem; }
    .zg-consent-inner { padding: 1.25rem; }
    .zg-consent-actions .btn { flex: 1 1 calc(50% - .6rem); justify-content: center; }
}

/* Buttons behalten beim Fokus ihre Pillenform (globales :focus-visible setzt 6px) */
.btn-zg:focus-visible { border-radius: var(--bs-btn-border-radius); }
.zg-consent:focus,
.zg-consent:focus-visible { outline: none; }

/* Primär-Button: Verlauf auch unter dem Rahmen (kein sichtbarer Rand) */
.btn-zg-primary {
    --bs-btn-border-color: transparent;
    background-origin: border-box;
}

/* Desktop: CTA „Zu ZG Outdoor“ als letzter Eintrag in der Navigations-Pille */
@media (min-width: 961px) {
    .menu-cta { display: block; margin-left: 4px; }
    .site-header .nav-cta-btn {
        --bs-btn-padding-x: 1.1rem;
        --bs-btn-padding-y: .55rem;
        --bs-btn-font-size: 1rem;
        --bs-btn-line-height: 1.25;
        --bs-btn-border-width: 1px;
        gap: .45rem;
        box-shadow: none;
    }
}
