/* Blaschek DigitalWebdesign, Neubau nach den Design-Grundsätzen (19.11.2026)
   Leitsatz: ein ruhiger Ausstellungsraum für echte Websites. Jede Arbeit steht groß im Rahmen,
   kleine Werkangaben in Mono zeigen, wie genau gearbeitet wurde. Gold nur dort, wo man anfragt.
   Schriften: Archivo (alles Lesbare, variable Breite für den Schrift-Effekt) und Martian Mono
   (nur Werkangaben und Fachangaben). */

@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("assets/fonts/martian-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("assets/fonts/martian-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ===== Farben, Abstände, Kanten ===== */
:root {
  --grund: #efede8;       /* Kalkweiß, leicht warm wie Papier */
  --grund-2: #e2dfd8;     /* Haarlinien */
  --feld: #e6e3dc;        /* Eingabefelder, eine Stufe dunkler als der Grund */
  --tinte: #151513;
  --text: #57544d;        /* Fließtext */
  --leise: #8b877e;       /* zweite Helligkeitsstufe in Headlines */
  --gold: #b48a3c;        /* Messing: nur für Anfragen und Erstgespräch */
  --nacht: #131311;       /* das eine dunkle Kapitel */
  --nacht-2: #1c1b18;
  --nacht-linie: #2f2d29;
  --nacht-text: #a5a199;

  /* Abstandsskala, nur diese Werte */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px; --s7: 168px;
  --r1: 4px;              /* Knöpfe, Felder, kleine Rahmen */
  --r2: 10px;             /* große Rahmen und Karten */

  --nav-h: 72px;
  --rand: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --mono: "Martian Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 18px; font-weight: 420;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
sup { font-size: .32em; vertical-align: top; position: relative; top: .35em; margin-left: .08em; font-weight: 500; letter-spacing: 0; }
.mono {
  font-family: var(--mono); font-style: normal; font-weight: 400;
  font-size: 11.5px; line-height: 1.5; letter-spacing: 0;
  color: var(--text);
}
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }

/* ===== Knöpfe: Tasten =====
   Herkunft: die Tastatur, an der jede Website entsteht. Jeder Knopf hat eine Kante darunter
   und gibt beim Darüberfahren ein Stück nach, beim Klicken ganz.
   Gold heißt anfragen, die Beschriftung rollt dabei einmal durch. Alles andere ist eine helle Taste. */
.btn, .satzlink {
  --kante: 4px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 7px;
  font: inherit; font-size: 16px; font-weight: 560; letter-spacing: -.005em; line-height: 1.3;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transform: translateY(0);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .3s;
}
.btn { overflow: hidden; background: var(--gold); color: var(--tinte); border-color: #a07a33; box-shadow: 0 var(--kante) 0 #7f6129; }
.btn span { display: block; transition: transform .55s var(--ease); }
.btn span::after { content: attr(data-t); position: absolute; left: 0; right: 0; top: 160%; text-align: center; }
.btn:hover span, .btn:focus-visible span { transform: translateY(-160%); }
.satzlink { background: #f8f7f3; color: var(--tinte); border-color: #d3cec4; box-shadow: 0 var(--kante) 0 #d3cec4; }
.satzlink:hover { background: #fff; }
.btn:hover, .satzlink:hover, .btn:focus-visible, .satzlink:focus-visible { --kante: 2px; transform: translateY(2px); }
.btn:active, .satzlink:active { --kante: 0px; transform: translateY(4px); }
.btn--klein { --kante: 3px; height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--klein:hover, .btn--klein:focus-visible { --kante: 1.5px; transform: translateY(1.5px); }
.btn--klein:active { --kante: 0px; transform: translateY(3px); }
.btn--gross { width: 100%; height: 58px; font-size: 17px; }
/* dunkle Taste auf dunklem Grund */
.satzlink--hell { background: #2a2926; color: var(--grund); border-color: #3a3834; box-shadow: 0 var(--kante) 0 #0b0b0a; }
.satzlink--hell:hover { background: #33312d; }

/* Menüzeilen und der Menü-Knopf: eine Linie zieht sich unter dem Wort durch */
.markiert {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease);
}
a:hover > .markiert, button:hover > .markiert, a:focus-visible > .markiert, button:focus-visible > .markiert { background-size: 100% 1px; }
.satzlink .markiert { background: none; padding: 0; }
.textlink {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.textlink:hover { color: var(--tinte); text-decoration-thickness: 2px; }

/* ===== Navigation: Menü und Kapitel links, Name mittig, Erstgespräch rechts ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s3);
  padding: 0 var(--rand);
  border-bottom: 1px solid transparent;
  transition: background-color .45s, border-color .45s, color .45s;
}
.nav.is-scrolled { background: var(--grund); border-bottom-color: var(--grund-2); }
.nav.is-dunkel { background: var(--nacht); border-bottom-color: var(--nacht-linie); color: var(--grund); }
/* Raster: Marke links, Leiste in der Mitte, Erstgespräch rechts. Der Menü-Knopf ist nur am Handy da. */
.nav { grid-template-columns: 1fr auto 1fr; grid-template-areas: "marke leiste cta"; }
.nav__links { grid-area: menu; display: none; }
.nav__brand { grid-area: marke; justify-self: start; }
.nav__cta { grid-area: cta; }
.nav__leiste { grid-area: leiste; display: flex; align-items: center; gap: 4px; }
.nav__leiste a {
  padding: 8px 12px; color: var(--text); font-size: 15px; font-weight: 500;
  transition: color .3s;
}
.nav__leiste a:hover, .nav__leiste a[aria-current] { color: var(--tinte); }
.nav__leiste a[aria-current] .markiert { background-size: 100% 1px; }
.nav.is-dunkel .nav__leiste a { color: var(--nacht-text); }
.nav.is-dunkel .nav__leiste a:hover, .nav.is-dunkel .nav__leiste a[aria-current] { color: var(--grund); }
.nav__menu {
  padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; color: inherit;
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
/* das ganze Logo: helle Kachel mit Goldrand und Goldpunkt */
.nav__icon { width: 40px; height: 40px; flex: none; }
.nav__name { font-weight: 600; font-size: 19px; letter-spacing: -.025em; font-variation-settings: "wdth" 110; white-space: nowrap; }
/* die Marke ist da, aber leise: der Zusatz steht in Grau und schmaler daneben */
.nav__zusatz { margin-left: .28em; color: var(--leise); font-weight: 450; font-variation-settings: "wdth" 100; }
.nav.is-dunkel .nav__zusatz { color: #8b877e; }
.nav__cta { justify-self: end; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s5);
  padding: calc(var(--nav-h) + var(--s5)) var(--rand) var(--s4);
  background: var(--grund);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__liste { display: flex; flex-direction: column; }
.menu__zeile {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3);
  padding: var(--s2) 0; border-top: 1px solid var(--grund-2);
  font-size: clamp(40px, 6.4vw, 96px); font-weight: 560; line-height: 1.05; letter-spacing: -.04em;
  font-variation-settings: "wdth" 110;
}
.menu__zeile:last-child { border-bottom: 1px solid var(--grund-2); }
.menu__zeile .markiert { background-size: 0% 2px; padding-bottom: 4px; }
.menu__zeile:hover .markiert { background-size: 100% 2px; }
.menu .btn { align-self: flex-start; }

/* ===== Ankommen ===== */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr);
  position: relative;
  column-gap: var(--s3); row-gap: var(--s4);
  padding: calc(var(--nav-h) + var(--s4)) var(--rand) var(--s4);
  overflow-x: clip;
}
/* links: Headline und darunter der eine Knopf */
.hero__links {
  grid-column: 1 / 7; grid-row: 1; align-self: center;
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(32px, 5vh, 56px);
}
.hl {
  align-self: stretch;
  margin: 0;
  font-size: var(--fs, 110px); line-height: .93; letter-spacing: -.045em;
  font-weight: 600; font-variation-settings: "wdth" 112, "wght" 600;
}
.hl__line { display: block; width: fit-content; white-space: nowrap; }
.hl__line--leise { color: var(--leise); }
.hl i { font-style: normal; }

/* Der Raum: drei Bildschirme stehen schräg hintereinander, der vordere ist der größte.
   Alle Maße in cqw, damit die Aufstellung bei jeder Breite gleich aussieht. */
.raum {
  --w: 74cqw;                                   /* Breite eines Bildschirms */
  --h: calc(var(--w) * .625);                   /* Höhe: Video 16:10 */
  grid-column: 7 / 13; grid-row: 1; align-self: center;
  justify-self: end; width: min(100%, (100svh - 260px) * 1.28);   /* alle drei Bildschirme ganz im Bild; bei niedrigen Bildschirmen kleiner */   /* bei niedrigen Bildschirmen kleiner, damit alles Platz hat */
  position: relative; container-type: inline-size;
  aspect-ratio: 100 / 78;
  perspective: 205cqw;
}
.werk {
  --z: 0cqw; --heb: 0cqw; --ein: 1;
  position: absolute; width: var(--w);
  padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left;
  transform-origin: left center;
  transform: translate3d(0, 0, calc(var(--z) + var(--heb) - (1 - var(--ein)) * 40cqw)) rotateY(-28deg);
  opacity: var(--ein);
  transition: transform .7s var(--ease);
}
.werk:nth-child(1) { --z: -36cqw; left: 34%; top: calc(78cqw - var(--h) - var(--unten, 40px) - 26cqw); }
.werk:nth-child(2) { --z: -16cqw; left: 18%; top: calc(78cqw - var(--h) - var(--unten, 40px) - 13cqw); }
.werk:nth-child(3) { left: 0%; top: calc(78cqw - var(--h) - var(--unten, 40px)); }
.werk:hover, .werk:focus-visible { --heb: 5cqw; }
.werk__rahmen { position: relative; display: block; border-radius: var(--r2); }
.werk__rahmen video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r2); background: #0c0c0b; }
/* Gerader Schatten nach unten: der Bildschirm spiegelt sich mit scharfen Kanten auf dem Boden und läuft aus */
.werk__rahmen video { -webkit-box-reflect: below 2px linear-gradient(transparent 62%, rgba(0, 0, 0, .28)); }
.raum__angabe {
  position: absolute; left: 0; bottom: 0; margin: 0;
  display: flex; gap: var(--s3); color: var(--leise);
}
.raum__angabe b { color: var(--tinte); font-weight: 400; }

/* Licht durch drei Rundbogenfenster: weich, schräg, über die ganze Fläche */
.hero__licht {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(100deg, rgba(120, 104, 80, .10), transparent 60%);
  /* nach unten weich auslaufen, damit es keine Kante zum nächsten Abschnitt gibt */
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
.hero__licht i {
  position: absolute; top: -18%; height: 150%; width: 28%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(175deg, rgba(255, 238, 200, .7), rgba(255, 236, 200, .14));
  filter: blur(8px);
  transform: skewX(-28deg) rotate(-4deg); transform-origin: top left;
}
.hero__licht i:nth-child(1) { left: -2%; }
.hero__licht i:nth-child(2) { left: 31%; }
.hero__licht i:nth-child(3) { left: 64%; }
.raum { z-index: 1; }

/* unter den Karten: der Knopf zum Selbst-Durchscrollen und ein ganz leiser Hinweis */
.raum__fuss {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.raum__hinweis { margin: 0; white-space: nowrap; font: 400 9.5px/1.4 "Martian Mono", monospace; color: #b3ada1; letter-spacing: 0; }
.more { flex: none; }
.more__stack { position: relative; width: 22px; height: 18px; flex: none; }
.more__stack i { position: absolute; width: 16px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; background: var(--grund); transition: transform .45s var(--ease); }
.more__stack i:nth-child(1) { left: 6px; top: 0; }
.more__stack i:nth-child(2) { left: 3px; top: 3.5px; }
.more__stack i:nth-child(3) { left: 0; top: 7px; }
.more:hover .more__stack i:nth-child(1) { transform: translate(3px, -2px); }
.more:hover .more__stack i:nth-child(3) { transform: translate(-3px, 2px); }


/* ===== Projekte ===== */
.projekte { padding: var(--s7) var(--rand) var(--s6); }
.projekte__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s3);
  margin-bottom: var(--s6);
}
.projekte__title {
  grid-column: 1 / 8; margin: 0;
  font-size: clamp(42px, 5.8vw, 100px); font-weight: 600; font-variation-settings: "wdth" 112;
  letter-spacing: -.045em; line-height: .96;
}
.projekte__lead { grid-column: 9 / 13; align-self: end; margin: 0; color: var(--text); font-size: 18px; }
.projekte__foot { margin-top: var(--s5); display: flex; justify-content: flex-end; }

/* ===== Leistungen: helles Kapitel, Karten stapeln sich ===== */
.leist {
  position: relative;
  padding: var(--s7) var(--rand) var(--s6);
  background: var(--grund); color: var(--tinte);
}
.leist__titel {
  margin: 0 auto var(--s4); max-width: 13ch; text-align: center;
  font-size: clamp(44px, 6.4vw, 112px); font-weight: 600; font-variation-settings: "wdth" 112;
  letter-spacing: -.045em; line-height: .96;
}
.stapel { position: relative; }
.karte {
  --tief: 0;
  position: sticky; top: calc(var(--nav-h) + var(--s3) + var(--i) * 14px);
  height: calc(100svh - var(--nav-h) - var(--s3) * 2 - 3 * 14px);
  min-height: 460px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4);
  padding: var(--s4);
  margin-bottom: var(--s5);
  background: #f6f4f0;
  border-radius: var(--r2);
  box-shadow: 0 0 0 1px var(--grund-2);
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--tief) * .045));
}
.karte:last-child { margin-bottom: 0; }
.karte::after { /* tritt zurück, sobald die nächste Karte darüber liegt */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: var(--grund); opacity: calc(var(--tief) * .6);
}
.karte__text { display: flex; flex-direction: column; min-height: 0; }
.karte__text h3 {
  margin: 0; font-size: clamp(32px, 3.6vw, 60px); font-weight: 600; font-variation-settings: "wdth" 112;
  letter-spacing: -.04em; line-height: 1;
}
.karte__text p { margin: var(--s3) 0 0; max-width: 34ch; color: var(--text); font-size: 18px; }
.karte__text .mono { margin-top: auto; padding-top: var(--s3); color: var(--leise); }
.karte__bild { position: relative; min-height: 0; container-type: size; display: grid; place-items: center; }
.karte__obj { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ===== Fragen: links die Fragen, rechts die Antwort ===== */
/* kleines Senklot unter dem Titel der Leistungen: ein dünner Faden mit Ring, der zu den Karten zeigt */
.leist__lot { position: relative; display: block; width: 1px; height: 56px; margin: 0 auto calc(var(--s5) + 9px); background: linear-gradient(var(--grund-2), var(--leise)); }
.leist__lot::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; border: 1px solid var(--leise); }

.fragen { padding: var(--s7) var(--rand) var(--s6); border-top: 1px solid var(--grund-2); }
.fragen__titel {
  margin: 0 0 var(--s6); max-width: 16ch;
  font-size: clamp(42px, 5.2vw, 88px); font-weight: 600; font-variation-settings: "wdth" 112;
  letter-spacing: -.045em; line-height: .96;
}
.fragen__tafel {
  display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--s5); align-items: start;
  grid-template-rows: repeat(var(--n), auto) 1fr;
  border-top: 1px solid var(--tinte);
}
.frage {
  grid-column: 1; position: relative; width: 100%; padding: 24px 0; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--grund-2); cursor: pointer; font: inherit;
  font-size: clamp(20px, 1.9vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2;
  color: var(--leise); transition: color .3s, padding-left .45s var(--ease);
}
/* geöffnet: ein kurzer Strich schiebt sich vor die Frage */
.frage::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--tinte); transition: width .45s var(--ease); }
.frage:hover { color: var(--tinte); }
.frage.is-offen { color: var(--tinte); padding-left: 34px; }
.frage.is-offen::before { width: 20px; }
.frage:focus-visible { outline: 2px solid var(--tinte); outline-offset: -2px; }
.antwort { grid-column: 2; grid-row: 1 / -1; display: none; position: sticky; top: calc(var(--nav-h) + var(--s4)); padding-top: 22px; }
.antwort.is-offen { display: block; animation: antwortEin .75s var(--ease) both; }
@keyframes antwortEin { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.antwort__satz { margin: 0; max-width: 20ch; font-size: clamp(28px, 3vw, 46px); font-weight: 600; font-variation-settings: "wdth" 108; letter-spacing: -.035em; line-height: 1.06; color: var(--tinte); }
.antwort__rest { margin: var(--s3) 0 0; max-width: 50ch; color: var(--text); font-size: 18px; line-height: 1.55; }

/* eigene Frage: eine offene Zeile zum Hineinschreiben */
.frageform {
  display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--s5);
  margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--tinte);
}
.frageform__titel { margin: 0; font-size: clamp(28px, 3vw, 46px); font-weight: 600; font-variation-settings: "wdth" 108; letter-spacing: -.035em; line-height: 1.06; max-width: 12ch; }
.frageform__kopf p { margin: var(--s2) 0 0; color: var(--text); font-size: 18px; max-width: 30ch; }
.frageform__frage { display: block; margin-bottom: var(--s4); }
.frageform__frage > span { display: block; margin-bottom: var(--s1); }
.frageform__frage textarea {
  display: block; width: 100%; padding: 6px 0 12px; resize: none; overflow: hidden;
  font: inherit; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; color: var(--tinte);
  background: transparent; border: 0; border-bottom: 1px solid var(--tinte); border-radius: 0;
}
.frageform__frage textarea::placeholder { color: #b3ada1; }
.frageform__frage textarea:focus { outline: none; border-bottom-width: 3px; padding-bottom: 10px; }
.frageform__frage.is-fehler > span::after { content: "  Bitte ausfüllen"; color: var(--tinte); }
.frageform__ok { align-self: start; grid-column: 2; }
.frageform__ok[hidden] { display: none; }
.frageform__ok p:last-child { color: var(--text); margin: 0; }
.frageform__form[hidden] { display: none; }

/* ===== Kontakt ===== */
.kontakt {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s3);
  padding: var(--s7) var(--rand) var(--s6);
  border-top: 1px solid var(--grund-2);
}
.kontakt__kopf { grid-column: 1 / 6; }
.kontakt__titel {
  margin: 0; max-width: 11ch;
  font-size: clamp(42px, 5.2vw, 88px); font-weight: 600; font-variation-settings: "wdth" 112;
  letter-spacing: -.045em; line-height: .96;
}
.kontakt__satz { margin: var(--s3) 0 0; color: var(--text); font-size: 19px; max-width: 30ch; }
.kontakt__direkt { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); margin: var(--s5) 0 0; }
.kontakt__direkt .satzlink { font-size: 17px; }
.formular, .gesendet { grid-column: 7 / 13; }
.feld { display: block; margin-bottom: var(--s3); }
.feld > span { display: block; margin-bottom: var(--s1); }
.feld input {
  display: block; width: 100%; height: 56px; padding: 0 var(--s2);
  font: inherit; font-size: 18px; color: var(--tinte);
  background: var(--feld); border: 1px solid transparent; border-radius: var(--r1);
  transition: border-color .25s, background-color .25s;
}
.feld input::placeholder { color: #a5a199; }
.feld input:hover { border-color: #cfcbc3; }
.feld input:focus { outline: none; border-color: var(--tinte); background: var(--grund); }
.feld.is-fehler input { border-color: var(--tinte); background: var(--grund); }
.feld.is-fehler > span::after { content: "  Bitte ausfüllen"; color: var(--tinte); }
.feld--versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.haken { display: flex; gap: 12px; margin: var(--s1) 0 var(--s4); color: var(--text); font-size: 14px; line-height: 1.5; cursor: pointer; }
.haken input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--tinte); }
.haken.is-fehler { color: var(--tinte); }
.formular__fehler { margin: 0 0 var(--s3); padding: var(--s2); border-left: 2px solid var(--tinte); background: var(--feld); font-size: 15px; }
.gesendet { align-self: start; padding-top: var(--s1); }
.gesendet[hidden] { display: none; }
.gesendet__titel {
  margin: 0; font-size: clamp(32px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02;
  font-variation-settings: "wdth" 112;
}
.gesendet__zeit { margin: var(--s2) 0 var(--s3); }
.gesendet p:last-child { color: var(--text); margin: 0; }

/* ===== Schlussakkord ===== */
.fuss { padding: var(--s6) var(--rand) var(--s4); border-top: 1px solid var(--grund-2); overflow: hidden; }
.fuss__marke {
  display: inline-block; margin: 0; white-space: nowrap;
  font-size: var(--fm, 22vw); line-height: .8; letter-spacing: -.05em;
  font-weight: 600; font-variation-settings: "wdth" 112, "wght" 600;
  user-select: none;
}
.fuss__marke i { font-style: normal; }
.fuss__zeile {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3);
  margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--grund-2);
  font-size: 14px; color: var(--text);
}
.fuss__zeile p { margin: 0; }
.fuss__links { display: flex; gap: var(--s3); }
.fuss__zeile > :last-child { text-align: right; }

/* ===== Rechtliches ===== */
.legal {
  width: min(760px, calc(100% - 2 * var(--rand))); max-height: 86svh;
  padding: var(--s5) var(--s5) var(--s4);
  border: 0; border-radius: var(--r2);
  background: var(--grund); color: var(--tinte);
}
.legal::backdrop { background: rgba(19, 19, 17, .6); }
.legal__close { position: sticky; top: 0; float: right; font-size: 15px; }
.legal h1 { margin: 0 0 var(--s2); font-size: 40px; letter-spacing: -.035em; line-height: 1.05; font-weight: 600; }
.legal h2 { margin: var(--s4) 0 var(--s1); font-size: 19px; font-weight: 600; }
.legal p, .legal li { color: var(--text); font-size: 16px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-lead { font-size: 17px; }
.legal-doc[hidden] { display: none; }

/* ===== Showcase-Raum: die echten Websites zum Selbst-Durchscrollen ===== */
/* ===== Große Ansicht einer Showcase-Website ===== */
.viewer {
  position: fixed; inset: 0; z-index: 90;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; row-gap: 24px;
  padding: 64px var(--rand) clamp(20px, 4vh, 36px);
  background: rgba(18, 18, 18, .95); color: var(--grund);
}
.viewer[hidden] { display: none; }
.viewer__frame {
  align-self: center; justify-self: center;
  width: min(100%, calc((100svh - 220px) * 16 / 10.4), 1440px);
  aspect-ratio: 16 / 10.4;
  background: #161615; border-radius: var(--r2); overflow: hidden;
  display: flex; flex-direction: column;
  transform-origin: 0 0;
}
/* Bildschirm des Raums: die echte Website im iframe, scrollbar */
.viewer__screen { position: relative; flex: 1; min-height: 0; background: #161615; }
.viewer__screen iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  opacity: 0; transition: opacity .5s;
}
.viewer.is-loaded .viewer__screen iframe { opacity: 1; }
.viewer__loading {
  position: absolute; inset: 0; margin: 0;
  display: grid; place-items: center;
  font-size: 14px; color: #77746e;
}
.viewer__loading::after { content: ""; width: 9px; height: 9px; margin-top: 46px; position: absolute; background: var(--grund); animation: laden 1s var(--ease) infinite alternate; }
@keyframes laden { to { transform: translateX(26px); } }
.viewer.is-loaded .viewer__loading { display: none; }
.viewer__hint { color: #a9a6a0; }
.viewer__info {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  width: min(100%, 1440px); justify-self: center;
}
.viewer__name { margin: 0 0 6px; font-size: clamp(24px, 2.4vw, 36px); font-weight: 600; font-variation-settings: "wdth" 112; letter-spacing: -.03em; }
.viewer__desc { margin: 0; max-width: 60ch; color: #a9a6a0; font-size: 16px; }
.viewer__tabs { display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: flex-end; max-width: 560px; }
.viewer__tabs button {
  position: relative; padding: 6px 0; border: 0; background: none;
  font: inherit; font-size: 15px; color: #a9a6a0; cursor: pointer; white-space: nowrap;
}
.viewer__tabs button[aria-current="true"], .viewer__tabs button:hover { color: var(--grund); }
.viewer__tabs button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--grund); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.viewer__tabs button[aria-current="true"]::after { transform: scaleX(1); }
.viewer__close { position: absolute; top: 18px; right: var(--rand); font-size: 15px; }
.viewer button:focus-visible { outline: 2px solid var(--grund); outline-offset: 3px; }
.viewer__bar { display: flex; align-items: center; height: 34px; padding: 0 14px; background: #1f1e1b; }

/* ===== Drei freie Plätze als Tablets (aus Neubau Hell, Gold entfernt) ===== */
/* Drei Tablets. Maße in cqw = Prozent der Spalte.
   --p (0 gestapelt hinter dem mittleren, 1 aufgefächert) setzt das JS beim Scrollen. */
.pads {
  --gap: clamp(16px, 3vw, 48px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
  perspective: 1800px;
}

.pad { --p: 1; display: block; position: relative; container-type: inline-size; color: var(--tinte); }
.pad:nth-child(2) { z-index: 2; }

/* Seitliche Tablets kommen hinter dem mittleren hervor und schwenken dabei kurz ein */
.pad:nth-child(1), .pad:nth-child(3) {
  --swing: calc(var(--p) * (1 - var(--p)) * 4);   /* 0 → 1 → 0 */
  transform-style: preserve-3d;
}
.pad:nth-child(1) {
  transform:
    translateX(calc((1 - var(--p)) * (100% + var(--gap))))
    translateZ(calc((1 - var(--p)) * -160px))
    rotateY(calc(var(--swing) * 16deg));
}
.pad:nth-child(3) {
  transform:
    translateX(calc((1 - var(--p)) * (-100% - var(--gap))))
    translateZ(calc((1 - var(--p)) * -160px))
    rotateY(calc(var(--swing) * -16deg));
}

/* Beschriftung der seitlichen Tablets erst zeigen, wenn sie hervorkommen */
.pad:nth-child(1) .pad__label, .pad:nth-child(3) .pad__label { opacity: var(--p); }

.pad__stage { position: relative; height: 68cqw; }
.pad__scene { position: absolute; inset: 0; }
.pad__floor { /* weicher Schatten unter dem Tablet */
  position: absolute; left: 10cqw; right: 10cqw; bottom: 0; height: 5cqw;
  background: rgba(18,18,18,.16); filter: blur(2.6cqw); border-radius: 50%;
}
.pad__body { position: absolute; left: 6cqw; right: 6cqw; top: 1cqw; height: 62cqw; }
.pad__screen {
  position: absolute; inset: 0; border-radius: 4cqw;
  background: #161615; padding: 2.8cqw; overflow: hidden;
  box-shadow: inset 0 0 0 .5cqw #cdc9c2;   /* schmaler Alurand */
}
.pad__screen::before { /* Kamera im Rahmen */
  content: ""; position: absolute; left: 50%; top: 1.1cqw; width: .9cqw; height: .9cqw;
  margin-left: -.45cqw; border-radius: 50%; background: #2c2b29;
}
.pad__screen .site { border-radius: 1.6cqw; }
/* Spiegelung wandert beim Auffächern über das Glas */
.pad__glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: 4cqw;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.08) 42%, transparent 55%);
  background-size: 200% 100%;
  background-position: calc(100% - var(--p) * 70%) 0;
}

/* Bildschirm: aus, bis das Tablet sichtbar ist */
.site {
  position: relative; width: 100%; height: 100%;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease);
  display: flex; flex-direction: column;
  font-size: 2.2cqw; overflow: hidden;
}
.pad.is-on .site { clip-path: inset(0 0 0 0); }
.site__h { margin: 0; font-weight: 600; letter-spacing: -.04em; line-height: .95; }
.site__h span { display: block; transform: translateY(110%); transition: transform .8s var(--ease); }
.pad.is-on .site__h span { transform: none; }
.pad.is-on .site__h span:nth-child(1) { transition-delay: .35s; }
.pad.is-on .site__h span:nth-child(2) { transition-delay: .45s; }
.pad.is-on .site__h span:nth-child(3) { transition-delay: .55s; }
.site__h { overflow: hidden; }
.site__nav { display: flex; align-items: center; gap: 1.6cqw; height: 6cqw; flex: none; }
.site__nav span { margin-right: auto; font-weight: 500; }
.site__nav b { width: 5cqw; height: .5cqw; background: currentColor; opacity: .35; }
.site__logo { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: currentColor; }
.site__btn { display: block; width: 18cqw; height: 5cqw; flex: none; }

/* A: hell, große Schrift links, Bildfläche rechts */
.site--a { background: var(--grund); color: var(--tinte); padding: 0 3cqw 3cqw; }
.site--a .site__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqw; align-items: end; padding: 2cqw 0 7cqw; }
.site--a .site__h { font-size: 6.4cqw; font-variation-settings: "wdth" 112; }
.site--a .site__img { height: 100%; background: linear-gradient(160deg, #cfc9bd, #a9a297); }
.site--a .site__btn { background: var(--tinte); margin-top: -5cqw; }

/* B: dunkel, mittig, Konturschrift */
.site--b { background: #1b1a18; color: var(--grund); padding: 0 3cqw 3cqw; align-items: center; text-align: center; }
.site--b .site__nav { width: 100%; }
.site--b .site__logo { background: var(--grund); }
.site--b .site__h { margin-top: auto; font-size: 7.6cqw; font-weight: 700; font-variation-settings: "wdth" 118; }
.site--b .site__h span:last-child { color: transparent; -webkit-text-stroke: .18cqw var(--grund); }
.site--b .site__rule { display: block; width: 0; height: .4cqw; margin: 2.4cqw 0; background: var(--grund); transition: width 1s var(--ease) .7s; }
.pad.is-on .site--b .site__rule { width: 30cqw; }
.site--b .site__btn { margin-bottom: auto; border: .3cqw solid var(--grund); }

/* C: Goldfläche links, schmale Schrift rechts */
.site--c { flex-direction: row; background: var(--grund); color: var(--tinte); }
.site--c .site__panel { width: 42%; background: #2a2926; transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1s var(--ease) .3s; }
.pad.is-on .site--c .site__panel { transform: none; }
.site--c .site__side { flex: 1; display: flex; flex-direction: column; padding: 0 3cqw 3cqw 4cqw; }
.site--c .site__h { margin-top: auto; font-size: 7cqw; font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; letter-spacing: -.01em; line-height: .92; }
.site--c .site__btn { margin-top: 2.6cqw; background: var(--tinte); }

.pad__label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px 0; margin: 0 6cqw; border-top: 1px solid var(--tinte);
  margin-top: 10px;
  font-size: 15px;
}
.pad__label b { font-weight: 500; position: relative; }
.pad__label b::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--tinte); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.pad:hover .pad__label b::after, .pad:focus-visible .pad__label b::after { transform: scaleX(1); }

/* ===== Über mich: Foto, dahinter die zwei Zeilen aus dem Hero ===== */
.ich {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 40px) var(--rand) clamp(48px, 8vh, 88px);
}
/* die zwei Zeilen aus dem ersten Hero, liegen hinter dem Foto */
/* sitzt mittig hinter dem Foto und reicht über die ganze Breite */
.ich__flows {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 100vw;
  translate: -50% -50%;
  display: flex; flex-direction: column;
  pointer-events: none; user-select: none;
}
.ich__flow {
  white-space: nowrap;
  font-size: clamp(64px, 11vw, 210px); line-height: .98;
  font-weight: 600; font-variation-settings: "wdth" 112; letter-spacing: -.04em;
  color: var(--tinte);
}
.ich__track { display: inline-flex; will-change: transform; }
.ich__track span { display: inline-flex; align-items: center; }
/* schmaler Abstand als Trenner zwischen den Wiederholungen */
.ich__track span::after { content: ""; display: inline-block; width: .5em; }
.ich__flow--leise { color: var(--leise); }

.ich__mitte { position: relative; z-index: 1; width: min(44vw, 760px); }
.ich__bild { margin: 0; position: relative; }
.ich__bild img { position: relative; }
.ich__bild img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r1); background: var(--grund-2);
}
.ich__fuss {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3);
  margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--grund-2);
}
.ich__fuss p { margin: 0; max-width: 40ch; color: var(--text); font-size: 15px; line-height: 1.5; }
.ich__fuss b { color: var(--tinte); font-weight: 600; }
.ich__fuss .satzlink { flex: none; font-size: 16px; }

/* Foto als Kreis, Gesicht links im Bild */
.ich__flow { font-size: clamp(40px, 6vw, 96px); }
.ich__mitte { width: min(32vw, 500px); display: flex; flex-direction: column; align-items: center; }
.ich__bild { width: 100%; }
.ich__kreis { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--grund-2); }
.ich__bild img { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 0; object-position: 0% 50%; transform-origin: 28% 40%; }
/* dünner Ring, der sich beim Erscheinen um das Foto zusammenzieht */
.ich__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--tinte); opacity: 0; pointer-events: none; }
.ich__fuss { flex-direction: column; align-items: center; text-align: center; border-top: 0; padding-top: 0; margin-top: var(--s4); gap: var(--s3); }
.ich__fuss p { max-width: 36ch; }

/* ===== Webdesign-Karte: drei Geräte mit derselben Beispielseite ===== */
/* Webdesign: three devices showing the same example site */
.devices { --o: 1; position: relative; width: min(100cqw, 100cqh * 16 / 11); aspect-ratio: 16 / 11; }
.dev { position: absolute; z-index: 1; } /* above the light pools */
/* spread out from one stack in the middle while coming closer (--o from 0 to 1) */
.dev.dev-laptop { left: 0; top: 0; width: 80%; transform: translate(calc((1 - var(--o)) * 10%), calc((1 - var(--o)) * 8%)); }
.dev.dev-tablet { right: 0; bottom: 4%; width: 30%; transform: translate(calc((1 - var(--o)) * -70%), calc((1 - var(--o)) * -20%)); }
.dev.dev-phone { left: 6%; bottom: 0; width: 14%; transform: translate(calc((1 - var(--o)) * 180%), calc((1 - var(--o)) * -30%)); }
/* devices: black glass bezel, a thin metal edge, a soft shadow below and a sheen on the glass */
.dev-screen {
  --bz: 6px;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  background: #f3ece0;
  border: var(--bz) solid #07080a;
  border-radius: 12px;
  box-shadow:
    0 0 0 1.5px #3d4147,                     /* metal edge */
    0 0 0 2.5px rgba(255, 255, 255, 0.07),   /* highlight on the edge */
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 60px -28px rgba(21, 21, 19, 0.35), /* shadow below */
    0 0 0 0 transparent;
}
.dev-screen::after {
  /* light falling on the glass from the top left */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 28%, rgba(255, 255, 255, 0) 42%);
}
.dev-screen::before {
  /* camera in the bezel */
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(var(--bz) * -0.62);
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #1d2733;
  box-shadow: 0 0 0 1px #000;
}
.dev-laptop .dev-screen { --bz: 9px; aspect-ratio: 16 / 10; border-radius: 12px 12px 2px 2px; border-bottom-width: 14px; }
.laptop-base {
  /* the lower half: brushed aluminium with a finger groove in the middle */
  position: relative;
  height: 11px;
  margin: 0 -7%;
  border-radius: 1px 1px 12px 12px / 1px 1px 9px 9px;
  background: linear-gradient(#6c7077, #3a3d42 45%, #1c1e21);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 22px 34px -16px rgba(21, 21, 19, 0.35);
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #24272b;
}
.dev-tablet .dev-screen { --bz: 9px; aspect-ratio: 3 / 4; border-radius: 18px; }
.dev-phone .dev-screen { --bz: 4px; aspect-ratio: 9 / 19; border-radius: 16px; }
.dev-phone .dev-screen::before {
  /* the pill at the top of the phone */
  top: 6px;
  width: 30%;
  height: 7px;
  margin-left: -15%;
  border-radius: 6px;
  background: #050506;
  box-shadow: none;
}

/* light around the devices: a cool glow behind, a warm pool of light below */
.devices::before, .devices::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.devices::before {
  inset: -18% -12%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(214, 226, 245, 0.09), transparent 70%);
}
.devices::after {
  left: 5%;
  right: 5%;
  bottom: -14%;
  height: 26%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(61, 95, 158, 0.2), transparent 72%);
}


.mini { --b: #3d5f9e; --ink: #0c111c; text-align: left; position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; background: #f6f7fa; color: var(--ink); font-family: var(--sans); }
.mini-bar { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 4cqw; background: #0b0f19; color: #f6f7fa; }
.mini-bar b { display: flex; align-items: center; gap: 1.2cqw; font-size: 2.6cqw; font-weight: 600; letter-spacing: -0.01em; }
.mini-bar b i { width: 2.6cqw; height: 2.6cqw; border-radius: 0.7cqw; background: var(--b); }
.mini-bar nav { display: flex; gap: 2.6cqw; margin-left: auto; font-size: 1.7cqw; color: rgba(246, 247, 250, 0.7); }
.mini-bar em { padding: 1cqw 2cqw; border-radius: 0.8cqw; background: var(--b); font-style: normal; font-size: 1.7cqw; font-weight: 600; }
.mini-bar s { display: none; }
.mini-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4cqw; padding: 5cqw 4cqw 3cqw; }
.mini-copy p { margin: 0; color: var(--ink); font-size: 5.2cqw; line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.mini-sub { display: block; margin-top: 1.8cqw; font-size: 1.9cqw; line-height: 1.4; color: #5a6275; }
.mini-cta { display: flex; gap: 1.6cqw; margin-top: 3cqw; }
.mini-cta i, .mini-cta u { padding: 1.3cqw 2.4cqw; border-radius: 0.9cqw; font-style: normal; text-decoration: none; font-size: 1.8cqw; font-weight: 600; }
.mini-cta i { background: var(--b); color: #fff; }
.mini-cta u { border: 1px solid rgba(12, 17, 28, 0.25); }
/* an abstract picture in the blues instead of a photo */
.mini-visual {
  aspect-ratio: 4 / 3;
  border-radius: 1.6cqw;
  background:
    radial-gradient(60% 50% at 75% 25%, rgba(143, 176, 232, 0.9), transparent 70%),
    radial-gradient(45% 40% at 20% 85%, rgba(12, 17, 28, 0.55), transparent 70%),
    linear-gradient(140deg, #1f3a6b, #3d5f9e 55%, #6f8fc4);
}
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 0 4cqw 4cqw; }
.mini-row div { display: grid; gap: 1cqw; padding: 2.2cqw; border-radius: 1.2cqw; background: #fff; box-shadow: 0 0 0 1px rgba(12, 17, 28, 0.07); }
.mini-row i { width: 3cqw; height: 3cqw; border-radius: 0.8cqw; background: rgba(61, 95, 158, 0.15); box-shadow: inset 0 0 0 0.5cqw rgba(61, 95, 158, 0.55); }
.mini-row b { font-size: 2cqw; font-weight: 600; }
.mini-row span { height: 0.9cqw; border-radius: 1cqw; background: #e3e6ee; }
.mini-row span + span { width: 70%; }
/* narrow screens (tablet, phone): stacked like a real mobile page, a menu icon instead of the links */
@container (max-width: 400px) {
  .mini-bar { padding: 4cqw 5cqw; }
  .mini-bar b { font-size: 5.6cqw; gap: 2.4cqw; }
  .mini-bar b i { width: 5.4cqw; height: 5.4cqw; border-radius: 1.4cqw; }
  .mini-bar nav, .mini-bar em { display: none; }
  .mini-bar s { display: block; margin-left: auto; width: 6cqw; height: 4cqw; background: linear-gradient(#f6f7fa, #f6f7fa) 0 0 / 100% 0.7cqw no-repeat, linear-gradient(#f6f7fa, #f6f7fa) 0 50% / 100% 0.7cqw no-repeat, linear-gradient(#f6f7fa, #f6f7fa) 0 100% / 100% 0.7cqw no-repeat; }
  .mini-hero { grid-template-columns: 1fr; gap: 5cqw; padding: 6cqw 5cqw 4cqw; }
  .mini-visual { order: -1; aspect-ratio: 16 / 10; border-radius: 3cqw; }
  .mini-copy p { font-size: 10cqw; }
  .mini-sub { font-size: 4cqw; margin-top: 3cqw; }
  .mini-cta { flex-direction: column; gap: 2.4cqw; margin-top: 5cqw; }
  .mini-cta i, .mini-cta u { padding: 3cqw 4cqw; border-radius: 2cqw; font-size: 4.2cqw; text-align: center; }
  .mini-row { grid-template-columns: 1fr; gap: 3cqw; padding: 0 5cqw 5cqw; }
  .mini-row div { padding: 4cqw; border-radius: 2.4cqw; gap: 2cqw; }
  .mini-row i { width: 6cqw; height: 6cqw; border-radius: 1.6cqw; }
  .mini-row b { font-size: 4.4cqw; }
  .mini-row span { height: 1.8cqw; }
}

/* ===== Unterseite „Über mich“ ===== */
/* ===== Unterseite „Über mich“ ===== */
.ueberseite {
  max-width: 1180px; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(40px, 8vh, 96px)) var(--rand) clamp(80px, 14vh, 160px);
}
.ueberseite__zurueck { margin-bottom: clamp(28px, 5vh, 56px); }
.ueberseite__titel {
  margin: 0 0 clamp(48px, 8vh, 96px); max-width: 17ch;
  font-size: clamp(38px, 5vw, 84px);
  font-weight: 600; font-variation-settings: "wdth" 112;
  letter-spacing: -.035em; line-height: 1.02;
}
/* Lauftext mit kleinen Fotos, die seitlich im Text stehen */
.ueberseite__lauf { max-width: 760px; margin-left: auto; margin-right: 8%; }
.ueberseite__lauf::after { content: ""; display: table; clear: both; }
.ueberseite__lauf p { margin: 0 0 1.2em; color: var(--text); font-size: 19px; line-height: 1.6; }
.ueberseite__foto { margin: 6px 0 24px; width: 240px; }
.ueberseite__foto--rechts { float: right; margin-left: 40px; margin-right: -120px; }
.ueberseite__foto--links { float: left; width: 280px; margin-left: -200px; margin-right: 40px; }
.ueberseite__foto img { display: block; width: 100%; height: auto; border-radius: 3px; background: var(--grund-2); }
.ueberseite__foto figcaption { margin-top: 10px; color: var(--text); font-size: 13px; line-height: 1.45; }

.werte { margin-top: clamp(80px, 12vh, 140px); }
.werte__title { margin: 0 0 clamp(20px, 3vh, 32px); font-size: 18px; font-weight: 600; color: var(--tinte); }
.werte__list { margin: 0; border-top: 1px solid var(--tinte); }
.wert {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  column-gap: clamp(24px, 4vw, 72px);
  padding: clamp(24px, 3.4vh, 36px) 0;
  border-bottom: 1px solid var(--grund-2);
}
.wert dt { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; font-variation-settings: "wdth" 108; letter-spacing: -.025em; line-height: 1.12; }
.wert dd { margin: 0; max-width: 52ch; color: var(--text); font-size: 17px; line-height: 1.55; padding-top: 4px; }

.ueberseite__ende {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(56px, 9vh, 100px);
}
.ueberseite__sign { display: flex; flex-direction: column; gap: 2px; margin: 0; color: var(--text); font-size: 16px; }
.ueberseite__sign b { color: var(--tinte); font-weight: 600; }

@media (max-width: 1100px) {
  .ueberseite__lauf { margin-right: 0; }
  .ueberseite__foto--rechts { margin-right: 0; }
  .ueberseite__foto--links { margin-left: 0; }
}
@media (max-width: 900px) {
  .ueberseite__lauf p { font-size: 17px; }
  .ueberseite__foto { width: 48%; }
  .ueberseite__foto--rechts { margin-left: 20px; }
  .ueberseite__foto--links { width: 56%; margin-right: 20px; }
  .wert { grid-template-columns: 1fr; row-gap: 10px; }
  .wert dd { padding-top: 0; }
}

/* neutrales Licht um die Geräte statt Gold */
.devices::before, .devices::after { display: none; } /* kein Licht um die Geräte, die Section ist hell */
.mini { font-family: inherit; }

/* ===== Breite, niedrige Bildschirme ===== */
@media (max-height: 760px) and (min-width: 901px) {
  .karte { min-height: 420px; }
  .karte__text p { font-size: 16px; }
}

/* ===== Handy ===== */
@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  body { font-size: 17px; }
  .nav { grid-template-columns: auto 1fr auto; grid-template-areas: "menu marke cta"; gap: var(--s2); }
  .nav__links { display: flex; }
  .nav__leiste { display: none; }
  .nav__brand { justify-self: center; gap: 10px; }
  .satzlink { white-space: normal; height: auto; min-height: 48px; padding: 10px 18px; text-align: left; }
  .nav__name { display: flex; flex-direction: column; font-size: 17px; line-height: 1; }
  .nav__zusatz { margin: 3px 0 0; font: 400 9px/1 "Martian Mono", monospace; letter-spacing: 0; }
  .nav__icon { width: 34px; height: 34px; }
  .btn--klein { height: 36px; padding: 0 12px; font-size: 13.5px; }

  .hero { display: flex; flex-direction: column; min-height: 0; gap: var(--s4); padding-top: calc(var(--nav-h) + var(--s4)); }
  .hero__links { align-self: stretch; gap: var(--s3); }
  .raum { margin-bottom: 110px; }
  .raum__fuss { flex-direction: column; align-items: flex-start; gap: 10px; }
  .raum__hinweis { white-space: normal; }
  .raum { --unten: 60px; align-self: auto; width: 100%; }
  .raum__angabe { flex-direction: column; gap: 2px; }
  .more { text-align: left; }
  .hero__licht i { width: 34%; filter: blur(6px); }
  .hero__licht i:nth-child(2) { left: 36%; }
  .hero__licht i:nth-child(3) { left: 74%; }

  .projekte { padding: var(--s6) var(--rand) var(--s5); }
  .projekte__head { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s5); }
  .pads { grid-template-columns: 1fr; gap: var(--s4); }
  .projekte__foot .btn { width: 100%; }

  .ich { min-height: 0; padding: var(--s6) var(--rand) var(--s5); }
  .ich__flow { font-size: clamp(34px, 10vw, 56px); }
  .ich__mitte { width: 100%; }
  .ich__bild { width: 58%; margin: 0 auto; }
  .ich__fuss { flex-direction: column; align-items: center; }
  .ich__fuss .satzlink { text-align: left; }

  .leist { padding: var(--s6) var(--s2) var(--s5); }
  .leist__titel { margin-bottom: var(--s5); padding: 0 calc(var(--rand) - var(--s2)); }
  .karte {
    top: calc(var(--nav-h) + var(--s2) + var(--i) * 10px);
    height: calc(100svh - var(--nav-h) - var(--s2) * 2 - 3 * 10px);
    min-height: 0;
    grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: var(--s2);
    padding: var(--s3) var(--s3) var(--s2);
    margin-bottom: var(--s4);
  }
  .karte__text h3 { font-size: 30px; }
  .karte__text p { margin-top: var(--s1); font-size: 15px; line-height: 1.45; }
  .karte__text .mono { display: none; }


  .fragen { padding: var(--s6) var(--rand); }
  .fragen__titel { margin-bottom: var(--s5); }
  .fragen__tafel { display: block; }
  .frage { padding: 20px 0; }
  .frage.is-offen { padding-left: 30px; }
  .antwort { position: static; padding: 0 0 var(--s4); border-bottom: 1px solid var(--grund-2); }
  .antwort__satz { max-width: none; }
  .frageform { display: block; margin-top: var(--s6); }
  .frageform__kopf { margin-bottom: var(--s4); }
  .frageform__ok { margin-top: var(--s3); }

  .kontakt { display: block; padding: var(--s6) var(--rand) var(--s5); }
  .kontakt__kopf { margin-bottom: var(--s5); }
  .kontakt__direkt { margin-top: var(--s4); }
  .kontakt__direkt .satzlink { font-size: 14px; padding: 0 14px; white-space: normal; height: auto; min-height: 48px; overflow-wrap: anywhere; }

  .fuss { padding-top: var(--s5); }
  .fuss__zeile { grid-template-columns: 1fr 1fr; row-gap: var(--s3); }
  .fuss__zeile > :last-child { text-align: left; }

  .viewer { padding-top: 58px; row-gap: 16px; }
  .viewer__frame { width: 100%; height: 100%; aspect-ratio: auto; align-self: stretch; }
  .viewer__frame > .viewer__bar { display: none; }
  .viewer__info { flex-direction: column; align-items: stretch; gap: 12px; }
  .viewer__name { font-size: 22px; margin-bottom: 0; }
  .viewer__desc { display: none; }
  .viewer__tabs { gap: 6px 16px; justify-content: flex-start; max-width: none; }

  .legal { padding: var(--s4) var(--s3); }
}

/* ===== Weniger Bewegung ===== */
@media (prefers-reduced-motion: reduce) {
  .werk { --ein: 1; transition: none; }
  .karte { position: relative; top: 0; transform: none; }
  .karte::after { display: none; }
  .antwort.is-offen { animation: none; }
  .btn, .satzlink, .btn span, .markiert, .site, .site__h span, .site--b .site__rule, .site--c .site__panel { transition: none; }
}

/* ===== Betreuung: nur Schrift, die Leistungen selbst sind das Bild ===== */
.karte__bild:has(.pflege) { display: flex; flex-direction: column; justify-content: center; gap: 4cqh; place-items: stretch; }
.pflege { list-style: none; margin: 0; padding: 0; }
.pflege li {
  /* jede Zeile wischt nacheinander auf, sobald die Karte ankommt */
  --r: clamp(0, calc((var(--o, 1) - var(--z) * .11) * 2.4), 1);
  position: relative; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 1cqh;
  padding: 1.8cqh 0 1.6cqh;
}
.pflege li::before { /* Haarlinie über jeder Zeile, zieht sich von rechts auf */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grund-2);
  transform-origin: 100% 50%; transform: scaleX(var(--r));
}
.pflege b, .pflege i { clip-path: inset(-20% 0 -20% calc((1 - var(--r)) * 100%)); }
.pflege b {
  font-size: min(8.4cqw, 7.2cqh); font-weight: 560; line-height: 1; letter-spacing: -.035em; white-space: nowrap;
  font-variation-settings: normal; font-stretch: 104%; will-change: transform;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.pflege i { font-style: normal; color: var(--leise); font-size: 11px; letter-spacing: .02em; white-space: nowrap; transition: color .4s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.pflege li::after { /* beim Darüberfahren zieht sich eine dunkle Linie von rechts über die helle */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--tinte);
  transform-origin: 100% 50%; transform: scaleX(0); transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) {
  .pflege li:hover b { transform: translateX(-14px); }
  .pflege li:hover i { color: var(--tinte); transform: translateX(-14px); transition-delay: 0s, .05s; }
  .pflege li:hover::after { transform: scaleX(1); }
}

/* das kleine Attribut: zwölf Monate, jeder bekommt einen Strich, der aktuelle ist unterstrichen */
.pflege__monate {
  display: flex; justify-content: space-between; margin: 0; padding-top: 1.6cqh;
  border-top: 1px solid var(--grund-2); color: var(--leise); font-size: 10px;
}
.pflege__monate span { position: relative; padding-top: 1.4cqh; }
.pflege__monate span::before {
  content: ""; position: absolute; left: 50%; top: -1.6cqh; width: 1px; height: 1.2cqh; background: var(--leise);
  transform-origin: 50% 0; transform: scaleY(clamp(0, calc((var(--o, 1) - .45 - var(--m) * .04) * 6), 1));
}
.pflege__monate span.is-jetzt { color: var(--tinte); text-decoration: underline; text-underline-offset: .45em; text-decoration-thickness: 1px; }
.pflege__monate span.is-jetzt::before { background: var(--tinte); height: 2.2cqh; }

@media (max-width: 900px) {
  .karte__bild:has(.pflege) { gap: 3cqh; }
  .pflege li { gap: .6cqh; padding: 1.3cqh 0 1.1cqh; }
  .pflege b { font-size: min(8.6cqw, 6.2cqh); }
  .pflege i { font-size: 10px; }
  .pflege__monate { font-size: 9px; }
}

/* ===== Ads: kleine Bildschirmaufnahme ohne Gerät (adsfilm.js) ===== */
.film { overflow: hidden; }
.film__buehne {
  position: absolute; left: 50%; top: 50%; width: 720px; height: 484px;
  transform-origin: 50% 50%; overflow: hidden;
  border-radius: 8px; box-shadow: 0 0 0 1px rgba(21, 21, 19, .14);
  background: #fff; font-family: Arial, "Helvetica Neue", sans-serif; color: #202124;
}
.film__leiste {
  position: relative; height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 12px;
  background: #f1f1f0; border-bottom: 1px solid #dedcd7; color: #5f6368;
}
.film__pfeile { display: flex; gap: 10px; }
.film__pfeile svg { width: 15px; height: 15px; }
.film__pfeile svg:nth-child(2) { opacity: .4; }
.film__adresse {
  flex: 1; display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px;
  border-radius: 13px; background: #fff; font-size: 13px; color: #3c4043;
}
.film__adresse svg { width: 12px; height: 12px; flex: none; color: #5f6368; }
.film__url { font-weight: 400; white-space: nowrap; overflow: hidden; }
.film__laden { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #1a73e8; transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.film__seite { position: relative; height: 450px; overflow: hidden; }

.film__serp { position: absolute; inset: 0; padding: 18px 0 0 30px; background: #fff; }
.serp__kopf { display: flex; align-items: center; }
.serp__feld {
  width: 440px; height: 42px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 0 20px; border: 1px solid #dfe1e5; border-radius: 22px; font-size: 16px; color: #202124;
}
.serp__feld svg { width: 22px; height: 22px; }
.serp__reiter { display: flex; gap: 26px; margin: 16px 0 0 6px; font-size: 14px; color: #5f6368; }
.serp__reiter span { padding-bottom: 10px; }
.serp__reiter .ist { color: #1a0dab; box-shadow: inset 0 -3px 0 #1a0dab; }
.film__serp::after { content: ""; position: absolute; left: 0; right: 0; top: 98px; height: 1px; background: #ebebeb; }
.serp__anzahl { margin: 16px 0 0; font-size: 14px; color: #70757a; }
.serp__anzeige { margin-top: 16px; width: 640px; }
.serp__gesponsert { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #202124; }
.serp__quelle { display: flex; align-items: center; gap: 12px; margin: 0; }
.serp__quelle > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.serp__quelle b { font-size: 14px; font-weight: 400; color: #202124; }
.serp__quelle small { font-size: 12px; color: #4d5156; }
.serp__icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #f1f3f4; border: 1px solid #e3e3e3; font-size: 13px; color: #3c4043; }
.serp__titel { display: inline-block; margin-top: 8px; font-size: 21px; line-height: 1.3; color: #1a0dab; text-decoration: none; }
.serp__titel.ist-hover { text-decoration: underline; text-underline-offset: 2px; }
.serp__text { margin: 4px 0 0; font-size: 14px; line-height: 1.58; color: #4d5156; }
.serp__links { display: flex; gap: 22px; margin: 8px 0 0; font-size: 14px; color: #1a0dab; }
.serp__rest { margin-top: 28px; width: 640px; display: grid; gap: 26px; filter: blur(1.6px); opacity: .75; }
.serp__titel2 { margin: 8px 0 0; font-size: 21px; color: #1a0dab; }

.film__zeiger { position: absolute; left: 0; top: 0; width: 32px; height: 32px; overflow: visible; z-index: 3; pointer-events: none; transition: scale .1s; will-change: transform; }
.film__zeiger .z-hand { display: none; }
.film__zeiger.ist-hand .z-hand { display: inline; }
.film__zeiger.ist-hand .z-pfeil { display: none; }

/* Platzhalter-Website im Film: eine kleine Rösterei „Ihr Name“, bewusst anders als die eigene Seite
   (Serifen, Espressobraun auf Papier), damit sie wie eine fremde, echte Website wirkt */
.film__web { position: absolute; inset: 0; overflow: hidden; opacity: 0; background: #f4efe6; }
.web { position: relative; color: #2b211b; font-family: Arial, "Helvetica Neue", sans-serif; font-size: 14px; line-height: 1.5; will-change: transform; }
.web h1, .web h2, .web h3, .web__marke, .web figcaption { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.01em; }
.web__kopf { display: flex; align-items: center; gap: 28px; height: 62px; padding: 0 36px; border-bottom: 1px solid #ddd3c3; }
.web__marke { font-size: 21px; display: flex; align-items: baseline; gap: 8px; }
.web__marke small { font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8a7a6b; }
.web__kopf nav { display: flex; gap: 22px; margin-left: auto; font-size: 13px; color: #5a4a3e; }
.web__knopf { display: inline-block; padding: 12px 20px; background: #2b211b; color: #f4efe6; font-size: 14px; border-radius: 2px; transition: background .15s; }
.web__knopf--klein { padding: 8px 14px; font-size: 13px; }
.web__hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding: 30px 36px 40px; }
.web__klein { margin: 0 0 12px; font-size: 12px; color: #8a7a6b; }
.web h1 { margin: 0; font-size: 46px; line-height: 1.04; }
.web__lead { margin: 16px 0 0; max-width: 34ch; font-size: 15px; color: #5a4a3e; }
.web__aktion { display: flex; align-items: center; gap: 20px; margin: 24px 0 0; }
.web__aktion u { text-underline-offset: 4px; color: #2b211b; }
.web__hero img { width: 100%; height: 330px; object-fit: cover; display: block; }
.web__sorten { padding: 40px 36px; border-top: 1px solid #ddd3c3; }
.web h2 { margin: 0 0 18px; font-size: 32px; line-height: 1.1; }
.web__sorten dl { margin: 0; }
.web__sorten div { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 16px; padding: 12px 0; border-top: 1px solid #ddd3c3; }
.web__sorten dt { font-family: Georgia, serif; font-size: 19px; }
.web__sorten dd { margin: 0; color: #5a4a3e; align-self: center; }
.web__bild { margin: 0; position: relative; }
.web__bild img { width: 100%; height: 280px; object-fit: cover; display: block; }
.web__bild figcaption { position: absolute; left: 36px; bottom: 26px; max-width: 16ch; font-size: 28px; line-height: 1.1; color: #fff; }
.web__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 40px 36px; }
.web h3 { margin: 0 0 8px; font-size: 20px; }
.web__info p { margin: 0; color: #5a4a3e; }
.web__kontakt { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; padding: 44px 36px 46px; background: #e9e1d3; }
.web__kontakt p { margin: 0; color: #5a4a3e; }
.web__form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.web__form label { display: grid; gap: 5px; font-size: 12px; color: #5a4a3e; }
.web__form label span { padding: 10px 12px; background: #fbf8f3; border: 1px solid #cfc3b0; font-size: 14px; color: #2b211b; border-radius: 2px; }
.web__form .web__lang { grid-column: 1 / -1; }
.web__form .web__lang span { min-height: 72px; line-height: 1.45; }
.web__senden { justify-self: start; margin-top: 4px; }
.web__senden.ist-hover { background: #46362b; }
.web__senden.ist-gedrueckt { background: #1a130f; }
.web__danke { position: absolute; inset: 0; display: flex; align-items: center; margin: 0; padding: 0 8px; font-family: Georgia, serif; font-size: 22px; line-height: 1.3; color: #2b211b; background: #e9e1d3; opacity: 0; }
.web__fuss { display: flex; gap: 22px; padding: 18px 36px; font-size: 12px; color: #8a7a6b; }
.web__fuss span:first-child { margin-right: auto; }
