/* ==========================================================================
   kristina-wien.de — Grafikdesign
   Alle Schriften liegen lokal auf dem eigenen Server.
   Kein Google Fonts, kein CDN, kein Analytics, keine Cookies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Lokale Schrift
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-Variable.woff2') format('woff2-variations'),
       url('../fonts/Archivo-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Farben, direkt aus den Fotos gemessen */
  --ink:     #2B1810;   /* Schatten im Leder — fast schwarz, aber warm */
  --paper:   #F6F2ED;   /* die weiss gestrichene Ziegelwand */
  --pink:    #EB5D84;   /* Hot Pink aus dem Colorplan-Fächer */
  --coral:   #FF5E52;   /* die Streifen auf den Sneakern */
  --cognac:  #8F5D41;   /* das Ledersofa */
  --sun:     #FDDE70;   /* das gelbe Musterblatt */

  --paper-70: rgba(246, 242, 237, .72);
  --paper-45: rgba(246, 242, 237, .45);
  --ink-70:   rgba(43, 24, 16, .72);
  --ink-50:   rgba(43, 24, 16, .5);
  --rule:     rgba(43, 24, 16, .16);

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --rhythm: clamp(4.5rem, 11vh, 9rem);

  --sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   3. Basis
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.55;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--pink); color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

p { margin: 0 0 1.2em; max-width: 60ch; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .8rem 1.25rem;
  font-size: .9rem;
}
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Typografie — eine Familie, weit aufgezogene Breitenachse
   -------------------------------------------------------------------------- */

/* Die grossen, geradlinigen Überschriften: schmal, schwer, Versalien. */
.xxl, .xl, .lg {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

.xxl {
  font-variation-settings: 'wght' 800, 'wdth' 76;
  /* Der untere Wert ist so gewaehlt, dass auch das laengste Einzelwort auf
     einem 320-px-Display noch in die Zeile passt. */
  font-size: clamp(2.2rem, .2rem + 7.4vw, 6.25rem);
  line-height: .88;
}

.xl {
  font-variation-settings: 'wght' 800, 'wdth' 78;
  font-size: clamp(2.4rem, 1rem + 6.4vw, 6rem);
  line-height: .9;
}

.lg {
  font-variation-settings: 'wght' 700, 'wdth' 82;
  font-size: clamp(1.6rem, 1.2rem + 1.9vw, 2.6rem);
  line-height: .98;
}

.eyebrow {
  font-size: clamp(.72rem, .68rem + .16vw, .82rem);
  font-variation-settings: 'wght' 650, 'wdth' 100;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 1.5rem;
  max-width: none;
}

.lead {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem);
  line-height: 1.45;
  font-variation-settings: 'wght' 420, 'wdth' 100;
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */

.wrap { width: 100%; max-width: 84rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 58rem; }

.section { padding-block: var(--rhythm); }

.on-ink    { background: var(--ink);    color: var(--paper); }
.on-pink   { background: var(--pink);   color: var(--ink); }
.on-coral  { background: var(--coral);  color: var(--ink); }
.on-cognac { background: var(--cognac); color: var(--paper); }
.on-sun    { background: var(--sun);    color: var(--ink); }

/* --------------------------------------------------------------------------
   6. Kopfzeile
   -------------------------------------------------------------------------- */

.masthead {
  position: sticky; top: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
}

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: .9rem;
}

.wordmark {
  font-size: clamp(.95rem, .9rem + .3vw, 1.1rem);
  font-variation-settings: 'wght' 750, 'wdth' 88;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  white-space: nowrap;
}

.nav { display: flex; flex-wrap: wrap; gap: .4rem clamp(.9rem, 2.6vw, 2.25rem); }

.nav a {
  font-size: clamp(.75rem, .7rem + .25vw, .875rem);
  font-variation-settings: 'wght' 550, 'wdth' 95;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease;
}
.nav a:hover { border-bottom-color: var(--pink); }

/* --------------------------------------------------------------------------
   7. Hero — Foto links, Überschrift rechts
   -------------------------------------------------------------------------- */

.hero { padding-top: clamp(2.5rem, 5vw, 4rem); }

.hero__grid {
  --spalt: clamp(1.75rem, 4vw, 3.5rem);   /* Abstand zwischen Bild und Text */
  --ueberlapp: clamp(1rem, 4vw, 4rem);    /* so weit liegt die Schrift auf dem Bild */
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--spalt);
  align-items: end;
}

.hero__bild { margin: 0; }
.hero__bild img { width: 100%; }

/* Die Überschrift schiebt sich über die rechte Kante des Fotos, damit Bild und
   Schrift eine Einheit bilden. Der Überlapp bleibt bei rund 15 % der Bildbreite:
   dort liegt im Foto heller Hintergrund und weisses Shirt, der Kontrast reicht.
   Der Fliesstext darunter bleibt bewusst ausserhalb des Bildes. */
.hero__title {
  position: relative;
  z-index: 2;
  margin-left: calc(-1 * (var(--spalt) + var(--ueberlapp)));
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero__title span { display: block; }
.hero__title .t2 { color: var(--pink); }
.hero__title .t3 { color: var(--coral); }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: center; margin-top: 2rem;
}

.marquee {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-block: .9rem;
  display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  font-size: clamp(.72rem, .68rem + .2vw, .85rem);
  font-variation-settings: 'wght' 600, 'wdth' 95;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.marquee span:nth-child(even) { color: var(--pink); }

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .9rem;
  font-variation-settings: 'wght' 650, 'wdth' 95;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1;
  padding: 1.1rem 2rem;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }

.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { background: var(--pink); border-color: var(--pink); }

.link-line {
  text-decoration: none;
  font-variation-settings: 'wght' 600, 'wdth' 100;
  border-bottom: 2px solid var(--pink);
  padding-bottom: 2px;
}
.link-line:hover { border-bottom-color: currentColor; }

/* --------------------------------------------------------------------------
   9. Schwerpunkte — Papier, Farbe nur als Balken
   -------------------------------------------------------------------------- */

.leistungen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.leistung {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 12px solid var(--ink);
}
.leistung--ink    { border-top-color: var(--ink); }
.leistung--pink   { border-top-color: var(--pink); }
.leistung--coral  { border-top-color: var(--coral); }
.leistung--cognac { border-top-color: var(--cognac); }

.leistung h3 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.35rem);
  font-variation-settings: 'wght' 800, 'wdth' 78;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
}

.leistung p { font-size: .975rem; line-height: 1.5; max-width: 44ch; }

.leistung__tags {
  margin: 1.5rem 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.leistung__tags li {
  font-size: .7rem;
  font-variation-settings: 'wght' 600, 'wdth' 95;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1.5px solid currentColor;
  padding: .3rem .6rem;
}

/* --------------------------------------------------------------------------
   9b. Veredelung & Druck
   -------------------------------------------------------------------------- */

#leistungen { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
#handwerk { padding-top: clamp(2.5rem, 5vw, 4rem); }

.handwerk {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.handwerk__spalte { padding-top: 1.5rem; border-top: 12px solid var(--ink); }
.handwerk__spalte--sun { border-top-color: var(--sun); }
.handwerk__spalte--ink { border-top-color: var(--cognac); }

.handwerk h2 { margin-bottom: 1.35rem; }
.handwerk p { max-width: 42ch; font-size: .975rem; }
.handwerk .leistung__tags { margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   11. Über / Zahlen
   -------------------------------------------------------------------------- */

.ueber__grid {
  --spalt: clamp(2rem, 5vw, 4.5rem);
  --ueberlapp: clamp(1.5rem, 6.4vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--spalt);
  align-items: start;
}

/* Gleicher Gedanke im Abschnitt „Über mich". Hier ist der Hintergrund des Fotos
   heller Studioraum, der Überlapp darf deshalb grosszügiger ausfallen. */
#ueber h2 {
  position: relative;
  z-index: 2;
  margin-left: calc(-1 * (var(--spalt) + var(--ueberlapp)));
}

/* Der Kopf im Foto liegt zwischen 9 % und 29 % der Bildhoehe. Die Textspalte
   setzt deshalb tiefer an, damit die Überschrift erst unterhalb davon ins Bild
   ragt — dort ist der Studiohintergrund durchgehend hell. */
@media (min-width: 62rem) {
  .ueber__text { padding-top: clamp(6rem, 11vw, 10rem); }
}

.ueber__bild { margin: 0; }
.ueber__bild img { width: 100%; }

.zahlen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
}
.zahlen div { background: var(--paper); padding: 1.25rem 1.15rem 1.4rem; }
.zahlen dt {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
  font-variation-settings: 'wght' 800, 'wdth' 78;
  line-height: .9;
  margin-bottom: .4rem;
}
.zahlen dd {
  margin: 0; font-size: .72rem;
  font-variation-settings: 'wght' 600, 'wdth' 95;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-70);
}

/* --------------------------------------------------------------------------
   12. Stationen
   -------------------------------------------------------------------------- */

.vita { margin: 0; padding: 0; list-style: none; border-top: 2px solid currentColor; }

.vita li {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--paper-45);
  align-items: baseline;
}

.vita__jahr {
  font-size: .82rem;
  font-variation-settings: 'wght' 650, 'wdth' 95;
  letter-spacing: .08em;
  color: var(--paper-70);
  white-space: nowrap;
}

.vita__rolle {
  font-size: clamp(1.15rem, 1rem + .7vw, 1.55rem);
  font-variation-settings: 'wght' 700, 'wdth' 84;
  text-transform: uppercase;
  line-height: 1.05;
}

.vita__ort { font-size: .95rem; color: var(--paper-70); line-height: 1.45; }

/* --------------------------------------------------------------------------
   13. Können
   -------------------------------------------------------------------------- */

.koennen__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.skills { margin: 0; padding: 0; list-style: none; }

.skills li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule);
}
.skills li:first-child { border-top: 1px solid var(--rule); }

.skills b {
  font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem);
  font-variation-settings: 'wght' 700, 'wdth' 86;
  text-transform: uppercase;
  letter-spacing: -.005em;
  flex: 0 0 auto;
}
.skills span { font-size: .95rem; color: var(--ink-70); }

.tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.tools li {
  font-size: .78rem;
  font-variation-settings: 'wght' 650, 'wdth' 95;
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--ink); color: var(--paper);
  padding: .5rem .85rem;
}

.koennen__bild { margin: 0; }
.koennen__bild img { width: 100%; }

/* --------------------------------------------------------------------------
   14. Kontakt — kein Formular, dafür Mail und Telefon in Grossformat
   -------------------------------------------------------------------------- */

.kontakt__gross {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  border-top: 3px solid var(--ink);
}

.kontakt__zeile {
  display: block;
  font-size: clamp(1.45rem, .4rem + 4.2vw, 4rem);
  font-variation-settings: 'wght' 800, 'wdth' 80;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-decoration: none;
  padding: clamp(.9rem, 1.8vw, 1.5rem) 0;
  border-bottom: 3px solid var(--ink);
  transition: color .18s ease, padding-left .18s ease;
}
.kontakt__zeile:hover,
.kontakt__zeile:focus-visible { color: var(--paper); padding-left: .5rem; }

.kontakt__adresse {
  margin-top: 1.5rem;
  font-size: .78rem;
  font-variation-settings: 'wght' 600, 'wdth' 95;
  text-transform: uppercase;
  letter-spacing: .1em;
  max-width: none;
}

/* --------------------------------------------------------------------------
   15. Fusszeile
   -------------------------------------------------------------------------- */

.footer { background: var(--ink); color: var(--paper-70); padding-block: 2.5rem 3rem; }
.footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  font-size: .8rem;
  font-variation-settings: 'wght' 500, 'wdth' 100;
  text-transform: uppercase; letter-spacing: .08em;
}
.footer a { color: var(--paper-70); text-decoration: none; }
.footer a:hover { color: var(--pink); }
.footer nav { display: flex; gap: 1.75rem; }

/* --------------------------------------------------------------------------
   16. Rechtstexte
   -------------------------------------------------------------------------- */

.legal { padding-block: clamp(3rem, 8vh, 5rem) var(--rhythm); }
.legal__inner { max-width: 44rem; }
.legal h1 { margin-bottom: 2.5rem; }

.legal h2 {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  font-variation-settings: 'wght' 750, 'wdth' 86;
  text-transform: uppercase; letter-spacing: -.005em; line-height: 1.1;
  margin: 3rem 0 1rem; padding-top: 1.4rem;
  border-top: 2px solid var(--ink);
}

.legal h3 {
  font-family: var(--sans);
  font-size: .78rem;
  font-variation-settings: 'wght' 700, 'wdth' 95;
  text-transform: uppercase; letter-spacing: .1em;
  margin: 1.75rem 0 .5rem;
}

.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.15rem; margin: 0 0 1.2em; }
.legal li { margin-bottom: .35em; }
.legal address { font-style: normal; margin-bottom: 1.2em; }
.legal a { text-decoration-color: var(--pink); text-underline-offset: 3px; }
.legal .updated { color: var(--ink-50); font-size: .85rem; margin-top: 3rem; }
.legal__back {
  display: inline-block; margin-bottom: 2.5rem;
  font-size: .78rem;
  font-variation-settings: 'wght' 650, 'wdth' 95;
  text-transform: uppercase; letter-spacing: .1em;
  text-decoration: none; border-bottom: 2px solid var(--pink); padding-bottom: 3px;
}

/* --------------------------------------------------------------------------
   17. Bewegung
   -------------------------------------------------------------------------- */

/* Die Elemente werden NUR versteckt, wenn im Browser auch JavaScript läuft.
   Sonst bliebe der Hero ohne JavaScript dauerhaft unsichtbar. Browser, die
   (scripting) nicht kennen, zeigen den Inhalt einfach ohne Animation. */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .reveal { opacity: 0; transform: translateY(1rem); }
  .is-ready .reveal {
    opacity: 1; transform: none;
    transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
  }
  .is-ready .reveal:nth-child(2) { transition-delay: .08s; }
  .is-ready .reveal:nth-child(3) { transition-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   18. Schmalere Bildschirme
   -------------------------------------------------------------------------- */

@media (max-width: 62rem) {
  .hero__grid, .ueber__grid, .koennen__grid { grid-template-columns: 1fr; }
  .hero__bild { max-width: 22rem; }

  /* Gestapelt gibt es keine Kante zum Überlappen — und der untere Bildrand
     ist zu dunkel für Schrift darüber. */
  .hero__title, #ueber h2 { margin-left: 0; }
  .hero__bild { max-width: 26rem; }
  .hero__bild img { height: auto; }
  .hero__lead { padding: clamp(1.5rem, 5vw, 2.25rem); }
  .ueber__bild { max-width: 24rem; }
  .koennen__bild { max-width: 24rem; }
  .leistungen { grid-template-columns: 1fr; }
  .handwerk { grid-template-columns: 1fr; }
  .handwerk { grid-template-columns: 1fr; gap: clamp(2.5rem, 8vw, 3.5rem); }
  .vita li { grid-template-columns: 7rem minmax(0, 1fr); }
  .vita__ort { grid-column: 2; }
}

/* Vier Navigationspunkte passen neben dem Namen nicht mehr in eine Zeile */
@media (max-width: 44rem) {
  .masthead__inner { flex-direction: column; align-items: flex-start; gap: .45rem; padding-block: .7rem .8rem; }
  .nav { gap: .85rem; font-size: .7rem; letter-spacing: .06em; }
  html { scroll-padding-top: 6.5rem; }
}

@media (max-width: 34rem) {
  .vita li { grid-template-columns: 1fr; gap: .3rem; }
  .vita__ort { grid-column: 1; }
  .btn { width: 100%; text-align: center; }
  .footer__inner { flex-direction: column; }
  .footer nav { gap: 1.25rem; }
}

@media print {
  .masthead { display: none; }
  body { background: #fff; color: #000; }
}
