@font-face {
  font-family: Open;
  src: url("assets/open-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: Condensed;
  src: url("assets/open-sans-cond-light-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
:root {
  --portraetbreite: clamp(111px, 13.05vw, 177px);
  --portraetabstand: 16px;
  --papier: #f7f5ef;
  --leinen: #eae7dc;
  --tinte: #23271f;
  --rand: clamp(22px, 4.9vw, 100px);
  --abschnitt-oben: clamp(28px, 4vw, 64px);
  --titelabstand: clamp(12px, 1.15vw, 18px);
  --auftakttitel: clamp(38px, 4.2vw, 68px);
  --auftakt-textanteil: .45;
  --logobreite: clamp(175px, 16vw, 252px);
  --kopf: clamp(70px, 8.5vh, 94px);
  --abstand-zum-fuss: clamp(88px, 10vw, 164px);
  --ansicht: 0;
}
* { box-sizing: border-box; }
body { margin: 0; font: 400 16px/1.55 Open, sans-serif; background: var(--papier); color: var(--tinte); }
a, button { color: inherit; }
a { text-decoration: none; }
button { font: inherit; }
h1, h2, figure, p { margin: 0; }
img { display: block; }
em { font: italic 300 1.12em/0.95 Condensed, sans-serif; }
:focus-visible { outline: 2px solid #174a78; outline-offset: 4px; }
.skip { position: absolute; z-index: 5; left: var(--rand); top: -6em; background: var(--papier); padding: 12px; }
.skip:focus { top: 6px; }
.kopf { position: sticky; top: 0; z-index: 2; background: var(--papier); height: var(--kopf); padding-inline: var(--rand); display: flex; align-items: center; gap: 30px; }
.logo { width: var(--logobreite); height: auto; }
.beruf, .sprung, .legende, .autor { font-size: 13px; }
.beruf { color: #54584f; }
.intro .kopf .beruf { display: block; opacity: clamp(0, var(--ansicht), 1); line-height: 1.2; }
.intro .kopf .beruf em { white-space: nowrap; }
.sprung { margin-left: auto; padding-block: 10px; }
.sprung span { margin-left: 9px; }
.sprung:hover { text-decoration: underline; text-underline-offset: 4px; }

.rahmen { height: calc(100vh - var(--kopf)); height: calc(100svh - var(--kopf)); min-height: 390px; display: grid; grid-template-rows: minmax(0,1fr) auto; }
.beweglich .studie { height: 205vh; height: 205svh; }
.beweglich .rahmen { position: sticky; top: var(--rahmen-oben, var(--kopf)); }
.motiv { position: relative; isolation: isolate; overflow: hidden; background: #b79c7a; }
.bilder { position: absolute; inset: 0; --auftakt-deckkraft: clamp(0, calc(1 - var(--ansicht)), 1); }
.bilder::before {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: radial-gradient(ellipse 51% 38% at 90% 100%, rgb(37 30 24 / 57%), transparent);
  opacity: var(--auftakt-deckkraft); pointer-events: none;
}
.bilder::after {
  opacity: var(--auftakt-deckkraft);
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at left top, rgb(30 25 20 / 55%), transparent 85%);
}
.bildsignatur {
  position: absolute; z-index: 1; top: clamp(18px, 3vw, 54px); inset-inline: var(--rand);
  opacity: var(--auftakt-deckkraft);
  color: #fff; font-size: clamp(15px, 1.65vw, 28px); font-weight: 300; line-height: 1.13;
  letter-spacing: -.025em; pointer-events: none;
}
.bildsignatur em { white-space: nowrap; }
.bildmarke {
  z-index: 1; position: absolute; right: var(--rand); bottom: clamp(22px, 5vh, 64px);
  width: clamp(175px, 29vw, 480px);
  opacity: var(--auftakt-deckkraft); pointer-events: none;
}
.bildmarke img { width: 100%; height: auto; }
.bilder > img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.bilder .zeichnung { position: absolute; inset: 0; opacity: var(--ansicht); }
.bilder .zeichnung:last-child { opacity: clamp(0, calc(var(--ansicht) - 1), 1); }
.schrift { position: absolute; inset: 0; pointer-events: none; color: #fffaf0; background: linear-gradient(90deg,rgba(37,25,16,.44),rgba(37,25,16,.2) 33%,transparent 56%); }
.schrift h1, .antwort { position: absolute; left: var(--rand); top: 38%; font-size: clamp(48px,5.7vw,100px); line-height: .99; letter-spacing: -.048em; font-weight: 300; }
.schrift h1 { opacity: clamp(0, calc(1 - 2 * var(--ansicht)), 1); transform: translateY(calc(-12px * var(--ansicht))); }
.antwort { opacity: clamp(0, calc(2 * var(--ansicht) - 3), 1); transform: translateY(calc(12px * (2 - var(--ansicht)))); }
.antwort.solo { top: auto; bottom: 6%; opacity: clamp(0, min(calc(2 * var(--ansicht) - 1), calc(3 - 2 * var(--ansicht))), 1); transform: none; text-shadow: 0 1px 10px #302820; }
.legende { position: relative; padding: 8px var(--rand); min-height: 54px; display: flex; gap: 14px; align-items: center; justify-content: space-between; background: var(--papier); }
.studientitel { order: -1; }
.ansichten { order: 1; }
.schnellwahl { margin-left: auto; margin-right: clamp(12px, 3vw, 48px); }
.schnellwahl summary { font: inherit; letter-spacing: normal; padding: 10px 0; gap: 7px; text-decoration: underline; text-underline-offset: 4px; }
.schnellwahl nav { position: absolute; z-index: 1; bottom: 100%; right: var(--rand); width: min(310px, calc(100% - 2 * var(--rand))); padding: 12px 22px; background: var(--papier); box-shadow: 0 4px 24px #281e1528; }
.schnellwahl a { display: block; padding: 9px 0; font-size: 14px; }
.schnellwahl a:hover { text-decoration: underline; }
.trenner { margin: 0 .45em; color: #99988a; }
.ansichten { display: flex; align-items: center; gap: 16px; }
.ansichten[hidden] { display: none; }
@media (scripting: enabled) {
  .ansichten[hidden] { display: flex; visibility: hidden; }
}
.scrollhinweis {
  display: none; position: fixed; z-index: 1; inset: auto 0 0;
  align-items: center; justify-content: center; gap: .65em;
  min-height: calc(36px + env(safe-area-inset-bottom, 0px));
  padding: 0 var(--rand) env(safe-area-inset-bottom, 0px);
  background: var(--hinweisgrund, var(--papier)); color: #484d42;
  font-size: 13px; line-height: 1.25; border-bottom: 1px solid #a1a598;
}
.scrollhinweis::after {
  content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: currentColor;
  transform: scaleX(clamp(0, var(--scrollfortschritt, 0), 1)); transform-origin: left;
}
.scrollhinweis span { font-size: 1.2em; }
.scrollhinweis:is(:hover, :focus-visible) { color: var(--tinte); text-decoration: underline; text-underline-offset: 3px; }
.scrollhalt .scrollhinweis { display: flex; }
.beweglich .legende { padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
.ansichten button { padding: 9px 0; background: none; border: 0; cursor: pointer; font-size: inherit; color: #616357; }
.ansichten button[aria-pressed="true"] { color: var(--tinte); text-decoration: underline; text-underline-offset: 5px; }
.statisch img { width: 100%; }
.statisch figcaption { padding: 12px var(--rand); }

.verkauf { scroll-margin-top: var(--kopf); background: var(--leinen); padding-top: clamp(55px, 8vw, 140px); }
.stimme { padding-inline: var(--rand); display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 86px); }
.autor { margin-top: 7px; }
.autor span { display: block; color: #595d53; }
.stimme .autor img { width: var(--portraetbreite); height: auto; margin-top: var(--portraetabstand); }
.gedanke h2 { font-size: clamp(33px,3.6vw,62px); font-weight: 300; line-height: 1.12; letter-spacing: -.036em; }
.gedanke p { margin-top: 25px; max-width: 52ch; }
.wegstrecke { --hinweisgrund: #e2dfd4; scroll-margin-top: var(--kopf); background: var(--hinweisgrund); }
.wegwahl { background-color: inherit; padding: var(--abschnitt-oben) var(--rand) clamp(44px, 6vw, 95px); }
.wegwahl h3 { font-size: clamp(27px, 2.8vw, 45px); margin: 0; font-weight: 300; line-height: 1.15; letter-spacing: -.035em; }
.wegwahl .studiorubrik { margin-bottom: var(--titelabstand); }
.wegwahl .wege { margin-top: clamp(24px, 3vw, 42px); }
@media (min-height: 480px) and (prefers-reduced-motion: no-preference) {
  .beweglich .verkauf { padding-top: 0; }
  .beweglich .stimme {
    min-height: calc(100svh - var(--kopf)); align-content: center;
    padding-block: clamp(24px, 5svh, 64px) max(54px, 5svh);
  }
  .beweglich .lesestrecke.lesbar .stimme { --hinweisgrund: var(--leinen); position: sticky; top: var(--kopf); }
  .beweglich .lesestrecke.lesbar::after { content: ""; display: block; height: clamp(180px, 46svh, 480px); }
  .beweglich .wegwahl {
    position: sticky; top: var(--wahl-oben, var(--kopf)); min-height: calc(100svh - var(--kopf));
    display: flex; flex-direction: column;
  }
  .beweglich .wegwahl h3 { margin-top: auto; }
  .beweglich .wegwahl .vermietungshinweis { margin-bottom: auto; }
  .beweglich .wegstrecke::after {
    content: ""; display: block;
    height: clamp(160px, 48svh, 480px);
    padding-bottom: clamp(140px, 34svh, 340px);
    box-sizing: content-box;
  }
  .beweglich .wege > details { --wegzeit: calc(-2s * var(--wahlfortschritt, 0)); }
  .beweglich .wege > details + details { --wegzeit: calc(1s - 2s * var(--wahlfortschritt, 0)); }
  .beweglich .wege > details > summary em {
    white-space: nowrap;
    paint-order: stroke fill;
    animation: verkaufsfarbe 1s linear both paused;
    animation-delay: var(--wegzeit);
  }
  .beweglich .wege > details::before {
    animation: verkaufsraute 1s linear both paused;
    animation-delay: var(--wegzeit);
  }
}
@keyframes verkaufsraute {
  from { left: 1.5px; }
  to { left: calc(100% - 8.5px); }
}
@keyframes verkaufsfarbe {
  0%, 100% { color: #000; font-size: 1.12em; -webkit-text-stroke: 0 transparent; }
  18%, 34% { color: #fff; font-size: 1.23em; -webkit-text-stroke: .8px #756953; }
  55%, 76% { color: #bb881e; font-size: 1.4em; -webkit-text-stroke: .45px #725113; }
}
.wege { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px,5vw,86px); }
.wege > details > summary { column-gap: 4.75rem; }
.wege .lesehinweis { margin-inline-start: auto; }
.wege .mehr { transform-origin: right center; }
.wege > details { position: relative; border-top: 1px solid #969b8e; }
.wege > details::before {
  content: ""; position: absolute; top: -4px; left: 1px; width: 7px; height: 7px;
  background: #877667; transform: rotate(45deg); pointer-events: none;
}
.wege > details:hover::before, .wege > details:focus-within::before, .wege > details[open]::before { background: #1868a6; }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; list-style: none; padding: 18px 0; font-size: clamp(21px,2.15vw,36px); font-weight: 300; letter-spacing: -.025em; }
summary::-webkit-details-marker { display: none; }
.lesehinweis { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 13px; font-weight: 400; letter-spacing: normal; }
summary:hover .lesehinweis { text-decoration: underline; text-underline-offset: 3px; }
.lesehinweis .weniger, details[open] .lesehinweis .mehr { display: none; }
details[open] .lesehinweis .weniger { display: inline; }
.zeichen { width: 16px; height: 16px; position: relative; }
.zeichen::before, .zeichen::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.zeichen::after { transform: rotate(90deg); }
details[open] .zeichen::after { display: none; }
.wegtext { max-width: 46ch; padding-block: clamp(16px, 2vw, 32px) clamp(24px, 2.5vw, 40px); }
.textlink { display: inline-block; padding-block: 10px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.textlink span { display: inline-block; margin-left: .25em; }
.textlink:hover { text-decoration-thickness: 2px; }
.weglinks { list-style: none; margin: clamp(14px, 1.4vw, 22px) 0 0; padding: 0; }
.weglinks .textlink { font-size: 14px; }
.weg-leistungen > summary { max-width: 100%; font-weight: inherit; letter-spacing: normal; }
.weg-leistungen[open] > summary span { transform: rotate(180deg); }
.weg-leistungen .leistungsinfo { margin-block: 4px 8px; padding: clamp(16px, 2vw, 28px); background: #fff; }
.leistungsinfo p + p { margin-top: 1em; }
.leistungsinfo .textlink { margin-top: 8px; }
.vermietungshinweis { margin-top: 28px; font-size: 14px; }
.wegwahl .vermietungshinweis { margin-top: clamp(44px, 7vh, 76px); }
.wegwahl .vermietungshinweis::before {
  content: ""; display: block; width: 3rem; border-top: 1px solid #aaa397; margin-bottom: 12px;
}

@media (max-width: 680px) {
  .beruf { display: none; }
  .kopf { gap: 12px; }
  .logo { width: 177px; }
  .rahmen { height: auto; min-height: 0; }
  .motiv { display: grid; grid-template-rows: clamp(125px, 22svh, 200px) auto; background: var(--papier); }
  .schrift { position: relative; grid-row: 1; background: var(--papier); color: var(--tinte); }
  .schrift h1, .antwort { top: 50%; translate: 0 -50%; font-size: clamp(36px,7.6vw,51px); line-height: 1.02; }
  .antwort.solo { top: 50%; bottom: auto; text-shadow: none; }
  .schrift h1 br:first-child { display: none; }
  .bilder { position: relative; grid-row: 2; overflow: hidden; }
  .bilder { aspect-ratio: 5 / 4; }
  .bilder > img { object-position: 82% bottom; }
  .legende { display: grid; grid-template-columns: 1fr auto; min-height: 50px; font-size: 12px; gap: 0 8px; }
  .schnellwahl { margin: 0; }
  .ansichten { grid-column: 1 / -1; }
  .bildmarke { bottom: 16px; right: 16px; width: clamp(128px, 34vw, 190px); }
  .ansichten { gap: 12px; }
  .stimme, .wege { grid-template-columns: 1fr; gap: 24px; }
  .wege { gap: 0; }
  .wege > details > summary { flex-wrap: wrap; row-gap: 14px; }
  .gedanke h2 { font-size: clamp(29px,7vw,39px); }
  .gedanke p { margin-top: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .schrift h1, .antwort { transform: none; }
}

.hauptnav { margin-left: auto; display: flex; align-items: center; gap: clamp(15px, 2.2vw, 40px); font-size: 14px; }
.hauptnav a, .handymenue summary { padding-block: 12px; }
.hauptnav a:hover, .hauptnav [aria-current], .handymenue summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.hauptnav > .introlink { border-right: 1px solid #c1bdaf; padding-right: clamp(12px, 1.5vw, 25px); }
.verkaufsnav { position: relative; display: flex; align-items: center; }
.verkaufsmenue summary { width: 26px; min-height: 44px; justify-content: center; padding: 0; }
.verkaufsmenue summary span { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.verkaufsmenue[open] summary span { transform: translateY(2px) rotate(225deg); }
.verkaufsziele { position: absolute; top: 100%; left: -16px; z-index: 1; width: max-content; padding: 4px 16px; background: var(--papier); border: 1px solid #c1bdaf; }
.verkaufsziele a { display: block; }
.handymenue { display: none; }
.handymenue .objektmenulink { display: none; }
@media (max-width: 800px) {
  :root { --logobreite: clamp(127px, 35vw, 177px); }
  .kopf .logo { width: var(--logobreite); }
  .hauptnav { gap: 14px; font-size: 13px; }
  .desktoplink { display: none; }
  .handymenue { display: block; }
  .handymenue summary { font: inherit; letter-spacing: normal; }
  .handymenue > div { position: absolute; inset: 100% 0 auto; padding: 8px var(--rand) 20px; background: var(--papier); border-bottom: 1px solid #b2b2a6; }
  .handymenue a { display: block; }
}

/* Der Freiraum vor dem Fuß gehört zur letzten Inhaltsfläche. */
main > section:last-child:not(.kontaktblatt, .gruender),
main > article:last-child > section:last-child,
main > .rechtstext:last-child,
main > .auswahl:last-child,
main > .kontaktblatt:last-child > .kontaktbrief {
  padding-block-end: var(--abstand-zum-fuss);
}

.seitenfuss { padding: clamp(36px,5vw,82px) var(--rand) 15px; color: #fff6e8; background: #49392e url("assets/papier.png") repeat center top; background-blend-mode: multiply; font-size: 14px; }
.fussinhalt { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 30px var(--rand); }
.fussagentur .logo { width: var(--logobreite); max-width: 100%; margin-bottom: 16px; }
.seitenfuss address, .kontaktblatt address, .rechtstext address { font-style: normal; }
.seitenfuss address { margin: 8px 0; }
.fusskontakt, .fussrubrik { font-weight: 500; }
.seitenfuss a:hover, .fusskontakt { text-decoration: underline; text-underline-offset: 4px; }
.portallinks { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.portallinks a { display: inline-flex; padding: 2px; align-items: center; }
.portallinks img { width: auto; height: 57px; }
.seitenfuss :focus-visible { outline-color: #fff6e8; }
.fussrecht { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 22px; padding-top: 8px; border-top: 1px solid #9da795; }
.fussrecht a { display: block; font-size: 13px; padding-block: 8px; }
.agenturauftakt, .kontaktblatt, .studioauftakt, .vermietung, .studienauftakt { display: grid; grid-template-columns: calc(100% * var(--auftakt-textanteil)) minmax(0, 1fr); align-items: start; }
.agenturauftakt > img, .kontaktblatt > img, .studioauftakt > img, .vermietung > img, .studienauftakt > img { width: 100%; height: auto; }
.kontaktblatt { background: var(--leinen); }
.kontaktbrief { align-self: start; padding: var(--abschnitt-oben) var(--rand) clamp(42px,6vw,96px); }
.kontaktbrief h1, .rechtstext h1 { margin: 12px 0 20px; font-size: var(--auftakttitel); line-height: 1.06; letter-spacing: -.04em; font-weight: 300; text-wrap: balance; }
.kontaktbrief p { max-width: 46ch; }
.kontaktbrief h1 { margin-top: var(--titelabstand); }
.kontaktbrief address { margin: 28px 0 20px; }
.direktwahl { display: block; width: fit-content; font-size: clamp(22px,2vw,32px); }
.direktwahl:hover { text-decoration: underline; }
.kontaktadresse { font-size: 14px; }
.rechtstext { max-width: 84ch; margin-inline: auto; padding: clamp(32px,5vw,80px) var(--rand); box-sizing: content-box; }
.rechtstext h2 { margin-block: 28px 8px; font-size: clamp(20px,2.1vw,27px); font-weight: 400; line-height: 1.2; }
.rechtstext p + p, .rechtstext address + p { margin-top: 12px; }
.rechtstext a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 1220px) {
  .kopf .beruf { display: none; }
}
@media (min-width: 801px) and (max-width: 1060px) {
  .intro .kopf { gap: 12px; }
  .intro .kopf .logo { width: clamp(120px, 14vw, 150px); }
  .intro .hauptnav { gap: clamp(6px, calc(10vw - 74px), 12px); }
}
@media (max-width: 460px) {
  .intro .kopf { gap: 10px; }
  .intro .kopf .beruf { font-size: 12px; }
  .intro .hauptnav > .objektlink { display: none; }
  .intro .handymenue .objektmenulink { display: block; }
}
@media (max-width: 680px) {
  .fussinhalt, .agenturauftakt, .kontaktblatt, .studioauftakt, .vermietung, .studienauftakt { grid-template-columns: 1fr; }
  .handymenue > div { max-height: calc(100svh - var(--kopf)); overflow: auto; }
}

.formularsprung[hidden], .anfragebereich[hidden] { display: none; }
.formularsprung { margin-top: 8px; }
.anfragebereich { padding: clamp(42px, 6vw, 96px) var(--rand); scroll-margin-top: var(--kopf); display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--rand); }
.anfragebereich h2 { max-width: 17ch; margin-bottom: 18px; font-size: clamp(30px, 3.2vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -.035em; }
.anfragebereich > div p { max-width: 40ch; }
.kontaktformular { display: grid; gap: 16px; max-width: 36rem; }
.kontaktformular label { display: block; font-size: 15px; }
.kontaktformular small, .formularinfo { font-size: 13px; }
.kontaktformular input, .kontaktformular textarea { display: block; margin-top: 5px; width: 100%; border: 1px solid #968c80; border-radius: 0; background: #fffdf8; padding: 10px 12px; color: var(--tinte); font: inherit; font-size: 16px; }
.kontaktformular textarea { resize: vertical; }
.kontaktformular button { justify-self: start; border: 0; padding: 12px 20px; background: #49392e; color: #fff6e8; cursor: pointer; }
.kontaktformular button:disabled { opacity: .65; cursor: wait; }
.formularinfo a { text-decoration: underline; text-underline-offset: 3px; }
.formularstatus:empty { margin-block-end: -16px; }
#kontaktanfragen { scroll-margin-top: calc(var(--kopf) + 16px); }
@media (max-width: 680px) {
  .anfragebereich { grid-template-columns: minmax(0, 1fr); }
}

/* Mechanische Buchstabenanzeige in der gemeinsamen Kopfzeile */
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
.anzeigeinhalt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intro .fallblatt { opacity: 0; visibility: hidden; }
.intro .fallblatt.eingeblendet { opacity: 1; visibility: visible; }
.intro .fallblatt:not(.eingeblendet) + .anzeigeinhalt { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .intro .fallblatt { transition: opacity .48s ease, visibility 0s .48s; }
  .intro .fallblatt.eingeblendet { transition-delay: 0s; }
}
.fallblatt {
  --blatt-oben: #f2efe6;
  --blatt-unten: var(--leinen);
  margin: 0; padding: 0; border: 0; border-radius: 0;
  width: clamp(336px, 26.4vw, 464px); flex: none; background: transparent;
  color: #534d41; font: 500 clamp(16.5px, 1.3vw, 23px)/1.2 "Barlow Condensed", "Arial Narrow", sans-serif;
  cursor: pointer;
}
.blattreihe { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 1px; }
.blattreihe > span {
  position: relative; display: grid; place-items: center; height: 1.3em; overflow: hidden;
  background: linear-gradient(var(--blatt-oben) 50%, var(--blatt-unten) 50%); white-space: pre;
}
.blattreihe > span::after {
  content: ""; position: absolute; z-index: 1; inset: 50% 0 auto; border-top: 1px solid rgb(89 78 58 / 18%);
}
.blattreihe i { position: absolute; inset: 0; perspective: 70px; pointer-events: none; font-style: normal; }
.blattreihe i::before, .blattreihe i::after {
  position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden;
}
.blattreihe i::before {
  content: attr(data-vorher); background: var(--blatt-oben); clip-path: inset(0 0 50%);
  animation: blatt-auf 48ms ease-in forwards;
}
.blattreihe i::after {
  content: attr(data-nachher); background: var(--blatt-unten); clip-path: inset(50% 0 0);
  animation: blatt-ab 52ms 48ms ease-out both;
}
@keyframes blatt-auf { to { transform: rotateX(-90deg); } }
@keyframes blatt-ab { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
@media (min-width: 1360px) {
  .kopf { gap: clamp(12px, 1.2vw, 24px); }
  .fallblatt { margin-inline: auto; }
  .kopf .hauptnav { gap: clamp(12px, 1.25vw, 24px); margin-left: 0; }
}
@media (max-width: 1359px) {
  :root { --kopf: calc(clamp(70px, 8.5vh, 94px) + 32px); }
  .kopf { padding-bottom: 32px; }
  .fallblatt {
    position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
    width: min(406px, calc(100% - 14px)); font-size: clamp(14.5px, 4.45vw, 19px);
  }
}
