/* =====================================================================
   Leuchtkraft Veranstaltungstechnik – Stylesheet
   Farben und Schrift stehen ganz oben als Variablen. Wer Farbtöne an die
   alte Seite angleichen will, ändert nur diesen Block.
   ===================================================================== */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2");
    font-weight: 200 800;
    font-style: italic;
    font-display: swap;
}

/* Ziffern für die Konturzahlen im Ablauf: feste ExtraBold-Fassung aus Plus Jakarta Sans,
   Konturen vereinigt. Die variable Schrift hat überlappende Teilformen, die man bei
   -webkit-text-stroke als Striche im Inneren der Ziffern sieht. */
@font-face {
    font-family: "LK Ziffern Kontur";
    src: url("../fonts/lk-ziffern-kontur.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0030-0039;
}

:root {
    /* Farben – abgeleitet aus dem Logo (#333 / #ccc) plus Petrol aus dem JRK-Corporate-Design */
    --buehne:        #161616;   /* Bühnenschwarz: dunkle Abschnitte */
    --tinte:         #111111;   /* Überschriften auf Hell (wie bisherige Seite) */
    --buehne-2:      #222222;   /* Flächen auf Dunkel */
    --logo-dunkel:   #333333;   /* Logo dunkel */
    --text-hell:     #6b6b6b;   /* Fließtext auf Hell (wie bisherige Seite) */
    --grau-mittel:   #6b6b6b;   /* Nebentexte auf Hell */
    --logo-hell:     #cccccc;   /* Fließtext auf Dunkel */
    --papier:        #f0f0f0;   /* helle Kacheln und Kontaktbereich */
    --weiss:         #ffffff;
    --akzent:        #00909b;   /* JRK Petrol (CMYK 100/10/40/0): Linien, Symbole, Schrift auf Dunkel */
    --akzent-flaeche: #007c86;  /* JRK Petrol dunkel (CMYK 100/10/40/20): Flächen mit weißer Schrift */
    --akzent-hell:   #e1f1f1;   /* JRK Petrol hell (CMYK 15/0/6/0): helle Hinweisflächen */

    --linie-hell:    rgba(51, 51, 51, 0.16);
    --linie-dunkel:  rgba(255, 255, 255, 0.14);

    --schrift: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --rand:        clamp(1.25rem, 5vw, 4rem);
    --breite:      78rem;
    --abstand:     clamp(5rem, 11vw, 10rem);
    --kopf-hoehe:  5rem;
}

/* ---------------------------------------------------------------------
   Grundlagen
   --------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--kopf-hoehe);
}
html.menue-offen { overflow: hidden; }

body {
    margin: 0;
    font-family: var(--schrift);
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-hell);
    background: var(--buehne);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    hyphens: auto;
    overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
/* <picture> nur als Hülle für die WebP-Fassung: das Bild verhält sich, als stünde es allein */
picture { display: contents; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; hyphens: manual; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--akzent-flaeche); color: var(--weiss); }

:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.sektion--hell :focus-visible,
.sektion--licht :focus-visible,
.seite-unter .kopf :focus-visible { outline-color: var(--buehne); }

.visuell-versteckt {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.sprunglink {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--akzent-flaeche);
    color: var(--weiss);
    font-weight: 700;
    text-decoration: none;
}
.sprunglink:focus { top: 1rem; }

.rahmen {
    width: 100%;
    max-width: calc(var(--breite) + 2 * var(--rand));
    margin: 0 auto;
    padding: 0 var(--rand);
}
.rahmen--schmal { max-width: calc(46rem + 2 * var(--rand)); }

/* Sprungmarken der alten WordPress-Seite */
.alter-anker { position: absolute; top: 0; left: 0; }

/* ---------------------------------------------------------------------
   Kopf und Navigation
   --------------------------------------------------------------------- */

.kopf {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--kopf-hoehe);
    color: var(--weiss);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.kopf.ist-gescrollt,
.kopf.menue-offen {
    background: rgba(22, 22, 22, 0.94);
    border-bottom-color: var(--linie-dunkel);
}
@supports (backdrop-filter: blur(8px)) {
    .kopf.ist-gescrollt { background: rgba(22, 22, 22, 0.82); backdrop-filter: blur(10px); }
}

.seite-unter .kopf {
    background: var(--weiss);
    color: var(--buehne);
    border-bottom-color: var(--linie-hell);
}

.kopf__innen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 100%;
    max-width: calc(var(--breite) + 2 * var(--rand));
    margin: 0 auto;
    padding: 0 var(--rand);
}

.kopf__logo { position: relative; z-index: 2; display: block; line-height: 0; }
.kopf .logo { width: auto; height: 2.15rem; }
.seite-start .logo--dunkel,
.seite-unter .logo--hell { display: none; }
.seite-unter .kopf.menue-offen .logo--dunkel { display: none; }
.seite-unter .kopf.menue-offen .logo--hell { display: block; }

.kopf__nav ul { display: flex; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.kopf__nav a {
    position: relative;
    display: block;
    padding: 0.35rem 0;
    font-size: 0.975rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.kopf__nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--akzent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.kopf__nav a:hover::after,
.kopf__nav a:focus-visible::after { transform: scaleX(1); }

.kopf__menue-knopf { display: none; }

@media (max-width: 62rem) {
    /* Ohne JavaScript: Menü bricht einfach unter das Logo um */
    html:not(.js) .kopf { position: absolute; height: auto; }
    html:not(.js) .kopf__innen { flex-wrap: wrap; padding-top: 1.25rem; padding-bottom: 1.25rem; }
    html:not(.js) .kopf__nav ul { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
    html:not(.js) .seite-unter main { padding-top: 7.5rem; }

    .js .kopf__menue-knopf {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 0.7rem;
        margin-right: -0.5rem;
        padding: 0.5rem;
        border: 0;
        background: none;
        color: inherit;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }
    .kopf__menue-linien,
    .kopf__menue-linien::before,
    .kopf__menue-linien::after {
        display: block;
        width: 1.5rem;
        height: 2px;
        background: currentColor;
        transition: transform 0.25s ease, background-color 0.25s ease;
    }
    .kopf__menue-linien { position: relative; }
    .kopf__menue-linien::before,
    .kopf__menue-linien::after { content: ""; position: absolute; left: 0; }
    .kopf__menue-linien::before { top: -7px; }
    .kopf__menue-linien::after  { top: 7px; }
    .menue-offen .kopf__menue-linien { background: transparent; }
    .menue-offen .kopf__menue-linien::before { transform: translateY(7px) rotate(45deg); }
    .menue-offen .kopf__menue-linien::after  { transform: translateY(-7px) rotate(-45deg); }
    .seite-unter .kopf.menue-offen .kopf__menue-knopf { color: var(--weiss); }

    .js .kopf__nav {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        padding: var(--kopf-hoehe) var(--rand) 2rem;
        background: var(--buehne);
        color: var(--weiss);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    .js .kopf.menue-offen .kopf__nav { opacity: 1; visibility: visible; }
    .js .kopf__nav ul { flex-direction: column; gap: 0.35rem; }
    .js .kopf__nav a { font-size: clamp(2rem, 8vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
}

/* ---------------------------------------------------------------------
   Bühne (oberster Bereich der Startseite)
   --------------------------------------------------------------------- */

.buehne {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--buehne);
    color: var(--weiss);
}

.buehne__foto { position: absolute; inset: 0; z-index: -1; }
.buehne__foto .bild { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.buehne__foto .bild--fehlt { border: 0; }
.buehne__foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(22, 22, 22, 0.6) 0%,
        rgba(22, 22, 22, 0.1) 32%,
        rgba(22, 22, 22, 0.25) 60%,
        rgba(22, 22, 22, 0.92) 100%);
}

/* Der Licht-Cue: Das Foto fährt aus dem Schwarz hoch wie ein Scheinwerfer. */
.buehne__bild { animation: licht-cue 2.6s cubic-bezier(0.25, 0.6, 0.2, 1) both; }
@keyframes licht-cue {
    0%   { filter: brightness(0) saturate(0.4); }
    35%  { filter: brightness(0.25) saturate(0.6); }
    100% { filter: brightness(1) saturate(1); }
}

.buehne__inhalt {
    width: 100%;
    max-width: calc(var(--breite) + 2 * var(--rand));
    margin: 0 auto;
    padding: calc(var(--kopf-hoehe) + 2rem) var(--rand) clamp(3rem, 9vh, 6.5rem);
}
.buehne__titel { line-height: 0; }
.buehne__logo {
    width: min(100%, 50rem);
    height: auto;
    animation: einblenden 1.4s 0.9s ease-out both;
}
.buehne__zeile {
    max-width: 34rem;
    margin-top: clamp(1rem, 2.5vh, 1.5rem);
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
    font-weight: 500;
    line-height: 1.45;
    color: var(--weiss);
    animation: einblenden 1s 1.4s ease-out both;
}
.buehne__wege {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2.25rem;
    margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
    animation: einblenden 1s 1.8s ease-out both;
}
/* Knopf für den direkten Anfrageweg */
.knopf {
    display: inline-block;
    padding: 0.9rem 1.6rem;
    border: 2px solid transparent;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.knopf--akzent { background: var(--akzent-flaeche); color: var(--weiss); }
.knopf--akzent:hover { background: var(--weiss); color: var(--tinte); }
.knopf:focus-visible { outline: 3px solid var(--weiss); outline-offset: 3px; }
.buehne__einladung {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
}
.buehne__einladung::before {
    content: "";
    width: 3.5rem;
    height: 2px;
    background: var(--akzent);
    transition: width 0.3s ease;
}
.buehne__einladung:hover::before { width: 5rem; }
/* Pause-Knopf für Videos (bewegte Inhalte müssen sich anhalten lassen) */
.buehne__pause {
    position: absolute;
    right: var(--rand);
    bottom: clamp(3rem, 9vh, 6.5rem);
}
.video-pause {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(22, 22, 22, 0.35);
    color: var(--weiss);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.video-pause:hover { border-color: var(--akzent); background: rgba(22, 22, 22, 0.6); }
.video-pause[hidden] { display: none; }
/* Zwei Balken = anhalten, Dreieck = abspielen */
.video-pause::before {
    content: "";
    width: 0.7rem;
    height: 0.8rem;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
}
.video-pause.ist-angehalten::before {
    width: 0;
    height: 0;
    margin-left: 0.2rem;
    border-style: solid;
    border-width: 0.45rem 0 0.45rem 0.75rem;
    border-color: transparent transparent transparent currentColor;
}

/* Schriftzug in der Logo-Schrift (Sveningsson) als Grafik */
.buehne__schriftzug { display: block; width: auto; height: clamp(1.35rem, 2.4vw, 1.9rem); }

@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------------
   Abschnitte allgemein
   --------------------------------------------------------------------- */

.sektion { position: relative; padding: var(--abstand) 0; }
.sektion--hell  { background: var(--weiss);  color: var(--text-hell); }
.sektion--licht { background: var(--papier); color: var(--text-hell); }
.sektion--dunkel { background: var(--buehne); color: var(--logo-hell); }
.sektion--dunkel h2, .sektion--dunkel h3, .sektion--dunkel h4 { color: var(--weiss); }

.abschnittskopf {
    display: grid;
    gap: 2rem 4rem;
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.abschnittskopf--mit-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: end;
}
.abschnittskopf__intro { max-width: 34rem; font-size: 1.0625rem; }

.rubrik {
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--grau-mittel);
}
.sektion--dunkel .rubrik { color: var(--akzent); }

.titel {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--tinte);
    text-wrap: balance;
}
.titel strong { font-weight: 700; }
.sektion--dunkel .titel { color: var(--weiss); }

.titel--aussage {
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.titel--klein { font-size: clamp(2rem, 3.8vw, 3.25rem); }

.unterzeile {
    max-width: 40ch;
    hyphens: manual;
    margin-top: 1.5rem;
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    line-height: 1.5;
}

.zwischentitel {
    margin-bottom: 1.75rem;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--tinte);
}

/* Handgezeichnete Wellenlinie unter einem Wort – Markierung ==Wort== in inhalte.php */
.welle {
    position: relative;
    display: inline-block;
    padding-bottom: 0.12em;
}
.welle::after {
    content: "";
    position: absolute;
    left: -0.04em; right: -0.04em; bottom: -0.1em;
    height: 0.24em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5c18-4 30 3 52 1.5s30-6 52-4 34 6 58 4.5 36-5.5 60-4.5 42 4 74 2.5' fill='none' stroke='%2300909b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.textlink {
    font-weight: 600;
    text-decoration-color: var(--akzent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
}

/* Bild-Platzhalter, solange eine Datei fehlt */
.bild--fehlt {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 1rem;
    border: 1px dashed rgba(128, 128, 128, 0.5);
    background: repeating-linear-gradient(135deg,
        rgba(128, 128, 128, 0.07) 0 12px,
        rgba(128, 128, 128, 0.13) 12px 24px);
    color: #8a8a8a;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
    hyphens: none;
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------------
   What we do
   --------------------------------------------------------------------- */

.www {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.grundsaetze { margin-bottom: 0; }
.grundsaetze li::before { content: "• "; }

.leistung { border-top: 1px solid var(--linie-hell); }
.leistung:last-child { border-bottom: 1px solid var(--linie-hell); }
.leistung__kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 0;
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--buehne);
    list-style: none;
    cursor: pointer;
}
.leistung__kopf::-webkit-details-marker { display: none; }
.leistung[open] .leistung__titel {
    text-decoration: underline;
    text-decoration-color: var(--akzent);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.18em;
}
.leistung__zeichen { position: relative; flex: none; width: 1.1rem; height: 1.1rem; }
.leistung__zeichen::before,
.leistung__zeichen::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 2px;
    margin-top: -1px;
    background: currentColor;
    transition: transform 0.25s ease;
}
.leistung__zeichen::after { transform: rotate(90deg); }
.leistung[open] .leistung__zeichen::after { transform: rotate(0deg); }
.leistung__text { max-width: 36rem; padding-bottom: 1.6rem; }
/* Häufige Fragen: gleiche Mechanik wie die Leistungen, kleinere Fragen */
.faq { max-width: 52rem; }
.leistung--frage .leistung__kopf { padding: 1.1rem 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.leistung--frage .leistung__titel { margin: 0; font-size: inherit; font-weight: 600; line-height: 1.35; color: var(--tinte); }
.leistung--frage .leistung__text { max-width: 44rem; }
/* Auf dunklem Hintergrund (What we do) hell */
.sektion--dunkel .leistung { border-top-color: var(--linie-dunkel); }
.sektion--dunkel .leistung:last-child { border-bottom-color: var(--linie-dunkel); }
.sektion--dunkel .leistung__kopf { color: var(--weiss); }

.zahlen {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem clamp(1.75rem, 3.5vw, 3.25rem);
    margin-top: 2.5rem;
}
.zahl__wert {
    display: block;
    font-size: clamp(2.75rem, 4.6vw, 4.25rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--tinte);
    font-variant-numeric: tabular-nums;
}
.zahl__label { display: block; margin-top: 0.4rem; font-size: 1rem; line-height: 1.4; color: var(--grau-mittel); }
/* Auf dunklem Hintergrund (What we do) hell */
.sektion--dunkel .zahl__wert { color: var(--weiss); }
.sektion--dunkel .zahl__label { color: var(--logo-hell); }

/* ---------------------------------------------------------------------
   Bild und Text im Wechsel (Live-Events, Festinstallationen)
   --------------------------------------------------------------------- */

.wechselliste { display: grid; gap: clamp(3.5rem, 8vw, 7rem); }
.wechsel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
}
.wechsel:nth-child(even) .wechsel__bild { order: 2; }
.wechsel__bild .bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wechsel__text { max-width: 34rem; }
.wechsel__titel {
    margin-bottom: 1.1rem;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    letter-spacing: -0.025em;
}
.sektion--hell .wechsel__titel { color: var(--tinte); }

/* Schrittnummern als leuchtende Kontur – wie ein Glühfaden */
.ablauf__nummer {
    display: block;
    margin-bottom: 1.25rem;
    font-family: "LK Ziffern Kontur", var(--schrift);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: 0.02em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--akzent);
    font-variant-numeric: tabular-nums;
}
@supports not (-webkit-text-stroke: 1px black) {
    .ablauf__nummer { color: var(--akzent); }
}

/* ---------------------------------------------------------------------
   Referenzen
   --------------------------------------------------------------------- */

.referenzen {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
/* Festinstallation: „Aus der Praxis“ */
.praxis { margin-top: clamp(4rem, 9vw, 7rem); }
.praxis__titel { margin-bottom: 1.5rem; }
.referenzen--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.referenzen--zwei .referenz__flaeche { aspect-ratio: 4 / 3; }
.referenz__flaeche {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    height: 100%;
    min-height: 14rem;
    aspect-ratio: 4 / 3;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    overflow: hidden;
    background: var(--papier);
    color: var(--buehne);
    text-decoration: none;
}
.referenz__titel {
    display: block;
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.referenz__kunde { display: block; margin-top: 0.4rem; font-size: 0.95rem; color: var(--grau-mittel); }

/* Kachel mit Video-Loop: Pause-Knopf oben rechts */
.referenz { position: relative; }
.referenz__pause { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; width: 2.5rem; height: 2.5rem; }

/* Breite Kachel (z. B. aktuelles Großprojekt) */
.referenz--gross { grid-column: span 2; }
.referenz--gross .referenz__flaeche { aspect-ratio: auto; }
.referenz--gross .referenz__titel { font-size: clamp(1.75rem, 3vw, 2.5rem); }

/* Kachel mit Foto */
.referenz--bild .referenz__flaeche { background: var(--buehne); color: var(--weiss); }
.referenz--bild .referenz__kunde { color: var(--logo-hell); }
.referenz__bild {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    transition: transform 0.6s ease, filter 0.6s ease;
}
.referenz--bild .referenz__flaeche::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0) 62%);
}
a.referenz__flaeche:hover .referenz__bild,
a.referenz__flaeche:focus-visible .referenz__bild { transform: scale(1.04); filter: brightness(0.9); }

/* Kachel ohne Foto, aber mit Projektseite */
.referenz:not(.referenz--bild) a.referenz__flaeche:hover { background: #e6e6e6; }

/* Einladung „Dein Event war nicht dabei?“ */
.referenz--aufruf .referenz__flaeche { background: var(--akzent-flaeche); color: var(--weiss); }
.referenz--aufruf .referenz__kunde { color: var(--weiss); }
.referenz__link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25em;
}
.referenz--aufruf .referenz__flaeche:hover .referenz__link { text-decoration-thickness: 3px; }

/* ---------------------------------------------------------------------
   Festinstallationen: Werte
   --------------------------------------------------------------------- */

.werte {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: clamp(4.5rem, 9vw, 8rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--linie-dunkel);
}
.wert__symbol { width: 3rem; height: 3rem; margin-bottom: 1.5rem; color: var(--akzent); }
.wert__titel { margin-bottom: 0.75rem; font-size: 1.625rem; letter-spacing: -0.015em; }

/* ---------------------------------------------------------------------
   Who we are
   --------------------------------------------------------------------- */

.wer {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}
.wer__einleitung { max-width: 36rem; margin-top: 1.75rem; font-size: 1.125rem; }
.wer__bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.wer__bilder .bild { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.wer__bilder > :nth-child(2) { margin-top: clamp(2rem, 6vw, 5rem); }

.haltung {
    margin-top: clamp(5.5rem, 11vw, 10rem);
    padding-top: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--linie-hell);
}
.haltung__zeile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
}
/* Alle Bilder gleich groß, im Wechsel links – rechts – links */
.haltung__zeile--kopf .haltung__bild,
.haltung__punkt:nth-child(even) .haltung__bild { order: -1; }
.haltung__bild .bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.haltung__kopf,
.haltung__text { max-width: 30rem; }
.haltung__lead {
    margin-top: 1.5rem;
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--buehne);
}
.haltung__punkte {
    display: grid;
    gap: clamp(3.5rem, 8vw, 7rem);
    margin-top: clamp(3.5rem, 8vw, 7rem);
}
.haltung__punkttitel {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--buehne);
}

/* ---------------------------------------------------------------------
   So sind wir
   --------------------------------------------------------------------- */

.eigenschaften { max-width: 66rem; }
.eigenschaft {
    display: grid;
    grid-template-columns: clamp(6.5rem, 16vw, 12rem) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 3.5rem);
    align-items: start;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
    border-top: 1px solid var(--linie-dunkel);
}
.eigenschaft:last-child { border-bottom: 1px solid var(--linie-dunkel); }
.eigenschaft__bild .bild { width: 100%; aspect-ratio: 1; object-fit: cover; }
.eigenschaft__bild .bild--fehlt { font-size: 0.65rem; }
.eigenschaft__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.eigenschaft__titel {
    font-size: clamp(1.75rem, 3.6vw, 3rem);
    letter-spacing: -0.03em;
    hyphens: auto;
}
.eigenschaft__wert {
    flex: none;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 300;
    color: var(--akzent);
    font-variant-numeric: tabular-nums;
}
.balken { height: 3px; margin: 1rem 0 1.25rem; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.balken__fuellung {
    display: block;
    width: 0;
    height: 100%;
    background: var(--akzent);
    transition: width 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.eigenschaft__text p { max-width: 40rem; }

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

.kontaktwege {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--linie-hell);
}
.kontaktweg__titel {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--grau-mittel);
}
.kontaktweg__haupt {
    display: block;
    font-size: clamp(1.375rem, 2.2vw, 1.875rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--buehne);
    text-decoration: none;
    hyphens: none;
    overflow-wrap: anywhere;
}
a.kontaktweg__haupt:hover,
.kontaktweg__neben:hover {
    text-decoration: underline;
    text-decoration-color: var(--akzent);
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.15em;
}
.kontaktweg__neben { display: inline-block; margin-top: 0.85rem; font-weight: 600; }

/* ---------------------------------------------------------------------
   Fuß
   --------------------------------------------------------------------- */

.fuss { background: var(--buehne); color: #bdbdbd; font-size: 0.975rem; }
.fuss__innen {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    max-width: calc(var(--breite) + 2 * var(--rand));
    margin: 0 auto;
    padding: clamp(4rem, 7vw, 6rem) var(--rand) 3rem;
}
.fuss__logo { display: block; width: fit-content; line-height: 0; }
.fuss__logo .logo { width: 12rem; height: auto; }
.fuss__titel { margin-bottom: 1rem; font-size: 0.975rem; font-weight: 600; color: var(--weiss); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; text-decoration-color: var(--akzent); text-underline-offset: 0.2em; }
.fuss__liste li + li { margin-top: 0.35rem; }
.fuss__leiste {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    max-width: calc(var(--breite) + 2 * var(--rand));
    margin: 0 auto;
    padding: 1.5rem var(--rand) 2rem;
    background: linear-gradient(var(--linie-dunkel), var(--linie-dunkel)) center top / calc(100% - 2 * var(--rand)) 1px no-repeat;
    font-size: 0.875rem;
}

/* ---------------------------------------------------------------------
   Einwilligungsbanner (Google Analytics)
   --------------------------------------------------------------------- */

.einwilligung {
    position: fixed;
    right: var(--rand);
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    width: min(26.5rem, calc(100% - 2 * var(--rand)));
    padding: 1.35rem 1.4rem 1.2rem;
    background: var(--buehne);
    color: var(--logo-hell);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 3px solid var(--akzent);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 2.5rem);
    max-height: calc(100dvh - 2.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    hyphens: manual;
}
.einwilligung[hidden] { display: none; }
/* Große Bildschirme: oben rechts unter der Navigation, damit Wortmarke und Knöpfe unten links frei bleiben */
@media (min-width: 64rem) {
    .einwilligung {
        top: calc(var(--kopf-hoehe) + 1.25rem);
        bottom: auto;
        max-height: calc(100vh - var(--kopf-hoehe) - 2.5rem);
        max-height: calc(100dvh - var(--kopf-hoehe) - 2.5rem);
    }
}
.einwilligung__titel { margin-bottom: 0.75rem; font-size: 1.25rem; color: var(--weiss); letter-spacing: -0.01em; }
.einwilligung p { margin-bottom: 0.75rem; }
.einwilligung a { color: var(--weiss); text-decoration-color: var(--akzent); text-underline-offset: 0.2em; }
.einwilligung__zwecke { margin: 1rem 0; padding: 0; border: 0; }
.einwilligung__zweck {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.7rem 0;
    border-top: 1px solid var(--linie-dunkel);
    cursor: pointer;
}
.einwilligung__zweck:last-child { border-bottom: 1px solid var(--linie-dunkel); }
.einwilligung__zweck input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--akzent); }
.einwilligung__zweck strong { display: block; color: var(--weiss); }
.einwilligung__klein { font-size: 0.85rem; }
.einwilligung__details[hidden] { display: none; }
.einwilligung__knopf[hidden] { display: none; }
.einwilligung__mehr {
    display: block;
    margin: 0.9rem auto 0;
    padding: 0.25rem 0.5rem;
    border: 0;
    background: none;
    color: var(--logo-hell);
    font: inherit;
    font-size: 0.9rem;
    text-decoration: underline;
    text-decoration-color: var(--akzent);
    text-underline-offset: 0.2em;
    cursor: pointer;
}
.einwilligung__mehr:hover { color: var(--weiss); }
.einwilligung__mehr[hidden] { display: none; }
.einwilligung__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.1rem; }
.einwilligung .einwilligung__knopf--auswahl { grid-column: 1 / -1; background: transparent; color: var(--weiss); }
.einwilligung .einwilligung__knopf--auswahl:hover { background: var(--akzent-flaeche); border-color: var(--akzent-flaeche); color: var(--weiss); }
/* Beide Knöpfe absichtlich gleich gestaltet: Ablehnen ist genauso leicht wie Zustimmen */
.einwilligung__knopf {
    padding: 0.8rem 1rem;
    border: 2px solid var(--weiss);
    background: var(--weiss);
    color: var(--buehne);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.einwilligung__knopf:hover { background: var(--akzent-flaeche); border-color: var(--akzent-flaeche); color: var(--weiss); }
@media (max-width: 30rem) {
    .einwilligung { right: 0; bottom: 0; width: 100%; max-height: 100vh; max-height: 100dvh; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
}

.fuss__knopf {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.fuss__knopf:hover { color: var(--weiss); text-decoration: underline; text-decoration-color: var(--akzent); text-underline-offset: 0.2em; }

/* ---------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutz, Referenz, 404)
   --------------------------------------------------------------------- */

.seite-unter main { padding-top: var(--kopf-hoehe); }
.unterseite { min-height: 70vh; padding-top: clamp(4rem, 8vw, 7rem); }
.unterseite .titel { font-size: clamp(2.5rem, 5.5vw, 4.25rem); margin-bottom: 2rem; }
.unterseite .unterzeile { margin: -0.75rem 0 2rem; }

.rechtstext h2 { margin: 2.5rem 0 0.75rem; font-size: 1.5rem; color: var(--buehne); letter-spacing: -0.01em; }
.rechtstext h3, .rechtstext h4, .rechtstext h5 { margin: 2rem 0 0.5rem; font-size: 1.15rem; color: var(--buehne); }
.rechtstext ul { margin: 0 0 1em 1.25em; list-style: disc; }
.rechtstext a { text-decoration-color: var(--akzent); text-underline-offset: 0.2em; }

.platzhalter {
    margin: 0 0 2.5rem;
    padding: 1rem 1.25rem;
    border: 2px dashed var(--akzent);
    background: var(--akzent-hell);
}

/* Projektseite einer Referenz */
.projekt .titel { margin-bottom: clamp(2rem, 4vw, 3rem); }
.projekt__kopf {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.projekt__text { max-width: 40rem; font-size: 1.125rem; }
.projekt__fakten { margin: 0; padding: 1.5rem 1.75rem; background: var(--papier); }
.projekt__fakten div + div { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--linie-hell); }
.projekt__fakten dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grau-mittel); }
.projekt__fakten dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--tinte); line-height: 1.4; }

/* Presseberichte auf der Projektseite */
.projekt__presse-titel { margin: 2.5rem 0 1rem; font-size: 1.125rem; color: var(--tinte); letter-spacing: -0.01em; }
.projekt__presse li + li { margin-top: 0.75rem; }
.projekt__presse a {
    display: block;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--akzent);
    background: var(--papier);
    color: var(--tinte);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}
.projekt__presse a:hover { background: #e8e8e8; }
.projekt__quelle { display: block; margin-bottom: 0.2rem; font-size: 0.8125rem; font-weight: 500; color: var(--grau-mittel); }

/* Video auf der Projektseite */
.projekt__film { margin: clamp(3rem, 6vw, 5rem) 0 0; }
.projekt__film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--buehne); }
.projekt__film figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--grau-mittel); }

/* Galerie: Hoch- und Querformat ohne Beschnitt */
.galerie { columns: 3 18rem; column-gap: 1rem; margin: clamp(3rem, 6vw, 5rem) 0; }
.galerie li { margin-bottom: 1rem; break-inside: avoid; }
.galerie .bild { width: 100%; height: auto; }

.projekt__weiter {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--linie-hell);
}
.projekt__weiter a { color: var(--tinte); font-weight: 600; text-decoration: none; line-height: 1.35; }
.projekt__weiter a span { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--grau-mittel); }
.projekt__weiter a:last-child:not(.projekt__alle) { text-align: right; justify-self: end; }
.projekt__weiter a:hover { text-decoration: underline; text-decoration-color: var(--akzent); text-underline-offset: 0.2em; }
.projekt__alle { justify-self: center; }
@media (max-width: 40rem) {
    .projekt__weiter { grid-template-columns: 1fr 1fr; }
    .projekt__alle { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------------------------------------------------------------------
   Kleinere Bildschirme
   --------------------------------------------------------------------- */

@media (max-width: 56rem) {
    .abschnittskopf--mit-intro,
    .www,
    .wer { grid-template-columns: minmax(0, 1fr); }
    .haltung__zeile { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .haltung__zeile .haltung__bild { order: -1; }

    .wechsel { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .wechsel:nth-child(even) .wechsel__bild { order: 0; }

    .werte,
    .kontaktwege,
    .projekt__kopf { grid-template-columns: minmax(0, 1fr); }
    .referenzen { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .fuss__innen { grid-template-columns: 1fr 1fr; }
    .fuss__logo { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
    .referenzen { grid-template-columns: minmax(0, 1fr); }
    .referenz--gross { grid-column: auto; }
    .referenz__flaeche { aspect-ratio: auto; min-height: 10rem; }
    .titel { hyphens: auto; }
    .eigenschaft__kopf { flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 30rem) {
    .fuss__innen { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------
   Bewegung – nur aktiv, wenn JavaScript läuft und im System nicht
   „Bewegung reduzieren“ eingestellt ist (Klasse .bewegt auf <html>).
   Alles läuft einmal ab (unter 5 Sekunden) oder hängt am Scrollen.
   --------------------------------------------------------------------- */

@property --zoom       { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --hover-zoom { syntax: "<number>"; inherits: false; initial-value: 1; }

/* Logo auf der Bühne: stellt scharf wie ein Scheinwerfer beim Fokussieren */
.bewegt .buehne__logo { animation: fokus 1.9s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes fokus {
    0%   { opacity: 0; filter: blur(18px); transform: scale(1.05); }
    55%  { opacity: 1; }
    100% { opacity: 1; filter: blur(0); transform: none; }
}

/* Kleines Logo in der Kopfzeile übernimmt, sobald das große aus dem Bild ist */
.bewegt .kopf--ueber-buehne .kopf__logo {
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.bewegt .kopf--ueber-buehne.logo-uebernimmt .kopf__logo,
.bewegt .kopf--ueber-buehne.menue-offen .kopf__logo,
.bewegt .kopf--ueber-buehne .kopf__logo:focus-visible { opacity: 1; transform: none; }

/* Überschriften bauen sich Wort für Wort auf */
.bewegt .wort {
    display: inline-block;
    clip-path: polygon(-10% -40%, 110% -40%, 110% 112%, -10% 112%);
}
.bewegt .wort__innen {
    display: inline-block;
    transform: translateY(125%);
    transition: transform 0.95s cubic-bezier(0.2, 0.75, 0.2, 1);
    transition-delay: calc(var(--w, 0) * 75ms + var(--verzoegerung, 0ms));
}
.bewegt .ist-da .wort__innen { transform: none; }

/* Die Wellenlinie zieht sich nach den Wörtern von links nach rechts */
.bewegt [data-auftritt="worte"] .welle::after {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.6, 0.1, 0.2, 1) 0.55s;
}
.bewegt [data-auftritt="worte"].ist-da .welle::after { clip-path: inset(0 0 0 0); }

/* Rubrik zieht sich zusammen */
.bewegt .rubrik[data-auftritt] {
    opacity: 0;
    letter-spacing: 0.7em;
    transition: opacity 0.8s ease, letter-spacing 1.3s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--verzoegerung, 0ms);
}
.bewegt .rubrik[data-auftritt].ist-da { opacity: 1; letter-spacing: 0.2em; }

/* Textblöcke, Kacheln, Listenpunkte: kommen von unten */
.bewegt [data-auftritt="block"] {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--verzoegerung, 0ms);
}
.bewegt [data-auftritt="block"].ist-da { opacity: 1; transform: none; }

/* Bilder: Licht an – das Foto fährt aus dem Schwarz hoch */
.bewegt .lichtrahmen { position: relative; overflow: hidden; }
.bewegt .lichtrahmen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
    opacity: 0.94;
    pointer-events: none;
    transition: opacity 1.6s cubic-bezier(0.3, 0.6, 0.2, 1);
    transition-delay: var(--verzoegerung, 0ms);
}
.bewegt .referenz__flaeche.lichtrahmen::before { z-index: -1; }
.bewegt .lichtrahmen.ist-da::before { opacity: 0; }
.wer__rahmen { overflow: hidden; }

/* Bilder zoomen beim Scrollen: in der Bildmitte weit, am Rand näher dran */
.bewegt .zoombild {
    transform: translateY(var(--hub, 0%)) scale(calc(var(--zoom) * var(--hover-zoom)));
    transition: filter 0.6s ease, --hover-zoom 0.6s ease;
}
.bewegt a.referenz__flaeche:hover .zoombild,
.bewegt a.referenz__flaeche:focus-visible .zoombild {
    transform: translateY(var(--hub, 0%)) scale(calc(var(--zoom) * var(--hover-zoom)));
    --hover-zoom: 1.05;
}

/* Symbole zeichnen sich selbst */
.bewegt .strich { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.45, 0.1, 0.2, 1) 0.35s; }
.bewegt .ist-da .strich { stroke-dashoffset: 0; }

/* Weniger Bewegung, wenn im System so eingestellt */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .kopf, .buehne__foto, .fuss__nach-oben, .einwilligung { display: none; }
    .bewegt [data-auftritt], .bewegt .wort__innen { opacity: 1 !important; transform: none !important; }
    .bewegt .lichtrahmen::before { display: none; }
    .sektion--dunkel { background: none; color: #000; }
    .sektion--dunkel h2, .sektion--dunkel h3 { color: #000; }
}
