/* ============================================================
   AUREON — Poster-Kacheln (nach den Allegra-Referenzen)
   Jede Kachel ist eine eigenständige Komposition: Nummer + Label,
   Versal-Headline in 2–3 Zeilen (letzte Zeile farbig), kleiner Text,
   Tier-Freisteller rechts, dunkelgrüne Eckblöcke, feine Linien.
   Alle Größen skalieren mit der Kachelbreite (cqw).
   ============================================================ */

:root {
  --wall: #e6e5e0;        /* Hintergrund „Wand“ */
  --tile: #f6f5f1;        /* Kachel hell */
  --tile-edge: rgba(0, 0, 0, .06);
}
body.posters { background: var(--wall); }

.wall { padding: 10px; max-width: 1680px; margin: 0 auto; }
.wall-grid { display: grid; gap: 10px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.span-6 { grid-column: span 6; } .span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
@media (max-width: 1100px) { .span-2 { grid-column: span 3; } }
@media (max-width: 760px) { .wall-grid > * { grid-column: span 6 !important; } }

/* Abschnitts-Zwischenzeile (klein, ruhig) */
.wall-head { grid-column: span 6; display: flex; align-items: center; gap: 18px; padding: 44px 10px 14px; }
.wall-head .num { font-family: var(--serif); font-size: 14px; letter-spacing: .12em; }
.wall-head .rule { width: 30px; height: 1px; background: var(--gold); }
.wall-head .label { font-size: 10px; letter-spacing: .34em; }
.wall-head .more { margin-left: auto; }

/* ---------- Kachel ---------- */
.poster {
  position: relative; overflow: hidden; container-type: inline-size;
  background: var(--tile); border: 1px solid var(--tile-edge);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 48px -24px rgba(0, 0, 0, .18);
  display: grid; grid-template-columns: 1fr 1fr; color: var(--ink);
}
.poster.sq { aspect-ratio: 1 / 1; }
.poster.wide { aspect-ratio: 3 / 2; }
.poster.pano { aspect-ratio: 3 / 1; }
.poster.dark { background: var(--deep); color: var(--ivory-on-dark); }
.poster.forest { background: var(--forest); color: var(--ivory-on-dark); }
.poster.stack { grid-template-columns: 1fr; }
.poster.copy-only { grid-template-columns: 1fr; }

.poster .copy { position: relative; z-index: 3; padding: 8cqw 7cqw 7cqw 8cqw; display: flex; flex-direction: column; }
.poster .copy.mid { justify-content: center; }
.poster .copy.bottom { justify-content: flex-end; }
.poster .media { position: relative; z-index: 2; }
.poster .media img.cut { position: absolute; right: -2%; bottom: 0; width: 104%; height: 92%; object-fit: contain; object-position: right bottom; filter: grayscale(1) contrast(1.03); }
.poster .media img.cut.center { right: 0; width: 100%; object-position: center bottom; }
.poster .media img.cut.mid { top: 50%; bottom: auto; transform: translateY(-50%); height: 80%; object-position: right center; }
.poster .media img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.poster.dark .media img.cut, .poster.forest .media img.cut { filter: grayscale(1) contrast(1.05) brightness(1.02); }

/* Nummer + Label (01 —— TAX) */
.poster .kicker { display: flex; align-items: center; gap: 1.6cqw; margin-bottom: 4.2cqw; }
.poster .kicker .num { font-family: var(--serif); font-size: 2.6cqw; letter-spacing: .1em; }
.poster .kicker .rule { width: 3.4cqw; height: 1px; background: currentColor; opacity: .5; }
.poster .kicker .lbl { font-size: 1.35cqw; letter-spacing: .34em; text-transform: uppercase; font-weight: 500; opacity: .75; }
.poster.dark .kicker .rule, .poster.forest .kicker .rule { background: var(--gold); opacity: 1; }
.poster.dark .kicker .lbl, .poster.forest .kicker .lbl { color: var(--gold); opacity: 1; }

/* Headline */
.poster .head {
  font-family: var(--serif); font-weight: 500; text-transform: uppercase;
  font-size: 5.1cqw; line-height: 1.16; letter-spacing: .07em; text-wrap: balance;
}
.poster.wide .head { font-size: 3.9cqw; }
.poster.pano .head { font-size: 2.8cqw; }
.poster .head .acc { color: var(--forest); }
.poster.dark .head .acc { color: var(--sage); }
.poster.gold .head .acc, .poster.dark.gold .head .acc { color: var(--gold); }
.poster .head .sub { display: block; font-size: .62em; letter-spacing: .1em; margin-top: .5em; color: var(--gold); font-weight: 400; }

/* Text & Links */
.poster .txt { font-size: 1.85cqw; line-height: 1.75; margin-top: 3.4cqw; max-width: 24em; opacity: .82; font-weight: 300; }
.poster.wide .txt { font-size: 1.45cqw; max-width: 26em; }
.poster.pano .txt { font-size: 1.15cqw; }
.poster .foot { margin-top: auto; padding-top: 4cqw; display: flex; align-items: center; gap: 2cqw; font-size: 1.25cqw; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; }
.poster .foot .l { width: 4cqw; height: 1px; background: currentColor; }
.poster.wide .foot { font-size: 1cqw; }
.poster .go { position: absolute; inset: 0; z-index: 5; }

/* Logo in Kachel */
.poster .logo { display: flex; align-items: center; gap: 1.6cqw; margin-bottom: 6cqw; }
.poster .logo img { height: 5.2cqw; width: auto; }
.poster .logo .w { font-size: 2.4cqw; letter-spacing: .36em; text-transform: uppercase; font-weight: 500; }
.poster .logo .t { display: block; font-size: 1cqw; letter-spacing: .3em; text-transform: uppercase; opacity: .6; margin-top: .3em; }
.poster .mark { position: absolute; left: 8cqw; bottom: 7cqw; height: 5cqw; z-index: 4; opacity: .9; }
.poster .mark.r { left: auto; right: 7cqw; }

/* Dekor: grüne Blöcke & Linien (Allegra-Signatur) */
.poster .blk { position: absolute; background: var(--deep); z-index: 2; }
.poster.dark .blk, .poster.forest .blk { background: var(--ivory); opacity: .92; }
.poster .blk.gold { background: var(--gold); }
.poster .blk.br { right: 0; bottom: 0; width: 13%; height: 9%; }
.poster .blk.bl { left: 0; bottom: 0; width: 13%; height: 9%; }
.poster .blk.tl { left: 0; top: 0; width: 5%; height: 34%; }
.poster .blk.tr { right: 0; top: 0; width: 5%; height: 40%; }
.poster .blk.rail { right: 0; top: 0; bottom: 0; width: 3.2%; }
.poster .blk.foot { left: 0; right: 0; bottom: 0; height: 6%; }
.poster .vline { position: absolute; left: 8cqw; top: 8cqw; width: 1px; height: 6cqw; background: currentColor; opacity: .7; }
.poster .frame { position: absolute; inset: 2.2%; border: 1px solid rgba(23, 32, 28, .12); pointer-events: none; z-index: 1; }
.poster.dark .frame { border-color: var(--line-on-dark); }

/* Geometrie in Kacheln */
.poster .geo { position: absolute; color: rgba(183, 154, 95, .8); z-index: 2; }
.poster.dark .geo { color: rgba(183, 154, 95, .75); }
.poster .geo.ink { color: rgba(23, 58, 48, .7); }
.poster .geo.fill { inset: 0; width: 100%; height: 100%; }
.poster .geo.spiral-r { right: 0; top: 0; width: 60%; height: 100%; }
.poster .geo.right-sq { right: 4%; top: 50%; width: 46%; aspect-ratio: 1; transform: translateY(-50%); height: auto; }
.poster .geo.circle-mid { left: 50%; top: 50%; width: 88%; aspect-ratio: 1; height: auto; transform: translate(-50%, -50%); }

/* Hero-Kachel mit Diagonale (Referenz: Löwe) */
.poster.hero { grid-template-columns: 1fr; }
.poster.hero .copy { width: 52%; padding: 6cqw 6cqw 7cqw 5cqw; background: var(--tile); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); z-index: 3; }
.poster.hero .media { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #edece7 0%, #dcdbd5 100%); }
.poster.hero .media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 45%, rgba(255,255,255,.7), transparent 70%); }
.poster.hero .head { font-size: 3.6cqw; }
.poster.hero .txt { font-size: 1.3cqw; max-width: 30em; }
.poster.hero .band { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: var(--deep); color: var(--ivory-on-dark); z-index: 4;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 3cqw; width: 62%; }
.poster.hero .band > div { text-align: center; padding: 0 1cqw; border-left: 1px solid var(--line-on-dark); }
.poster.hero .band > div:first-child { border-left: 0; }
.poster.hero .band svg { width: 2.8cqw; height: 2.8cqw; display: block; margin: 0 auto .8cqw; stroke: var(--ivory); fill: none; stroke-width: 1.2; }
.poster.hero .band .b1 { font-size: 1cqw; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.poster.hero .band .b2 { font-size: .95cqw; opacity: .7; margin-top: .3cqw; }
@media (max-width: 760px) {
  .poster.hero .copy { width: 100%; clip-path: none; }
  .poster.hero .media { position: relative; height: 70vw; }
  .poster.hero .band { position: relative; height: auto; clip-path: none; grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
  .poster.hero .band > div { border: 0; text-align: left; }
  .poster.hero .band svg { margin: 0 0 6px; width: 20px; height: 20px; }
  .poster.hero .band .b1 { font-size: 9px; } .poster.hero .band .b2 { font-size: 11px; }
}

/* Hero-Kachel B: Text | schmale Bildspalte | Rail (Referenz: Adler) */
.poster.hero-b { grid-template-columns: 1.1fr .9fr .14fr; }
.poster.hero-b .copy { padding: 8cqw 4cqw 6cqw 6cqw; }
.poster.hero-b .col { position: relative; }
.poster.hero-b .rail { position: relative; border-left: 1px solid var(--tile-edge); }
.poster.hero-b .rail .vt { position: absolute; top: 12%; left: 50%; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: .95cqw; letter-spacing: .34em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.poster.hero-b .rail .vl { position: absolute; top: 5%; left: 50%; width: 1px; height: 5%; background: var(--ink); }
.poster.hero-b .rail .sqr { position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.poster.hero-b .rail .sqr img { width: 45%; }
@media (max-width: 760px) { .poster.hero-b { grid-template-columns: 1fr; } .poster.hero-b .rail { display: none; } .poster.hero-b .col { min-height: 70vw; } }

/* Slogan-Leiste (Referenz unten) */
.poster.slogans { aspect-ratio: auto; grid-template-columns: auto 1fr auto; align-items: center; gap: 3cqw; padding: 2.4cqw 4cqw; }
.poster.slogans .line { width: 7cqw; height: 1px; background: var(--gold); }
.poster.slogans ul { display: flex; justify-content: space-around; gap: 2cqw; }
.poster.slogans li { font-size: 1cqw; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; line-height: 1.8; text-align: center; }
.poster.slogans li + li { border-left: 1px solid var(--line-on-dark); padding-left: 2cqw; }
.poster.slogans .brand { display: flex; align-items: center; gap: 1.2cqw; }
.poster.slogans .brand img { height: 3cqw; }
.poster.slogans .brand span { font-size: 1.3cqw; letter-spacing: .36em; text-transform: uppercase; font-weight: 500; }
.poster.slogans .brand small { display: block; font-size: .7cqw; letter-spacing: .3em; opacity: .6; margin-top: .3em; }
@media (max-width: 760px) { .poster.slogans { grid-template-columns: 1fr; } .poster.slogans .line, .poster.slogans .brand { display: none; } .poster.slogans ul { flex-wrap: wrap; justify-content: flex-start; gap: 14px; } .poster.slogans li { font-size: 9px; text-align: left; } .poster.slogans li + li { border: 0; padding: 0; } }

/* Icon-Liste (Referenz: Trust / Excellence / …) */
.poster .iconlist { display: flex; flex-direction: column; justify-content: center; gap: 2.2cqw; padding: 4cqw 3cqw; }
.poster .iconlist li { display: flex; align-items: center; gap: 1.4cqw; font-size: 1cqw; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.poster .iconlist svg { width: 1.8cqw; height: 1.8cqw; stroke: currentColor; fill: none; stroke-width: 1.1; }
.poster.tri { grid-template-columns: 1fr 1.6fr .7fr; }
@media (max-width: 760px) { .poster.tri { grid-template-columns: 1fr; } .poster.tri .media { height: 60vw; } }

/* Kacheln auf kleinen Screens: Bild unter Text */
@media (max-width: 760px) {
  .poster:not(.hero):not(.hero-b):not(.slogans):not(.copy-only) { grid-template-columns: 1fr; aspect-ratio: auto; }
  .poster .media { height: 62vw; }
  .poster .copy { padding: 24px 22px; }
  .poster .head { font-size: 26px; } .poster .txt { font-size: 13px; } .poster .kicker .num { font-size: 14px; } .poster .kicker .lbl { font-size: 9px; }
  .poster .foot { font-size: 9px; padding-top: 22px; }
}

/* Rahmen-Header über der Wand */
/* Header liegt über der ersten Kachel: Logo links, Menü rechts – ein Logo, keine Doppelung */
body.posters .header { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; backdrop-filter: none;
  padding: 30px max(10px + 5vw, calc((100% - 1680px) / 2 + 10px + 5vw)); transition: background .4s, padding .4s, border-color .4s; }
body.posters .header .brand img { height: 42px; }
body.posters .header .brand .word { font-size: 18px; letter-spacing: .38em; }
body.posters .header .brand .tag { font-size: 9px; }
body.posters .header.scrolled { background: rgba(230, 229, 224, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--tile-edge); padding-block: 12px; }
body.posters .header.scrolled .brand img { height: 30px; }
body.posters .header.scrolled .brand .word { font-size: 15px; }
body.posters .wall { padding-top: 10px; }
.poster.hero .copy { padding-top: 11cqw; }
.poster.page-tile .copy { padding-top: 8cqw; }
@media (max-width: 760px) { body.posters .header { padding: 16px 20px; } body.posters .header .brand img { height: 30px; } body.posters .header .brand .word { font-size: 15px; } .poster.hero .copy { padding-top: 96px; } .poster.page-tile .copy { padding-top: 96px; } }

/* ---------- Unterseiten als Kacheln ---------- */
.poster.auto { aspect-ratio: auto; grid-template-columns: 1fr; display: block; }
.poster.auto .section { padding-block: clamp(44px, 5.5cqw, 96px); }
.poster.auto .section-tight { padding-block: clamp(36px, 4cqw, 72px); }
.poster.auto .section.on-dark, .poster.auto .section.on-paper { background: transparent; }
.poster.auto .hairline { border-top: 0; }
.poster.auto.dark-tile { background: var(--deep); color: var(--ivory-on-dark); }
.poster.auto.dark-tile .section { color: var(--ivory-on-dark); }
.poster.auto.dark-tile .t-section, .poster.auto.dark-tile .t-block, .poster.auto.dark-tile .quote { color: var(--ivory-on-dark); }
.poster.auto.dark-tile .body-lg, .poster.auto.dark-tile .body, .poster.auto.dark-tile .label { color: var(--ivory-on-dark-60); }
.poster.auto.dark-tile .chapter .num { color: var(--ivory-on-dark); }
.poster.auto.flush .band img { aspect-ratio: 21 / 9; }
.poster.auto .wrap { padding-inline: clamp(22px, 5cqw, 80px); }

/* Hero-Kachel der Unterseiten */
.poster.page-tile { aspect-ratio: 2 / 1; grid-template-columns: 1.05fr .95fr; }
.poster.page-tile .copy { padding: 6cqw 4cqw 5cqw 6cqw; }
.poster.page-tile .vr { width: 1px; height: 4cqw; background: currentColor; opacity: .6; margin: 0 0 2.6cqw; }
.poster.page-tile .head { font-size: 3.6cqw; }
.poster.page-tile .claim { font-family: var(--serif); font-size: 1.7cqw; line-height: 1.35; margin-top: 2cqw; max-width: 24em; }
.poster.page-tile .txt { font-size: 1.05cqw; max-width: 34em; }
.poster.page-tile .media img.cut { right: 2%; width: 86%; height: 84%; bottom: 4%; object-position: right bottom; }
.poster.page-tile .media .geo.circle-mid { width: 92%; opacity: .9; }
.poster.page-tile.dark .media .geo { color: rgba(183, 154, 95, .5); }
@media (max-width: 760px) { .poster.page-tile { aspect-ratio: auto; grid-template-columns: 1fr; } .poster.page-tile .media { height: 70vw; } .poster.page-tile .head { font-size: 28px; } .poster.page-tile .claim { font-size: 17px; } .poster.page-tile .txt { font-size: 13px; } }.poster.page-tile .kicker { gap: 1cqw; margin-bottom: 2.4cqw; }
.poster.page-tile .kicker .num { font-size: 1.3cqw; }
.poster.page-tile .kicker .rule { width: 2.4cqw; }
.poster.page-tile .kicker .lbl { font-size: .8cqw; }
.poster.hero .logo img { height: 4.2cqw; } .poster.hero .logo .w { font-size: 1.9cqw; } .poster.hero .logo .t { font-size: .8cqw; }
.poster .logo img { height: 4.6cqw; } .poster .logo .w { font-size: 2cqw; } .poster .logo .t { font-size: .85cqw; }
.poster.wide.big .head { font-size: 3.2cqw; }
.poster.wide.big .media img.cut { width: 96%; height: 78%; }

/* Mobile-Feinschliff */
@media (max-width: 760px) {
  .poster.hero { aspect-ratio: auto; display: flex; flex-direction: column; }
  .poster.hero .copy { order: 1; padding: 28px 22px; }
  .poster.hero .media { order: 2; }
  .poster.hero .band { order: 3; }
  .poster.hero .head { font-size: 28px; } .poster.hero .txt { font-size: 13px; }
  .poster.hero .logo img { height: 34px; } .poster.hero .logo .w { font-size: 16px; } .poster.hero .logo .t { font-size: 8px; }
  .poster.hero .foot { font-size: 9px; }
  .wall-head { flex-wrap: wrap; padding: 28px 6px 10px; }
  .wall-head .more { margin-left: 0; width: 100%; }
  .poster.page-tile .copy { padding: 26px 22px; }
  .poster .logo img { height: 30px; } .poster .logo .w { font-size: 15px; } .poster .logo .t { font-size: 8px; }
}
@media (max-width: 760px) { .poster.hero .band { width: 100%; } .poster.hero .foot { font-size: 8px; letter-spacing: .18em; } .poster .foot span { white-space: normal; } }

/* Panorama-Kachel: Höhe folgt dem Inhalt, Elefanten bleiben komplett sichtbar */
.poster.pano { aspect-ratio: auto; min-height: clamp(300px, 26vw, 520px); }
.poster.pano .copy { padding: 4.5cqw 3cqw 4cqw 5cqw; }
.poster.pano .kicker { gap: 1cqw; margin-bottom: 2cqw; }
.poster.pano .kicker .num { font-size: 1.3cqw; } .poster.pano .kicker .rule { width: 2.4cqw; } .poster.pano .kicker .lbl { font-size: .8cqw; }
.poster.pano .head { font-size: 2.4cqw; }
.poster.pano .txt { font-size: 1.05cqw; margin-top: 2cqw; }
.poster.pano .foot { font-size: .85cqw; padding-top: 2.4cqw; }
.poster.pano .media { min-height: 100%; }
.poster.pano .media img.cut { right: 0; width: 100%; height: 96%; bottom: 0; object-position: center bottom; }
.poster.pano .iconlist li { font-size: .9cqw; } .poster.pano .iconlist svg { width: 1.5cqw; height: 1.5cqw; }
@media (max-width: 760px) { .poster.pano { min-height: 0; } .poster.pano .head { font-size: 26px; } .poster.pano .txt { font-size: 13px; } .poster.pano .kicker .num { font-size: 14px; } .poster.pano .kicker .lbl { font-size: 9px; } .poster.pano .iconlist { padding: 20px 22px 28px; gap: 12px; } .poster.pano .iconlist li { font-size: 9px; } .poster.pano .iconlist svg { width: 16px; height: 16px; } }
/* Header über dunkler Hero-Kachel: helles Logo + helle Navigation, bis gescrollt wird */
body.posters .header.dark:not(.scrolled) { color: var(--ivory); }
body.posters .header.dark:not(.scrolled) .sub { color: var(--ink); }
body.posters .header.dark:not(.scrolled) .brand .tag { color: rgba(243, 241, 236, .7); }
body.posters .header.dark:not(.scrolled) .nav a, body.posters .header.dark:not(.scrolled) .lang { text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.poster.page-tile.dark.has-photo .media { margin-top: 7cqw; margin-right: 5cqw; }

/* Foto-/Porträt-Kacheln: Menü bleibt lesbar, kein Eckblock über Gesichtern */
/* Foto beginnt unterhalb der Menüzeile – Bild bleibt unangetastet */
.poster.page-tile.has-photo:not(.dark) .media { margin-top: 7cqw; margin-right: 5cqw; }
.poster.page-tile.has-photo:not(.dark) .media img.photo { object-position: center top; }
.poster.page-tile.portrait .blk.br { display: none; }
.poster.page-tile.portrait .media img.photo { object-position: center 15%; }

@media (max-width: 760px) { .poster.page-tile.has-photo .media { margin: 0 !important; } }

/* Schwarm-Freisteller: größer, freier im Raum */
.poster.page-tile .media img.cut[src*='starlings'] { width: 90%; height: 84%; right: 5%; bottom: 8%; object-position: center center; }

/* Navigation: alle Punkte exakt auf einer Linie (Dropdown-Wrapper und Links gleich hoch) */
.nav { align-items: center; }
.nav > a, .nav .has-sub, .nav .has-sub > a, .nav .lang, .nav .lang a, .nav .lang span { line-height: 1; display: inline-flex; align-items: center; }
.nav > a, .nav .has-sub > a { height: 22px; padding-bottom: 0; }
.nav > a::after, .nav .has-sub > a::after { bottom: 2px; }
.nav .lang { height: 22px; }
/* Freisteller auf Hero-Kacheln: nie bis an den Rand */
.poster.page-tile .media img.cut { right: 5%; width: 84%; height: 82%; bottom: 5%; }
.poster.page-tile.dark .blk.bl { width: 9%; height: 7%; }
