/* Studio Aestadics, CI-Entwurf: Quelle mein-brain/07-projekte/P13-aestadics/ci/ci-ableitung.md
   Farben nur über die Variablen unten ändern. */

/* Schriften self-hosted (OFL, siehe /fonts/OFL.txt). Nie von Google laden. */
@font-face { font-family: "Italiana"; src: url("/fonts/italiana-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --tinte: #1F1C19;
  --greige-dunkel: #C9C4BB;
  --greige-hell: #D7D2C9;
  --sand: #E2DED9;
  --porzellan: #EAE8E2;
  --tinte-2: #4A453F;      /* Sekundärtext, aus Tinte aufgehellt */
  --linie: #CFCAC1;
  --max: 1160px;
  --schmal: 760px;
  --display: "Italiana", "Didot", "Times New Roman", serif;
  --text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--text);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tinte);
  background: var(--porzellan);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
p, li { text-wrap: pretty; overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
strong { font-weight: 500; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap--schmal { max-width: var(--schmal); }
.zentriert { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--tinte); color: var(--porzellan); padding: 8px 12px; z-index: 100; }

/* Platzhalter: sichtbar markiert, bis Julia liefert */
mark.ph { background: repeating-linear-gradient(-45deg, #F3E6A8, #F3E6A8 6px, #EFDD92 6px, #EFDD92 12px); color: var(--tinte); padding: 0 .3em; border-radius: 2px; font-weight: 400; }

/* Typo */
h1, h2, .kicker-display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1.1rem; }
h2.h-klein { font-size: 1.35rem; margin-bottom: .6rem; }
h3 { font-family: var(--text); font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .5rem; }
.kicker { font-size: 1rem; font-weight: 400; margin-bottom: 1rem; color: var(--tinte-2); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 34em; margin-top: 1.3rem; }
.prosa p + p { margin-top: 1rem; }
.prosa a { font-weight: 400; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--text); font-weight: 400; font-size: .95rem; letter-spacing: .02em;
  padding: .85em 1.4em; border-radius: 999px; text-decoration: none; border: 1px solid var(--tinte);
  transition: background-color .2s, color .2s;
}
.btn-ink { background: var(--tinte); color: var(--porzellan); }
.btn-ink:hover { background: #3a352f; }
.btn-line { background: transparent; color: var(--tinte); }
.btn-line:hover { background: var(--tinte); color: var(--porzellan); }
.btn-klein { padding: .6em 1.1em; font-size: .85rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.zentriert .cta-row { justify-content: center; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(234, 232, 226, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.marke img { width: 260px; height: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 400; padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--tinte); }

/* Hero: Greige-Verlauf mit leichter Wolkentextur wie in den Preislisten */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(234,232,226,.55), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(201,196,187,.6), transparent 70%),
    linear-gradient(180deg, var(--greige-hell), var(--greige-dunkel));
  padding: clamp(56px, 8vw, 110px) 0;
}
.hero-raster { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero--ohne-bild .hero-raster { grid-template-columns: 1fr; max-width: 900px; }
.hero--schlicht { background: var(--sand); padding: 64px 0 40px; }
.hero--schlicht h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.hero--schlicht .prosa { margin-top: 1rem; }

.foto { aspect-ratio: 4 / 5; border-radius: 200px 200px 6px 6px; overflow: hidden; background: var(--sand); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 32px; border: 1px dashed var(--tinte-2); color: var(--tinte-2); font-size: .9rem; background: rgba(234,232,226,.5); }

/* Abschnitte */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec + .sec { padding-top: 0; }
#preise, #kontakt { scroll-margin-top: 96px; }
.sec--kontakt { background: var(--sand); padding: clamp(56px, 8vw, 96px) 0 !important; margin-top: clamp(16px, 4vw, 40px); }
.kontakt-alt { margin-top: 1.4rem; font-size: .9rem; color: var(--tinte-2); }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.karte { background: var(--sand); padding: 28px; border-radius: 6px; }
.karte p { font-size: .98rem; }
.karte--link { display: flex; flex-direction: column; text-decoration: none; border: 1px solid transparent; transition: border-color .2s; }
.karte--link:hover { border-color: var(--tinte); }
.karte--link .mehr { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; font-weight: 400; }

.liste li { position: relative; padding: .75rem 0 .75rem 1.8rem; border-bottom: 1px solid var(--linie); }
.liste li:first-child { border-top: 1px solid var(--linie); }
.liste li::before { content: ""; position: absolute; left: 2px; top: 1.45rem; width: 10px; height: 1px; background: var(--tinte); }
.nachsatz { margin-top: 1.4rem; }

.hinweis { background: var(--sand); border-left: 2px solid var(--tinte); padding: 28px 32px; border-radius: 0 6px 6px 0; }

.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.schritte li { background: var(--sand); padding: 28px 24px; border-radius: 6px; }
.schritte .nr { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; margin-bottom: .8rem; }
.schritte p { font-size: .98rem; }

/* Preisliste im Stil der Story-Preislisten */
.preiskarte { background: var(--porzellan); border: 1px solid var(--linie); border-radius: 6px; padding: clamp(24px, 4vw, 44px); margin-top: 1.6rem; box-shadow: 0 1px 0 rgba(31,28,25,.03), 0 18px 40px -28px rgba(31,28,25,.35); }
.preiskarte h3 { margin-top: 2rem; margin-bottom: .4rem; }
.preise li { display: flex; align-items: baseline; gap: 10px; padding: .55rem 0; }
.preis-name { text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; font-weight: 400; }
.preis-name small { display: block; text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 300; color: var(--tinte-2); }
.preis-dots { flex: 1; border-bottom: 1px dotted var(--tinte-2); transform: translateY(-4px); min-width: 20px; }
.preis-wert { font-weight: 400; white-space: nowrap; }
.preise--zonen { columns: 2; column-gap: 48px; }
.preise--zonen li { break-inside: avoid; }
.preise--einzel { border-bottom: 1px solid var(--linie); padding-bottom: .4rem; }
.preis-hinweise { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); font-size: .88rem; color: var(--tinte-2); }
.preis-hinweise p + p { margin-top: .3rem; }

/* Fuß */
.fuss { background: var(--tinte); color: var(--porzellan); padding: 64px 0 28px; }
.fuss a { color: var(--porzellan); }
.fuss-innen { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fuss-titel { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; color: var(--greige-dunkel); }
.fuss-marke { width: 260px; margin-bottom: .8rem; }
.fuss-liste li { padding: .2rem 0 .2rem 1.2rem; position: relative; }
.fuss-liste li::before { content: "·"; position: absolute; left: 0; }
.fuss-recht { margin-top: 48px; padding-top: 20px; border-top: 1px solid #3a352f; font-size: .85rem; color: var(--greige-dunkel); }

.handy-leiste { display: none; }

/* Tablet */
@media (max-width: 980px) {
  .kopf-innen { flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; padding-bottom: 10px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .kopf-cta { margin-left: auto; }
  .hero-raster { grid-template-columns: 1fr; gap: 40px; }
  .foto { max-width: 380px; }
  .schritte { grid-template-columns: repeat(2, 1fr); }
}

/* Handy */
@media (max-width: 680px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .marke img { width: 190px; }
  .kopf-cta { display: none; }
  .nav { gap: 18px; justify-content: space-between; }
  .nav a { font-size: .85rem; }
  .schritte { grid-template-columns: 1fr; }
  .preise--zonen { columns: 1; }
  .hero .cta-row .btn { width: 100%; }
  .hinweis { padding: 22px 22px; }
  .fuss-innen { grid-template-columns: 1fr; }
  .fuss-marke { width: 220px; }
  .handy-leiste {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(234, 232, 226, .96); border-top: 1px solid var(--linie);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .handy-leiste .btn { padding: .8em .6em; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.nw { white-space: nowrap; }
.h1-ort { display: block; white-space: nowrap; font-size: .56em; letter-spacing: .14em; margin-top: .55em; }
@media (max-width: 680px) { .preis-name { letter-spacing: .07em; } }
@media (max-width: 680px) {
  h1, h2 { hyphens: auto; overflow-wrap: break-word; letter-spacing: .05em; }
  h1 { font-size: clamp(1.75rem, 8.4vw, 2.1rem); }
  .nav { gap: 12px; }
}
.recht h2 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
@media (max-width: 680px) {
  .hero--schlicht h1 { font-size: clamp(1.35rem, 6.6vw, 1.8rem); letter-spacing: .03em; }
}
