/* sam-squillacioti.com, eigene Fassung ab November 2026.
   CI: Geist 700 fuer Ueberschriften, Vend Sans fuer Fliesstext,
   Schwarz #0C0C0D und Gold #DAA520. Rot ist verboten. Ein Thema: dunkel.
   Bewegung nach apple-design: Rueckmeldung beim Druecken, nur transform und
   opacity, reduzierte Bewegung wird respektiert. */

@font-face { font-family: "Geist"; src: url("/schriften/geist-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vend Sans"; src: url("/schriften/vend-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vend Sans"; src: url("/schriften/vend-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --schwarz: #0C0C0D;
  --flaeche: #151517;
  --flaeche-2: #1D1D20;
  --linie: rgba(255, 255, 255, 0.10);
  --text: #F2F0EB;
  --text-2: rgba(242, 240, 235, 0.68);
  --text-3: rgba(242, 240, 235, 0.46);
  --gold: #DAA520;
  --gold-hell: #E8BC4A;
  --breite: 75rem;
  --rand: clamp(1rem, 4vw, 4rem);
  --feder: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Vend Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--schwarz); }

h1, h2, h3 {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.1vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.012em; }
p { margin: 0; }
.gold { color: var(--gold); }
.leise { color: var(--text-2); }
.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--gold); color: var(--schwarz); padding: 0.5rem 1rem; border-radius: 0.5rem; }

/* Schaltflaeche: Rueckmeldung beim Druecken, nicht beim Loslassen. */
.knopf {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold); color: var(--schwarz);
  font: 500 1rem/1 "Vend Sans", system-ui, sans-serif;
  padding: 1rem 1.4rem; border-radius: 999px; text-decoration: none;
  transition: transform 100ms ease-out, background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.knopf:hover { background: var(--gold-hell); }
.knopf:active { transform: scale(0.97); }
.knopf:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.knopf svg { width: 1rem; height: 1rem; transition: transform 300ms var(--feder); }
.knopf:hover svg { transform: translateX(3px); }
.knopf.klein { padding: 0.7rem 1.1rem; font-size: 0.9375rem; }

/* Kopfleiste als durchscheinende Schicht, der Inhalt laeuft darunter. */
.kopf {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 4.25rem;
  display: flex; align-items: center;
  background: rgba(12, 12, 13, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: background-color 300ms ease;
}
.kopf::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--linie), transparent);
}
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke { font-family: "Geist", system-ui, sans-serif; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; font-size: 1rem; white-space: nowrap; }
.marke span { font-family: "Vend Sans", system-ui, sans-serif; font-weight: 400; color: var(--text-2); }

/* 1 Startbereich: Bild ueber die volle Breite, Text unten links. */
.start {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.start picture, .start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; z-index: -2; }
.start::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,12,13,0.15) 0%, rgba(12,12,13,0) 35%, rgba(12,12,13,0.75) 72%, var(--schwarz) 100%),
    linear-gradient(90deg, rgba(12,12,13,0.7) 0%, rgba(12,12,13,0) 60%);
}
.start .huelle { padding-block: 6rem clamp(3rem, 8vh, 5.5rem); }
.start h1 { max-width: 22ch; }
.start p { max-width: 34ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--text-2); }
.start .knopf { margin-top: 2rem; }

section { position: relative; }
.abschnitt { padding-block: clamp(5rem, 11vw, 9rem); }

/* 2 Problem: Bild links hochkant, Text rechts. */
.problem .huelle { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.problem figure { margin: 0; }
.problem figure img { border-radius: 1.25rem; aspect-ratio: 4 / 5; object-fit: cover; }
figcaption { margin-top: 0.85rem; font-size: 0.875rem; color: var(--text-3); }
.wechsel { display: inline-grid; color: var(--gold); }
.wechsel > span { grid-area: 1 / 1; transition: opacity 500ms ease, transform 600ms var(--feder); }
.wechsel > span[aria-hidden="true"] { opacity: 0; transform: translateY(0.35em); }
.problem .einleitung { margin-top: 1.5rem; max-width: 46ch; color: var(--text-2); }
.punkte { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1px; background: var(--linie); border-radius: 1rem; overflow: hidden; }
.punkte li { background: var(--flaeche); padding: 1.4rem 1.5rem; display: grid; grid-template-columns: 2rem 1fr; gap: 0.25rem 1rem; }
.punkte .nr { grid-row: span 2; font-family: "Geist", system-ui, sans-serif; color: var(--gold); font-size: 0.95rem; padding-top: 0.1rem; }
.punkte p { color: var(--text-2); font-size: 0.98rem; }

/* 3 Stimmung: Bild randlos, ein Satz darauf. */
.stimmung { min-height: 82svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.stimmung img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stimmung::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--schwarz) 0%, rgba(12,12,13,0.1) 30%, rgba(12,12,13,0.25) 55%, rgba(12,12,13,0.92) 100%); }
.stimmung .huelle { padding-block: 5rem; }
.stimmung h2 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3.8rem); }
.stimmung p { margin-top: 1rem; max-width: 40ch; color: var(--text-2); }

/* 4 Moebellogik: gestapelt, vier Schritte nebeneinander, dann die Zeichnung. */
.logik h2 { max-width: 24ch; }
.logik .einleitung { margin-top: 1.4rem; max-width: 58ch; color: var(--text-2); }
.schritte { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.schritte li { position: relative; padding: 1.6rem 1.4rem 1.7rem; border-radius: 1rem; background: var(--flaeche); border: 1px solid var(--linie); }
.schritte li::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 0; height: 2px; background: var(--linie); border-radius: 2px; }
.schritte .marke-schritt { font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--text-3); }
.schritte h3 { margin-top: 0.6rem; }
.schritte p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--text-2); }
.schritte li.zuletzt { background: linear-gradient(160deg, rgba(218,165,32,0.16), rgba(218,165,32,0.04)); border-color: rgba(218,165,32,0.45); }
.schritte li.zuletzt::before { background: var(--gold); }
.schritte li.zuletzt .marke-schritt { color: var(--gold); }

.plan { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1.35fr; gap: 1rem; }
.plan-text { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 1rem; padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.plan-text .zustand { font-family: "Geist", system-ui, sans-serif; font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.25; min-height: 2.5em; }
.umschalter { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--schwarz); border: 1px solid var(--linie); width: max-content; }
.umschalter button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--text-2); cursor: pointer;
  font: 500 0.9375rem/1 "Vend Sans", system-ui, sans-serif; padding: 0.75rem 1.2rem; border-radius: 999px;
  transition: color 200ms ease, transform 100ms ease-out; -webkit-tap-highlight-color: transparent;
}
.umschalter button:active { transform: scale(0.96); }
.umschalter button[aria-pressed="true"] { color: var(--schwarz); }
.umschalter .zeiger { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--gold); transition: transform 420ms var(--feder); }
.umschalter[data-stand="nachher"] .zeiger { transform: translateX(100%); }
.plan-bild { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 1rem; padding: clamp(1rem, 3vw, 2rem); }
.plan-bild svg { width: 100%; height: auto; display: block; }
.plan-bild .vorher, .plan-bild .nachher { transition: opacity 450ms ease, transform 600ms var(--feder); }
.plan-bild[data-stand="vorher"] .nachher, .plan-bild[data-stand="nachher"] .vorher { opacity: 0; }
.plan-bild .wand { transition: transform 700ms var(--feder); }
.plan-bild[data-stand="nachher"] .wand { transform: translateY(40px); }

/* 5 Beleg: Zahlenreihe, Werkstattband, drei Stimmen. */
.beleg .zahlen { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.beleg .zahl { padding: 2.2rem 1.5rem 2.2rem 0; }
.beleg .zahl + .zahl { padding-left: 1.5rem; border-left: 1px solid var(--linie); }
.beleg .wert { font-family: "Geist", system-ui, sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.045em; color: var(--gold); font-variant-numeric: tabular-nums; }
.beleg .zahl p { margin-top: 0.7rem; color: var(--text-2); max-width: 22ch; }
.band { position: relative; margin-top: clamp(3rem, 7vw, 5rem); border-radius: 1.5rem; overflow: hidden; isolation: isolate; }
.band img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,13,0) 40%, rgba(12,12,13,0.85) 100%); }
.band p { position: absolute; z-index: 1; left: clamp(1.25rem, 4vw, 3rem); right: 1.25rem; bottom: clamp(1.25rem, 4vw, 2.75rem); font-family: "Geist", system-ui, sans-serif; font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.15; max-width: 24ch; }
.stimmen-titel { margin-top: clamp(4rem, 8vw, 6rem); max-width: 22ch; }
.stimmen { margin-top: 2.25rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stimme { margin: 0; padding: 1.75rem; border-radius: 1rem; background: var(--flaeche); border: 1px solid var(--linie); display: flex; flex-direction: column; gap: 1.25rem; }

.stimme blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; flex: 1; }
.stimme figcaption { margin: 0; color: var(--text); font-size: 0.95rem; }
.stimme figcaption span { display: block; color: var(--text-3); font-size: 0.875rem; }

/* 6 Was kommt: eine grosse Zahl, typografisch, zentriert. */
.kommt { text-align: center; }
.kommt .gross { font-family: "Geist", system-ui, sans-serif; font-weight: 700; font-size: clamp(4.5rem, 15vw, 11rem); line-height: 0.95; letter-spacing: -0.055em; background: linear-gradient(180deg, var(--text) 30%, rgba(242,240,235,0.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kommt h2 { margin: 1.5rem auto 0; max-width: 20ch; }
.kommt p { margin: 1.25rem auto 0; max-width: 48ch; color: var(--text-2); }
.kanaele { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.kanaele li { padding: 0.5rem 1rem; border: 1px solid var(--linie); border-radius: 999px; font-size: 0.9375rem; color: var(--text-2); }

/* 7 Zusammenarbeit: Text links, Bild rechts. */
.zusammen .karte { display: grid; grid-template-columns: 6fr 5fr; border-radius: 1.5rem; overflow: hidden; background: var(--flaeche); border: 1px solid var(--linie); }
.zusammen .text { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.zusammen .text p { margin-top: 1.25rem; color: var(--text-2); max-width: 44ch; }
.zusammen .text .ehrlich { color: var(--text); }
.zusammen .preis { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.zusammen .preis span { color: var(--text-2); font-size: 0.95rem; }
.zusammen .fein { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-3); }
.zusammen .bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; min-height: 22rem; }

/* 8 Fuss */
.fuss { border-top: 1px solid var(--linie); padding-block: 3.5rem 2.5rem; font-size: 0.95rem; }
.fuss .spalten { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.fuss h3 { font-family: "Vend Sans", system-ui, sans-serif; font-weight: 500; font-size: 0.875rem; color: var(--text-3); margin-bottom: 0.75rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; color: var(--text-2); }
.fuss a { text-decoration: none; color: var(--text-2); transition: color 200ms ease; }
.fuss a:hover { color: var(--gold); }
.fuss .unten { margin-top: 3rem; color: var(--text-3); font-size: 0.875rem; }
.fuss .marke { display: inline-block; margin-bottom: 0.75rem; }
.fuss .spalten > div:first-child p { color: var(--text-2); max-width: 36ch; }

/* Rechtstexte */
.recht { padding-block: 8rem 5rem; }
.recht .huelle { max-width: 46rem; }
.recht h1 { font-size: clamp(2rem, 4vw, 3rem); }
.recht .stand { margin-top: 0.75rem; color: var(--text-3); }
.recht h2 { font-size: 1.35rem; letter-spacing: -0.015em; margin-top: 2.75rem; }
.recht p, .recht ul { margin-top: 0.9rem; color: var(--text-2); }
.recht ul { padding-left: 1.2rem; }
.recht li { margin-top: 0.3rem; }
.recht a { color: var(--gold); }
.recht .kasten { margin-top: 1rem; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.85rem; padding: 1.1rem 1.25rem; color: var(--text); line-height: 1.55; }
.recht .kurz { margin-top: 1.5rem; padding: 1.25rem 1.4rem; border-left: 2px solid var(--gold); background: var(--flaeche); border-radius: 0 0.85rem 0.85rem 0; color: var(--text); }

/* Erscheinen beim Scrollen, ueber IntersectionObserver gesetzt. */
.js .auf { opacity: 0; transform: translateY(1.25rem); transition: opacity 700ms ease, transform 900ms var(--feder); }
.js .auf.da { opacity: 1; transform: none; }

/* Unter 768 Pixeln: alles einspaltig, Reihenfolge Bild vor Text. */
@media (max-width: 900px) {
  .schritte { grid-template-columns: 1fr 1fr; }
  .plan { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .kopf { height: 3.75rem; }
  .kopf .knopf { padding: 0.6rem 0.9rem; font-size: 0.875rem; }
  .marke span { display: none; }
  .start .huelle { padding-block: 5rem 2.5rem; }
  .problem .huelle { grid-template-columns: 1fr; }
  .problem figure img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
  .schritte { grid-template-columns: 1fr; }
  .beleg .zahlen { grid-template-columns: 1fr; }
  .beleg .zahl, .beleg .zahl + .zahl { padding: 1.6rem 0; border-left: 0; }
  .beleg .zahl + .zahl { border-top: 1px solid var(--linie); }
  .band img { aspect-ratio: 4 / 3; }
  .stimmen { grid-template-columns: 1fr; }
  .zusammen .karte { grid-template-columns: 1fr; }
  .zusammen .bild { order: -1; }
  .zusammen .bild img { min-height: 0; aspect-ratio: 3 / 2; }
  .fuss .spalten { grid-template-columns: 1fr 1fr; }
  .fuss .spalten > div:first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .js .auf { opacity: 1; transform: none; }
  .knopf:active, .umschalter button:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .kopf { background: var(--schwarz); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Fuenf Sterne als Grafik, ohne Sonderzeichen im Text. */
.sterne {
  display: block; width: 6rem; height: 1rem; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.5 6 .7-4.5 4.1 1.2 5.9L10 14.8 4.7 17.7l1.2-5.9L1.4 7.7l6-.7z'/%3E%3C/svg%3E") 0 0 / 1.2rem 1rem repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.5 6 .7-4.5 4.1 1.2 5.9L10 14.8 4.7 17.7l1.2-5.9L1.4 7.7l6-.7z'/%3E%3C/svg%3E") 0 0 / 1.2rem 1rem repeat-x;
}

.plan-erkl { margin-top: 0.75rem; font-size: 0.95rem; max-width: 30ch; }

/* Der Knopf oben bleibt einzeilig, auch auf sehr schmalen Bildschirmen. */
.kopf .knopf { white-space: nowrap; }
@media (max-width: 360px) { .kopf .knopf { padding: 0.55rem 0.75rem; font-size: 0.8125rem; } }
