/*
Theme Name: Dennin Gettorf
Description: Werkstatt-Website, ehrlich und handfest. Typografie nach Signage-Vorbild (Barlow), Markenblau aus dem Dennin-Logo.
*/

:root {
    /* Farben */
    --blue: #0073FF;
    /* Markenblau (Logo, Akzente auf dunklem Grund) */
    --action: #0050B3;
    /* Interaktion auf hellem Grund (Kontrast 7,5:1 auf Weiss) */
    --action-hover: #003E8C;
    --dark-blue: #0E1E57;
    --midnight: #001237;
    --gray-text: #47505C;
    /* Fliesstext, 7,6:1 auf Weiss */
    --gray-light: #F2F4F7;
    --line: #D9DEE6;
    --white: #ffffff;

    /* Typografie */
    --font-primary: 'Barlow', sans-serif;
    --font-heading: 'Barlow Semi Condensed', 'Barlow', sans-serif;

    /* Schatten (sparsam) */
    --shadow-sm: 0 1px 2px rgba(0, 18, 55, 0.08);
    --shadow-md: 0 6px 16px rgba(0, 18, 55, 0.10);

    /* Abstaende */
    --container-padding: 2rem;
    --section-padding: clamp(7rem, 9vw, 11rem);

    /* Radien: handfest statt Bubble */
    --radius-sm: 4px;
    --radius-md: 8px;

    /* Z-Ebenen */
    --z-menu: 999;
    --z-header: 1000;
    --z-lightbox: 1100;
    --z-cookie: 1200;
}

/* Reset & Basis */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section {
    scroll-margin-top: 100px;
}

body {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--midnight);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Typografie */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(3.6rem, 5vw, 5.6rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(3rem, 3.6vw, 4.2rem);
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 2rem;
    color: var(--gray-text);
    text-wrap: pretty;
    max-width: 72ch;
}

/* Layout */
.container {
    width: 100%;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -1.5rem;
    margin-left: -1.5rem;
}

.col-lg-6,
.col-md-6,
.col-md-5 {
    position: relative;
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Utilities */
.nobr {
    white-space: nowrap;
}

/* Skip-Link: unsichtbar bis Tastaturfokus */
.skip-link {
    position: fixed;
    top: -100%;
    left: 1.6rem;
    z-index: calc(var(--z-cookie) + 1);
    background: var(--action);
    color: var(--white);
    padding: 1.2rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.6rem;
}

.skip-link:focus {
    top: 1.6rem;
}

.text-center {
    text-align: center;
}

/* Absaetze mit max-width auch im zentrierten Kontext mittig setzen */
.text-center p {
    margin-inline: auto;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 2.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: 0.01em;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: var(--action);
    color: var(--white);
    border: 2px solid var(--action);
}

.btn-primary:hover {
    background-color: var(--action-hover);
    border-color: var(--action-hover);
}

/* Taktiler Druckpunkt, bewusst ohne Transition */
.btn:active,
.cookie-buttons button:active {
    transform: translateY(1px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--midnight);
}

.btn-large {
    padding: 1.8rem 3.6rem;
    font-size: 1.9rem;
}

.text-link {
    color: var(--action);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    /* groessere Trefferflaeche ohne Layout-Verschiebung */
    padding: 0.6rem 0;
    margin: -0.6rem 0;
}

.text-link:hover {
    border-bottom-color: var(--action);
}

/* Header */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: var(--z-header);
    padding: 2rem 0;
    /* Padding bewusst mit animiert: einmaliger Zustandswechsel eines
       einzelnen fixed-Elements, kein scroll-gekoppeltes Layout-Thrashing */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.page-header.scrolled {
    padding: 1.2rem 0;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
}

.page-header.legal-header {
    background-color: var(--midnight) !important;
    padding: 1.5rem 0 !important;
    box-shadow: var(--shadow-sm);
}

.page-header.legal-header .logo img {
    filter: brightness(0) invert(1) !important;
}

.page-header.legal-header .desktop-nav a {
    color: var(--white) !important;
    opacity: 1 !important;
}

.page-header.legal-header .hamburger span {
    background-color: var(--white) !important;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header .logo img {
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
}

.page-header.scrolled .logo img {
    filter: none;
}

.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }

    .desktop-nav>ul {
        display: flex;
        gap: 4rem;
    }

    .desktop-nav a {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1.7rem;
        color: var(--white);
    }

    .page-header.scrolled .desktop-nav a {
        color: var(--midnight);
    }

    .desktop-nav a:hover {
        color: var(--blue);
    }

    .page-header.scrolled .desktop-nav a:hover {
        color: var(--action);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

/* Anruf-Button bleibt auch mobil sichtbar (Kernaktion) */
.header-actions .btn {
    padding: 1rem 1.8rem;
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .header-actions .btn {
        padding: 1.2rem 2.4rem;
        font-size: 1.6rem;
    }
}

.hamburger-wrap {
    cursor: pointer;
    /* 44x44 Trefferflaeche, Linien bleiben 34px breit */
    width: 44px;
    height: 44px;
    padding: 8px 5px;
    margin: -8px -5px;
    position: relative;
    z-index: calc(var(--z-header) + 1);
    background: none;
    border: none;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .hamburger-wrap {
        display: none;
    }
}

.hamburger {
    width: 100%;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    margin-bottom: 6px;
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    border-radius: 2px;
}

/* Offenes Menue: Linien formen ein X (Schliessen-Affordanz) */
.hamburger-wrap[aria-expanded="true"] .hamburger span {
    background-color: var(--white);
}

.hamburger-wrap[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-wrap[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.hamburger-wrap[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hamburger span:last-child {
    margin-bottom: 0;
}

.page-header.scrolled .hamburger span {
    background-color: var(--midnight);
}

/* Mobiles Menue */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--midnight);
    z-index: var(--z-menu);
    padding-top: 12rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-list a {
    display: block;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu-list .menu-divider {
    /* nur Abstand: die Linie liefert schon der border-bottom des letzten Links */
    height: 1px;
    background: transparent;
    margin: 2rem 0;
    padding: 0;
}

.mobile-menu-list .menu-label {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Hero: Foto traegt, Text sitzt drauf */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 16rem 0 8rem;
    background-color: var(--midnight);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 18, 55, 0.94) 0%,
            rgba(0, 18, 55, 0.78) 45%,
            rgba(0, 18, 55, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-headline {
    color: var(--white);
    margin-bottom: 2.4rem;
}

.hero-subline {
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 3.6rem;
    max-width: 56ch;
}

.hero-buttons {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Wie .contact-ctas: schmale Viewports bekommen volle Buttonbreite */
@media (max-width: 480px) {
    .hero-buttons .btn {
        width: 100%;
    }
}

.hero-hours {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 4rem;
    max-width: none;
}

.trustline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
}

/* Punkt-Separatoren haengen am Folge-Item statt als Waise am Zeilenende */
.trustline span+span::before,
.micro-badge span+span::before,
.trust-footer span+span::before {
    content: '·';
    margin-right: 0.6em;
    opacity: 0.75;
}

/* Section-Header: linksbuendig, die Headline traegt */
.section-header {
    max-width: 760px;
    margin-bottom: 5.6rem;
}

.section-header h2 {
    color: var(--midnight);
    margin-bottom: 1.6rem;
}

.section-header p {
    font-size: 1.8rem;
    color: var(--gray-text);
}

/* Warum Dennin: Datenblatt statt Karten */
.value-prop-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.2rem;
}

@media (min-width: 768px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .value-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
}

.value-item {
    border-top: 3px solid var(--midnight);
    padding-top: 2rem;
}

.value-item h3 {
    font-size: 2rem;
    color: var(--midnight);
    margin-bottom: 1.2rem;
}

.value-item p {
    font-size: 1.6rem;
    margin-bottom: 0;
}

/* Leistungen */
.services-section {
    padding: var(--section-padding) 0;
    background-color: var(--gray-light);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .bento-item.large {
        grid-column: span 2;
    }
}

.bento-item {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.bento-item:hover {
    border-color: var(--action);
}

.bento-item h3 {
    color: var(--midnight);
    margin-bottom: 0.8rem;
    font-size: 2rem;
}

.bento-item p {
    font-size: 1.5rem;
    margin: 0;
}

.bento-item.featured {
    background: var(--midnight);
    border-color: var(--midnight);
    padding: 4rem 3.6rem;
}

.bento-item.featured h3 {
    color: var(--white);
    font-size: 2.6rem;
}

.bento-item.featured p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.7rem;
}

/* Warum wir */
.why-us-section {
    padding: var(--section-padding) 0;
}

/* Teamfoto optisch mittig zur laengeren Textspalte */
@media (min-width: 992px) {
    .why-us-section .row {
        align-items: center;
    }
}

.lead {
    font-size: 2rem;
    color: var(--midnight);
    margin-bottom: 3rem;
}

.promise-list {
    margin: 4rem 0;
}

.promise-list li {
    margin-bottom: 1.5rem;
    padding-left: 2.6rem;
    position: relative;
    font-size: 1.7rem;
    color: var(--gray-text);
}

.promise-list li strong {
    color: var(--midnight);
}

.promise-list li::before {
    content: '';
    width: 10px;
    height: 3px;
    background-color: var(--action);
    position: absolute;
    left: 0;
    top: 12px;
}

.micro-badge {
    font-size: 1.4rem;
    color: var(--gray-text);
    padding-top: 2.4rem;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-img-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.team-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .why-us-section .row {
        flex-direction: column-reverse;
    }

    .why-us-section h2 {
        margin-top: 4rem;
    }
}

/* Kundenstimmen */
.social-proof-section {
    padding: var(--section-padding) 0;
    background-color: var(--gray-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 4.8rem 0;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background: var(--white);
    padding: 3.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.review-card p {
    font-size: 1.7rem;
    margin-bottom: 2rem;
}

.review-card cite {
    margin-top: auto;
    font-style: normal;
    color: var(--midnight);
    font-weight: 600;
    font-size: 1.5rem;
}

/* Google-Karte */
.google-widget-container {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.google-review-card {
    background: var(--white);
    padding: 1.5rem 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 100%;
    transition: border-color 0.2s ease;
}

.google-review-card:hover {
    border-color: var(--action);
}

.google-logo-wrap {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.google-text-content {
    display: flex;
    flex-direction: column;
}

.google-rating-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.2;
}

.google-rating-score {
    font-size: 1.8rem;
}

.google-stars {
    color: #B06000;
    font-size: 1.8rem;
}

.google-review-count {
    font-size: 1.4rem;
    color: var(--gray-text);
    margin-top: 0.2rem;
}

.google-action-btn {
    background: var(--gray-light);
    color: var(--midnight);
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    font-weight: 600;
    margin-left: 1rem;
    display: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 576px) {
    .google-action-btn {
        display: block;
    }
}

.google-review-card:hover .google-action-btn {
    background: var(--action);
    color: var(--white);
}

/* Galerie: ein Grid, alle acht Bilder */
.gallery-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    position: relative;
    background: var(--gray-light);
    cursor: pointer;
    padding: 0;
    border: none;
    display: block;
    width: 100%;
}

@media (min-width: 992px) {
    .gallery-item {
        height: 260px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.05);
}

.gallery-note {
    font-size: 1.6rem;
    color: var(--gray-text);
    margin-bottom: 0;
}

/* FAQ */
.faq-section {
    padding: var(--section-padding) 0;
}

.accordion {
    /* buendig mit der Section-Header-Spalte */
    max-width: 760px;
}

.accordion-item {
    border-bottom: 1px solid var(--line);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 2.4rem 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    color: var(--midnight);
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: var(--action);
}

.accordion-header::after {
    content: '+';
    font-size: 2.6rem;
    color: var(--action);
    font-weight: 400;
    /* gleiche Kurve wie der aufklappende Inhalt */
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}

/* Der Wrapper clippt ohne eigenes Padding: so ragt im geschlossenen
   Zustand keine Antwortzeile heraus, animiert wird nur grid-template-rows */
.accordion-content-inner {
    overflow: hidden;
    min-height: 0;
}

.accordion-content p {
    padding-bottom: 2.8rem;
    color: var(--gray-text);
    font-size: 1.7rem;
    margin-bottom: 0;
}

/* Kontakt */
.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--gray-light);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

.contact-info {
    width: 100%;
    padding: clamp(3.2rem, 5vw, 6rem);
}

.map-container {
    width: 100%;
    min-height: 400px;
    background: var(--gray-light);
    position: relative;
}

@media (min-width: 992px) {
    .contact-info {
        width: 50%;
    }

    .map-container {
        width: 50%;
    }
}

.contact-list {
    margin: 3rem 0;
}

.contact-list li {
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-list li:first-child {
    border-top: 1px solid var(--line);
}

.contact-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gray-text);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-value {
    font-size: 1.9rem;
    color: var(--midnight);
    font-weight: 600;
}

a.contact-value {
    color: var(--action);
    display: inline-block;
    padding: 0.7rem 0;
    margin: -0.7rem 0;
}

a.contact-value:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin-bottom: 0;
}

.contact-ctas {
    margin: 3.6rem 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-ctas .btn-secondary {
    border-color: var(--action);
    color: var(--action);
}

.contact-ctas .btn-secondary:hover {
    background-color: var(--action);
    color: var(--white);
}

.trust-footer {
    font-size: 1.5rem;
    color: var(--gray-text);
    border-top: 1px solid var(--line);
    padding-top: 2.4rem;
    display: flex;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .contact-ctas {
        flex-direction: column;
        width: 100%;
    }

    .contact-ctas .btn {
        width: 100%;
    }
}

/* Footer */
.site-footer {
    background: var(--midnight);
    color: var(--white);
    padding: 8rem 0 4rem;
    font-size: 1.6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4.8rem;
    margin-bottom: 4.8rem;
}

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

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

.brand-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-brand p {
    color: #9DA9BF;
    font-size: 1.5rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: #9DA9BF;
    font-size: 1.5rem;
    display: inline-block;
    padding: 0.8rem 0;
    margin: -0.8rem 0;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 3.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.footer-bottom p {
    color: #9DA9BF;
    font-size: 1.4rem;
    margin: 0;
}

/* Einblend-Animation: nur Zusatz, nie Voraussetzung.
   Die Klasse wird per JS gesetzt und nur ohne reduced-motion aktiv. */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .fade-up,
    .fade-up.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    .gallery-item img,
    .gallery-item:hover img {
        transition: none;
        transform: none;
    }

    /* Menue, Akkordeon und Header wechseln sofort statt animiert */
    #menu-overlay,
    .accordion-content,
    .accordion-header::after,
    .page-header,
    .hamburger span {
        transition: none;
    }
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 18, 55, 0.95);
    z-index: var(--z-lightbox);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 5rem;
    cursor: pointer;
    line-height: 1;
    z-index: calc(var(--z-lightbox) + 1);
}

.lightbox-close:hover {
    color: var(--blue);
}

/* Cookie-Banner: klar getrennt vom Marken-Dunkelblau */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    color: var(--midnight);
    padding: 2rem;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(0, 18, 55, 0.12);
    z-index: var(--z-cookie);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 800px;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.9rem;
    color: var(--midnight);
}

.cookie-content p {
    font-size: 1.5rem;
    color: var(--gray-text);
    margin: 0 auto 1.6rem;
}

.cookie-content a {
    color: var(--action);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 1.1rem 2.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-accept {
    background-color: var(--action);
    color: var(--white);
    border: 2px solid var(--action);
}

.btn-accept:hover {
    background-color: var(--action-hover);
    border-color: var(--action-hover);
}

.btn-decline {
    background-color: transparent;
    border: 2px solid var(--midnight);
    color: var(--midnight);
}

.btn-decline:hover {
    background-color: var(--midnight);
    color: var(--white);
}

@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .cookie-buttons button {
        width: 100%;
    }
}
