/* Umbolement — ein Stylesheet für umbolement.de und umbolement.com. Schriften liegen auf dem eigenen Server
   (Instrument Serif, Geist; beide SIL OFL 1.1), es wird nichts von fremden Servern geladen. */
@font-face { font-family: "Instrument Serif"; src: url("/schrift/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/schrift/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/schrift/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --papier: #F3F0E8; --tinte: #16140F; --leise: #625C50; --hauch: #716A5D; --linie: #DAD3C5;
  --akzent: #A0501D; --bluete: #B7702A;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rand: clamp(20px, 5vw, 72px);
  --weich: cubic-bezier(.2, .7, .1, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --papier: #100F0C; --tinte: #EEE9DE; --leise: #A8A091; --hauch: #8A8374; --linie: #2A2721;
    --akzent: #E3A862; --bluete: #E3A862;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* feines Papierkorn, als Daten-URI (keine Anfrage), liegt über allem und fängt keine Klicks */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::before { mix-blend-mode: screen; opacity: .035; } }
::selection { background: var(--akzent); color: var(--papier); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; border-radius: 2px; }
a { color: inherit; }

.seite { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }

/* Kopf */
.kopf { display: flex; justify-content: space-between; align-items: center; padding: 24px var(--rand); }
.marke { display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font: 600 12.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.marke svg { width: 22px; height: 22px; flex: none; }
.marke svg path { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.marke svg circle { fill: var(--bluete); }
.sprache { font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--leise);
  text-decoration: none; padding: 10px 0 8px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.sprache:hover { color: var(--tinte); border-color: currentColor; }

/* Bühne der Startseite */
.buehne { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 5vw, 96px); padding: clamp(16px, 5vh, 64px) var(--rand) clamp(40px, 9vh, 104px); }
.text { max-width: 40rem; }
.augenbraue { display: flex; align-items: center; gap: 14px; margin: 0;
  font: 500 12px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--leise); }
.augenbraue::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.titel { margin: 26px 0 0; font: 400 clamp(3.3rem, 8.6vw, 8rem)/.92 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.titel em { font-style: italic; color: var(--akzent); }
.lead { margin: clamp(24px, 3.4vw, 38px) 0 0; max-width: 31rem; color: var(--leise);
  font: 400 clamp(1.05rem, 1.3vw, 1.2rem)/1.62 var(--sans); text-wrap: pretty; }
.kontakt { margin: clamp(34px, 5vw, 60px) 0 0; display: grid; gap: 8px; }
.etikett { font: 500 11.5px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--hauch); }
.kontakt a { width: fit-content; text-decoration: none; font: 400 clamp(1.7rem, 2.8vw, 2.4rem)/1.15 var(--serif);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px;
  transition: color .35s var(--weich), background-size .55s var(--weich); }
.kontakt a:hover { color: var(--akzent); background-size: 0 1px; background-position: 100% 100%; }

.bild { justify-self: center; width: 100%; max-width: 640px; }
.dolde { display: block; width: 100%; height: auto; overflow: visible; }
.dolde path { fill: none; stroke: var(--tinte); stroke-linecap: round; }
.dolde .stiel { stroke-width: 1.5; opacity: .9; }
.dolde .strahl { stroke-width: 1.1; opacity: .72; }
.dolde .zweig { stroke-width: .9; opacity: .55; }
.dolde .bluete { fill: var(--bluete); }
.dolde .knoten { fill: var(--tinte); }
.wiege { transform-box: view-box; transform-origin: 300px 600px; }

/* Rechtsseiten */
.recht { padding: clamp(28px, 7vh, 88px) var(--rand) clamp(56px, 10vh, 120px); }
.recht .spalte { max-width: 46rem; }
.recht h1 { margin: 22px 0 0; font: 400 clamp(2.8rem, 6.4vw, 5rem)/.95 var(--serif); letter-spacing: -.015em; }
.recht h2 { margin: 52px 0 14px; font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.recht p, .recht li { margin: 0 0 12px; color: var(--leise); font-size: 16.5px; line-height: 1.72; text-wrap: pretty; }
.recht ul { margin: 0 0 12px; padding-left: 1.1em; }
.recht a { color: var(--tinte); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.recht a:hover { color: var(--akzent); }
.angaben { display: grid; grid-template-columns: 11rem 1fr; gap: 12px 28px; margin: 36px 0 0; padding: 28px 0 0;
  border-top: 1px solid var(--linie); }
.angaben dt { font: 500 11.5px/1.9 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--hauch); }
.angaben dd { margin: 0; font-size: 16.5px; line-height: 1.6; }

/* Fuß */
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 28px;
  margin: 0 var(--rand); padding: 22px 0 28px; border-top: 1px solid var(--linie);
  font: 400 13px/1.5 var(--sans); color: var(--hauch); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { color: var(--leise); text-decoration: none; transition: color .3s; }
.fuss a:hover, .fuss a[aria-current="page"] { color: var(--tinte); }

/* Auftritt: Text steigt auf, die Dolde zeichnet sich, dann blüht sie und wiegt sich */
.auftritt { opacity: 0; transform: translateY(16px); animation: auftritt 1s var(--weich) forwards;
  animation-delay: calc(.25s + var(--n, 0) * 130ms); }
@keyframes auftritt { to { opacity: 1; transform: none; } }
.dolde path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichnen var(--dauer, 1s) cubic-bezier(.65, .05, .2, 1) forwards; }
.dolde .stiel { --dauer: 1.2s; animation-delay: .2s; }
.dolde .strahl { --dauer: 1.25s; animation-delay: calc(1.1s + var(--i) * 60ms); }
.dolde .zweig { --dauer: .75s; animation-delay: calc(2s + var(--i) * 8ms); }
.dolde .bluete, .dolde .knoten { transform-box: fill-box; transform-origin: center; transform: scale(0);
  animation: bluehen .7s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(2.35s + var(--i, 0) * 8ms); }
.dolde .knoten { animation-delay: 1.15s; }
.wiege { animation: wiegen 12s ease-in-out 3.4s infinite alternate; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes bluehen { to { transform: scale(1); } }
@keyframes wiegen { from { transform: rotate(-.8deg); } to { transform: rotate(.8deg); } }

@media (prefers-reduced-motion: reduce) {
  .auftritt { animation: none; opacity: 1; transform: none; }
  .dolde path { animation: none; stroke-dashoffset: 0; }
  .dolde .bluete, .dolde .knoten { animation: none; transform: none; }
  .wiege { animation: none; }
}

/* Schmal: Bild oben, Text darunter */
@media (max-width: 860px) {
  .buehne { grid-template-columns: 1fr; gap: 8px; padding-top: 4px; }
  .bild { order: -1; max-width: min(78vw, 400px); }
  .titel { margin-top: 20px; font-size: clamp(3rem, 15.5vw, 4.8rem); }
  .fuss { font-size: 12.5px; }
  .angaben { grid-template-columns: 1fr; gap: 2px; }
  .angaben dd { margin-bottom: 14px; }
}
