/*
 * layout.css
 * Layout, Grid, Struktur
 * Mirko Psak, MP Media
 */

/* ---------------------------------------------
   RESET
   Kommt immer zuerst
--------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---------------------------------------------
   SCROLLBAR
   Schlank, dezent, CD-konform
--------------------------------------------- */

html {
    scroll-behavior: smooth;
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--lichtgrau);
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--flaechenschwarz);
}

/* Horizontale Scrollbars noch dezenter */
::-webkit-scrollbar:horizontal {
    height: 4px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--lichtgrau) transparent;
}


/* ---------------------------------------------
   VARIABLEN
--------------------------------------------- */

:root {
    /* Layout */
    --content-width: 1200px;
    --content-padding: 1.5rem;
    --topbar-height: 6rem;
    /* Section-Abstände */
    --section-padding: 10rem;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 5rem;
        --topbar-height: 3.5rem;
    }

    .section--hero {
        height: auto;
        min-height: 70vh;
        min-height: 70dvh;
    }
}


/* ---------------------------------------------
   CONTAINER
--------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}


/* ---------------------------------------------
   GRID
   6 Spalten, Mobile 1 Spalte
--------------------------------------------- */

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4rem;
    align-items: center;
}

.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    .col-2, .col-3, .col-4, .col-6 { grid-column: span 1; }
}


/* ---------------------------------------------
   TOPBAR
--------------------------------------------- */

.topbar {
    background-color: var(--flaechenschwarz);
    position: sticky;
    top: 0;
    z-index: 10000;
    height: var(--topbar-height);
}

.topbar__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--content-padding);
}

.topbar__left,
.topbar__logo,
.topbar__menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.topbar__logo {
    padding-right: 1.5rem;
}

.topbar__logo img {
    height: 3rem;
    width: auto;
}

.topbar__menu {
    gap: 2rem;
}

.topbar__menu--left,
.topbar__menu--right {
    gap: 0;
}

.topbar__menu a {
    display: flex;
    align-items: center;
    height: var(--topbar-height);
    padding: 0 1rem;
    color: var(--schwarz-text);
    font-weight: 700;
    font-size: calc(0.9rem * var(--font-scale, 1));
    transition: color 0.3s ease;
}

.topbar__menu a:hover {
    color: var(--rot);
}

/* Focus-States für Links (A11y) */
.topbar__menu a:focus {
    outline: 2px solid var(--rot);
    outline-offset: -2px;
}

.topbar__menu a:focus:not(:focus-visible) {
    outline: none;
}

.topbar__menu a:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: -2px;
}

/* Rechte Links unterstreichen bei Hover */
.topbar__menu--right a {
    position: relative;
}

.topbar__menu--right a::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    height: 2px;
    background-color: var(--rot);
    width: 0;
    transition: width 0.2s ease;
}

.topbar__menu--right a:hover::after {
    width: calc(100% - 2rem);
}

/* Aktiver Link */
.topbar__menu a.topbar__link--active {
    background-color: var(--rot);
    color: var(--rot-text);
}

.topbar__menu a.topbar__link--active:hover {
    background-color: var(--rot-light);
    color: var(--rot-text);
}

.topbar__link--active::after {
    display: none;
}

/* A11y-Toggle */
.topbar__toggle-wrapper {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--flaechenschwarz-light);
}

.a11y-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--schwarz-text);
}

.a11y-toggle:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

.a11y-toggle__label {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.a11y-toggle__label--a11y {
    opacity: 1;
}

.a11y-toggle__switch {
    width: 2rem;
    height: 1rem;
    background-color: var(--flaechenschwarz-light);
    border-radius: 0.5rem;
    position: relative;
    transition: background-color 0.2s ease;
}

.a11y-toggle__switch::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--schwarz-text);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

/* Wenn Bunt aktiv ist (aria-checked="true") */
.a11y-toggle[aria-checked="true"] .a11y-toggle__label--bunt {
    opacity: 1;
}

.a11y-toggle[aria-checked="true"] .a11y-toggle__label--a11y {
    opacity: 0.6;
}

.a11y-toggle[aria-checked="true"] .a11y-toggle__switch {
    background-color: var(--rot);
}

.a11y-toggle[aria-checked="true"] .a11y-toggle__switch::after {
    transform: translateX(-1rem);
}

/* Schriftgrößen-Slider (wie Toggle aufgebaut) */
.topbar__fontsize-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    margin-left: 0.5rem;
    border-left: 1px solid var(--flaechenschwarz-light);
}

.fontsize__label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--schwarz-text);
}

.fontsize__slider {
    width: 6rem;
    height: 1rem;
    -webkit-appearance: none;
    appearance: none;
    background: var(--flaechenschwarz-light);
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    margin: 0;
    padding: 0;
}

.fontsize__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--schwarz-text);
    border-radius: 50%;
    cursor: pointer;
}

.fontsize__slider::-moz-range-thumb {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--schwarz-text);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.fontsize__slider:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}


/* Burger-Button (nur Mobile, auf Desktop versteckt) */
.topbar__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.topbar__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--schwarz-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger → X Animation */
.topbar__burger[aria-expanded="true"] .topbar__burger-line:nth-child(1) {
    transform: translateY(0.4rem) rotate(45deg);
}

.topbar__burger[aria-expanded="true"] .topbar__burger-line:nth-child(2) {
    opacity: 0;
}

.topbar__burger[aria-expanded="true"] .topbar__burger-line:nth-child(3) {
    transform: translateY(-0.4rem) rotate(-45deg);
}

.topbar__burger:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}


/* Mobile-Menü (Fullscreen-Overlay) */
.mobile-menu {
    position: fixed;
    inset: 0;
    top: 3.5rem;
    z-index: 99;
    background-color: var(--flaechenschwarz);
    color: var(--flaechenschwarz-text);
    display: none;
    flex-direction: column;
    padding: 2rem var(--content-padding);
    overflow-y: auto;
}

.mobile-menu--open {
    display: flex;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu__link {
    display: block;
    padding: 1rem 0;
    font-size: calc(1.25rem * var(--font-scale, 1));
    font-weight: 700;
    color: var(--flaechenschwarz-text);
    border-bottom: 1px solid var(--flaechenschwarz-light);
    transition: color 0.2s ease;
}

.mobile-menu__link:hover {
    color: var(--rot);
}

.mobile-menu__link--active {
    color: var(--rot);
}

.mobile-menu__link:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

.mobile-menu__a11y {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-menu__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-menu__label {
    font-size: calc(0.85rem * var(--font-scale, 1));
    font-weight: 700;
    opacity: 0.7;
}

.mobile-menu__fontsize {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu__fontsize .fontsize__label {
    color: var(--flaechenschwarz-text);
}


/* Mobile Breakpoint: Burger sichtbar, Desktop-Menü versteckt */
@media (max-width: 768px) {
    .topbar {
        height: 3.5rem;
    }

    .topbar__nav {
        padding: 0.5rem var(--content-padding);
    }

    .topbar__logo img {
        height: 2rem;
    }

    .topbar__menu--left,
    .topbar__menu--right {
        display: none;
    }

    .topbar__burger {
        display: flex;
    }
}


/* ---------------------------------------------
   SECTIONS
--------------------------------------------- */

.section {
    padding: var(--section-padding) 0;
    overflow-x: hidden;
    scroll-margin-top: var(--topbar-height);
}

.section--hero {
    position: relative;
    height: calc(100vh - var(--topbar-height));
    height: calc(100dvh - var(--topbar-height));
    padding: 0;
    background-color: var(--flaechenschwarz);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}


/* ---------------------------------------------
   HERO
--------------------------------------------- */

.hero__video-container {
    position: absolute;
    inset: 0;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__jumpmarks {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 1.5rem var(--content-padding);
    background-color: rgba(40, 40, 40, 0.6);
}

.hero__jumplink {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--schwarz-text);
    font-weight: 700;
    font-size: calc(1rem * var(--font-scale, 1));
    transition: color 0.3s ease;
}

.hero__jumplink:hover {
    color: var(--rot);
}

.hero__illu {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.hero__jumplink:hover .hero__illu {
    filter: brightness(0) saturate(100%) invert(28%) sepia(93%) saturate(1654%) hue-rotate(331deg) brightness(87%) contrast(107%);
}

.hero__arrow {
    width: 1.5rem;
    height: 1.5rem;
}

.hero__stoerer {
    position: absolute;
    top: 25%;
    right: -2rem;
    z-index: 10;
    padding: 1rem 4rem 1rem 1.5rem;
    font-size: calc(2rem * var(--font-scale, 1));
    font-weight: 400;
    line-height: 1.1;
    color: var(--schwarz);
    transform: rotate(-5deg);
    text-align: right;
}

.hero__stoerer strong {
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero__jumpmarks {
        gap: 1.5rem;
        padding: 1rem var(--content-padding);
    }

    .hero__jumplink {
        font-size: calc(0.8rem * var(--font-scale, 1));
    }

    .hero__illu {
        width: 2rem;
        height: 2rem;
    }

    .hero__arrow {
        width: 1rem;
        height: 1rem;
    }

    .hero__stoerer {
        font-size: calc(1.1rem * var(--font-scale, 1));
        padding: 0.75rem 2rem 0.75rem 1rem;
        right: -1rem;
        top: 15%;
    }
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}


/* ---------------------------------------------
   ILLUSTRATIONEN
--------------------------------------------- */

.intro__illu,
.supporter-hero__illu {
    width: 100%;
    height: auto;
    animation: pulse-subtle 3s ease-in-out infinite;
}

.intro__illu {
    width: 120%;
}

@media (max-width: 768px) {
    .intro__illu {
        width: 100%;
    }
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(0.95); }
    50% { transform: scale(1); }
}


/* ---------------------------------------------
   LOADER
--------------------------------------------- */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader--hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__bg {
    position: absolute;
    inset: 0;
    background-color: var(--flaechenschwarz);
    backdrop-filter: blur(20px);
}

.loader__signet {
    position: relative;
    width: 5rem;
    height: auto;
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}


/* ---------------------------------------------
   EVOLUTION
   Video + Text
--------------------------------------------- */

/* Spalten visuell tauschen (DOM: Text zuerst, Video danach für A11y) */
.evolution__text {
    order: 2;
}

.evolution__video {
    order: 1;
}

@media (max-width: 768px) {
    .evolution__text { order: 1; }
    .evolution__video { order: 2; }
}

.evolution__video-el {
    width: 100%;
    height: auto;
    display: block;
}


/* ---------------------------------------------
   REUTLINGEN-SONG
   Video-Sektion mit Play-Button
--------------------------------------------- */

.song__video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--flaechenschwarz);
}

.song__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.song__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

@media (hover: hover) {
    .song__play:hover {
        transform: translate(-50%, -50%) scale(1.1);
        background: #FFFFFF;
    }
}

.song__play svg {
    width: 2rem;
    height: 2rem;
    margin-left: 0.25rem;
}


/* ---------------------------------------------
   UTILITIES
   Wiederverwendbare Hilfsklassen
--------------------------------------------- */

.color-fade *,
.color-fade {
    transition: fill 0.5s ease, background-color 0.5s ease, color 0.5s ease;
}

/* :first-of-type statt :first-child wegen <title> Element im SVG */
.draw-line polygon:first-of-type {
    stroke-dasharray: 20000;
    stroke-dashoffset: 20000;
    animation: draw-right 6s ease infinite;
}

.draw-line path {
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    animation: draw-dach 6s ease infinite;
    animation-delay: 0.3s;
}

.draw-line polygon:last-of-type {
    stroke-dasharray: 40000;
    stroke-dashoffset: -40000;
    animation: draw-left 6s ease infinite;
    animation-delay: 0.6s;
}

@keyframes draw-right {
    0% { stroke-dashoffset: 20000; }
    25% { stroke-dashoffset: 0; }
    75% { stroke-dashoffset: 0; }
    90% { stroke-dashoffset: 20000; }
    100% { stroke-dashoffset: 20000; }
}

@keyframes draw-left {
    0% { stroke-dashoffset: -40000; }
    25% { stroke-dashoffset: 0; }
    75% { stroke-dashoffset: 0; }
    90% { stroke-dashoffset: -40000; }
    100% { stroke-dashoffset: -40000; }
}

@keyframes draw-dach {
    0% { stroke-dashoffset: 10000; }
    25% { stroke-dashoffset: 0; }
    75% { stroke-dashoffset: 0; }
    90% { stroke-dashoffset: 10000; }
    100% { stroke-dashoffset: 10000; }
}

.pulse-subtle {
    animation: pulse-subtle 3s ease-in-out infinite;
}


/* ---------------------------------------------
   SKIP-LINK
   Barrierefreiheit für Keyboard-Navigation
--------------------------------------------- */

.skip-link {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    background-color: var(--rot);
    color: var(--rot-text);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    z-index: 10000;
    transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translate(-50%, 0);
    outline: 3px solid var(--schwarz);
    outline-offset: 2px;
}


/* ---------------------------------------------
   ACCESSIBILITY
   Reduced Motion + weitere A11y Helfer
--------------------------------------------- */

/* Animationen reduzieren wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ---------------------------------------------
   FOOTER
   5-Spalten Grid, weißer Hintergrund
--------------------------------------------- */

.site-footer {
    background-color: var(--flaechenschwarz);
    color: var(--flaechenschwarz-text);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* Logo-Spalte */
.footer__col--brand {
    padding-right: 2rem;
    overflow: hidden;
}

.footer__herz {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.footer__heading {
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Link-Listen */
.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__list a {
    font-size: calc(0.8rem * var(--font-scale, 1));
    white-space: nowrap;
    position: relative;
    opacity: 0.65;
}

.footer__list a:hover {
    opacity: 1;
}

.footer__list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--rot);
    width: 0;
    transition: width 0.2s ease;
}

.footer__list a:hover::after {
    width: 100%;
}

.footer__list a:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

/* Bottom-Bar */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--flaechenschwarz-light);
}

.footer__copy {
    font-size: calc(0.8rem * var(--font-scale, 1));
    opacity: 0.5;
    margin: 0;
}

.footer__bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer__bottom-links a {
    font-size: calc(0.8rem * var(--font-scale, 1));
    position: relative;
    opacity: 0.65;
}

.footer__bottom-links a:hover {
    opacity: 1;
}

.footer__bottom-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--rot);
    width: 0;
    transition: width 0.2s ease;
}

.footer__bottom-links a:hover::after {
    width: 100%;
}

.footer__bottom-links a:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer__col--brand {
        padding-right: 0;
    }

    .footer__herz {
        width: 6rem;
        margin: 0 auto 1rem;
    }

    /* Leerspalte weg */
    .footer__col:empty {
        display: none;
    }

    .footer__heading {
        margin-bottom: 0.75rem;
    }

    .footer__list a {
        white-space: normal;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* ---------------------------------------------
   CAROUSEL
   Generischer Slider für Instafeed, Beiträge etc.
--------------------------------------------- */

.carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.carousel__nav {
    flex-shrink: 0;
}

.carousel__nav .lucide {
    margin-right: 0;
}

.carousel__track {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.carousel__card {
    /* Exakt 3 Karten sichtbar: (100% - 2 Gaps) / 3 */
    flex: 0 0 calc((100% - 2rem) / 3);
    overflow: hidden;
    scroll-snap-align: start;
}

.carousel__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .carousel__card:hover img {
        transform: scale(1.05);
    }
}

.carousel__cta-wrap {
    text-align: center;
    margin-top: 2rem;
}

/* Carousel Wrapper */
.carousel__wrapper {
    flex: 1;
    overflow: hidden;
}

/* Dot-Navigation */
.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel__dot {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    border-radius: 50%;
    border: none;
    background: rgba(40, 40, 40, 0.25);
    cursor: pointer;
    padding: 0.4rem;
    background-clip: content-box;
    transition: background-color 0.2s ease;
}

.carousel__dot--active {
    background-color: var(--schwarz);
}

@media (max-width: 768px) {
    .carousel__nav {
        display: none;
    }

    .carousel__dot {
        width: 1.5rem;
        height: 1.5rem;
    }

    .carousel__card {
        /* Mobile: 2 Karten sichtbar */
        flex: 0 0 calc((100% - 1rem) / 2);
    }

    .carousel__card--beitrag {
        /* Beiträge: 1 Karte sichtbar auf Mobile */
        flex: 0 0 85%;
    }
}


/* ---------------------------------------------
   CAROUSEL: Instafeed (nur Bild)
--------------------------------------------- */

.carousel__card--insta {
    aspect-ratio: 4 / 5;
}


/* ---------------------------------------------
   CAROUSEL: Beiträge (Bild + Text)
--------------------------------------------- */

.carousel__card--beitrag {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.carousel__card--beitrag .carousel__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel__card--beitrag .carousel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel__card--beitrag .carousel__content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.carousel__card--beitrag .carousel__title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.carousel__card--beitrag .carousel__excerpt {
    font-size: calc(0.85rem * var(--font-scale, 1));
    color: var(--schwarz);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Max 3 Zeilen, dann abschneiden */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel__card--beitrag .btn {
    margin-top: auto;
    align-self: flex-start;
}


/* ---------------------------------------------
   LOGOKONFIGURATOR
--------------------------------------------- */

.logokonfigurator__intro {
    max-width: 800px;
    margin-bottom: 2rem;
}

.logokonfigurator__preview {
    text-align: center;
}

.logokonfigurator__preview svg {
    width: 100%;
    height: auto;
}

.logokonfigurator__text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
    min-height: 2rem;
}

.logokonfigurator__controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.logokonfigurator__tabs {
    display: flex;
    gap: 1.5rem;
}

.logokonfigurator__tab {
    position: relative;
    cursor: pointer;
    font-size: calc(1.25rem * var(--font-scale, 1));
    font-weight: 700;
    color: inherit;
    transition: color 0.2s ease;
}

.logokonfigurator__tab::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15rem;
    height: 2px;
    background-color: var(--schwarz);
    width: 0;
    transition: width 0.2s ease;
}

.logokonfigurator__tab:hover {
    color: var(--rot);
}

.logokonfigurator__tab:hover::after {
    width: 100%;
    background-color: var(--rot);
}

.logokonfigurator__tab.active::after {
    width: 100%;
}

.logokonfigurator__tab:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 4px;
}

.logokonfigurator__label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.logokonfigurator__hint {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.logokonfigurator__spruchzeile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logokonfigurator__spruchzeile select {
    flex: 1;
}

.logokonfigurator__spruchzeile input {
    flex: 1;
}

.logokonfigurator__oder {
    font-size: 0.85rem;
    opacity: 0.6;
}

.logokonfigurator__counter {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 1.5rem;
    text-align: center;
}

.logokonfigurator__status {
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.logokonfigurator__farbzeile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logokonfigurator__teil-select {
    width: auto;
    flex-shrink: 0;
}

#logokonfigurator .swatches {
    display: flex;
    flex: 1;
    gap: 0.35rem;
}

#logokonfigurator .swatch {
    flex: 1;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.15s ease;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

@media (hover: hover) {
    #logokonfigurator .swatch:hover {
        transform: scale(1.15);
        z-index: 1;
    }
}

#logokonfigurator .swatch.active {
    outline-color: var(--schwarz);
}

/* Kundenwunsch: vergebene Farben komplett ausblenden.
   Zum Zurückbauen: display: none durch den auskommentierten Block ersetzen */
#logokonfigurator .swatch.disabled {
    display: none;
}

.logokonfigurator__shuffle {
    margin-top: 1rem;
    width: 100%;
}

.logokonfigurator__panel--hidden {
    display: none;
}

.logokonfigurator__export {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    /* Grid umbricht: Logo oben, Controls unten */
    #logokonfigurator .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #logokonfigurator .col-2,
    #logokonfigurator .col-4 {
        grid-column: span 1;
    }

    .logokonfigurator__preview {
        max-width: 180px;
        margin: 1.5rem auto 0;
    }

    .logokonfigurator__intro {
        margin-bottom: 1rem;
    }

    .logokonfigurator__tabs {
        gap: 1rem;
    }

    .logokonfigurator__tab {
        font-size: calc(0.9rem * var(--font-scale, 1));
    }

    .logokonfigurator__controls {
        gap: 1rem;
    }

    .logokonfigurator__label {
        font-size: 0.8rem;
    }

    .logokonfigurator__shuffle {
        margin-top: 0.5rem;
    }

    /* Spruchzeile kompakt */
    .logokonfigurator__spruchzeile {
        flex-wrap: wrap;
    }

    .logokonfigurator__spruchzeile select {
        flex: 1 1 100%;
    }

    .logokonfigurator__oder,
    .logokonfigurator__counter {
        display: none;
    }

    .logokonfigurator__spruchzeile input {
        flex: 1;
    }

    .logokonfigurator__spruchzeile .btn {
        flex-shrink: 0;
    }

    /* Farbzeile umbricht */
    .logokonfigurator__farbzeile {
        flex-wrap: wrap;
    }

    .logokonfigurator__teil-select {
        flex: 1 1 100%;
        margin-bottom: 0.5rem;
    }

    /* Export-Buttons umbrechen */
    .logokonfigurator__export {
        flex-wrap: wrap;
    }

    .logokonfigurator__export .btn {
        flex: 1 1 auto;
    }
}


/* ---------------------------------------------
   BADGE-GENERATOR
   Störer-Generator für Supporter
--------------------------------------------- */

.badgegenerator__intro {
    max-width: 800px;
    margin-bottom: 2rem;
}

.badgegenerator__preview {
    text-align: center;
}

.badgegenerator__preview svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.badgegenerator__svg {
    transform: rotate(-5deg);
}

.badgegenerator__controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badgegenerator__label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.badgegenerator__farbzeile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badgegenerator__teil-select {
    width: auto;
    flex-shrink: 0;
}

#badgegenerator .swatches {
    display: flex;
    flex: 1;
    gap: 0.35rem;
}

#badgegenerator .swatch {
    flex: 1;
    aspect-ratio: 1;
    cursor: pointer;
    outline: 2px solid transparent;
    transition: transform 0.15s ease, outline-color 0.15s ease;
}

@media (hover: hover) {
    #badgegenerator .swatch:hover {
        transform: scale(1.15);
        z-index: 1;
    }
}

#badgegenerator .swatch.active {
    outline-color: var(--schwarz);
}

#badgegenerator .swatch.disabled {
    display: none;
}

.badgegenerator__shuffle {
    margin-top: 1rem;
    width: 100%;
}

.badgegenerator__textzeilen {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badgegenerator__textzeile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badgegenerator__textzeile input {
    flex: 1;
}

.badgegenerator__counter {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 1.5rem;
    text-align: right;
}

.badgegenerator__status {
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

.badgegenerator__panel--hidden {
    display: none;
}

.badgegenerator__export {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    #badgegenerator .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #badgegenerator .col-2,
    #badgegenerator .col-4 {
        grid-column: span 1;
    }

    .badgegenerator__preview {
        max-width: 280px;
        margin: 1.5rem auto 0;
    }

    .badgegenerator__intro {
        margin-bottom: 1rem;
    }

    .badgegenerator__controls {
        gap: 1rem;
    }

    .badgegenerator__label {
        font-size: 0.8rem;
    }

    .badgegenerator__shuffle {
        margin-top: 0.5rem;
    }

    .badgegenerator__farbzeile {
        flex-wrap: wrap;
    }

    .badgegenerator__teil-select {
        flex: 1 1 100%;
        margin-bottom: 0.5rem;
    }

    .badgegenerator__export {
        flex-wrap: wrap;
    }

    .badgegenerator__export .btn {
        flex: 1 1 auto;
    }
}


/* ---------------------------------------------
   DROPZONE
   Universelle Bild-Upload-Komponente
--------------------------------------------- */

.dropzone {
    position: relative;
    border: 2px dashed var(--schwarz);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dropzone:hover {
    border-color: var(--schwarz);
    background-color: var(--lichtgrau-light);
}

.dropzone--dragover {
    border-color: var(--blau);
    background-color: var(--blau-light);
}

.dropzone--error {
    border-color: var(--rot);
}

.dropzone--success {
    border-style: solid;
    cursor: default;
}

.dropzone input[type="file"] {
    display: none;
}

.dropzone__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.dropzone__content p {
    margin: 0;
    color: var(--schwarz);
}

.dropzone__hint {
    font-size: 0.8rem;
    opacity: 0.6;
}

.dropzone--loading .dropzone__content,
.dropzone--success .dropzone__content {
    display: none;
}

/* Fortschrittsbalken */
.dropzone__progress {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.dropzone--loading .dropzone__progress {
    display: flex;
}

.dropzone__bar-wrap {
    width: 100%;
    max-width: 200px;
    height: 0.5rem;
    background-color: var(--lichtgrau);
    border-radius: 0.25rem;
    overflow: hidden;
}

.dropzone__bar {
    height: 100%;
    width: 0;
    background-color: var(--blau);
    transition: width 0.1s ease;
}

.dropzone__percent {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Vorschau */
.dropzone__preview {
    display: none;
}

.dropzone--success .dropzone__preview {
    display: block;
}

.dropzone__preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

/* Clear Button */
.dropzone__clear {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background-color: var(--flaechenschwarz);
    color: var(--schwarz-text);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.dropzone--success .dropzone__clear {
    display: flex;
}

.dropzone__clear:hover {
    background-color: var(--rot);
}


/* ---------------------------------------------
   OVERLAY
   Globales wiederverwendbares Overlay-System
--------------------------------------------- */

.overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.overlay--open {
    opacity: 1;
    visibility: visible;
}

.overlay__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.overlay__content {
    position: relative;
    background-color: #fff;
    padding: 2rem;
    min-width: 320px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.overlay--open .overlay__content {
    transform: scale(1);
}

.overlay__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--schwarz);
    transition: color 0.2s ease;
}

.overlay__close:hover {
    color: var(--rot);
}

.overlay__close .lucide {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0;
}

.overlay__title {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.overlay__options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.overlay__option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--schwarz);
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.overlay__option:hover {
    background-color: var(--flaechenschwarz);
    color: var(--flaechenschwarz-text);
}

.overlay__option-icon {
    flex-shrink: 0;
}

.overlay__option-text {
    flex: 1;
}

.overlay__option-title {
    font-weight: 700;
    display: block;
}

.overlay__option-desc {
    font-size: 0.85rem;
    opacity: 0.7;
}

.overlay__divider {
    height: 1px;
    background-color: var(--lichtgrau);
    margin: 0.5rem 0;
}


/* ---------------------------------------------
   GIPHY GALERIE
--------------------------------------------- */

.giphy__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.giphy__attribution {
    text-align: center;
    margin-top: 2rem;
}

.giphy__attribution a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: calc(0.6rem * var(--font-scale, 1));
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #a6a6a6;
}

.giphy__attribution img {
    height: 1rem;
    width: auto;
}

.giphy__item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.giphy__gif {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.giphy__share {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.giphy__item:hover .giphy__share,
.giphy__item:focus-within .giphy__share {
    opacity: 1;
}

.giphy__share-btn {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border: none;
    border-radius: 50%;
    background: var(--schwarz-text);
    color: var(--schwarz);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.15s ease;
}

@media (hover: hover) {
    .giphy__share-btn:hover {
        transform: scale(1.1);
        background: var(--rot);
        color: var(--rot-text);
    }
}

.giphy__share-btn--copied {
    background: var(--gruen) !important;
    color: var(--schwarz) !important;
}

.giphy__share-btn svg {
    width: 100%;
    height: 100%;
}


.giphy__empty {
    text-align: center;
    padding: 3rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .giphy__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .giphy__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .giphy__share {
        opacity: 1;
        padding: 0.5rem;
    }

    .giphy__share-btn {
        width: 2rem;
        height: 2rem;
        padding: 0.4rem;
    }
}


/* ---------------------------------------------
   ZITATEWALL
--------------------------------------------- */

.section--zitatewall .lead {
    margin-bottom: 2rem;
}

/* Homepage Grid */
.zitate-grid {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.zitate-grid .zitate-card {
    flex: 1;
    min-width: 0;
}

.zitate-cta {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.zitate-mitmachen {
    margin-top: 3rem;
}

.zitate-mitmachen p {
    margin-bottom: 1.5rem;
    align-items: center;
}

.zitate-dots {
    display: none;
}

@media (max-width: 768px) {
    .zitate-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .zitate-grid::-webkit-scrollbar {
        display: none;
    }

    .zitate-grid .zitate-card {
        flex: 0 0 75%;
        scroll-snap-align: center;
    }

    .zitate-card__inner {
        aspect-ratio: 3 / 5;
        box-shadow: none;
        transition: transform 0.4s ease-out;
    }

    .zitate-cta__all { display: none; }

    .zitate-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .zitate-dots__dot {
        width: 0.75rem;
        height: 0.75rem;
        border-radius: 50%;
        border: none;
        background: rgba(40, 40, 40, 0.25);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .zitate-dots__dot--active {
        background: var(--schwarz);
    }
}

/* Karte Basis */
.zitate-card { cursor: pointer; }

@media (min-width: 769px) {
    .zitate-card { perspective: 1000px; }
}

.zitate-card__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.12);
}

/* Flip – gilt auf allen Geräten */
.zitate-card--flipped .zitate-card__inner {
    transform: rotateY(180deg);
}

/* Hover - nur Desktop mit Maus */
@media (hover: hover) and (pointer: fine) {
    .zitate-card:hover .zitate-card__inner {
        transform: translateY(-0.75rem) scale(1.05) rotateX(-4deg) rotateZ(1deg);
        box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.3);
    }
    .zitate-card--flipped:hover .zitate-card__inner {
        transform: rotateY(180deg) translateY(-0.75rem) scale(1.05) rotateX(-4deg) rotateZ(1deg);
    }
}

/* Kartenseiten */
.zitate-card__front {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    overflow: hidden;
}

.zitate-card__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    overflow: hidden;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
}

/* Bild */
.zitate-card__image { position: absolute; inset: 0; overflow: hidden; }
.zitate-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-out;
}
@media (hover: hover) {
    .zitate-card:hover .zitate-card__image img { transform: scale(1.05); }
}
.zitate-card__image--placeholder { display: flex; align-items: center; justify-content: center; background: var(--lichtgrau); }
.zitate-card__image--placeholder svg { width: 3rem; height: 3rem; opacity: 0.25; }

/* Balken */
.zitate-card__bar { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem 1rem; }
.zitate-card__lingen-front, .zitate-card__lingen { font-weight: 700; }

/* Rückseite - dynamische Schriftgröße bei langem Text */
.zitate-card__back { container-type: size; }
.zitate-card__back hr { border: none; border-top: 1px solid rgba(0,0,0,0.15); margin: 0.5rem 0; }
.zitate-card__back p { flex: 1; margin: 0; line-height: 1.3; font-size: 1rem; overflow: hidden; }
.zitate-card__back strong { font-size: 0.9rem; }
.zitate-card__back small { display: block; font-size: 0.8rem; opacity: 0.7; margin-top: 0.25rem; }

/* Detail-Seite (Vollbild mit Drag & Drop) */
html:has(.zitatewall-detail),
html:has(.zitatewall-detail) body {
    height: 100%;
    overflow: hidden;
    margin: 0;
}

.zitatewall-detail {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.zitatewall-detail__header {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
}

.zitatewall-detail__header h1 {
    margin: 0;
    font-size: 1.25rem;
}

.zitatewall-detail__count {
    opacity: 0.7;
    font-size: 0.9rem;
}

.zitatewall-detail__spacer {
    flex: 1;
}

.zitatewall-detail__group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.zitatewall-detail__label {
    opacity: 0.7;
    font-size: 0.85rem;
}

.zitatewall-detail__canvas {
    flex: 1;
    position: relative;
    background: var(--lichtgrau);
    overflow: hidden;
}

.zitatewall-detail__canvas .zitate-card {
    position: absolute;
    width: 12rem;
    cursor: grab;
    user-select: none;
}

@media (max-width: 768px) {
    .zitatewall-detail__header { padding: 0.75rem 1rem; gap: 0.5rem; }
    .zitatewall-detail__header h1 { font-size: 1rem; }
    .zitatewall-detail__label { display: none; }
}

@media (max-width: 480px) {
    .zitatewall-detail__group { flex-wrap: wrap; }
}

.zitatewall-detail__status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}


/* ---------------------------------------------
   ACCORDION
   Akkordeon für FAQ, Backgroundinfo etc.
--------------------------------------------- */

.accordion {
    margin-top: 2rem;
}

.accordion__item {
    border-bottom: 2px solid var(--schwarz);
}

.accordion__item h4 {
    margin: 0;
}

.accordion__item h4 button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--schwarz);
}

.accordion__item h4 button:hover,
.accordion__item--open h4 button {
    color: #000000;
}

.accordion__item h4 button:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

/* Plus/Minus Icon mit Morph-Effekt */
.accordion__icon {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transition: transform 0.3s ease;
}

.accordion__icon::before {
    width: 1.5rem;
    height: 2px;
    transform: translate(-50%, -50%);
}

.accordion__icon::after {
    width: 2px;
    height: 1.5rem;
    transform: translate(-50%, -50%);
}

.accordion__item--open .accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion__body > *:first-child {
    margin-top: 0.5rem;
}

.accordion__body > *:last-child {
    margin-bottom: 1.5rem;
}

.accordion__body video {
    width: 100%;
}

.accordion__body .grid {
    gap: 1rem;
}

.accordion__illu {
    display: block;
    width: 100%;
    max-width: 8rem;
    height: auto;
    margin-bottom: 1.25rem;
}

/* Grid im Akkordeon oben ausrichten */
.accordion__body .grid {
    align-items: start;
}

.accordion__body .grid h4 {
    margin-bottom: 0.75rem;
}


/* ---------------------------------------------
   TIMELINE (Vertikal, Zickzack)
   Zeitstrahl für Backgroundinfo – fancy Edition
--------------------------------------------- */

.timeline {
    position: relative;
    max-width: 50rem;
    margin: 1.5rem auto;
    padding: 0.5rem 0;
}

/* Vertikale Mittellinie mit Gradient */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        currentColor 0%,
        currentColor 85%,
        transparent 100%
    );
    transform: translateX(-50%);
}

/* Einzelner Eintrag */
.timeline__item {
    position: relative;
    width: 50%;
    padding: 0 3.75rem 2rem;
    opacity: 0;
    animation: timeline-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Ungerade: links */
.timeline__item:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Gerade: rechts */
.timeline__item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Verbindungslinie zum Dot */
.timeline__item::before {
    content: '';
    position: absolute;
    top: 1.35rem;
    width: 2.5rem;
    height: 3px;
    background: currentColor;
}

.timeline__item:nth-child(odd)::before {
    right: 0;
}

.timeline__item:nth-child(even)::before {
    left: 0;
}

/* Farbiger Dot auf der Linie */
.timeline__dot {
    position: absolute;
    top: 0.1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 47% 53% 46% 54% / 52% 48% 52% 48%;
    border: 3px solid var(--schwarz);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Handgezeichneter Look - jeder Dot leicht anders */
.timeline__item:nth-child(1) .timeline__dot { border-radius: 52% 48% 45% 55% / 48% 55% 45% 52%; }
.timeline__item:nth-child(2) .timeline__dot { border-radius: 45% 55% 52% 48% / 53% 47% 50% 50%; }
.timeline__item:nth-child(3) .timeline__dot { border-radius: 50% 50% 47% 53% / 46% 54% 48% 52%; }
.timeline__item:nth-child(4) .timeline__dot { border-radius: 48% 52% 55% 45% / 50% 50% 53% 47%; }
.timeline__item:nth-child(5) .timeline__dot { border-radius: 53% 47% 48% 52% / 55% 45% 47% 53%; }
.timeline__item:nth-child(6) .timeline__dot { border-radius: 46% 54% 50% 50% / 48% 52% 55% 45%; }
.timeline__item:nth-child(7) .timeline__dot { border-radius: 55% 45% 53% 47% / 47% 53% 46% 54%; }
.timeline__item:nth-child(8) .timeline__dot { border-radius: 49% 51% 46% 54% / 54% 46% 51% 49%; }

.timeline__item:nth-child(odd) .timeline__dot {
    right: -1.25rem;
}

.timeline__item:nth-child(even) .timeline__dot {
    left: -1.25rem;
}

/* Ripple-Ring der vom Dot wegfliegt (in Dot-Farbe) */
.timeline__dot::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: inherit;
    background: inherit;
    mask: radial-gradient(circle, transparent 65%, black 65%);
    -webkit-mask: radial-gradient(circle, transparent 65%, black 65%);
    animation: timeline-ripple 3s ease-out infinite;
}

@keyframes timeline-ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Hover: Dot wächst + Glow */
@media (hover: hover) {
    .timeline__item:hover .timeline__dot {
        transform: scale(1.15);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }

    .timeline__item:hover .timeline__dot::before {
        animation: none;
        opacity: 0;
    }
}

/* Laufender Mini-Dot entlang der Linie (GPU-optimiert) */
.timeline__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.75rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    will-change: transform, opacity;
    animation: timeline-flow 2s ease-in-out infinite;
}

/* Positionierung auf der Mittellinie */
.timeline__item:nth-child(odd)::after {
    right: -0.25rem;
}

.timeline__item:nth-child(even)::after {
    left: -0.25rem;
}

.timeline__item:nth-child(1)::after { animation-delay: 0s; }
.timeline__item:nth-child(2)::after { animation-delay: 0.25s; }
.timeline__item:nth-child(3)::after { animation-delay: 0.5s; }
.timeline__item:nth-child(4)::after { animation-delay: 0.75s; }
.timeline__item:nth-child(5)::after { animation-delay: 1s; }
.timeline__item:nth-child(6)::after { animation-delay: 1.25s; }
.timeline__item:nth-child(7)::after { animation-delay: 1.5s; }

@keyframes timeline-flow {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    15% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateY(2rem) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(2rem) scale(0.5);
    }
}

/* Jahr */
.timeline__year {
    display: block;
    font-weight: 700;
    font-size: calc(1.25rem * var(--font-scale, 1));
    margin-bottom: 0.15rem;
    transition: transform 0.3s ease;
}

/* Text */
.timeline__text {
    display: block;
    font-size: calc(0.9rem * var(--font-scale, 1));
    line-height: 1.4;
    transition: transform 0.3s ease;
}

/* Hover: Content hebt sich */
@media (hover: hover) {
    .timeline__item:nth-child(odd):hover .timeline__year,
    .timeline__item:nth-child(odd):hover .timeline__text {
        transform: translateX(-0.25rem);
    }

    .timeline__item:nth-child(even):hover .timeline__year,
    .timeline__item:nth-child(even):hover .timeline__text {
        transform: translateX(0.25rem);
    }
}

/* Animation: Pop In mit Overshoot */
.timeline__item:nth-child(1) { animation-delay: 0.1s; }
.timeline__item:nth-child(2) { animation-delay: 0.2s; }
.timeline__item:nth-child(3) { animation-delay: 0.3s; }
.timeline__item:nth-child(4) { animation-delay: 0.4s; }
.timeline__item:nth-child(5) { animation-delay: 0.5s; }
.timeline__item:nth-child(6) { animation-delay: 0.6s; }
.timeline__item:nth-child(7) { animation-delay: 0.7s; }
.timeline__item:nth-child(8) { animation-delay: 0.8s; }

@keyframes timeline-pop {
    0% {
        opacity: 0;
        transform: translateY(1.5rem) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Letzter Dot: Doppel-Puls */
.timeline__item:last-child .timeline__dot {
    animation: timeline-finale 2s ease-in-out infinite;
}

.timeline__item:last-child .timeline__dot::before {
    animation: timeline-ripple 2s ease-out infinite;
}

.timeline__item:last-child .timeline__dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: inherit;
    background: inherit;
    mask: radial-gradient(circle, transparent 65%, black 65%);
    -webkit-mask: radial-gradient(circle, transparent 65%, black 65%);
    animation: timeline-ripple 2s ease-out infinite 1s;
}

@keyframes timeline-finale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile: alles links, Linie links */
@media (max-width: 768px) {
    .timeline::before {
        left: 2.5rem;
    }

    .timeline__item,
    .timeline__item:nth-child(odd),
    .timeline__item:nth-child(even) {
        left: 0;
        width: 100%;
        padding: 0 1rem 1.5rem 5.5rem;
        text-align: left;
    }

    .timeline__item::before,
    .timeline__item:nth-child(odd)::before,
    .timeline__item:nth-child(even)::before {
        left: 3.25rem;
        width: 1.5rem;
    }

    .timeline__dot,
    .timeline__item:nth-child(odd) .timeline__dot,
    .timeline__item:nth-child(even) .timeline__dot {
        left: 1.25rem;
        right: auto;
    }

    /* Mini-Dots auf Mobile links positionieren */
    .timeline__item:not(:last-child)::after,
    .timeline__item:nth-child(odd)::after,
    .timeline__item:nth-child(even)::after {
        left: 2.25rem;
        right: auto;
    }
}


/* ---------------------------------------------
   ABBINDER
   Emotionaler CTA-Abschluss vor dem Footer
--------------------------------------------- */

.section--abbinder {
    padding: var(--section-padding) 0;
}

.abbinder__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.abbinder__herz {
    width: 8rem;
    height: auto;
    animation: heartbeat 1.8s ease-in-out infinite;
}

@keyframes heartbeat {
    0%   { transform: scale(1); }
    10%  { transform: scale(1.12); }
    18%  { transform: scale(1); }
    26%  { transform: scale(1.08); }
    34%  { transform: scale(1); }
    100% { transform: scale(1); }
}

.abbinder__headline {
    margin-bottom: 0;
}

.abbinder__sub {
    font-size: calc(clamp(1.9rem, 4vw + 1rem, 3.75rem) * var(--font-scale, 1));
    font-weight: 700;
    line-height: 0.95;
    color: var(--rot);
}

.abbinder__text {
    max-width: 35rem;
    opacity: 0.7;
}

.abbinder__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.abbinder__btn.bg--rot { background-color: var(--rot); }
.abbinder__btn.bg--rosa { background-color: var(--rosa); }
.abbinder__btn.bg--gelb { background-color: var(--gelb); }
.abbinder__btn.bg--gruen { background-color: var(--gruen); }
.abbinder__btn.bg--blau { background-color: var(--blau); }
.abbinder__btn.bg--siena { background-color: var(--siena); }
.abbinder__btn.bg--lachs { background-color: var(--lachs); }

.abbinder__btn {
    border: 2px solid transparent;
    color: var(--schwarz) !important;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .abbinder__btn:hover {
        transform: scale(1.1);
    }

    /* Bunte Buttons behalten ihre Farbe beim Hover (kein Flächenschwarz) */
    .has-hover .abbinder__btn.bg--rot:hover { background-color: var(--rot); }
    .has-hover .abbinder__btn.bg--rosa:hover { background-color: var(--rosa); }
    .has-hover .abbinder__btn.bg--gelb:hover { background-color: var(--gelb); }
    .has-hover .abbinder__btn.bg--gruen:hover { background-color: var(--gruen); }
    .has-hover .abbinder__btn.bg--blau:hover { background-color: var(--blau); }
    .has-hover .abbinder__btn.bg--siena:hover { background-color: var(--siena); }
    .has-hover .abbinder__btn.bg--lachs:hover { background-color: var(--lachs); }
    .has-hover .abbinder__btn:hover { color: var(--schwarz); }
}

@media (max-width: 480px) {
    .abbinder__buttons {
        flex-direction: column;
        width: 100%;
    }

    .abbinder__buttons .btn {
        width: 100%;
    }
}


/* ---------------------------------------------
   DOWNLOADS
   Karten-Grid für Logo-, Vorlagen-, Presse-Downloads
--------------------------------------------- */

.downloads__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    column-gap: 1.5rem;
    row-gap: 3rem;
    margin-top: 2rem;
}

.downloads__card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.downloads__card .downloads__buttons {
    margin-top: auto;
}

.downloads__card p {
    word-break: break-word;
    text-align: center;
    font-weight: 700;
}

.downloads__buttons {
    display: flex;
    gap: 0.5rem;
}

.downloads__btn {
    flex: 1;
}

.downloads__preview {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lichtgrau-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.downloads__preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.downloads__preview--empty .lucide {
    width: 3rem;
    height: 3rem;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .downloads__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .downloads__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------------------------------------------
   UNTERSEITEN (Impressum, Datenschutz etc.)
--------------------------------------------- */

.page-hero {
    padding: 2rem 0;
    margin-bottom: 4rem;
}

.page-hero__illu {
    width: 50%;
    height: auto;
    display: block;
    margin-left: auto;
    animation: pulse-subtle 3s ease-in-out infinite;
}

.page-content {
    margin-bottom: 4rem;
    scroll-margin-top: var(--topbar-height);
}

.page-content a {
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--rot);
}

.page-content a:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

.page-content h2 {
    margin-top: 3rem;
    font-size: calc(clamp(1rem, 1vw + 0.25rem, 1.25rem) * var(--font-scale, 1));
    letter-spacing: -0.01em;
}

.page-content h2:first-child {
    margin-top: 0;
}

/* Kontaktformular */
.contact-field {
    margin-bottom: 1.25rem;
}

.contact-success {
    padding: 2rem 0;
}

.contact-success img {
    width: 6rem;
    height: auto;
    margin-bottom: 1.5rem;
}

.contact-errors {
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: var(--rot);
    color: var(--rot-text);
}

.contact-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-hero__illu {
        max-width: 12rem;
        margin: 2rem auto 0;
        display: block;
    }
}


/* ---------------------------------------------
   CONSENT-OVERLAY
--------------------------------------------- */

.consent {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consent--open {
    opacity: 1;
    visibility: visible;
}

.consent__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
}

.consent__box {
    position: relative;
    background-color: #fff;
    border: 2px solid var(--schwarz);
    padding: 2.5rem;
    max-width: 40rem;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
}

.consent__illu {
    width: 25%;
    height: auto;
    margin-bottom: 1rem;
}

.consent__box h2 {
    margin-bottom: 0.5rem;
}

.consent__box > p {
    margin-bottom: 1.5rem;
}

.consent__toggles {
    text-align: left;
    margin-bottom: 1.5rem;
}

.consent__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--lichtgrau);
}

.consent__info {
    flex: 1;
}

.consent__info p {
    font-size: calc(0.8rem * var(--font-scale, 1));
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Toggle-Switch */
.consent__toggle {
    flex-shrink: 0;
    width: 3rem;
    height: 1.5rem;
    padding: 0;
    border: 2px solid var(--schwarz);
    border-radius: 0.75rem;
    background-color: var(--lichtgrau);
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
    margin-top: 0.25rem;
}

.consent__toggle:focus-visible {
    outline: 2px solid var(--rot);
    outline-offset: 2px;
}

.consent__toggle-track {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    background-color: var(--schwarz);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.consent__toggle[aria-checked="true"] {
    background-color: var(--gruen);
    border-color: var(--gruen);
}

.consent__toggle[aria-checked="true"] .consent__toggle-track {
    transform: translateX(1.5rem);
    background-color: var(--schwarz);
}

.consent__buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.consent__btn-save {
    background-color: transparent;
    border-color: var(--lichtgrau);
    color: var(--schwarz);
}

.consent__btn-save:hover {
    background-color: var(--lichtgrau);
    color: var(--schwarz);
}

.consent__hint {
    font-size: calc(0.75rem * var(--font-scale, 1));
    opacity: 0.5;
}

.consent__hint a {
    text-decoration: underline;
}

/* Platzhalter für blockierte Inhalte */
.consent-placeholder {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 1rem;
    border: 2px dashed var(--rot);
    display: none;
}

.consent-placeholder a {
    text-decoration: underline;
}

/* Consent-Verwaltungsseite */
.consent-settings {
    margin: 2rem 0;
}

.consent-settings__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--lichtgrau);
}

.consent-settings__item:last-of-type {
    border-bottom: 1px solid var(--lichtgrau);
}

.consent-settings__info {
    flex: 1;
}

.consent-settings__info p {
    font-size: calc(0.85rem * var(--font-scale, 1));
    opacity: 0.7;
    margin-top: 0.25rem;
}

.consent-settings__buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.consent-settings__status {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--gruen);
}

.consent-content {
    /* Wird per JS gesteuert */
}

@media (max-width: 768px) {
    .consent__box {
        width: calc(100vw - 2rem);
        padding: 1.5rem;
    }

    .consent__illu {
        width: 35%;
    }
}


/* ---------------------------------------------
   TERMS CONSENT
   Nutzungsbedingungen-Overlay für Mitmach-Tools
--------------------------------------------- */

.terms-consent {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.terms-consent--open {
    opacity: 1;
    visibility: visible;
}

.terms-consent__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.terms-consent__box {
    position: relative;
    background-color: #fff;
    border: 2px solid var(--schwarz);
    padding: 2rem;
    max-width: 36rem;
    width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3);
}

.terms-consent__illu {
    width: 5rem;
    height: auto;
    margin: 0 auto 1rem;
}

.terms-consent__box h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.terms-consent__intro {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: calc(0.9rem * var(--font-scale, 1));
}

.terms-consent__scroll {
    flex: 1;
    min-height: 12rem;
    max-height: 40vh;
    overflow-y: auto;
    border: 1px solid var(--lichtgrau);
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--lichtgrau-light, #f5f5f5);
}

.terms-consent__content {
    font-size: calc(0.85rem * var(--font-scale, 1));
    line-height: 1.6;
}

.terms-consent__content p {
    margin-bottom: 1rem;
}

.terms-consent__content p:last-child {
    margin-bottom: 0;
}

.terms-consent__content h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin: 1.5rem 0 0.75rem;
}

.terms-consent__content h2 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin: 1.25rem 0 0.5rem;
}

.terms-consent__content h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 1rem 0 0.5rem;
}

.terms-consent__checkbox {
    margin-bottom: 1rem;
    text-align: center;
}

.terms-consent__checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 700;
}

.terms-consent__checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--schwarz);
}

.terms-consent__checkbox input[type="checkbox"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.terms-consent__checkbox input[type="checkbox"]:disabled + span {
    opacity: 0.5;
}

.terms-consent__scroll-hint {
    font-size: calc(0.75rem * var(--font-scale, 1));
    color: var(--rot);
    margin-top: 0.25rem;
}

.terms-consent__buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.terms-consent__buttons .btn--outline {
    background: transparent;
    border: 2px solid var(--schwarz);
}

/* Blocker über geschützten Sektionen */
.terms-blocker {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    cursor: pointer;
    text-align: center;
    padding: 2rem;
}

.terms-blocker span {
    font-weight: 700;
    font-size: calc(1.1rem * var(--font-scale, 1));
}

/* Declined-State: ausgegraute Sektion */
.section--terms-declined .terms-blocker {
    background: rgba(220, 220, 220, 0.95);
    cursor: default;
}

.section--terms-declined .terms-blocker span {
    color: var(--schwarz);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .terms-consent__box {
        width: calc(100vw - 2rem);
        padding: 1.5rem;
        max-height: 95vh;
    }

    .terms-consent__scroll {
        max-height: 30vh;
    }

    .terms-consent__buttons {
        flex-direction: column;
    }
}

