/* tarverdi.de – Tokens */
:root {
  --papier: #eceef0;
  --karte: #ffffff;
  --tinte: #121417;
  --grau: #555d68;
  --linie: #cfd4da;
  --akzent: #4a2fe0;          /* FocusDesign-Indigo, etwas dunkler für Kontrast */
  --akzent-hell: #6b55f0;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 72px; --s7: 96px; --s8: 144px;
  --rand: clamp(16px, 4vw, 56px);
  --radius: 20px;
  --kurve: cubic-bezier(.22, .61, .36, 1);
  --schrift-titel: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --schrift-text: 'Rethink Sans', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 17px/1.55 var(--schrift-text); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.sprung { position: absolute; left: -999px; top: var(--s2); background: var(--tinte); color: #fff; padding: var(--s1) var(--s2); border-radius: 8px; z-index: 10; }
.sprung:focus { left: var(--s2); }

/* Kopf */
.kopf { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--rand); }
.kopf__name { font-family: var(--schrift-titel); font-weight: 600; text-decoration: none; font-size: 17px; }
.kopf__nav { display: flex; gap: var(--s3); font-size: 15px; }
.kopf__nav a { text-decoration: none; color: var(--grau); transition: color .2s var(--kurve); }
.kopf__nav a:hover { color: var(--tinte); }
.kopf__fd { color: var(--tinte) !important; }

/* Hero */
.hero { min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: space-between; padding: var(--s5) var(--rand) var(--s6); }
.hero__name { font-size: clamp(56px, 17.2vw, 300px); line-height: .9; letter-spacing: -0.02em; font-weight: 500; }
.zeile { display: block; }
.zeile--zwei { display: flex; align-items: center; justify-content: flex-end; gap: .12em; }
.hero__bild { width: .9em; height: .9em; border-radius: .16em; object-fit: cover; flex: none; transform: translateY(.04em); }
.hero__unten { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s5); align-items: end; margin-top: var(--s6); }
.hero__text { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 34ch; }
.hero__aktion { display: flex; align-items: center; gap: var(--s3); }

/* Knöpfe: Pille mit abgesetztem Kreis */
.knopf { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; font-size: 16px; }
.knopf > span:first-child { background: var(--tinte); color: #fff; padding: 15px 22px; border-radius: 999px; transition: background .25s var(--kurve); }
.knopf__pfeil { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--tinte); color: #fff; transition: background .25s var(--kurve); }
.knopf:hover > span:first-child, .knopf:hover .knopf__pfeil { background: var(--akzent); }
.textlink { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--linie); transition: text-decoration-color .2s var(--kurve); }
.textlink:hover { text-decoration-color: var(--tinte); }

/* Abschnitte */
.arbeiten, .stimmen, .ich, .kontakt { padding: var(--s8) var(--rand) 0; }
.abschnitt__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: end; padding-bottom: var(--s5); border-bottom: 1px solid var(--linie); }
.abschnitt__kopf h2, .ich h2, .kontakt h2 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; }
.abschnitt__kopf p { color: var(--grau); max-width: 40ch; justify-self: end; }

/* Arbeiten */
.projekt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); padding: var(--s6) 0; border-bottom: 1px solid var(--linie); align-items: start; }
.projekt__text { display: grid; gap: var(--s2); }
.projekt h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.projekt__ort { color: var(--grau); font-size: 15px; }
.projekt__text > p:not(.projekt__ort) { max-width: 42ch; }
.fenster { display: block; background: var(--karte); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 1px 0 rgba(18,20,23,.04), 0 24px 48px -28px rgba(18,20,23,.14); }
.fenster__leiste { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #eef0f2; }
.fenster__leiste i { width: 9px; height: 9px; border-radius: 50%; background: #dadee3; }
.fenster__blick { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.fenster__blick img { width: 100%; height: auto; transform: translateY(0); transition: transform 1.2s var(--kurve); will-change: transform; }

/* Stimmen */
.stimme { margin: 0; }
.stimme blockquote { margin: 0; font-family: var(--schrift-titel); font-weight: 400; }
.stimme figcaption { margin-top: var(--s2); color: var(--grau); font-size: 15px; }
.stimme--gross { padding: var(--s6) 0; border-bottom: 1px solid var(--linie); }
.stimme--gross blockquote { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.12; max-width: 24ch; }
.stimmen__paar { display: grid; grid-template-columns: 1fr 1fr; }
.stimmen__paar .stimme { padding: var(--s5) var(--s5) var(--s5) 0; }
.stimmen__paar .stimme + .stimme { border-left: 1px solid var(--linie); padding-left: var(--s5); }
.stimmen__paar blockquote { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; }

/* Zu mir */
.ich { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); }
.ich__text { display: grid; gap: var(--s3); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 40ch; }

/* Kontakt */
.kontakt { display: grid; gap: var(--s4); }
.kontakt__mail { font-family: var(--schrift-titel); font-size: clamp(30px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; transition: color .25s var(--kurve); }
.kontakt__mail:hover { color: var(--akzent); }
.kontakt__wege { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }

/* Fuß */
.fuss { margin-top: var(--s8); padding: 0 var(--rand) var(--s3); overflow: hidden; }
.fuss__marke { font-family: var(--schrift-titel); font-weight: 600; font-size: 27.4vw; line-height: .76; letter-spacing: -0.035em; margin: 0 0 var(--s3) -0.04em; color: var(--tinte); white-space: nowrap; }
.fuss__zeile { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); border-top: 1px solid var(--linie); padding-top: var(--s3); color: var(--grau); font-size: 14px; }
.fuss__zeile a { color: inherit; }

/* Einblenden (Mogck-Rezept: Text steigt 30px) */
.blende { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--kurve), transform .9s var(--kurve); }
.blende.ist-da { opacity: 1; transform: none; }

/* Handy */
@media (max-width: 820px) {
  .kopf__nav a:not(.kopf__fd):not([href="#kontakt"]) { display: none; }
  .hero { min-height: 0; padding-top: var(--s5); padding-bottom: var(--s5); }
  .hero__unten { grid-template-columns: 1fr; gap: var(--s4); margin-top: var(--s5); }
  .abschnitt__kopf, .projekt, .ich { grid-template-columns: 1fr; gap: var(--s3); }
  .abschnitt__kopf p { justify-self: start; }
  .projekt { padding: var(--s5) 0; }
  .projekt__text { position: static; }
  .stimmen__paar { grid-template-columns: 1fr; }
  .stimmen__paar .stimme { padding: var(--s4) 0; }
  .stimmen__paar .stimme + .stimme { border-left: 0; border-top: 1px solid var(--linie); padding-left: 0; }
  .arbeiten, .stimmen, .ich, .kontakt { padding-top: var(--s7); }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fenster:hover .fenster__blick img { transition-duration: var(--dauer, 6s); transition-timing-function: cubic-bezier(.45, 0, .55, 1); transform: translateY(var(--weg, 0)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blende { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media (hover: none) { .nur-maus { display: none; } }

/* Projekt-Band unter dem Hero: zwei schräge Reihen, laufen langsam gegeneinander */
.band { overflow: hidden; padding: var(--s5) 0 var(--s4); }
.band__reihe { transform: rotate(-3deg); margin: 0 -4vw; }
.band__reihe + .band__reihe { margin-top: var(--s3); }
.band__spur { display: flex; width: max-content; animation: band-lauf 70s linear infinite; }
.band__reihe--zurueck .band__spur { animation-direction: reverse; animation-duration: 80s; }
.band__inhalt { display: flex; gap: var(--s3); padding-right: var(--s3); }
.band__inhalt img { width: clamp(220px, 24vw, 360px); height: auto; aspect-ratio: 16 / 10; border-radius: 14px; box-shadow: 0 18px 36px -24px rgba(18,20,23,.14); background: var(--karte); }
.band:hover .band__spur { animation-play-state: paused; }
@keyframes band-lauf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__spur { animation: none; } }

/* Heller Knopf (Projekt-Links): weiße Pille + abgesetzter Kreis, Hover dunkel */
.knopf--hell > span:first-child { background: var(--karte); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie); }
.knopf--hell .knopf__pfeil { background: var(--karte); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie); }
.knopf--hell:hover > span:first-child, .knopf--hell:hover .knopf__pfeil { background: var(--tinte); color: #fff; box-shadow: none; }
.projekt__text .knopf { justify-self: start; margin-top: var(--s1); }

/* Familjen Grotesk ersetzt „!!!“ per Kontext-Alternative – in Zitaten abschalten, damit der Wortlaut exakt bleibt */
.stimme blockquote, h1, h2, h3 { font-variant-ligatures: no-contextual; font-feature-settings: "calt" 0, "liga" 0; }

/* Pfeil-Wechsel nach Wisk-Baustein (pfeilsprung-gelb-wisk): Pfeil fliegt raus, neuer kommt rein, Feder .32s */
:root { --feder: cubic-bezier(.3, .85, .4, 1.04); }
.knopf__pfeil { position: relative; overflow: hidden; }
.knopf .pf { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .32s var(--feder); }
.knopf .pf--rein { transform: translateX(-44px); }
.knopf:hover .pf--raus, .knopf:focus-visible .pf--raus { transform: translateX(44px); }
.knopf:hover .pf--rein, .knopf:focus-visible .pf--rein { transform: translateX(0); }
.knopf__pfeil--diag .pf--rein { transform: translate(-36px, 36px); }
.knopf:hover .knopf__pfeil--diag .pf--raus, .knopf:focus-visible .knopf__pfeil--diag .pf--raus { transform: translate(36px, -36px); }
.knopf:hover .knopf__pfeil--diag .pf--rein, .knopf:focus-visible .knopf__pfeil--diag .pf--rein { transform: translate(0, 0); }
.knopf > span:first-child, .knopf__pfeil { transition: background .32s var(--feder), color .32s var(--feder), box-shadow .32s var(--feder); }
@media (prefers-reduced-motion: reduce) { .knopf .pf { transition: none; } }


/* Fünf große Sterne neben dem Hauptzitat */
.stimme--gross { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s5); align-items: start; }
.stimme--gross blockquote { grid-column: 1; grid-row: 1; }
.stimme--gross figcaption { grid-column: 1; grid-row: 2; }
.sterne { grid-column: 2; grid-row: 1; display: flex; gap: 6px; padding-top: .6em; }
.sterne svg { width: clamp(36px, 4.4vw, 64px); height: auto; fill: var(--tinte); }
@media (max-width: 820px) {
  .stimme--gross { grid-template-columns: 1fr; }
  .sterne { grid-column: 1; grid-row: 1; padding: 0 0 var(--s3); }
  .stimme--gross blockquote { grid-row: 2; }
  .stimme--gross figcaption { grid-row: 3; }
}

/* BPS-Slider: Website + Werkzeuge, wischbar, mit Pfeilen */
.slider { min-width: 0; }
.slider__bahn { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.slider__bahn::-webkit-scrollbar { display: none; }
.slider__folie { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slider__folie figcaption { display: none; }
.fenster__blick--app img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.slider__steuer { display: flex; justify-content: space-between; align-items: center; margin-top: var(--s3); }
.slider__stand { color: var(--grau); font-size: 15px; }
.slider__knoepfe { display: flex; gap: var(--s1); }
.slider__pfeil { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--karte); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie); cursor: pointer; display: grid; place-items: center; transition: background .32s var(--feder), color .32s var(--feder); }
.slider__pfeil:hover { background: var(--tinte); color: #fff; box-shadow: none; }
.slider__pfeil[disabled] { opacity: .35; cursor: default; background: var(--karte); color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie); }
@media (prefers-reduced-motion: reduce) { .slider__bahn { scroll-behavior: auto; } }

.knopf .pf svg { width: 18px; height: 18px; }

/* Geräte-Mockups (selbst gezeichnet nach MacBook-/iPhone-Proportionen) */
.geraete { position: relative; padding: 2% 8% 5% 6.5%; }
.laptop__deckel { background: #0d0e10; border-radius: 2.2% / 3.4%; padding: 2.1% 2.1% 2.6%; box-shadow: inset 0 0 0 1px #2a2c30; }
.laptop__bildschirm { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: #fff; }
.laptop__bildschirm img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__unterteil { position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -6.5%; background: linear-gradient(#e3e5e8, #b9bdc3 70%, #9ea2a8); border-radius: 0 0 14px 14px / 0 0 60% 60%; }
.laptop__unterteil::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; transform: translateX(-50%); background: #a9adb3; border-radius: 0 0 8px 8px; }
.handy { position: absolute; right: 2%; bottom: 1%; width: 17.5%; background: #0d0e10; border-radius: 13% / 6.2%; padding: 1.1%; box-shadow: 0 24px 40px -26px rgba(18,20,23,.45), inset 0 0 0 1px #2a2c30; }
.handy__bildschirm { aspect-ratio: 390 / 844; overflow: hidden; border-radius: 11.5% / 5.4%; background: #fff; }
.handy__bildschirm img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.handy__insel { position: absolute; top: 3.4%; left: 50%; width: 28%; height: 2.6%; transform: translateX(-50%); background: #0d0e10; border-radius: 999px; }
