/* seite.css · Zwetschke (Beispiel), Nagelstudio in Graz-Lend.
 * Design-Lesart: Kleines Studio in Lend bei Nacht, eine Lampe über dem Tisch, Zwetschken-Lack mit Magnetschimmer,
 * breite runde Grotesk, Minze als einziges Licht. Regler: Mut 8, Bewegung 8, Dichte 4.
 * Ecken: Knopf rund (999 px), Felder 14 px, Bilder oben 22 px, unten 6 px. Regelbruch: ein Look-Bild ragt bis an den Rand. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --lack: #7a2a72;          /* Zwetschke, die Hausfarbe (nur im Lack und in Flächen, nie als Textfarbe auf Dunkel) */
  --minze-leise: rgba(142, 240, 200, 0.14);
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; }
.marke { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; }
.marke::after { content: ""; width: 0.38em; height: 0.38em; margin-left: 0.14em; margin-top: 0.32em; border-radius: 50% 50% 45% 45%; background: var(--akzent); }
.knopf { font-weight: 600; letter-spacing: 0.005em; }

/* ---------- Erster Bildschirm: das Foto trägt die ganze Fläche, die Schrift steht im ruhigen Dunkel links */
.anfang { overflow: clip; isolation: isolate; }
.anfang-bild { position: absolute; inset: 0; z-index: -1; }
.anfang-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.anfang-bild::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 9, 18, 0.9) 0%, rgba(18, 9, 18, 0.62) 30%, rgba(18, 9, 18, 0) 56%),
    linear-gradient(0deg, var(--grund) 0%, rgba(18, 9, 18, 0) 22%); }
.anfang-raster { display: block; padding-bottom: clamp(48px, 9vh, 110px); }
.anfang-text { max-width: min(46rem, 52%); }

.titel { position: relative; font-size: var(--t-riesig); line-height: 0.9; letter-spacing: -0.045em; color: var(--text);
  --lack-farbe: #6a2268; --lack-schimmer: #8ef0c8; --lack-milch: #e7cdd6; }
.titel .zeile { display: block; }
.titel.lack-an { color: transparent; }
.titel.lack-an::selection, .titel.lack-an *::selection { color: var(--text); }
.lack-flaeche { position: absolute; pointer-events: none; }
.nw { white-space: nowrap; }
.unterzeile { margin-top: clamp(22px, 3vh, 34px); max-width: 30rem; color: var(--text); }
.beleg { font-size: 1rem; }
.beleg strong { color: var(--akzent); font-weight: 600; }

@media (max-width: 959px) {
  .anfang { display: block; padding-top: 0; }
  .anfang-bild { position: relative; inset: auto; z-index: 0; height: clamp(250px, 40svh, 420px); }
  .anfang-bild img { object-position: 57% 66%; }
  .anfang-bild::after { background: linear-gradient(0deg, var(--grund) 0%, rgba(18, 9, 18, 0) 38%), linear-gradient(180deg, rgba(18, 9, 18, 0.55) 0%, rgba(18, 9, 18, 0) 30%); }
  .anfang-raster { position: relative; z-index: 1; margin-top: calc(var(--t-riesig) * -0.62); padding-bottom: 40px; }
  .anfang-text { max-width: none; }
  .unterzeile { font-size: 1.15rem; margin-top: 18px; }
  .beleg { margin-top: 12px; font-size: 0.95rem; }
  .handlung { margin-top: 22px; }
}
@media (max-width: 520px) {
  .anfang .handlung .knopf:not(.knopf--rahmen) { flex: 1 1 100%; }
  .anfang .knopf--rahmen { display: none; }
}

/* ---------- Abschnitte allgemein */
.abschnitt h2, .buehne h2 { font-size: var(--t-gross); max-width: 16ch; }
.abschnitt-satz { margin-top: 18px; max-width: 38rem; color: var(--text-2); font-size: var(--t-mittel); line-height: 1.45; }

/* ---------- Schlüsselszene: angeheftete Bühne, vier Schichten (js/schichten.js) */
.schichten { position: relative; height: 340vh; }
.buehne { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr; padding: calc(var(--kopf-hoehe) + clamp(12px, 3vh, 40px)) 0 clamp(20px, 4vh, 48px); overflow: clip; }
/* Wort und Schritte als ein Block, eng beieinander und in der freien Höhe mittig: keine leeren Streifen darüber und darunter */
.buehne-mitte { display: flex; flex-direction: column; justify-content: center; justify-content: safe center; gap: clamp(24px, 5.5vh, 64px); min-height: 0; }
.buehne-satz { margin-top: 12px; color: var(--text-2); font-size: var(--t-mittel); line-height: 1.4; max-width: 54rem; }
.werkstueck-rahmen { display: grid; place-items: center; min-height: 0; }
.werkstueck { position: relative; font-family: var(--schrift-display); font-weight: 700; font-size: clamp(2.5rem, min(13.6vw, 26svh), 14rem); line-height: 1; letter-spacing: -0.05em; color: var(--text);
  --lack-farbe: #6a2268; --lack-schimmer: #8ef0c8; --lack-milch: #e7cdd6; }
.werkstueck .zeile { display: block; }
.werkstueck.lack-an { color: transparent; }
.verlauf { position: relative; height: 2px; background: var(--linie); border-radius: 2px; overflow: hidden; }
.verlauf-fuellung { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 1)); background: var(--akzent); }
.schritte { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px clamp(16px, 2.6vw, 40px); }
.schritte li { display: grid; gap: 4px; align-content: start; opacity: 0.62; transition: opacity 0.25s var(--aus); }
.schritte strong { font-family: var(--schrift-display); font-weight: 500; font-size: clamp(1.05rem, 0.85rem + 0.6vw, 1.45rem); letter-spacing: -0.02em; }
.schritt-zeit { font-size: 0.95rem; color: var(--akzent); font-weight: 500; }
.schritt-satz { color: var(--text-2); font-size: 1.05rem; line-height: 1.45; max-width: 24rem; }
/* das Licht der Tischlampe von rechts oben, ganz leise: die Bühne ist ein Tisch, kein leerer Raum */
.buehne { background: radial-gradient(55% 60% at 78% 8%, rgba(246, 228, 236, 0.07), rgba(246, 228, 236, 0) 70%), var(--grund); }
.schichten[data-schritt="1"] .schritte li:nth-child(1), .schichten[data-schritt="2"] .schritte li:nth-child(2),
.schichten[data-schritt="3"] .schritte li:nth-child(3), .schichten[data-schritt="4"] .schritte li:nth-child(4),
.schichten[data-schritt="alle"] .schritte li, html:not(.js) .schritte li { opacity: 1; }
@media (max-width: 759px) {
  .schichten { height: 300vh; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; margin-top: 22px; }
  .schritte strong { font-size: 1.3rem; }
  .schritt-satz { font-size: 1.05rem; }
  .buehne-mitte { gap: 40px; }
}
/* Kleine Handys (wenig Höhe): nur der aktive Schritt zeigt seinen Satz, sonst passt die Bühne nicht in den Bildschirm */
@media (max-width: 759px) and (max-height: 760px) {
  .buehne-mitte { gap: 22px; }
  .schritte { gap: 14px 18px; margin-top: 16px; }
  .schritte strong { font-size: 1.12rem; }
  .schichten:not([data-schritt="alle"]) .schritt-satz { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.25s var(--aus), opacity 0.25s var(--aus); }
  .schichten[data-schritt="1"] li:nth-child(1) .schritt-satz, .schichten[data-schritt="2"] li:nth-child(2) .schritt-satz,
  .schichten[data-schritt="3"] li:nth-child(3) .schritt-satz, .schichten[data-schritt="4"] li:nth-child(4) .schritt-satz { max-height: 6em; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .schichten { height: auto; } .buehne { position: relative; height: auto; gap: 40px; padding-bottom: var(--abstand); } .buehne-mitte { gap: 40px; } }
html:not(.js) .schichten { height: auto; }
html:not(.js) .buehne { position: relative; height: auto; gap: 40px; }

/* ---------- Looks: drei Hochformate in Treppe; das dritte ragt bis an den Bildschirmrand (der eine Regelbruch, D26) */
.looks { overflow-x: clip; }
.looks-reihe { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.look { margin: 0; }
.look img { width: 100%; border-radius: var(--rund-bild); background: var(--grund-2); }
.look figcaption { display: grid; gap: 2px; margin-top: 14px; }
.look figcaption strong { font-family: var(--schrift-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.02em; }
.look figcaption span { color: var(--text-2); font-size: 1rem; }
.look--1 { grid-column: 1 / span 4; }
.look--2 { grid-column: 5 / span 4; margin-top: clamp(60px, 11vw, 170px); }
.look--3 { grid-column: 9 / span 4; margin-right: calc(-1 * var(--kante)); margin-top: clamp(20px, 4vw, 64px); }
.look--3 img { border-radius: 22px 0 0 6px; }
.look--3 figcaption { padding-right: var(--kante); }
@media (max-width: 899px) {
  .looks-reihe { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .look--1, .look--2, .look--3 { grid-column: 1; margin-top: 0; }
  .look--1 { width: 84%; }
  .look--2 { width: 84%; justify-self: end; }
  .look--3 { width: calc(90% + var(--rand)); justify-self: end; margin-right: calc(-1 * var(--rand)); }
  .look--3 figcaption { padding-right: var(--rand); }
}

/* ---------- Preise: offene Liste mit Dauer, daneben der Studi-Preis */
.preise-raster { display: grid; gap: 48px clamp(40px, 7vw, 120px); }
@media (min-width: 900px) { .preise-raster { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; } .preise-kopf { position: sticky; top: calc(var(--kopf-hoehe) + 40px); } }
.studi { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; padding: 22px 26px; border-radius: var(--rund-bild); background: var(--grund-2); box-shadow: inset 0 0 0 1px var(--linie); max-width: 30rem; }
.studi-zahl { font-family: var(--schrift-display); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -0.05em; color: var(--akzent); white-space: nowrap; }
.studi-text { flex: 1 1 14rem; color: var(--text-2); font-size: 1rem; }
.preisliste { margin: 0; border-top: 1px solid var(--linie); }
.preisliste div { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.preisliste dt { font-weight: 500; font-size: 1.15rem; }
.preisliste dt span { display: block; margin-top: 2px; font-weight: 400; font-size: 0.95rem; color: var(--text-2); }
.preisliste dd { margin: 0; font-family: var(--schrift-display); font-weight: 500; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); letter-spacing: -0.02em; white-space: nowrap; }

/* ---------- Studio: Foto groß, Zeiten daneben */
.studio h2 { max-width: 22ch; }
.studio-raster { display: grid; gap: 40px clamp(40px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .studio-raster { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); align-items: end; } }
.studio-text .abschnitt-satz { margin-top: 0; font-size: 1.15rem; }
.studio-bild { margin: 0; }
.studio-bild img { width: 100%; border-radius: var(--rund-bild); }
/* Zeiten ohne Linien, die Uhrzeit groß in der Überschriftenschrift: die dritte Liste mit Haarlinien wäre eine zu viel */
.zeiten { margin: 32px 0 0; display: grid; gap: 18px; }
.zeiten div { display: grid; gap: 2px; }
.zeiten dt { color: var(--text-2); font-size: 0.95rem; }
.zeiten dd { margin: 0; font-family: var(--schrift-display); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); letter-spacing: -0.03em; }
.anfahrt { margin-top: 20px; color: var(--text-2); max-width: 30rem; }

/* ---------- Fragen: Überschrift oben, Antworten eingerückt */
/* Fünf Antworten offen in zwei Spalten, das sechste Feld ist der Weg zum Telefon; keine Haarlinien, Ruhe durch Abstand */
.fragen { padding-bottom: calc(var(--abstand) * 0.7); }
.fragen-liste { margin: clamp(32px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) clamp(32px, 6vw, 96px); }
.frage { display: grid; gap: 10px; align-content: start; }
.frage dt { font-family: var(--schrift-display); font-weight: 500; font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.3; }
.frage dd { margin: 0; color: var(--text-2); max-width: 46ch; }
.frage--offen { padding: 22px 26px; border-radius: var(--rund-bild); background: var(--grund-2); box-shadow: inset 0 0 0 1px var(--linie); }
.frage--offen dt { color: var(--akzent); }
.frage--offen a { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 759px) { .fragen-liste { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Anfrage: eigene Fläche als Schluss-Kapitel */
.kontakt { background: var(--grund-2); }
.kontakt h2 { font-size: var(--t-gross); }
.kontakt .abschnitt-satz { margin-bottom: 36px; }
.kontakt .feld input, .kontakt .feld textarea, .kontakt .feld select { background-color: var(--grund); border-color: #826e7f; }   /* Feldrand mit 3 : 1 gegen die Fläche (WCAG 1.4.11) */
.feld select { appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.feld-frei { color: var(--text-3); }
.direkt-titel { font-family: var(--schrift-display); font-weight: 500; font-size: 1.15rem; margin-bottom: 4px; }
.direkt p { color: var(--text-2); }

/* ---------- Bewegung bis ganz unten (Martin, 23.10.2026: „zu wenig Bewegung“). Alles hängt am Scrollen (--p aus
 * js/bewegung.js), nichts läuft von selbst, nichts kapert den Scroll, nur Verschieben, Größe, Deckkraft und Ausschnitt
 * (keine Grafikkarten-Last). Ruhige Fassung und ohne JavaScript: alles steht ruhig im Endzustand. */
.look-bild, .studio-bild { position: relative; overflow: clip; border-radius: var(--rund-bild); }
.look--3 .look-bild { border-radius: 22px 0 0 6px; }
.look-bild img, .studio-bild img { display: block; }
@media (prefers-reduced-motion: no-preference) {
  /* Kopf: „Zeig her“ – beim Weiterscrollen rückt man näher an die Hand, das Foto bleibt zurück, die Schrift geht voraus */
  .js .anfang-bild img { scale: calc(1 + var(--p, 0) * 0.12); translate: 0 calc(var(--p, 0) * 26%); }
  .js .anfang-text { translate: 0 calc(var(--p, 0) * -12vh); opacity: calc(1 - var(--p, 0) * 0.75); }

  /* Looks: drei Fotos liegen verschieden hoch auf dem Tisch und gleiten gegeneinander; über den Top Coat wandert ein
     Glanz wie beim Drehen der Hand unter der Lampe */
  .js .look-bild img { scale: 1.12; translate: 0 calc((0.5 - var(--p, 0.5)) * 7%); }
  .js .look-bild::after { content: ""; position: absolute; inset: -10% -60%; pointer-events: none; mix-blend-mode: screen;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 42%, rgba(196, 255, 232, 0.1) 47%, rgba(255, 255, 255, 0.22) 50%, rgba(196, 255, 232, 0.1) 53%, rgba(255, 255, 255, 0) 58%);
    translate: calc((var(--p, 0.5) - 0.5) * 100%) 0; }
  @media (min-width: 900px) {
    .js .look--1 { translate: 0 calc((0.5 - var(--p, 0.5)) * 40px); }
    .js .look--2 { translate: 0 calc((0.5 - var(--p, 0.5)) * 110px); }
    .js .look--3 { translate: 0 calc((0.5 - var(--p, 0.5)) * 70px); }
  }
  @media (hover: hover) and (pointer: fine) { .js .look-bild img { transition: scale 0.5s var(--aus); } .js .look:hover .look-bild img { scale: 1.16; } }

  /* Preise: jede Zeile zieht ihre Linie in einem Zug wie einen Pinselstrich, der Preis rückt dabei an seinen Platz */
  .js .preisliste div { position: relative; border-bottom-color: transparent; --strich: clamp(0, (var(--p, 1) - 0.04) * 4, 1); }
  .js .preisliste div::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--linie); transform-origin: left; scale: var(--strich) 1; }
  .js .preisliste dd { translate: calc((1 - var(--strich)) * 28px) 0; opacity: calc(0.25 + var(--strich) * 0.75); }

  /* Studio: abends gehen die Lampen an; das Foto wird hell, während es ins Bild kommt */
  .js .studio-bild { --licht: clamp(0, (var(--p, 1) - 0.08) * 3.2, 1); }
  .js .studio-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #0b050b; opacity: calc((1 - var(--licht)) * 0.62); }
  .js .studio-bild img { scale: calc(1.08 - var(--licht) * 0.08); }

  /* Fragen: die zwei Spalten gleiten leicht gegeneinander, die Seite bleibt auch im Text in Bewegung */
  @media (min-width: 760px) {
    .js .fragen-liste > :nth-child(odd) { translate: 0 calc((0.5 - var(--p, 0.5)) * 36px); }
    .js .fragen-liste > :nth-child(even) { translate: 0 calc((var(--p, 0.5) - 0.5) * 36px); }
  }

  /* Anfrage: die Fläche wächst wie eine Nagelspitze zur vollen Breite; zum Schluss wandert der Glanz einmal über den Knopf */
  .js .kontakt { --breit: clamp(0, var(--p, 1) * 3, 1);
    clip-path: inset(0 calc((1 - var(--breit)) * var(--rand)) 0 round calc((1 - var(--breit)) * 64px) calc((1 - var(--breit)) * 64px) 0 0); }
  .js .formular .handlung .knopf { background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 60%);
    background-size: 300% 100%; background-repeat: no-repeat;
    background-position: calc(100% - clamp(0, (var(--p, 1) - 0.2) * 2.5, 1) * 100%) 0; }
}

/* ---------- Rechtliches am Handy: Begriff über dem Wert, lange Adressen dürfen umbrechen */
@media (max-width: 560px) { .lesetext dl div { grid-template-columns: minmax(0, 1fr); } .lesetext dd { overflow-wrap: anywhere; } }
