/* Über uns (js/ueber-uns.js). Baut auf css/unterseiten.css auf.
   1 Kopf mit Zahlen und Polaroid · 2 „Warum eigentlich Flamingo?“ als seitwärts laufende
   Tafeln · 3 Finale: pinker Flamingo in grauer Herde · 4 Werte als Kartenstapel.
   html.ruhig (Editor, reduzierte Bewegung): alles untereinander im Endzustand. */

/* ---------- 1 · Kopf ---------- */
.uu-zahlen dd { font-size: clamp(30px, 2.6vw, 44px); font-variant-numeric: tabular-nums; }
.uu-polaroid {
  margin: 0 0 0 auto; width: min(100%, 440px); padding: 18px 18px 0; background: var(--weiss);
  box-shadow: 0 30px 70px rgba(37,0,38,.18), 0 2px 0 rgba(37,0,38,.08); transform: rotate(4deg); position: relative;
}
.uu-polaroid::before {
  content: ""; position: absolute; left: 50%; top: -14px; width: 110px; height: 30px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(116,241,235,.75); box-shadow: 0 2px 4px rgba(37,0,38,.08);
}
.uu-polaroid-bild { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tinte); }
.uu-polaroid-bild .bild-innen, .uu-polaroid-bild [data-cms-bild] { position: absolute; inset: 0; }
.uu-polaroid-bild img { width: 100%; height: 100%; object-fit: cover; }
.uu-polaroid-bild .bild-innen {
  background:
    url("../img/flamingo-ganz.webp") 62% 30% / 120% auto no-repeat,
    radial-gradient(70% 60% at 30% 25%, rgba(237,30,121,.35), transparent 60%),
    linear-gradient(160deg, #fff4f8, var(--ice));
}
.uu-polaroid figcaption { padding: 18px 4px 22px; font: 400 italic clamp(20px, 1.7vw, 26px)/1.2 var(--serif); text-align: center; }

/* ---------- 2 · Warum eigentlich Flamingo? ---------- */
.uu-warum { background: var(--papier); }
.uu-spur-buehne { position: relative; overflow: hidden; }
.uu-spur { display: flex; width: max-content; }
.uu-tafel {
  position: relative; width: 100vw; height: 100vh; height: 100svh; flex: none;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: center;
  padding: calc(var(--kopf-h) + 3vh) var(--rand) 8vh; overflow: hidden;
}
.uu-tafel:nth-child(odd) { background: var(--papier); }
.uu-tafel:nth-child(even) { background: #fff6fa; }
.uu-tafel--grau { background: #f3f1f3 !important; }
/* Letzte Tafel: Werbung muss auffallen … vor einer Wand, auf der alles gleich laut und gleich grau ist */
.uu-tafel--auffallen { background: #ecebee !important; }
.uu-tafel-satz--gross { font-size: clamp(48px, 6vw, 118px); line-height: .9; }
.uu-plakatwand { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); align-content: center; }
.uu-plakat {
  aspect-ratio: 3 / 4; padding: 14% 12%; border-radius: 4px; background: #d8d6db;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7%;
  box-shadow: 0 6px 16px rgba(37, 0, 38, .07);
}
.uu-plakat b { font: 700 clamp(16px, 1.9vw, 34px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.02em; color: #a8a5ad; margin-bottom: auto; }
.uu-plakat i { display: block; height: 7%; border-radius: 2px; background: #c5c2c9; }
.uu-plakat i + i { width: 62%; }
.uu-plakat:nth-child(3n) { background: #dddbe0; transform: rotate(-1.5deg); }
.uu-plakat:nth-child(4n+1) { transform: rotate(1.2deg); }
.uu-plakat:nth-child(5n) { background: #d2d0d6; }
.uu-tafel-text { position: relative; z-index: 2; max-width: 40rem; }
.uu-tafel-titel { font: 700 clamp(44px, 6vw, 112px)/.9 var(--display); letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 36px; }
.uu-tafel-titel em, .uu-tafel-satz em, .uu-tafel-gross em, .uu-saetze em, .uu-finale-text em {
  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.03em; font-variation-settings: "opsz" 144; color: var(--pink);
}
.uu-saetze li { font: 700 clamp(22px, 2.2vw, 38px)/1.1 var(--display); text-transform: uppercase; letter-spacing: -.02em; padding: 14px 0; border-top: 1.5px solid var(--tinte); }
.uu-saetze li:last-child { border-bottom: 1.5px solid var(--tinte); }
.uu-tafel-satz { font: 700 clamp(30px, 3.4vw, 62px)/1 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.uu-tafel-satz--lang { font: 400 clamp(20px, 1.7vw, 28px)/1.45 var(--text); text-transform: none; letter-spacing: 0; color: var(--tinte-2); }
.uu-tafel-satz--lang em { font-size: 1.3em; }
.uu-tafel-gross { max-width: 22ch; font: 400 clamp(34px, 4.4vw, 80px)/1.08 var(--serif); letter-spacing: -.025em; font-variation-settings: "opsz" 144; }
.uu-tafel-gross em { color: var(--pink); }
.uu-grafik { position: relative; height: min(70vh, 640px); }
.uu-zaehler { position: absolute; right: var(--rand); bottom: 28px; z-index: 4; font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--grau); }
.uu-zaehler b { color: var(--tinte); font-weight: 600; }   /* Pink auf Hellgrau hatte zu wenig Kontrast (23.10.2026) */

/* Läufer: geht am Stand mit, während die Tafeln vorbeiziehen (js/flamingo.js, Rolle laufen) */
.uu-laeufer { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(220px, 34vh, 380px); z-index: 3; pointer-events: none; }
.uu-laeufer > svg { width: 100%; height: 100%; }
.uu-laeufer > img { position: absolute; left: 40%; bottom: 0; height: 100%; width: auto; }


/* ---------- 3 · Finale ---------- */
/* Stadt als Bühne (Bildplatz uu-finale-wald, seit 18.10.2026 die Wien-Skyline): weißer Grund, das Bild ganz zu sehen,
   kleiner als die Fläche und unten bündig, rundherum Weiß. Der Flamingo springt von der Spur herein
   (js/ueber-uns.js, finale) und landet unten im Weiß, die Stadt liegt hinter ihm. */
.uu-finale { position: relative; height: 100vh; height: 100svh; overflow: visible; background: var(--weiss) !important; display: grid; align-items: start; justify-items: start; color: var(--tinte); }
.uu-finale-wald { position: absolute; left: var(--rand); right: var(--rand); top: 30%; bottom: 26%; overflow: hidden; z-index: 0; }
.uu-finale-wald picture, .uu-finale-wald img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; }
/* Text oben links, der Flamingo landet links der Mitte, zwischen Stephansdom und Rathaus (js/flamingo.js, Rolle huepfen) */
.uu-finale-vogel { position: absolute; left: calc(50% - 4vw); bottom: 6vh; height: min(46vh, 520px); aspect-ratio: 1380 / 1550; z-index: 2; pointer-events: none; }
.uu-finale-vogel > img, .uu-finale-vogel > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.uu-finale-vogel.laeuft > img { display: none; }
.uu-finale-text {
  position: relative; z-index: 3; margin: calc(var(--kopf-h) + 5vh) var(--rand) 0; max-width: 22ch;
  font: 700 clamp(40px, min(4.8vw, 8vh), 96px)/.92 var(--display); letter-spacing: -.035em; text-transform: uppercase; color: var(--tinte);
}

/* ---------- 4 · Werte als Kartenstapel ---------- */
/* clip statt hidden: die schräg gelegten Karten ragten am Handy ein paar Pixel über den Rand, die Seite ließ sich
   seitlich verschieben (24.10.2026); hidden würde das Kleben der Karten verhindern */
.uu-werte { padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px); overflow-x: clip; }
.uu-werte-kopf { margin-bottom: clamp(40px, 8vh, 90px); }
.uu-karten { display: grid; gap: 0; }
.uu-karte {
  position: sticky; top: calc(var(--kopf-h) + 14px + var(--i, 0) * 18px);
  min-height: min(68vh, 560px); margin-bottom: 8vh; border-radius: 32px; padding: clamp(28px, 4vw, 64px);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: 12px clamp(24px, 4vw, 64px); align-content: start;
  box-shadow: 0 -10px 40px rgba(37,0,38,.12); transform-origin: 50% 0;
}
.uu-karte:last-child { margin-bottom: 0; }
.uu-karte:nth-child(1) { --i: 0; background: var(--pink); color: var(--weiss); }
.uu-karte:nth-child(2) { --i: 1; background: var(--tinte); color: var(--weiss); }
.uu-karte:nth-child(3) { --i: 2; background: var(--ice); color: var(--tinte); }
.uu-karte:nth-child(4) { --i: 3; background: var(--tuerkis2); color: var(--tinte); }
.uu-karte:nth-child(5) { --i: 4; background: var(--weiss); color: var(--tinte); border: 2px solid var(--tinte); }
.uu-karte:nth-child(6) { --i: 5; background: #ffd1e3; color: var(--tinte); }
/* Umriss-Ziffer: Strichfarbe je Karte (currentColor wäre hier transparent) */
.uu-karte-nr { grid-row: 1 / 3; font: 700 clamp(90px, 13vw, 230px)/.8 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--strich, var(--tinte)); }
.uu-karte:nth-child(1) { --strich: var(--weiss); }
.uu-karte:nth-child(3), .uu-karte:nth-child(4) { --strich: var(--tinte); }
.uu-karte:nth-child(6) { --strich: var(--pink); }
.uu-karte h3 { align-self: end; max-width: 16ch; font: 700 clamp(34px, 4.4vw, 82px)/.95 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.uu-karte p { max-width: 34em; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.5; opacity: .92; }
.uu-karte:nth-child(2), .uu-karte:nth-child(5) { --strich: var(--pink); }
.uu-haltung { max-width: none; margin-top: clamp(80px, 14vh, 160px); font-size: clamp(48px, 8.4vw, 168px); }
/* „Bunt, laut und mit Haltung:“ bunt, „Flamingo Agency.“ Berry. Seit 23.10.2026 feste Farben je Wort (Emre):
   Bunt Pink, laut Türkis, und Berry, mit Haltung Gelb. Sie stehen als Wortfarben im Text (im Editor änderbar),
   die wandernden Farben beim Scrollen sind weg. */
.uu-haltung { color: var(--pink); }
/* Als eigene ganze Seite: bildschirmhoch, Satz in der Mitte (js/ueber-uns.js hält sie beim Scrollen kurz an) */
.rahmen:has(> .uu-haltung) { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--papier); }
.rahmen:has(> .uu-haltung) .uu-haltung { margin: 0; font-size: clamp(56px, 10vw, 200px); }
.uu-haltung em, .uu-haltung em .w { color: var(--tinte) !important; }

/* ---------- Ruhig, Editor, Handy: alles untereinander ---------- */
.ruhig .uu-spur, .ruhig .uu-tafel { display: block; width: auto; height: auto; }
.ruhig .uu-tafel { padding: 12vh var(--rand); }
.ruhig .uu-grafik { margin-top: 40px; }
.ruhig .uu-zaehler { display: none; }
.ruhig .uu-finale { height: auto; min-height: 90vh; padding-bottom: 50vh; }
.ruhig .uu-karte { position: relative; top: auto; }

@media (max-width: 900px) {
  .uu-polaroid { margin: 20px auto 0; width: min(86%, 380px); }
  .uu-spur { display: block; width: auto; }
  .uu-tafel { width: auto; height: auto; min-height: 0; grid-template-columns: 1fr; padding: 80px var(--rand); }
  .uu-grafik { height: min(60vh, 420px); }
  .uu-zaehler { display: none; }
  .uu-spur-buehne { overflow: clip; }   /* hidden würde das Kleben verhindern */
  .uu-finale-text { margin-top: calc(var(--kopf-h) + 4vh); max-width: none; font-size: 12vw; }
  /* hochkant: die ganze Stadt über die Breite, darunter Weiß; der Flamingo steht rechts davor */
  .uu-finale-wald { top: auto; bottom: 22%; height: calc((100vw - 2 * var(--rand)) * 560 / 1600); }
  .uu-finale-vogel { left: auto; right: 6vw; bottom: 4vh; height: 34vh; }
  .uu-karte { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 32px 24px; margin-bottom: 4vh; }
  .uu-karte h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }   /* lange Wörter auf kleinen Handys */
  .uu-karten { grid-template-columns: minmax(0, 1fr); }
  .uu-karte-nr { grid-row: auto; font-size: 80px; }
}

/* =====================================================================================================
   2 · Warum eigentlich Flamingo? Die Strecke mit Ei, Küken und Läufer (js/ueber-uns.js, strecke)
   ===================================================================================================== */
/* ---------- Tafel 1: Ei ---------- */
.ei-tafel { display: grid !important; grid-template-columns: 1fr !important; align-content: center; padding: var(--kopf-h) calc(var(--rand) + 5vw) 4vh !important; background: var(--papier) !important; }
.ei-warum { display: block; font: 700 clamp(34px, 5vw, 92px)/.95 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.ei-flamingo { display: block; margin: .02em 0 0 -.03em; white-space: nowrap;
  font: 400 italic clamp(120px, min(21vw, 38vh), 400px)/.9 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.04em; color: var(--pink); }
.ei { position: relative; display: inline-block; height: .8em; width: calc(.8em * 609 / 938); margin: 0 .12em 0 .06em; vertical-align: -.04em; transform-origin: 50% 96%; }
.ei-schale { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Am Anfang steht hier ein echtes o; beim ersten Scrollen wird es zum Ei */
.ei-o { position: absolute; left: 0; right: 0; bottom: -.105em; z-index: 5; text-align: center; line-height: 1; pointer-events: none; }
.ei-oben  { clip-path: polygon(0 0, 100% 0, 100% 50%, 90% 45%, 80% 53%, 70% 46%, 60% 54%, 50% 45%, 40% 55%, 30% 46%, 20% 54%, 10% 44%, 0 50%); z-index: 3; }
.ei-unten { clip-path: polygon(0 50%, 10% 44%, 20% 54%, 30% 46%, 40% 55%, 50% 45%, 60% 54%, 70% 46%, 80% 53%, 90% 45%, 100% 50%, 100% 100%, 0 100%); z-index: 2; }
.ei-riss { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; overflow: visible; pointer-events: none; }
.ei-riss path { fill: none; stroke: #6b4a3a; stroke-width: .9; stroke-linejoin: round; stroke-linecap: round; }
/* Geschlüpfter Flamingo (js/flamingo.js, Rolle huepfen): Box 260 50 1380 1550, Körpermitte x 54,7 %, Füße y 99,4 % */
.ei-kueken { position: absolute; z-index: 1; left: 50%; bottom: 2%; width: 170%; aspect-ratio: 1380 / 1550; margin-left: -93%;
  filter: grayscale(1) brightness(1.5) contrast(.62); opacity: 0; clip-path: inset(0% 0% 8% 0%); }
.ei-kueken > img, .ei-kueken > svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ---------- Boden: gestrichelt, zieht mit den Tafeln durch ---------- */
.uu-tafel { position: relative; }
.uu-tafel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 2px dashed rgba(237, 30, 121, .55); }
.ei-tafel::after { opacity: 0; }
.ei-tafel.boden-an::after { opacity: 1; transition: opacity .3s; }

/* ---------- Läufer: kommt aus dem Ei, ist erst grau und klein (js setzt Lage, Größe, Farbe) ----------
   Nur quer ab 901 px (Desktop, Tablet quer). Handy und Tablet hochkant: siehe unten, dort hüpft er von Tafel zu Tafel. */
@media (min-width: 901px) and (orientation: landscape), (min-width: 1101px) {
  .uu-laeufer { height: clamp(300px, 52vh, 560px); visibility: hidden; filter: grayscale(1) brightness(1.5) contrast(.62); }
  .uu-laeufer svg line { display: none; }   /* der Boden kommt von den Tafeln */
  /* Übergabe: ab dem Ende des Ei-Teils läuft der Läufer, das Küken ist weg (Klasse an der Bühne, js) */
  .uebergeben .uu-laeufer { visibility: visible; }
  .uebergeben .ei-kueken { visibility: hidden !important; }
  .uu-laeufer.weg { opacity: 0; }
}
/* ---------- Teamplayer: drei Flamingos stehen herum ---------- */
.herde-vogel { position: absolute; bottom: 0; aspect-ratio: 1760 / 1555; pointer-events: none; z-index: 1; }
.herde-vogel > img { position: absolute; left: 13%; bottom: 0; height: 97%; width: auto; }
.herde-vogel > svg { width: 100%; height: 100%; display: block; overflow: visible; }
.herde-vogel.laeuft > img { display: none; }
.herde-vogel--1 { left: 30%; height: 40vh; }
.herde-vogel--2 { left: 50%; height: 30vh; }
.herde-vogel--3 { left: 78%; height: 46vh; }
.uu-tafel--herde .uu-tafel-text { align-self: start; margin-top: 6vh; }

/* ---------- Küken: liegt in der Zeichenfläche der Puppe (gleiche Box), js unten bewegt es ----------
   --kueken: 1 Küken, 0 Puppe. In „Charakter“ wächst es und wird dabei zur Puppe. */
.mit-kueken { --kueken: 1; }
.mit-kueken > svg > g:not(.kueken-fig) { opacity: calc(1 - var(--kueken)); }
.kueken-fig { opacity: var(--kueken); }

/* ---------- Charakter: Satz aufgelockert über die Tafel, die Eigenschaften werden markiert ---------- */
.uu-tafel--eigen { grid-template-columns: minmax(0, 1fr); padding-left: calc(var(--rand) + 5vw); }
.uu-tafel--eigen .uu-tafel-text { max-width: none; }
.eigen-satz { font-size: clamp(34px, min(4.6vw, 8.4vh), 96px); line-height: 1.02; }
.eigen-satz > span { display: block; }
.eigen-z2 { margin-left: 1.4em; } .eigen-z3 { margin-left: 3.1em; } .eigen-z4 { margin-left: .7em; }
.uu-tafel--eigen .nachsatz { font-size: clamp(34px, min(4.6vw, 8.4vh), 96px); line-height: 1.02; }
.uu-tafel--eigen mark { --m: 0%; color: inherit; padding: 0 .06em; margin: 0 -.06em;
  background: linear-gradient(transparent 56%, var(--marker) 56% 90%, transparent 90%) no-repeat 0 0 / var(--m) 100%; }
.eigen-z2 mark { --marker: var(--tuerkis2); }
.eigen-z3 mark { --marker: #ffc1d9; }
.eigen-z4 mark { --marker: rgba(255, 151, 0, .5); }
.nachsatz mark { --marker: rgba(255, 151, 0, .38); }
/* Der letzte Satz steht rechts oben in der freien Fläche und kommt etwas später (js) */
.uu-tafel .nachsatz { position: absolute; z-index: 2; right: calc(var(--rand) + 4vw); top: calc(var(--kopf-h) + 7vh); text-align: right; }
.nachsatz > * { display: block; }
.input-wort { display: inline; }
/* „ziemlich komisch“: beim Kichern steigen kleine „hi“ von seinem Kopf auf (js) */
.kicher { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; white-space: nowrap;
  font: italic 400 clamp(20px, 1.8vw, 30px)/1 var(--serif); font-variation-settings: "opsz" 144; color: var(--pink); }
/* „Input.“ fällt in den Schnabel des Kükens (js): eine fliegende Kopie über allem */
.input-flug { position: fixed; left: 0; top: 0; z-index: 60; display: none; pointer-events: none; white-space: nowrap; will-change: transform; }

/* ---------- Sie sind überall: die Fanartikel tauchen nacheinander auf, während er vorbeigeht ---------- */
.uu-tafel--fans { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.fan-ding { position: absolute; width: 25%; filter: drop-shadow(0 14px 22px rgba(37, 0, 38, .2)); }
.fan-ding > img { display: block; width: 100%; height: auto; max-width: none; }
/* sechs Artikel in zwei versetzten Reihen, nach x sortiert (so tauchen sie der Reihe nach auf); Breiten nach Seitenverhältnis */
.fan-ding:nth-child(1) { left: 0;   top: 6%;  width: 30%; --dreh: -6deg; }   /* Plakat 1:1 */
.fan-ding:nth-child(2) { left: 10%; top: 50%; width: 22%; --dreh: 5deg; }    /* Sticker hoch */
.fan-ding:nth-child(3) { left: 35%; top: 0;   width: 29%; --dreh: -3deg; }   /* Plüschtier */
.fan-ding:nth-child(4) { left: 38%; top: 45%; width: 31%; --dreh: 4deg; }    /* Luftmatratze */
.fan-ding:nth-child(5) { left: 71%; top: 1%;  width: 15%; --dreh: 3deg; }    /* Teichstatue schmal und hoch */
.fan-ding:nth-child(6) { left: 73%; top: 47%; width: 25%; --dreh: -4deg; }   /* Poster */
.fan-ding:nth-child(1) > img, .fan-ding:nth-child(6) > img { border-radius: 6px; }   /* Plakat und Poster */

/* ---------- Auffallen: alle Plakate gleich grau, aber alle schauen ihm nach; er stellt sich in den leeren Rahmen ---------- */
.uu-plakat { position: relative; }
.augen { position: absolute; left: 50%; top: 50%; display: flex; gap: 8%; width: 52%; transform: translate(-50%, -50%); }
.auge { position: relative; flex: 1; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #c5c2c9; animation: zwinkern 6s infinite var(--zw, 0s); }
.auge::after { content: ""; position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; border-radius: 50%; background: var(--tinte);
  transform: translate(var(--px, 0), var(--py, 0)); }
@keyframes zwinkern { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.uu-plakat:nth-child(3n) .auge { --zw: -2s; } .uu-plakat:nth-child(3n+1) .auge { --zw: -4.3s; } .uu-plakat:nth-child(4n) .auge { --zw: -1.1s; }
/* Rahmen: erst eine leere, gestrichelte Werbefläche; ist er drin, wird sie pink, blitzt kurz, Striche wie im Comic */
.plakat-rahmen { position: absolute; bottom: 0; z-index: 2; pointer-events: none; border: 3px dashed #c5c2c9; border-bottom: 0; border-radius: 6px 6px 0 0;
  transition: border-color .3s, background-color .3s; }
.plakat-rahmen > span { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font: 500 13px/1 var(--mono); letter-spacing: .06em; color: #a8a5ad; transition: opacity .3s; }
.plakat-rahmen > i { position: absolute; width: 5px; height: 9%; border-radius: 3px; background: var(--pink); transform: scaleY(0); transition: transform .35s cubic-bezier(.3, 1.8, .5, 1); }
.plakat-rahmen > i:nth-of-type(1) { left: -30px; top: -2%;  rotate: -40deg; }
.plakat-rahmen > i:nth-of-type(2) { left: -44px; top: 12%;  rotate: -70deg; }
.plakat-rahmen > i:nth-of-type(3) { left: 50%;   top: -16%; }
.plakat-rahmen > i:nth-of-type(4) { right: -30px; top: -2%; rotate: 40deg; }
.plakat-rahmen > i:nth-of-type(5) { right: -44px; top: 12%; rotate: 70deg; }
.plakat-rahmen > i:nth-of-type(6) { left: 30%;   top: -12%; rotate: -20deg; }
.plakat-rahmen::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; }
.angekommen .plakat-rahmen { border-style: solid; border-color: var(--pink); background-color: rgba(237, 30, 121, .06); }
.angekommen .plakat-rahmen > span { opacity: 0; }
.angekommen .plakat-rahmen > i { transform: scaleY(1); }
.angekommen .plakat-rahmen > i:nth-of-type(even) { transition-delay: .08s; }
.angekommen .plakat-rahmen::before { animation: blitz .5s ease-out; }
@keyframes blitz { 0% { opacity: .9; } 100% { opacity: 0; } }
@media (min-width: 901px) and (orientation: landscape), (min-width: 1101px) {
  /* Plakatwand als Band oben über die ganze Tafel, der Satz unten links, unten rechts der Rahmen (dort steht er am Ende) */
  .uu-tafel--auffallen { --fx: .73; --laeufer-h: clamp(300px, 52vh, 560px); }
  .uu-tafel--auffallen .uu-tafel-text { align-self: end; margin-bottom: 5vh; }
  .uu-tafel--auffallen .uu-plakatwand { position: absolute; left: var(--rand); right: var(--rand); top: calc(var(--kopf-h) + 2vh);
    height: calc(100% - var(--kopf-h) - 2vh - var(--laeufer-h) * 1.06 - 4vh); display: grid; align-content: stretch;
    grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .uu-tafel--auffallen .uu-plakat { aspect-ratio: auto; padding: 9% 10%; }
  .uu-tafel--auffallen .augen { width: 40%; top: 54%; }
  .uu-tafel--auffallen .plakat-rahmen { height: calc(var(--laeufer-h) * 1.04); width: calc(var(--laeufer-h) * .66); left: calc(var(--fx) * 100%); translate: -50% 0; }
}

/* Je Tafel ein Flamingo, nur hochkant zu sehen: er hüpft am Ende jeder Tafel von der vorigen herunter (js).
   Box wie die Puppe im Finale (Rolle huepfen, 260 50 1380 1550). --gross: Größe (wächst in „Charakter“),
   --grau: 1 hellgrau, 0 pink (wird in „grau geboren“ pink). */
.uu-hupf { display: none; position: absolute; right: var(--rand); bottom: 0; height: 30vh; aspect-ratio: 1380 / 1550; z-index: 3; pointer-events: none;
  visibility: hidden; --gross: 1; --grau: 0;
  filter: grayscale(var(--grau)) brightness(calc(1 + .5 * var(--grau))) contrast(calc(1 - .38 * var(--grau))); }
.uu-hupf > img, .uu-hupf > svg { display: block; width: 100%; height: 100%; overflow: visible; transform: scale(var(--gross)); transform-origin: 50% 100%; }
.uu-hupf.laeuft > img { display: none; }
.ei-kueken.weg, .uu-hupf.weg { visibility: hidden !important; }

/* Handy und Tablet hochkant: Tafeln untereinander, kein Läufer */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  .uu-spur { display: block; width: auto; }
  .uu-tafel { width: auto; height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); padding: 80px var(--rand) calc(36vh + 24px); }
  .uu-grafik { height: min(60vh, 420px); }
  .uu-zaehler, .uu-laeufer { display: none; }
  .uu-spur-buehne { overflow: clip; }
  .uu-hupf { display: block; z-index: 1; }   /* hüpft hinter den Sätzen durch, nicht über sie (21.10.2026) */
  .ei-tafel { padding-inline: var(--rand) !important; min-height: 100svh; }
  .ei-flamingo { font-size: clamp(76px, 22vw, 200px); }
  /* Die Herde steht nebeneinander am Boden, unser Flamingo landet rechts daneben */
  .herde-vogel--1 { left: -2%; height: 21vh; }
  .herde-vogel--2 { left: 22%; height: 15vh; }
  .herde-vogel--3 { left: 40%; height: 24vh; }
  .uu-tafel--eigen { padding-left: var(--rand); }
  .eigen-satz { font-size: clamp(30px, 10vw, 64px); }
  .eigen-z2 { margin-left: .8em; } .eigen-z3 { margin-left: 1.6em; } .eigen-z4 { margin-left: .4em; }
  .uu-tafel .nachsatz { position: static; margin-top: .8em; }
  .uu-tafel--eigen .nachsatz { font-size: clamp(30px, 10vw, 64px); }
  /* Fanartikel: lockeres Zweierraster, jeder taucht einzeln auf, während er an ihm vorbeifällt */
  .uu-tafel--fans .fan-feld { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 8%; width: min(100%, 420px); margin-top: 24px; }
  .fan-ding, .fan-ding:nth-child(n) { position: relative; left: auto; top: auto; width: 100%; }
  .fan-ding:nth-child(even) { margin-top: 48px; }
  /* Auffallen: Wand als Raster, der Rahmen steht um den Platz, auf dem er landet (.uu-hupf rechts unten, 30vh) */
  .uu-tafel--auffallen .uu-plakatwand { height: auto; }
  .plakat-rahmen { right: calc(var(--rand) - 1vh); height: 33vh; width: calc(30vh * 1380 / 1550 + 2vh); }
  .plakat-rahmen > span { font-size: 11px; }
}

/* ---------- Ruhig und Editor: alles untereinander und still. Das Ei bleibt ein o, die Küken und Springer
   sind weg, die Sätze stehen unter dem Text, die Plakatwand ist ein Raster. ---------- */
.ruhig .ei-tafel { min-height: 0; padding: calc(var(--kopf-h) + 10vh) var(--rand) 10vh !important; }
.ruhig .ei { margin: 0 -.02em 0 -.03em; }
.ruhig .ei-schale, .ruhig .ei-riss, .ruhig .ei-kueken, .ruhig .uu-hupf, .ruhig .uu-laeufer, .ruhig .plakat-rahmen { display: none; }
.ruhig .uu-tafel::after { display: none; }
.ruhig .uu-tafel .nachsatz { position: static; margin-top: .8em; text-align: left; }
.ruhig .uu-tafel--herde { min-height: 80vh; }
.ruhig .uu-tafel--auffallen .uu-plakatwand { position: static; height: auto; }
.ruhig .uu-tafel--auffallen .uu-plakat { aspect-ratio: 3 / 4; }
.ruhig .uu-finale-vogel { visibility: visible; }
.ruhig .uu-tafel--eigen mark { --m: 100%; }

/* =====================================================================================================
   7 · KI-Manifest (nach dem Team). Dunkel in Berry, die Kopfzeile wird darüber hell (data-kopf-hell).
   Titel links klebt (.us-zwei), rechts der Text; zwei Sätze sind groß gesetzt, Vision und Mission nebeneinander.
   ===================================================================================================== */
.us main > section.uu-manifest { position: relative; padding: clamp(90px, 16vh, 180px) 0; background: var(--tinte); color: var(--weiss); }
.uu-manifest .kicker { color: var(--dunkel-grau); }
.uu-manifest .us-h2 { color: var(--weiss); }
.uu-manifest .us-h2 em { color: var(--pink); }
.uu-manifest .us-fliess { max-width: 46rem; }
.uu-manifest .us-fliess p { color: var(--dunkel-text); }
.uu-manifest .us-fliess > * + * { margin-top: 1.1em; }
.uu-manifest-auftakt { font: 400 clamp(24px, 2.2vw, 36px)/1.3 var(--serif) !important; letter-spacing: -.01em; color: var(--weiss) !important; }
.uu-manifest-satz {
  margin: 1.6em 0 !important; padding: .9em 0; border-top: 1.5px solid var(--pink); border-bottom: 1.5px solid var(--pink);
  font: 700 clamp(30px, 3.4vw, 58px)/1 var(--display) !important; letter-spacing: -.03em; text-transform: uppercase; color: var(--weiss) !important;
}
.uu-manifest-satz em, .uu-manifest-schluss em {
  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; font-variation-settings: "opsz" 144; color: var(--pink);
}
.uu-manifest-schluss { margin-top: 1.6em !important; font: 700 clamp(24px, 2.4vw, 40px)/1.08 var(--display) !important; letter-spacing: -.02em; text-transform: uppercase; color: var(--weiss) !important; }
.uu-manifest-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 8vh, 90px) !important; padding-top: clamp(32px, 5vh, 56px); border-top: 1px solid var(--dunkel-linie); }
.uu-manifest-zwei h3 { margin-bottom: .8em; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-auf-dunkel); }
.uu-manifest-zwei p { font-size: clamp(16px, 1.15vw, 18px) !important; }
@media (max-width: 900px) {
  .uu-manifest-zwei { grid-template-columns: minmax(0, 1fr); }
  .uu-manifest-satz { font-size: clamp(24px, 7.2vw, 40px) !important; }   /* ohne Silbentrennung: „Wettbewerbsfähigkeit“ passt so in die Zeile */
}
