/* =========================================================
   gerritquast.de · Horizon Studio · Gerrit Quast
   Gestaltung für alle Seiten. Texte stehen in den .html-Dateien.
   ========================================================= */

@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --anthrazit: #22262B;
  --warmweiss: #F4EDE8;
  --terrakotta: #8A3A18;
  --akzent: #F0997B;
  --text: #22262B;
  --text-leise: #5C5F63;
  --linie: #DDD3CB;
  --spalte: 680px;
  --breit: 1200px;
  --abschnitt: 120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--warmweiss);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terrakotta); }
h1, h2, h3 { font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: 36px; margin-bottom: 24px; }
h3 { font-size: 18px; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 18px; }

.innen { max-width: var(--breit); margin: 0 auto; padding: 0 32px; }
.spalte { max-width: var(--spalte); }
.klein { font-size: 14px; color: var(--text-leise); }

.knopf {
  display: inline-block;
  background: var(--terrakotta);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 6px;
  transition: background .2s ease;
}
.knopf:hover { background: #6F2E13; }
.knopf-hell { background: #fff; color: var(--anthrazit); }
.knopf-hell:hover { background: var(--warmweiss); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  color: #fff;
}
.kopf .innen { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.marke { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.marke span { opacity: .7; font-weight: 400; }
.kopf-rechts { display: flex; align-items: center; gap: 20px; }
.kopf-rechts .knopf { padding: 10px 18px; font-size: 15px; }

.menue { position: relative; }
.menue summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; align-items: center;
}
.menue summary::-webkit-details-marker { display: none; }
.menue summary span { display: block; width: 22px; height: 2px; background: currentColor; }
.menue nav {
  position: absolute; right: 0; top: 48px; min-width: 200px;
  background: #fff; border-radius: 8px; padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.menue nav a { display: block; padding: 10px 20px; color: var(--anthrazit); text-decoration: none; font-size: 16px; }
.menue nav a:hover { background: var(--warmweiss); }

/* Unterseiten: Kopfzeile auf hellem Grund */
.kopf-hell { position: static; color: var(--anthrazit); border-bottom: 1px solid var(--linie); }
.kopf-hell .marke { color: var(--anthrazit); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; color: #fff;
  background: var(--anthrazit) url("bilder/horizont.jpg") center 55% / cover no-repeat;
  display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(34,38,43,.82) 0%, rgba(34,38,43,.55) 45%, rgba(34,38,43,.05) 80%),
              linear-gradient(0deg, rgba(34,38,43,.55) 0%, rgba(34,38,43,0) 45%);
}
.hero .innen { position: relative; width: 100%; padding-bottom: 150px; padding-top: 140px; }
.hero-text { max-width: 620px; }
.akzentlinie { width: 64px; height: 4px; background: var(--akzent); margin-bottom: 28px; }
.hero h1 { font-size: 64px; margin-bottom: 24px; }
.hero p { font-size: 19px; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.formate { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.75); letter-spacing: .01em; }

/* ---------- Milchglas-Kacheln (Dreiklang) ---------- */
.kacheln-halter { position: relative; z-index: 2; margin-top: -96px; }
.kacheln {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin-left: auto; max-width: 820px;
}
.kachel {
  background: rgba(34,38,43,.58);
  border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-radius: 10px; padding: 22px 22px 20px; color: #fff;
  box-shadow: 0 10px 30px rgba(20,22,25,.18);
}
.kachel h3 { margin-bottom: 8px; }
.kachel p { font-size: 15px; line-height: 1.5; margin: 0; color: rgba(255,255,255,.88); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--abschnitt) 0 0; }
.abschnitt:last-of-type { padding-bottom: var(--abschnitt); }
.marke-klein { font-size: 14px; font-weight: 600; color: var(--terrakotta); letter-spacing: .02em; margin-bottom: 14px; }

.person { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; }
.person img { border-radius: 10px; width: 100%; height: auto; }
.person .kurz { margin-top: 18px; font-size: 15px; color: var(--text-leise); line-height: 1.55; }
.horizont-satz { font-size: 22px; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; margin-top: 8px; }

.schritte { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.schritte li { border-top: 2px solid var(--anthrazit); padding-top: 16px; font-size: 17px; line-height: 1.5; }
.schritte .nr { display: block; font-size: 14px; font-weight: 600; color: var(--terrakotta); margin-bottom: 8px; }

.belege { list-style: none; padding: 0; margin: 8px 0 0; }
.belege li {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--linie); align-items: baseline;
}
.belege li:first-child { border-top: 1px solid var(--linie); }
.belege .zahl { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.belege .wo { display: block; font-size: 14px; color: var(--text-leise); margin-top: 4px; }

/* ---------- Sparring ---------- */
.sparring { background: var(--anthrazit); color: #fff; padding: 96px 0; }
.sparring h2 { font-size: 44px; }
.sparring p { color: rgba(255,255,255,.88); font-size: 19px; }
.sparring .akzentlinie { margin-bottom: 24px; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--anthrazit); color: rgba(255,255,255,.7); font-size: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.fuss .innen { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.fuss a { color: rgba(255,255,255,.85); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss .links a + a { margin-left: 20px; }

/* ---------- Rechtstexte ---------- */
.recht { padding: 72px 0 96px; }
.recht h1 { font-size: 44px; margin-bottom: 32px; }
.recht h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.recht p, .recht li { font-size: 17px; }
.recht-fuss { background: var(--anthrazit); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero h1 { font-size: 52px; }
  .kacheln { max-width: none; }
  .person { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
}

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  :root { --abschnitt: 72px; }
  body { font-size: 17px; }
  .innen { padding: 0 20px; }
  h2 { font-size: 28px; }
  .kopf .innen { height: 64px; }
  .marke { font-size: 15px; }
  .kopf-rechts .knopf { display: none; }

  .hero { min-height: 0; background-image: url("bilder/horizont-mobil.jpg"); background-position: center 60%; }
  .hero::before { background: linear-gradient(0deg, rgba(34,38,43,.9) 0%, rgba(34,38,43,.6) 55%, rgba(34,38,43,.25) 100%); }
  .hero .innen { padding-top: 120px; padding-bottom: 48px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 17px; }

  .kacheln-halter { margin-top: 0; background: var(--anthrazit); padding: 0 0 24px; }
  .kacheln { grid-template-columns: 1fr; gap: 12px; }
  .kachel { background: rgba(255,255,255,.07); box-shadow: none; }

  .person { grid-template-columns: 1fr; gap: 28px; }
  .person img { max-width: 260px; }
  .horizont-satz { font-size: 19px; }
  .schritte { grid-template-columns: 1fr; gap: 20px; }
  .belege li { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .belege .zahl { font-size: 24px; }
  .sparring { padding: 64px 0; }
  .sparring h2 { font-size: 32px; }
  .sparring p { font-size: 17px; }
  .fuss .links a + a { margin-left: 16px; }
  .recht { padding: 48px 0 64px; }
  .recht h1 { font-size: 32px; }
}

/* ---------- Fundament ---------- */

.fundament { margin-top: 48px; }
.fundament ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.fundament li { font-size: 16px; }
