/* ───────────────────────── Fonts (lokal, funktioniert offline) ───────────────────────── */
@font-face { font-family: "Cinzel"; font-weight: 400 700; font-style: normal; font-display: swap;
  src: url("../assets/fonts/cinzel.woff2") format("woff2"); }
@font-face { font-family: "Great Vibes"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../assets/fonts/great-vibes.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 400 700; font-style: normal; font-display: swap;
  src: url("../assets/fonts/lora.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 400 700; font-style: italic; font-display: swap;
  src: url("../assets/fonts/lora-italic.woff2") format("woff2"); }

/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --bg: #0e0a17;
  --bg-2: #150f24;
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(139, 79, 239, .07);
  --line: rgba(212, 175, 55, .24);
  --line-soft: rgba(181, 151, 233, .16);

  --gold: #d4af37;
  --gold-hi: #f0d98a;
  --purple: #8b4fef;          /* Titelfarbe aus TRP3 */
  --purple-hi: #a97dff;
  --lav: #b597e9;             /* Textfarbe aus TRP3 */
  --crimson: #b3402a;

  --text: #e8e1f5;
  --muted: #a99cc4;

  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Lora", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Brush Script MT", cursive;

  --gutter: clamp(1rem, 4vw, 2rem);
  --maxw: 1180px;
  --radius: 14px;
  --nav-h: 3.75rem;
}

/* ───────────────────────── Basis ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-hi); text-decoration-color: rgba(212, 175, 55, .4); text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }

/* ───────────────────────── Navigation ───────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.solid {
  background: rgba(14, 10, 23, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--gold-hi);
  font: 600 1.05rem var(--display); letter-spacing: .12em; text-transform: uppercase; }
.brand img { width: 32px; height: 32px; }
.brand span { font: 400 1.9rem/1 var(--script); letter-spacing: 0; text-transform: none; padding-top: .1em; }
.nav nav { display: flex; gap: clamp(.9rem, 2.5vw, 2rem); overflow-x: auto; scrollbar-width: none; }
.nav nav::-webkit-scrollbar { display: none; }
.nav nav a {
  font: 500 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); text-decoration: none; padding: .35rem 0; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav nav a:hover, .nav nav a.active { color: var(--gold-hi); border-color: var(--gold); }
@media (max-width: 560px) { .brand span { display: none; } }

/* ───────────────────────── Hero ───────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero { background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; --head: clamp(3rem, 9vh, 5.5rem); }   /* Luft über den Hörnern */
/* Unscharfe Verlängerung des Bildes: füllt den Streifen oben und die Seiten auf breiten Bildschirmen */
.hero-bg::before { content: ""; position: absolute; inset: -6%; background: url("../assets/img/gallery/thronsaal-marmor.webp") 50% 0 / cover; filter: blur(26px) brightness(.5) saturate(1.1); }
/* Das scharfe Bild behält seine Höhe (so liegt der Titel nie auf ihrem Gesicht) und wird mittig gezeigt */
.hero-bg img {
  position: absolute; left: 50%; top: var(--head); height: calc(100% - var(--head)); width: auto; max-width: none;
  translate: -50% 0; transform-origin: 50% 0;   /* wächst nach unten, der Kopf wird nie vom Rand geschluckt */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 3%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 3%), linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { from { scale: 1; } to { scale: 1.05; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(14,10,23,.65) 0, rgba(14,10,23,0) 20%, rgba(14,10,23,0) 36%, rgba(14,10,23,.72) 58%, rgba(14,10,23,.9) 76%, var(--bg) 100%);
}
#dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

.hero-inner { text-align: center; padding: calc(var(--nav-h) + .5rem) var(--gutter) clamp(4rem, 11vh, 7rem); }
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  font: 600 clamp(1.2rem, 3vw, 2rem) var(--display); letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: #fff;
  margin: 0 0 clamp(.5rem, 4vw, 3.2rem);   /* Luft für den Schwung des L */
  text-shadow: 0 0 8px rgba(10,6,20,.95), 0 1px 3px rgba(10,6,20,.95), 0 3px 22px rgba(10,6,20,.9);
}
.eyebrow::before, .eyebrow::after { content: ""; flex: none; width: clamp(2.5rem, 10vw, 6.5rem); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold)); box-shadow: 0 0 8px rgba(212,175,55,.6); }
.eyebrow::after { transform: scaleX(-1); }
h1 { display: flex; flex-direction: column; align-items: center; gap: .1em; }
.h1-name {
  font-family: var(--script); font-size: clamp(5rem, 17vw, 11.5rem); font-weight: 400; letter-spacing: 0; line-height: 1.05;
  padding: .05em .2em .1em; /* Platz für die Schwünge, sonst schneidet der Farbverlauf sie ab */
  background: linear-gradient(180deg, #fff3c4 0%, var(--gold) 55%, #9a7414 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 18px rgba(0,0,0,.55));
}
.h1-house { font-size: clamp(1rem, 3vw, 1.6rem); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--text); text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.epithet { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .9rem 0 1.9rem;
  font: 600 clamp(1.6rem, 3.8vw, 2.5rem)/1.2 var(--display); letter-spacing: .1em; }
.epithet::before, .epithet::after { content: "✦"; font-size: .5em; color: #ffd100; text-shadow: 0 0 10px rgba(255,209,0,.9); animation: twinkle 3.2s ease-in-out infinite; }
.epithet::after { animation-delay: 1.6s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }

/* WoW-Gold: Metallverlauf, dunkle Kante, warmer Schein und ein Glanzstreifen, der darüber wandert */
.gold-shine, .title-chain a {
  background: linear-gradient(100deg, #a87510 0%, #ffd100 18%, #fff4b8 30%, #ffd100 42%, #d29a12 62%, #ffe680 80%, #b8820f 100%);
  background-size: 260% 100%; background-position: 70% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(48,30,0,.95)) drop-shadow(0 0 10px rgba(255,209,0,.38));
  animation: goldsweep 5.5s ease-in-out infinite;
}
@keyframes goldsweep { 0% { background-position: 110% 0; } 55%, 100% { background-position: -10% 0; } }

.motto { margin: 0 auto; max-width: 34rem; }
.motto p { font: italic 400 clamp(1.05rem, 2.2vw, 1.3rem)/1.55 var(--body); color: var(--text); margin: 0 0 .4rem; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.motto footer { font: 500 .7rem var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(240,217,138,.55); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-hi); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ───────────────────────── Sektionen ───────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gutter) 0; }
.section:last-of-type { padding-bottom: clamp(4rem, 9vw, 7rem); }
.section-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.kicker { font: 500 .78rem var(--display); letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: .05em; color: var(--purple-hi); }
.orn { height: 14px; margin: 1.1rem auto 0; width: min(260px, 60%); position: relative; }
.orn::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--bg); border: 1px solid var(--gold); transform: rotate(45deg); }
.subhead { font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); text-align: center; margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }

/* ───────────────────────── Karten ───────────────────────── */
.card {
  background: linear-gradient(160deg, var(--card-2), var(--card) 60%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.card-title { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.card-title small { font: italic 400 .85rem var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: .5rem; }

/* Profil */
.profile-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
.side { display: flex; flex-direction: column; gap: 1rem; }
.portrait { position: relative; flex: 1 1 0; min-height: 22rem; margin: 0; }
.portrait .zoom { position: absolute; inset: 0; }   /* das Bild bestimmt die Höhe nicht, es füllt den verfügbaren Platz */
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 12%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.crest-card { flex: none; position: relative; margin: 0; display: flex; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--card);
  transition: border-color .25s, background .25s, transform .25s; }
.crest-card:hover { border-color: var(--line); background: linear-gradient(160deg, var(--card-2), var(--card)); }
.crest-card figcaption { flex: 1; min-width: 0; }
.crest-zoom { flex: none; display: block; cursor: zoom-in; }
.crest-zoom::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }                      /* ganze Kachel ist klickbar */
.crest-zoom::after { content: "⤢"; position: absolute; right: .55rem; bottom: .5rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center;
  border-radius: 50%; font-size: .85rem; line-height: 1; color: var(--gold-hi); background: rgba(14,10,23,.78); border: 1px solid var(--line); opacity: .85; transition: opacity .2s, transform .2s; pointer-events: none; }
.crest-card:hover .crest-zoom::after, .crest-zoom:focus-visible::after { opacity: 1; transform: scale(1.12); }
.crest-zoom:focus-visible::before { outline: 2px solid var(--gold); outline-offset: 2px; }
.crest-card img { width: 5.5rem; height: 5.5rem; filter: drop-shadow(0 3px 12px rgba(0,0,0,.5)); transition: transform .35s ease; }
.crest-card:hover img { transform: scale(1.07) rotate(-2deg); }
.crest-card b { display: block; font: 600 .85rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.crest-card span { font-size: .9rem; font-style: italic; color: var(--muted); }
.flag-card img { border-radius: 10px; border: 1px solid var(--line); }
.stack { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }

.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line-soft); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font: 500 .78rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); padding-top: .2rem; }
.facts dd { margin: 0; }
.facts dd small { color: var(--muted); }
.facts .accent { color: var(--purple-hi); font-weight: 600; }
.facts .gold { color: var(--gold-hi); font-weight: 600; }

.sheet-group + .sheet-group { margin-top: 1.5rem; }
.group-title { display: flex; align-items: center; gap: .9rem; margin-bottom: .35rem; font: 600 .9rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); }
.group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.sheet .facts > div:last-child { border-bottom: 0; }
.creed { margin: 1rem 0 0; padding: .95rem 1.25rem; border-left: 2px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, rgba(212,175,55,.1), transparent 85%); }
.creed span { display: block; margin-bottom: .3rem; font: 500 .7rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.creed p { margin: 0; font: italic 400 1.12rem/1.65 var(--body); color: var(--lav); }

.titles { flex: none; text-align: center; padding: 1.25rem 1.25rem 1.1rem; }
.titles .card-title { text-align: center; }
.title-chain { display: flex; flex-direction: column; align-items: center; gap: .3rem; font: 600 clamp(1.05rem, 1.5vw, 1.25rem)/1.4 var(--display); letter-spacing: .04em; margin: 0 0 .9rem; }
.title-chain a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, filter .2s; }
.title-chain a:hover { border-color: var(--gold); filter: drop-shadow(0 1px 0 rgba(48,30,0,.95)) drop-shadow(0 0 14px rgba(255,209,0,.75)) brightness(1.2); }
.title-chain a:nth-of-type(2) { animation-delay: .35s; } .title-chain a:nth-of-type(3) { animation-delay: .7s; }
.title-chain a:nth-of-type(4) { animation-delay: 1.05s; } .title-chain a:nth-of-type(5) { animation-delay: 1.4s; }
.title-chain a:nth-of-type(6) { animation-delay: 1.75s; } .title-chain a:nth-of-type(7) { animation-delay: 2.1s; }
.title-chain i { display: none; }   /* untereinander braucht es keine Trenn-Sterne */
.hint { font-size: .9rem; color: var(--muted); font-style: italic; margin: 0; }
.titles .hint { font-size: .82rem; line-height: 1.5; }

/* Prosa */
.prose p { max-width: 68ch; }
.look p { color: var(--lav); font-size: 1.1rem; line-height: 1.85; }
.look p:first-child::first-letter { font: 600 4.2rem/.85 var(--display); float: left; padding: .3rem .6rem 0 0; color: var(--gold); }
.look-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.look-side { position: sticky; top: calc(var(--nav-h) + 1rem); }
.look-side figure { margin: 0; }
.look-side img, .zoom img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.zoom { display: block; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.zoom img { transition: transform .6s ease; }
.zoom:hover img { transform: scale(1.03); }
/* kleine Lupe unten rechts: zeigt, dass man das Bild vergrößern kann */
.zoom { position: relative; }
.zoom::after { content: "⤢"; position: absolute; right: .8rem; bottom: .8rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
  border-radius: 50%; font-size: 1.15rem; line-height: 1; color: var(--gold-hi); background: rgba(14,10,23,.72); border: 1px solid var(--line);
  backdrop-filter: blur(4px); opacity: .85; transition: opacity .2s, transform .2s; pointer-events: none; }
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; transform: scale(1.1); }

.intro { max-width: 46rem; margin: 0 auto; }
.intro p { max-width: none; color: #d6cceb; }
.intro .lead { font: italic 400 1.35rem/1.6 var(--body); color: var(--gold-hi); }

/* Auf den ersten Blick */
.glance { margin-top: clamp(2rem, 5vw, 3rem); }
.glance-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.glance-tabs button {
  display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center;
  padding: 1.1rem .5rem; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  color: var(--lav); transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.glance-tabs .ico { width: 2rem; height: 2rem; }
.glance-tabs span { font: 500 .75rem var(--display); letter-spacing: .12em; text-transform: uppercase; }
.glance-tabs button:hover { border-color: var(--line); color: var(--gold-hi); transform: translateY(-2px); }
.glance-tabs button[aria-selected="true"] { background: linear-gradient(160deg, rgba(139,79,239,.28), rgba(212,175,55,.1)); border-color: var(--gold); color: var(--gold-hi); }
.glance-panels { margin-top: 1rem; }
.panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--card); }
.panel h4 { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: .8rem; }
.panel p { color: var(--lav); max-width: 75ch; }
.panel p:last-child { margin-bottom: 0; }

/* Schmuck */
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: clamp(2rem, 5vw, 3rem) 0; }
.materials li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--card); }
.materials b { font: 600 .95rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); }
.materials span { grid-column: 2; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.sw { grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 4px 14px rgba(0,0,0,.4); }
.sw-gold { background: conic-gradient(from 200deg, #fff3c4, #d4af37, #8a6612, #f5dd8f, #fff3c4); }
.sw-diamond { background: conic-gradient(from 30deg, #fff, #cfd8ff, #f4f1ff, #b9c4f0, #fff); }
.sw-tanzanite { background: conic-gradient(from 0deg, #2c2a9c, #6a3fd0, #9a5fe0, #3a3fb8, #2c2a9c); animation: shift 8s linear infinite; }
@keyframes shift { to { filter: hue-rotate(40deg); } }

.clip { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center;
  margin: clamp(2rem, 5vw, 3.5rem) auto; max-width: 52rem; padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line-soft); border-radius: calc(var(--radius) + 4px);
  background: radial-gradient(120% 120% at 100% 0%, rgba(139,79,239,.16), transparent 55%), linear-gradient(160deg, var(--card-2), var(--card)); }
.clip video { width: 100%; aspect-ratio: 960 / 1706; object-fit: cover; border-radius: 10px; background: #000; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.clip h3 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: var(--gold-hi); margin: .1rem 0 .9rem; letter-spacing: .04em; }
.clip-body p:not(.finger) { color: #d6cceb; }
.clip-note { font-style: italic; color: var(--lav) !important; margin-bottom: 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center;
  margin: clamp(2rem, 5vw, 3.5rem) 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: radial-gradient(120% 120% at 0% 0%, rgba(212,175,55,.1), transparent 55%), linear-gradient(160deg, var(--card-2), var(--card)); }
.feature figure, .ring figure { margin: 0; }
.feature img, .ring img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.feature h3 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--gold-hi); margin: .2rem 0 1rem; letter-spacing: .04em; }

.finger { font: 500 .75rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 .5rem; line-height: 1.6; }
.finger span { display: block; font: italic 400 .9rem var(--body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.meta { font-size: .98rem; margin-bottom: .7rem; }
.meta b { display: inline-block; margin-right: .5rem; font: 500 .75rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--purple-hi); }

/* Hände: Übersicht + Finger-Tabelle */
.hand-pair { display: flex; justify-content: center; gap: clamp(1.5rem, 9vw, 7rem); margin: 0 auto 1rem; padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 3rem);
  max-width: 44rem; border: 1px solid var(--line-soft); border-radius: calc(var(--radius) + 4px);
  background: radial-gradient(90% 120% at 50% 0%, rgba(139,79,239,.18), transparent 60%), var(--card); }
.hand-fig { margin: 0; text-align: center; --hand-fill: #2a1a3f; --hand-line: var(--gold); --band: var(--gold-hi); }
.hand-fig svg { width: clamp(8rem, 22vw, 12rem); height: auto; overflow: visible; fill: var(--band); filter: drop-shadow(0 0 14px rgba(212,175,55,.28)); }
.hand-fig figcaption { margin-top: .7rem; }
.hand-fig strong { display: block; font: 600 1rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.hand-fig small { font: 500 .7rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Hand-Zeichnung: Farben per Klasse (nicht per style-Attribut, siehe Content-Security-Policy) */
.h-out { fill: var(--hand-line); stroke: var(--hand-line); stroke-width: 2.6; stroke-linejoin: round; }
.h-in { fill: var(--hand-fill); }
.nail { fill: #0d0715; stroke: #9a7fd0; stroke-width: .45; }
.shine { fill: none; stroke: rgba(255,255,255,.62); stroke-width: .55; stroke-linecap: round; }
.gem { fill: var(--purple-hi); }
.fh { cursor: pointer; outline: none; }
.fh .hit { fill: transparent; stroke: transparent; stroke-width: 2.2; transition: fill .2s, stroke .2s; }
.fh:hover .hit, .fh:focus-visible .hit { fill: rgba(212,175,55,.3); stroke: var(--gold-hi); }
/* linker Daumen ohne Ring: keine Markierung, nur beim Drüberfahren ein zartes Leuchten */
.fh.none:hover .hit, .fh.none:focus-visible .hit { fill: rgba(181,151,233,.14); stroke: rgba(181,151,233,.35); }
.hand-hint { text-align: center; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }

.fingers { --col-mid: 10rem; }   /* breit genug für das längste Label („Kleiner Finger“, „Mittelfinger“) */
.fingers-head, .finger-row { display: grid; grid-template-columns: minmax(0, 1fr) var(--col-mid) minmax(0, 1fr); column-gap: clamp(.75rem, 2vw, 1.5rem); }
.fingers-head { position: sticky; top: var(--nav-h); z-index: 5; margin-bottom: clamp(1.25rem, 3vw, 2rem); padding: .75rem 1.25rem;
  background: rgba(14,10,23,.86); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.fingers-head strong { display: block; font: 600 .95rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.fingers-head small { font-size: .85rem; font-style: italic; color: var(--muted); }
.fingers-head > div:last-child { text-align: right; }
.finger-row { align-items: stretch; margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); scroll-margin-top: 9rem; }
.finger-name { grid-column: 2; grid-row: 1; align-self: start; justify-self: center; position: sticky; top: calc(var(--nav-h) + 6rem); text-align: center; }
.finger-name span { display: inline-block; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font: 600 .75rem/1.35 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.finger-row > .side-l { grid-column: 1; grid-row: 1; }
.finger-row > .side-r { grid-column: 3; grid-row: 1; }

.ring { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: linear-gradient(170deg, var(--card-2), var(--card) 55%); transition: border-color .3s, box-shadow .3s; }
.ring:hover { border-color: var(--line); }
.ring.flash { animation: flash 1.8s ease-out; }
@keyframes flash { 0%, 30% { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.35), 0 0 40px rgba(212,175,55,.25); } 100% { box-shadow: none; } }
.ring img { border-radius: 0; }
.ring-body { padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.ring h4 { font-size: 1.3rem; letter-spacing: .04em; color: var(--gold-hi); margin-bottom: .9rem; }
.ring-body > p:last-child { color: #d6cceb; font-size: .98rem; margin-bottom: 0; }
.ph-flag { position: relative; }
.ph-flag figcaption { position: absolute; inset: auto 0 0 0; padding: 2.6rem 1rem .9rem; text-align: center; color: #fff;
  font: 500 .75rem/1.6 var(--display); letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(to top, rgba(8,5,14,.9), transparent); pointer-events: none; }
.placeholder { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background: repeating-linear-gradient(135deg, rgba(139,79,239,.08) 0 12px, transparent 12px 24px); color: var(--muted); border-bottom: 1px dashed var(--line); }
.placeholder .ico { width: 3.2rem; height: 3.2rem; opacity: .6; }
.placeholder span { font: 500 .75rem var(--display); letter-spacing: .2em; text-transform: uppercase; }
.placeholder.empty { background: radial-gradient(circle at 50% 50%, rgba(212,175,55,.08), transparent 60%); }
.ring-empty { border-style: dashed; justify-content: center; }
.ring-empty figure { display: none; }
.ring-empty .ring-body { padding: clamp(1.5rem, 3vw, 2.25rem); text-align: center; }
.ring-empty h4 { font-style: normal; }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filters button { padding: .5rem 1.2rem; font: 500 .75rem var(--display); letter-spacing: .16em; text-transform: uppercase; background: transparent; border: 1px solid var(--line-soft); border-radius: 999px; color: var(--lav); transition: all .2s; }
.filters button:hover { border-color: var(--line); color: var(--gold-hi); }
.filters button.on { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1.25rem; }
.g-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 16 / 9; }
.g-item.tall { grid-row: span 2; aspect-ratio: auto; }
.g-item.tall img { position: absolute; inset: 0; object-position: 50% 8%; }  /* Bild bestimmt nicht die Zeilenhöhe */
.g-item[hidden] { display: none; }
.g-item a { display: block; height: 100%; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .7s ease, filter .4s; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem .9rem; font: 500 .78rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: linear-gradient(to top, rgba(8,5,14,.85), transparent); opacity: 0; transform: translateY(6px); transition: all .3s; pointer-events: none; }
.g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .g-item figcaption { opacity: 1; transform: none; } }

.gallery-more { text-align: center; margin: 2rem 0 0; }

/* Lightbox */
#lightbox { border: 0; padding: 0; margin: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
#lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 1rem; }
#lightbox::backdrop { background: rgba(6, 4, 12, .94); backdrop-filter: blur(6px); }
#lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; height: 100%; }
#lightbox img { max-width: 100%; max-height: calc(100vh - 6rem); max-height: calc(100svh - 6rem); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,.7); }
#lightbox figcaption { margin-top: .9rem; font: 500 .85rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.lb-close, .lb-nav { background: rgba(255,255,255,.08); border: 1px solid var(--line); color: #fff; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(212,175,55,.3); }
.lb-close { position: fixed; top: 1rem; right: 1rem; z-index: 2; }
@media (max-width: 640px) { #lightbox[open] { grid-template-columns: 1fr; } .lb-nav { position: fixed; bottom: 1rem; z-index: 2; } .lb-prev { left: 1rem; } .lb-next { right: 1rem; } }

/* Verschiedenes */
.now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.bullets li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.bullets li::before { content: ""; position: absolute; left: .2rem; top: .8em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.since { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px dashed var(--line-soft); }
.since-label { display: block; font: 500 .75rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.since strong { display: block; font: 500 1.08rem/1.65 var(--body); color: var(--text); }
.since strong span { font: 600 1rem var(--display); letter-spacing: .03em; color: var(--gold-hi); }
.since small { display: block; margin-top: .3rem; font-size: .88rem; font-style: italic; color: var(--muted); }
.rp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 56rem; margin: 0 auto; }
.rp-grid li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; padding: 1rem 1.3rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--card); border-left: 3px solid var(--purple); }
.rp-ico { grid-row: 1 / 3; width: 3rem; height: 3rem; padding: .7rem; border-radius: 50%; color: var(--purple-hi); background: rgba(139,79,239,.14); border: 1px solid var(--line-soft); }
.rp-grid .yes .rp-ico { color: var(--gold-hi); background: rgba(212,175,55,.12); border-color: var(--line); }
.rp-grid .no .rp-ico { color: #ee8b76; background: rgba(179,64,42,.16); border-color: rgba(179,64,42,.45); }
.rp-grid .love .rp-ico { color: #f4a0c2; background: rgba(224,122,166,.13); border-color: rgba(224,122,166,.45); }   /* Romanze: rosa wie die Herzen in der Zeitleiste */
.rp-grid span, .rp-grid strong { grid-column: 2; }
.rp-grid span { display: block; font: 500 .7rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.rp-grid strong { font: 600 1.15rem var(--display); letter-spacing: .04em; }
.rp-grid .yes { border-left-color: var(--gold); }
.rp-grid .yes strong { color: var(--gold-hi); }
.rp-grid .no { border-left-color: var(--crimson); }
.rp-grid .no strong { color: #ee8b76; }

/* Footer */
.footer { text-align: center; padding: 3.5rem var(--gutter) 3rem; border-top: 1px solid var(--line); background: linear-gradient(to bottom, var(--bg), #08050f); }
.footer img { margin: 0 auto 1rem; opacity: .9; }
.footer-name { font: 600 1.1rem var(--display); letter-spacing: .25em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: .4rem; }
.footer-motto { font-style: italic; color: var(--lav); margin-bottom: 1.2rem; }
.footer-note { font-size: .8rem; color: var(--muted); margin: 0; }

/* ───────────────────────── Scroll-Reveal & Tabs (nur mit JS) ───────────────────────── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
html:not(.js) [role="tablist"] { display: none; }
[role="tabpanel"][hidden] { display: none; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 900px) {
  .profile-grid, .look-grid, .feature { grid-template-columns: 1fr; }
  .clip { grid-template-columns: 1fr; }
  .clip video { max-width: 15rem; margin: 0 auto; }
  .side, .look-side { position: static; }
  .portrait { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .portrait img { object-position: 52% 18%; }
  .look-side { order: -1; width: 100%; max-width: 22rem; margin: 0 auto; }   /* feste Breite, sonst schrumpft der Container bis das Bild geladen ist und die Seite springt */
  .glance-tabs { grid-template-columns: repeat(2, 1fr); }
  .materials, .rp-grid { grid-template-columns: 1fr; }
  .rp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .now-grid { grid-template-columns: 1fr; }
  .hand-pair { gap: 1.25rem; }
  .fingers-head { display: none; }
  .finger-row { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .finger-name { position: static; grid-column: 1; text-align: left; }
  .finger-row > .side-l, .finger-row > .side-r { grid-column: 1; grid-row: auto; }
  .gallery { grid-template-columns: 1fr; }
  .g-item.tall { grid-row: auto; aspect-ratio: 3 / 4; }
  .facts > div { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .rp-grid { grid-template-columns: 1fr; }
  .glance-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ───────────────────────── Werdegang, Hof & Etikette ───────────────────────── */
.lead-in { max-width: 44rem; margin: 0 auto 1.6rem; text-align: center; font-style: italic; color: var(--lav); font-size: 1.12rem; }
.lead-title { display: block; width: fit-content; margin: 0 auto .7rem; font: 600 clamp(1.5rem, 3.6vw, 2.2rem)/1.25 var(--display); font-style: normal; letter-spacing: .06em; }
.timeline { position: relative; max-width: 52rem; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 8.1rem; top: .6rem; bottom: .6rem; width: 1px; background: linear-gradient(to bottom, transparent, var(--gold) 5%, var(--gold) 95%, transparent); }
.tl-item { position: relative; display: grid; grid-template-columns: 7rem 1fr; column-gap: 2.2rem; margin-bottom: 1.35rem; }
.tl-node { position: absolute; left: calc(8.1rem - 1rem); top: .7rem; z-index: 1; width: 2rem; height: 2rem; display: grid; place-items: center;
  border-radius: 50%; color: var(--gold-hi); background: var(--bg); border: 1px solid var(--gold); }
.tl-node .ico { width: 1.05rem; height: 1.05rem; }
.tl-node[data-k="herrschaft"] { box-shadow: 0 0 10px rgba(212,175,55,.4); }   /* alle fünf Symbole leuchten in ihrer Farbe */
.tl-node[data-k="magie"] { color: var(--purple-hi); border-color: var(--purple-hi); background: #1b1230; box-shadow: 0 0 12px rgba(139,79,239,.55); }   /* der Magierweg leuchtet lila */
.tl-node[data-k="familie"] { color: #f4a0c2; border-color: #e07aa6; background: #251221; box-shadow: 0 0 10px rgba(240,130,175,.4); }   /* zartes Rosa nur für die Herzen */
.tl-node[data-k="reise"] { color: #8fdcae; border-color: #4fae7f; background: #10221a; box-shadow: 0 0 10px rgba(79,174,127,.35); }   /* Reisen: gedämpftes Grün */
.tl-node[data-k="kampf"] { color: #f08a78; border-color: #d1503f; background: #26130f; box-shadow: 0 0 10px rgba(209,80,63,.4); }   /* Kampf: warmes Rot, wie das „Nein“ beim Charaktertod */
.tl-key .tl-node { color: #1a1206; background: var(--gold); box-shadow: 0 0 14px rgba(212,175,55,.75); }
.tl-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3rem); padding: 0; list-style: none;
  font: 500 .75rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tl-legend li { display: flex; align-items: center; gap: .55rem; }
.tl-legend .tl-node { position: static; width: 1.6rem; height: 1.6rem; box-shadow: none; }
.tl-legend .tl-node[data-k="herrschaft"] { box-shadow: 0 0 8px rgba(212,175,55,.35); }
.tl-legend .tl-node[data-k="magie"] { box-shadow: 0 0 8px rgba(139,79,239,.5); }
.tl-legend .tl-node[data-k="familie"] { box-shadow: 0 0 8px rgba(240,130,175,.35); }
.tl-legend .tl-node[data-k="reise"] { box-shadow: 0 0 8px rgba(79,174,127,.3); }
.tl-legend .tl-node[data-k="kampf"] { box-shadow: 0 0 8px rgba(209,80,63,.35); }
.tl-legend .ico { width: .85rem; height: .85rem; }
.tl-year { padding-top: 1.05rem; text-align: right; white-space: nowrap; font: 600 .78rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
.tl-card { padding: 1rem 1.3rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(160deg, var(--card-2), var(--card)); }
.tl-card h4 { font-size: 1.08rem; letter-spacing: .04em; color: var(--gold-hi); margin-bottom: .4rem; }
.tl-card p { margin: 0; color: #d6cceb; font-size: 1rem; line-height: 1.7; }
.tl-chapter { position: relative; display: flex; align-items: baseline; gap: .9rem; margin: 2.4rem 0 1.4rem; padding-left: calc(7rem + 2.2rem); }
.tl-chapter:first-child { margin-top: 0; }
.tl-chapter h3 { font: 600 .92rem var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--purple-hi); }
.tl-chapter span { font: italic 400 .92rem var(--body); color: var(--muted); }
.tl-key .tl-card { border-color: var(--gold); background: linear-gradient(160deg, rgba(139,79,239,.24), rgba(212,175,55,.1)); box-shadow: 0 10px 34px rgba(139,79,239,.2); }
.wiki-more { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2rem 0 0; }

.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.35rem; border-radius: 999px; text-decoration: none;
  font: 500 .76rem var(--display); letter-spacing: .14em; text-transform: uppercase; transition: background .2s, transform .2s, color .2s, box-shadow .2s; }
.btn-ghost { color: var(--gold-hi); border: 1px solid var(--gold); }
.btn-ghost:hover { background: rgba(212,175,55,.16); color: #fff; transform: translateY(-2px); }
.btn-gold { color: #1a1206; background: linear-gradient(180deg, #f3dc8d, var(--gold)); border: 1px solid var(--gold); box-shadow: 0 6px 24px rgba(212,175,55,.3); }
.btn-gold:hover { color: #000; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,175,55,.45); }

.court-card { max-width: 60rem; margin: clamp(1.25rem, 3vw, 2rem) auto 0; }
.court-lead { max-width: 60ch; margin-bottom: 1.4rem; color: #d6cceb; }
.court-lead strong { color: var(--gold-hi); font-weight: 600; }
.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); }
.do-dont h4 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-hi); margin-bottom: .8rem; }
.ticks li, .crosses li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; font-size: .98rem; line-height: 1.65; color: #d6cceb; }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: .05em; color: var(--gold); font-size: .85em; }
.crosses li::before { content: "✕"; position: absolute; left: 0; top: .05em; color: #ee8b76; font-size: .85em; }
.card-action { margin: 1.4rem 0 0; text-align: center; }
.tl-card .card-action { margin: .95rem 0 0; }
.court-card .facts > div { grid-template-columns: 13.5rem 1fr; }

/* ───────────────────────── Schattenhain-Werbung ───────────────────────── */
.promo-card { position: relative; max-width: 50rem; margin: 0 auto; padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1.25rem, 5vw, 3rem); text-align: center;
  border: 1px solid var(--gold); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(100% 90% at 50% 0%, rgba(139,79,239,.3), transparent 70%), linear-gradient(170deg, rgba(212,175,55,.1), var(--card));
  box-shadow: 0 0 0 1px rgba(212,175,55,.18), 0 24px 70px rgba(139,79,239,.25); }
.promo-logo { width: min(25rem, 84%); height: auto; margin: 0 auto 1.2rem; filter: drop-shadow(0 0 22px rgba(255,226,170,.5)) drop-shadow(0 2px 6px rgba(0,0,0,.6)); }   /* heller Schein, damit das dunkelrote Logo auf dunklem Grund lesbar bleibt */
.promo-lead { max-width: 40rem; margin: 1.6rem auto 1.4rem; font-size: 1.1rem; color: var(--text); }
.promo-lead strong { color: var(--gold-hi); }
.promo-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

@media (max-width: 900px) { .do-dont { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .timeline::before { left: 1rem; }
  .tl-item { grid-template-columns: 1fr; padding-left: 2.9rem; row-gap: .35rem; }
  .tl-node { left: 0; top: -.2rem; }
  .tl-year { padding-top: 0; text-align: left; }
  .tl-chapter { padding-left: 2.9rem; flex-wrap: wrap; row-gap: 0; }
  .court-card .facts > div { grid-template-columns: 1fr; gap: 0; }
}

/* ───────────────────────── Sehr flache Fenster (z. B. Handy quer) ───────────────────────── */
@media (max-height: 620px) {
  .hero-inner { padding-bottom: 2.6rem; }
  .eyebrow { font-size: 1.05rem; margin-bottom: .3rem; }
  .h1-name { font-size: clamp(3.4rem, 24vh, 7rem); }
  .h1-house { font-size: 1rem; }
  .epithet { font-size: 1.35rem; margin: .4rem 0 1rem; }
  .motto p { font-size: 1rem; }
  .scroll-cue { display: none; }
}
