/* Vision to Sound – Theme (ehemals Variante B), wird NACH styles.css geladen.
   Fraunces für Überschriften, kursive Hervorhebungen in Instrument Serif
   (auf Dunkel: Koralle, auf Hell: Tintenblau), helles Grau als Grund,
   Rhythmus: Hero dunkel · Hörproben dunkel · Problem, Schritte, Paket, Preis, FAQ hell · Abschluss dunkel. */

.theme-b {
  --paper: #D8D6D4;      /* helle Abschnitte */
  --card: #EEEDEB;       /* Karten, Kästen, Preiskarte auf hellem Grund */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --ink-raised: #22324F; /* Karten auf dunklem Grund */
  --rule-on-ink: rgb(239 230 214 / .16);
}

.theme-b body { background: var(--paper); }

/* ---------- Überschriften in Fraunces ---------- */
.theme-b :is(.hero__title, .h2, .h3, .problem__quote, .close__title, .reel__title, .ex__title, .track__title, .faq__q, .steps__num, .pricing__num, .price-tag__num) {
  font-family: var(--display);
  font-optical-sizing: auto;
}
.theme-b .hero__title {
  font-weight: 700;
  font-size: clamp(2.5rem, 5.3vw, 5.4rem);
  line-height: .98; letter-spacing: -.035em;
}
.theme-b .h2 {
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: .98; letter-spacing: -.035em;
}
.theme-b .problem__quote,
.theme-b .close__title {
  font-weight: 700;
  font-size: clamp(2.8rem, 7.2vw, 6.75rem);
  line-height: 1; letter-spacing: -.04em;
}
.theme-b :is(.h3, .ex__title, .reel__title, .track__title) { font-weight: 600; letter-spacing: -.02em; }
.theme-b .reel__title { font-size: clamp(2.1rem, 3.8vw, 3.5rem); line-height: 1; }
.theme-b .faq__q { font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.25; letter-spacing: -.01em; }
.theme-b .steps__num { font-weight: 700; letter-spacing: -.04em; }
.theme-b :is(.pricing__num, .price-tag__num) { font-weight: 700; letter-spacing: -.05em; }

/* ---------- Kursive Hervorhebung: Instrument Serif, ohne Linie ---------- */
.theme-b :is(.hero__title, .h2, .problem__quote, .close__title, .reel__title) em {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -.01em;
  color: var(--ink);
}
/* auf dunklem Grund: Koralle */
.theme-b :is(.hero, .examples, .reel, .close) :is(.hero__title, .h2, .close__title, .reel__title) em,
.theme-b .footer__brand em { color: var(--coral); }

/* ---------- Navigation über dem dunklen Hero ---------- */
.theme-b .nav.is-scrolled .nav__bar,
.theme-b body.menu-open .nav__bar { background: rgb(238 237 235 / .94); }
.theme-b .menu { background: var(--card); }
.theme-b body:not(.menu-open) .nav:not(.is-scrolled) :is(.wordmark, .nav__links a) { color: var(--sand); }
.theme-b body:not(.menu-open) .nav:not(.is-scrolled) .wordmark em { color: var(--coral); }
.theme-b body:not(.menu-open) .nav:not(.is-scrolled) .wordmark__mark { fill: var(--sand); }
.theme-b body:not(.menu-open) .nav:not(.is-scrolled) .wordmark__mark rect:nth-child(2) { fill: var(--coral); }
.theme-b body:not(.menu-open) .nav:not(.is-scrolled) .nav__toggle svg { stroke: var(--sand); }
.theme-b body:not(.menu-open) .nav:not(.is-scrolled) :focus-visible { outline-color: var(--sand); }
.theme-b .nav__bar :is(.wordmark, .wordmark em, .nav__links a) { transition: color 240ms ease; }

/* ---------- Hero dunkel ---------- */
.theme-b .hero { background: var(--ink); color: var(--sand); }
.theme-b .hero :focus-visible { outline-color: var(--sand); }
.theme-b :is(.hero__by, .hero__extra, .price-tag__note) { color: var(--sand-on-ink); }
.theme-b .hero .ulink { color: var(--sand); }

/* ---------- Hörproben dunkel ---------- */
.theme-b .examples {
  background: var(--ink); color: var(--sand);
  border-top: 1px solid var(--rule-on-ink);
}
.theme-b .examples :focus-visible { outline-color: var(--sand); }
.theme-b .examples .lead { color: var(--sand-on-ink); }
.theme-b .examples .ex__facts { border-bottom-color: var(--rule-on-ink); }
.theme-b .examples .ex__facts dd { color: var(--sand-on-ink); }
.theme-b .examples .ex__prompt { background: var(--ink-raised); color: var(--sand); }
.theme-b .examples .ex__for { color: var(--sand-on-ink); }
.theme-b .examples .ex__for span { color: var(--sand); }
.theme-b .examples .wave__layer--base i { background: rgb(239 230 214 / .26); }
.theme-b .examples :is(.player__time, .player__status) { color: var(--sand-on-ink); }
.theme-b .examples .ph { background: var(--ink-raised); }
.theme-b .examples .ph::before { color: var(--sand-on-ink); }
.theme-b .examples .ph::after { filter: invert(1); opacity: .8; }

/* ---------- Helle Abschnitte ---------- */
.theme-b .problem { background: var(--paper); }
.theme-b .note__photo { background: var(--card); }
.theme-b .pricing__card { background: var(--card); }

/* Häkchen: Tintenblau-Kreis mit Koralle-Haken (Koralle allein wäre auf Grau zu kontrastarm) */
.theme-b .checks li::before { background: var(--ink); }
.theme-b .checks li::after { border-color: var(--coral); }

/* ---------- Abschluss dunkel ---------- */
.theme-b .close { background: var(--ink); color: var(--sand); }
.theme-b .close :focus-visible { outline-color: var(--sand); }
.theme-b .close__price { color: var(--sand-on-ink); }

/* ================= Hero-Mosaik (Moodboard) =================
   Desktop: 8 Kacheln locker rechts um den Text, Lage in % der Breite,
   Größe/Höhe in --u (skaliert mit Breite und Höhe des Fensters).
   Handy: Text zuerst, darunter eine Wischreihe. */
.theme-b .hero {
  --u: min(1vw, 1.6svh, 15px);
  position: relative; overflow: hidden;
  min-height: max(calc(62.5 * var(--u)), 700px);
  padding: 120px 0 72px;
}
.theme-b .hero__grid { position: relative; z-index: 2; display: block; pointer-events: none; }
.theme-b .hero__copy { pointer-events: auto; }
.theme-b .hero__copy { max-width: min(580px, 44vw); }
.theme-b .hero__title { font-size: clamp(2.5rem, 4.5vw, 4.75rem); }
/* Preis im Hero nur klein unter dem Button; groß steht er im Preis-Bereich */
.theme-b .hero__buy { display: block; margin-top: 40px; }
.hero__price { margin-top: 16px; font-size: .9375rem; color: var(--sand-on-ink); }

.mosaic {
  position: absolute; top: 0; bottom: 0; z-index: 1;
  left: max(0px, calc(50% - 800px)); right: max(0px, calc(50% - 800px));
  pointer-events: none;
}
.tile {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: 24px; background: var(--ink-raised);
  pointer-events: auto;
  box-shadow: 0 30px 60px -36px rgb(0 0 0 / .6);
}
.tile img { transition: transform 600ms var(--ease-out); }
.tile.ph::before { color: var(--sand-on-ink); z-index: 0; }
.tile.ph::after { filter: invert(1); opacity: .7; }

/* Vier lockere Spalten; Spiegelsaal (1) am größten, Spalte rechts ragt über den Rand, 5 über die Unterkante */
.tile--1 { left: 50%;   top: calc(9 * var(--u));    width: calc(15.5 * var(--u)); aspect-ratio: 4 / 5; }
.tile--8 { left: 51.5%; top: calc(30.6 * var(--u)); width: calc(12.5 * var(--u)); aspect-ratio: 1; }
.tile--3 { left: 67%;   top: calc(17 * var(--u));   width: calc(11 * var(--u));   aspect-ratio: 9 / 16; }
.tile--5 { left: 67%;   top: calc(38.4 * var(--u)); width: calc(11 * var(--u));   aspect-ratio: 9 / 16; }
.tile--2 { left: 79.5%; top: calc(10 * var(--u));    width: calc(11 * var(--u));   aspect-ratio: 3 / 4; }
.tile--6 { left: 79.5%; top: calc(26.2 * var(--u)); width: calc(11 * var(--u));   aspect-ratio: 9 / 16; }
.tile--4 { left: 92%;   top: calc(19 * var(--u));   width: calc(11 * var(--u));   aspect-ratio: 1; }
.tile--7 { left: 92%;   top: calc(31.5 * var(--u)); width: calc(11 * var(--u));   aspect-ratio: 9 / 16; }
.tile > img, .tile__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__video { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__video { transform: scale(1.03); } }

.mosaic__note {
  position: absolute; z-index: 2; left: 50%; bottom: 22px;
  font-size: .75rem; letter-spacing: .01em; color: var(--sand-on-ink); opacity: .8;
}

/* Play-Fläche: erscheint nur, wenn es die MP3 gibt (main.js entfernt dann „hidden“) */
.tile__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; gap: 10px;
  padding: 14px; text-align: left; color: var(--sand);
  background: linear-gradient(to top, rgb(22 35 58 / .72), rgb(22 35 58 / 0) 55%);
  opacity: 0; transition: opacity 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.tile__play[hidden] { display: none; }
.tile__icon {
  position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); display: grid; place-items: center;
  transition: transform 160ms var(--ease-out);
}
.tile__icon svg { position: absolute; width: 18px; height: 18px; fill: var(--ink); transition: opacity 200ms ease, transform 200ms var(--ease-out); }
.tile__icon .i-pause { opacity: 0; transform: scale(.7); }
.tile.is-playing .tile__icon .i-play { opacity: 0; transform: scale(.7); }
.tile.is-playing .tile__icon .i-pause { opacity: 1; transform: none; }
.tile__play:active .tile__icon { transform: scale(.94); }
.tile__title { font: 600 .9375rem/1.25 var(--sans); padding-bottom: 11px; text-shadow: 0 1px 8px rgb(22 35 58 / .6); }
.tile__play:focus-visible { opacity: 1; outline: 2px solid var(--sand); outline-offset: -4px; border-radius: 24px; }
.tile.is-playing .tile__play { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile__play { opacity: 1; }
  .tile:hover img { transform: scale(1.03); }
}
/* Touch: kein Hover, also Symbol und Titel immer zeigen */
@media (hover: none) { .tile__play { opacity: 1; } }

/* Fortschritt als Koralle-Linie an der Unterkante */
.tile__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3; pointer-events: none; }
.tile__bar i { display: block; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; }

/* Ruhige Einblendung: Kacheln nacheinander, ohne Animation sofort sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: tile-in 900ms var(--ease-out) both; }
  .tile--1 { animation-delay: 120ms; } .tile--2 { animation-delay: 200ms; }
  .tile--3 { animation-delay: 280ms; } .tile--4 { animation-delay: 360ms; }
  .tile--5 { animation-delay: 440ms; } .tile--6 { animation-delay: 520ms; }
  .tile--7 { animation-delay: 600ms; } .tile--8 { animation-delay: 680ms; }
}
@keyframes tile-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }

@media (max-width: 900px) {
  /* Handy: Headline, dann gleich die Bilder, danach Text und Button */
  .theme-b .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 104px 0 48px; }
  .theme-b .hero > .mosaic { width: 100%; min-width: 0; }
  .theme-b .hero__grid, .theme-b .hero__copy { display: contents; }
  .theme-b .hero__copy > * { padding-inline: var(--pad); }
  .theme-b .hero__by { order: 1; } .theme-b .hero__title { order: 2; }
  .mosaic { order: 3; } .mosaic__note { order: 4; }
  .theme-b .hero__lead { order: 5; } .theme-b .hero__extra { order: 6; } .theme-b .hero__buy { order: 7; }
  .theme-b .hero__copy { max-width: none; }
  .theme-b .hero__title { font-size: clamp(2.25rem, 8.6vw, 4rem); }
  .theme-b .hero__lead { margin-top: 22px; }
  .theme-b .hero__buy { margin-top: 28px; }
  .mosaic {
    position: static; pointer-events: auto;
    display: flex; gap: 12px; margin-top: 24px;
    padding: 4px var(--pad) 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
    scrollbar-width: none;
  }
  .mosaic::-webkit-scrollbar { display: none; }
  .tile, .tile[class*="tile--"] {
    position: relative; left: auto; top: auto; flex: none;
    width: auto; height: clamp(240px, 68vw, 340px);
    scroll-snap-align: start;
  }
  .mosaic__note { position: static; padding: 6px var(--pad) 0; }
}

/* ================= Hörproben: vier echte Karten ================= */
.nowrap { white-space: nowrap; }
.theme-b .ex__img { position: relative; overflow: hidden; border-radius: 6px; background: var(--ink-raised); margin: 0; }
.theme-b .ex__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Reihenfolge: 1 Autumn (Video, links), 2 Carousel (rechts), 3 Reel (links), 4 Road (rechts) */
.theme-b .ex--1 .ex__img { grid-column: 1 / span 5; aspect-ratio: 1; }
.theme-b .ex--1 .ex__song { grid-column: 7 / span 6; }
.theme-b .ex--2 .ex__img { grid-column: 8 / span 5; grid-row: 1; aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; }
.theme-b .ex--2 .ex__song { grid-column: 1 / span 6; grid-row: 1; }
.theme-b .ex--3 .ex__img { grid-column: 2 / span 4; aspect-ratio: 9 / 16; }
.theme-b .ex--3 .ex__song { grid-column: 7 / span 6; }
.theme-b .ex--4 .ex__img { grid-column: 8 / span 4; grid-row: 1; aspect-ratio: 9 / 16; }
.theme-b .ex--4 .ex__song { grid-column: 2 / span 5; grid-row: 1; }
.loop-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Großer Play-Knopf direkt auf Video bzw. Carousel; steuert denselben Song wie der Player darunter */
.media-play {
  position: absolute; z-index: 4; left: 16px; bottom: 16px;
  border-radius: 50%; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 28px -10px rgb(0 0 0 / .55);
}
.media-play__icon { width: 64px; height: 64px; }
.media-play__icon svg { width: 24px; height: 24px; }
.media-play:active .tile__icon { transform: scale(.94); }
.media-play:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.ex.is-playing .media-play .i-play { opacity: 0; transform: scale(.7); }
.ex.is-playing .media-play .i-pause { opacity: 1; transform: none; }

/* Carousel (Hörprobe 1) */
.carousel__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--ink-raised); }
.carousel__track {
  display: flex; height: 100%; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--sand); outline-offset: -4px; }
.carousel__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.carousel__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__arrow {
  position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  display: grid; place-items: center; background: rgb(22 35 58 / .62); color: var(--sand);
  transition: opacity 200ms ease, transform 160ms var(--ease-out);
}
.carousel__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__arrow:active { transform: scale(.94); }
.carousel__arrow--prev { left: 12px; } .carousel__arrow--next { right: 12px; }
.carousel__arrow:disabled { opacity: 0; pointer-events: none; }
@media (hover: none) { .carousel__arrow { display: none; } }
.carousel__dots { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
.carousel__dot { position: relative; width: 26px; height: 28px; }
.carousel__dot::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 4px; background: rgb(239 230 214 / .35); transition: width 200ms var(--ease-out), margin 200ms var(--ease-out), background 200ms ease;
}
.carousel__dot[aria-current="true"]::before { width: 20px; margin-left: -10px; background: var(--coral); }
.carousel__dot:focus-visible { outline: 2px solid var(--sand); outline-offset: -2px; border-radius: 6px; }

/* Reel-Video (Hörprobe 2) */
.reelvid__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reelvid__badge {
  position: absolute; z-index: 3; top: 14px; left: 14px;
  padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink);
  font-size: .8125rem; font-weight: 600; line-height: 1.2;
}
.reelvid__play {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(to top, rgb(22 35 58 / .55), rgb(22 35 58 / 0) 40%);
  transition: opacity 200ms ease; -webkit-tap-highlight-color: transparent;
}
.reelvid__icon { width: 56px; height: 56px; }
.reelvid__icon svg { width: 22px; height: 22px; }
.reelvid.is-playing .reelvid__icon .i-play { opacity: 0; transform: scale(.7); }
.reelvid.is-playing .reelvid__icon .i-pause { opacity: 1; transform: none; }
.reelvid.is-playing .reelvid__play { opacity: 0; }
.reelvid__play:active .tile__icon { transform: scale(.94); }
.reelvid__play:focus-visible { opacity: 1; outline: 2px solid var(--sand); outline-offset: -4px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .reelvid.is-playing:hover .reelvid__play { opacity: 1; } }

/* Aufklappbarer Songtext */
.ex__lyrics { margin-top: 18px; border-top: 1px solid var(--rule-on-ink); }
.ex__lyrics summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; cursor: pointer; list-style: none; font-weight: 600; font-size: .9375rem; color: var(--sand);
}
.ex__lyrics summary::-webkit-details-marker { display: none; }
.ex__lyrics summary:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; border-radius: 4px; }
.ex__lyrics-icon { position: relative; width: 14px; height: 14px; flex: none; }
.ex__lyrics-icon::before, .ex__lyrics-icon::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: var(--coral);
  transition: transform 200ms var(--ease-out);
}
.ex__lyrics-icon::after { transform: rotate(90deg); }
.ex__lyrics[open] .ex__lyrics-icon::after { transform: rotate(0deg); }
.ex__lyrics-body { padding: 2px 0 8px; font: italic 400 1.25rem/1.45 var(--serif); color: var(--sand); }
.ex__lyrics-body p + p { margin-top: 14px; }

/* Porträt in der persönlichen Notiz (Hochformat 9:16, im 4:5-Rahmen auf das Gesicht zugeschnitten) */
.theme-b .note__photo { position: relative; overflow: hidden; }
.theme-b .note__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

@media (max-width: 900px) {
  .theme-b .ex .ex__img, .theme-b .ex .ex__song { grid-column: 1 / -1; grid-row: auto; }
  .theme-b .ex--1 .ex__img { max-width: 440px; width: 100%; }
  .theme-b .ex--2 .ex__img { max-width: 520px; width: 100%; }
  .theme-b :is(.ex--3, .ex--4) .ex__img { max-width: 340px; width: 100%; }
}

/* Handy: Preiszeile direkt unter dem Button, „Erst mal reinhören“ danach */
@media (max-width: 560px) {
  .theme-b .hero__buy { display: flex; flex-direction: column; align-items: stretch; }
  .theme-b .hero__buy .hero__actions { display: contents; }
  .theme-b .hero__buy .btn { order: 1; }
  .theme-b .hero__price { order: 2; margin-top: 10px; text-align: center; }
  .theme-b .hero__buy .ulink { order: 3; margin-top: 14px; }
}

/* ================= Hörproben-Karten v3: Bild + Play, darunter Titel und Player ================= */
.theme-b .ex__title { margin-top: 0; }
.theme-b .ex__song .player { margin-top: 14px; }
.theme-b .examples .ex__for { margin-top: 14px; }
.theme-b .examples .ex__for span { display: inline; font-size: inherit; margin: 0; }

.ex__story { margin-top: 18px; border-top: 1px solid var(--rule-on-ink); border-bottom: 1px solid var(--rule-on-ink); }
.ex__story summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; cursor: pointer; list-style: none; font-weight: 600; font-size: .9375rem; color: var(--sand);
}
.ex__story summary::-webkit-details-marker { display: none; }
.ex__story summary:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; border-radius: 4px; }
.ex__story-icon { position: relative; width: 14px; height: 14px; flex: none; }
.ex__story-icon::before, .ex__story-icon::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: var(--coral);
  transition: transform 200ms var(--ease-out);
}
.ex__story-icon::after { transform: rotate(90deg); }
.ex__story[open] .ex__story-icon::after { transform: rotate(0deg); }
.ex__story-body { padding: 4px 0 22px; }
.theme-b .ex__story .ex__facts { padding-bottom: 18px; }
.theme-b .ex__story .ex__lyrics { margin-top: 18px; border-top: 0; }
.ex__lyrics-title { font-size: .8125rem; font-weight: 600; color: var(--sand); margin-bottom: 6px; }
.ex__lyrics p { font: italic 400 1.25rem/1.45 var(--serif); color: var(--sand); }
.ex__lyrics p + p { margin-top: 12px; }

@media (max-width: 900px) {
  /* Handy: Herbst-Video zuerst in der Wischreihe */
  /* Reihenfolge am Handy = Reihenfolge im HTML (Korrekturen 3) */
  /* Bild, Play, Titel und Player passen zusammen auf einen Bildschirm */
  .theme-b .ex .ex__song { margin-top: 18px; }
  .theme-b .ex--1 .ex__img { max-width: min(440px, 52svh); }
  .theme-b .ex--2 .ex__img { max-width: min(520px, calc(46svh * 4 / 5)); }
  .theme-b :is(.ex--3, .ex--4) .ex__img { max-width: min(340px, calc(58svh * 9 / 16)); }
  .theme-b .ex__img { margin-inline: auto; }
  .theme-b .ex__title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
}

/* ---------- Korrekturen 2: Navigation am Handy, Sprungziele, Markenname ---------- */
/* Markenname in Instrument Serif, damit das große I nicht wie ein l aussieht */
.brandname { font-family: var(--serif); font-weight: 400; font-size: 1.18em; line-height: 1; letter-spacing: .005em; }

/* Sprungziele landen nicht unter der Leiste */
main section[id] { scroll-margin-top: 88px; }

.nav { transition: transform 260ms var(--ease-out); }
@media (max-width: 900px) {
  .nav { padding-top: 8px; }
  .nav__bar { padding: 2px 2px 2px 14px; }
  .wordmark { font-size: 1.3rem; }
  /* Beim Herunterscrollen ausblenden, beim Hochscrollen wieder zeigen */
  .nav.is-hidden { transform: translateY(calc(-100% - 12px)); }
  main section[id] { scroll-margin-top: 68px; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

/* ---------- Korrekturen 3: Instagram, Einblendung am Handy ---------- */
.note__text .note__insta { margin-top: 28px; font-size: 1rem; }
.note__text .note__insta .ulink { color: inherit; }
.footer__social { grid-column: 1 / span 6; display: flex; flex-wrap: wrap; gap: 0 28px; }
.footer__social a { padding: 10px 0; background-position: left calc(100% - 7px); }
.footer__brand { grid-row: 1; }
.footer__links { grid-row: 1; }
@media (max-width: 900px) {
  .footer__social { grid-column: 1 / -1; grid-row: auto; }
  .footer__links { grid-row: auto; }
}
/* Am Handy blenden die Kacheln in ihrer Wisch-Reihenfolge ein */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .mosaic .tile:nth-child(1) { animation-delay: 120ms; } .mosaic .tile:nth-child(2) { animation-delay: 200ms; }
  .mosaic .tile:nth-child(3) { animation-delay: 280ms; } .mosaic .tile:nth-child(4) { animation-delay: 360ms; }
  .mosaic .tile:nth-child(n+5) { animation-delay: 440ms; }
}

/* Footer: Instagram-Icon + Handle */
.footer__insta { display: inline-flex; align-items: center; gap: 8px; }
.footer__insta-icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__insta-icon .dot { fill: currentColor; stroke: none; }
