/* clemenseigler.com — Personal Brand „Sand & Terracotta"
   Farbwelt und Typografie nach PROJECTS/style-system/style-personal_Schema_v2.md
   Keine externen Ressourcen: Schriften und Bilder liegen neben dieser Datei. */

@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Medium.ttf")  format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Bold.ttf")    format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair"; src: url("fonts/PlayfairDisplay-Italic.ttf") format("truetype"); font-style: italic; font-display: swap; }

:root {
  --sand:        #f6f0e6;
  --sand-tief:   #efe6da;
  --espresso:    #2a1e14;
  --espresso-hell: #f2e8d8;
  --terracotta:  #c48a62;
  --terracotta-tief: #8a4528;
  --taupe:       #a8947c;
  --breite: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--espresso);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-tief); }

.bahn { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.tief { background: var(--sand-tief); }

/* Kicker, Überschriften, Merksatz */
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--taupe); margin: 0 0 14px;
}
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 18px; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 7vw, 62px); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(26px, 4.4vw, 40px); }
h3 { font-size: 20px; margin-bottom: 8px; }
.merksatz {
  font-family: "Playfair", Georgia, serif; font-style: italic;
  font-size: clamp(21px, 3.2vw, 30px); line-height: 1.4;
  color: var(--terracotta-tief); font-weight: 400;
}
.strich { width: 64px; height: 3px; background: var(--terracotta); border: 0; margin: 0 0 20px; }
p { margin: 0 0 18px; max-width: 62ch; }
.gross { font-size: 20px; }

/* Kopf */
header.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246,240,230,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(168,148,124,.28);
}
header.kopf .bahn { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
.marke { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; text-decoration: none; color: var(--espresso); line-height: 1.35; }
.marke .claim { color: var(--taupe); display: block; letter-spacing: .2em; font-size: 10px; font-weight: 500; }
.marke .kurz { display: none; }
@media (max-width: 560px) {
  .marke .lang { display: none; }
  .marke .kurz { display: inline; }
  .marke { font-size: 12px; }
  header.kopf .knopf { white-space: nowrap; padding: 11px 16px; font-size: 11px; }
}

/* Knöpfe */
.knopf {
  display: inline-block; text-decoration: none; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  padding: 17px 30px; border-radius: 2px;
  background: var(--espresso); color: var(--espresso-hell);
  border: 2px solid var(--espresso); transition: background .15s, color .15s;
}
.knopf:hover { background: var(--terracotta-tief); border-color: var(--terracotta-tief); color: #fff; }
.knopf.hell { background: transparent; color: var(--espresso); }
.knopf.hell:hover { background: var(--espresso); color: var(--espresso-hell); }
.knopf.klein { padding: 12px 20px; font-size: 12px; }
.zusatz { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); margin: 14px 0 0; }

/* Hero */
.hero { padding: 0 0 64px; }
.hero-bild { position: relative; }
.hero-bild img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover;
  object-position: center 45%; }
/* Handy zeigt das ganze Foto. Erst ab Tablet wird oben und unten beschnitten, */
/* sonst bliebe von einem Querformat auf dem Handy nur ein schmaler Streifen. */
@media (min-width: 760px)  { .hero-bild img { aspect-ratio: auto; height: clamp(380px, 48vh, 560px); } }
@media (min-width: 1200px) { .hero-bild { max-width: 1500px; margin: 0 auto; }
                             .hero-bild img { height: clamp(520px, 62vh, 720px); } }
.hero-bild::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 45%;
  background: linear-gradient(to bottom, rgba(246,240,230,0), var(--sand));
}
.hero-text { margin-top: -28px; position: relative; z-index: 2; }

/* Raster */
.raster { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.karte { background: var(--sand); border: 1px solid rgba(168,148,124,.35); padding: 26px 24px; border-radius: 3px; }
section.tief .karte { background: var(--sand); }
.karte .nr { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--terracotta); display: block; margin-bottom: 10px; }
.karte p { margin: 0; font-size: 16px; }

/* Schritte */
.schritte { counter-reset: s; display: grid; gap: 18px; }
.schritt { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.schritt .zahl {
  counter-increment: s; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--terracotta); color: var(--terracotta-tief);
  display: grid; place-items: center; font-weight: 700; font-size: 17px;
}
.schritt .zahl::before { content: counter(s); }
.schritt p { margin: 0; font-size: 16px; }

/* Medien */
.medien { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding: 0; margin: 0; list-style: none; }
.medien li { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); font-weight: 500; }

/* Story */
.story { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .story.zweispaltig { grid-template-columns: 1fr 1fr; gap: 56px; } }
.story img { border-radius: 3px; }
.zahlen { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 34px; }
.zahl-block { border-top: 3px solid var(--terracotta); padding-top: 14px; }
.zahl-block b { display: block; font-size: 26px; line-height: 1.2; }
.zahl-block span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }

/* FAQ */
details {
  border-bottom: 1px solid rgba(168,148,124,.4); padding: 18px 0;
}
details summary {
  cursor: pointer; font-weight: 700; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--terracotta-tief); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 14px 0 0; font-size: 16px; }

/* Abschluss und Fuß */
.abschluss { background: var(--espresso); color: var(--espresso-hell); }
.abschluss h2, .abschluss .merksatz { color: var(--espresso-hell); }
.abschluss .kicker { color: var(--terracotta); }
.abschluss .knopf { background: var(--espresso-hell); color: var(--espresso); border-color: var(--espresso-hell); }
.abschluss .knopf:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--espresso); }

.hinweis-kasten {
  border: 1px solid rgba(168,148,124,.5); border-left: 4px solid var(--terracotta);
  padding: 22px 24px; background: var(--sand-tief); border-radius: 3px;
}
.hinweis-kasten p:last-child { margin-bottom: 0; }

footer {
  background: var(--sand-tief); border-top: 1px solid rgba(168,148,124,.4);
  padding: 34px 0; font-size: 14px; color: var(--taupe);
}
footer .bahn { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; }
footer a { color: var(--taupe); text-decoration: none; border-bottom: 1px solid rgba(168,148,124,.5); }
footer a:hover { color: var(--espresso); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 54px 0; }
  .knopf { display: block; text-align: center; }
}
