/* vigetas.de – oeffentlicher Auftritt
   Hausschrift FF Eureka, selbst gehostet. Die Web-FontFont-EULA erlaubt
   Selbst-Hosting auf eigenem Server, gedeckelt auf die auf der Rechnung
   genannten Seitenaufrufe (ohne Angabe: 500.000 pro Monat). Nur .woff:
   das versteht jeder Browser, den wir bedienen.
   Der Sans liegt nur als Light und Bold vor, kein Regular. Der Light deckt
   deshalb 300-400 ab, damit der Browser bei 400 nicht kuenstlich fettet. */
@font-face {
  font-family: 'Eureka';
  src: url('fonts/EurekaWeb.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Eureka Sans';
  src: url('fonts/EurekaSansWeb-Light.woff') format('woff');
  font-weight: 300 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Eureka Sans';
  src: url('fonts/EurekaSansWeb-Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #171717;
  --paper: #ffffff;
  --ice: #e1eefa;
  --blue: #cbdaf1;
  --sand: #cfc7be;
  --sand-soft: #f2efec;
  --yellow: #e2e100;
  --orange: #ea6012;
  --green: #66cc99;
  --accent: #7653db;
  --line: #17171722;
  --measure: 62ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Eureka Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* Deutsche Komposita sind auf schmalen Geraeten breiter als der Platz.
   anywhere statt break-word: nur anywhere zaehlt bei der Berechnung der
   Mindestbreite mit, und genau die laesst Raster sonst zu breit werden. */
h1, h2, h3, .claim { hyphens: auto; overflow-wrap: anywhere; }
h1, h2, h3 {
  font-family: 'Eureka', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Kopf ---------- */
.site-header {
  min-height: 76px; padding: .75rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: #fffffff0; backdrop-filter: blur(12px);
}
.wordmark { display: block; width: 116px; line-height: 0; }
.site-nav { display: flex; flex-wrap: wrap; gap: clamp(.9rem, 2.6vw, 2.4rem); }
.site-nav a {
  font-size: .74rem; font-weight: 700; text-decoration: none;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* ---------- Bausteine ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 5vw; }
section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.eyebrow {
  margin: 0 0 1.1rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.lead { max-width: var(--measure); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; }
p { max-width: var(--measure); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin: 0 0 1.5rem; max-width: 20ch; }
h3 { font-size: 1.35rem; margin: 0 0 .6rem; }

.button {
  display: inline-block; /* <a> ist von Haus aus inline; ohne das schiebt die
                            Fuellflaeche ueber die Nachbarzeilen */
  padding: .95rem 1.6rem;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem;
  letter-spacing: .02em;
}
.button:hover { background: var(--accent); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button.ghost:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 0;
  background: linear-gradient(180deg, var(--ice) 0 78%, var(--yellow) 78% 82%, var(--paper) 82%);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 6.2rem);
  line-height: .92;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin: 2rem 0 0; }
.hero .actions { margin-bottom: clamp(3.5rem, 9vw, 7.5rem); }

/* ---------- Zahlenreihe / Kennwerte ---------- */
.facts {
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  border: 1px solid var(--line);
}
.facts div { background: var(--paper); padding: 1.6rem 1.4rem; }
.facts strong {
  display: block; font-family: 'Eureka', Georgia, serif; font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; margin-bottom: .5rem;
}
.facts p { margin: 0; font-size: .95rem; }

/* ---------- Karten ---------- */
.cards {
  display: grid; gap: 1.5rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.card { padding: 1.9rem 1.7rem; background: var(--sand-soft); }
.card p { margin-bottom: 0; }
.card .num {
  display: block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.card.ice { background: var(--ice); }
.card.blue { background: var(--blue); }
.card.sand { background: var(--sand); }
.card.green { background: var(--green); }
.card.yellow { background: var(--yellow); }

/* ---------- Zweispalter ---------- */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
}
.split > * { min-width: 0; }

.tinted { background: var(--sand-soft); }
.tinted-ice { background: var(--ice); }

/* ---------- Listen ---------- */
.checks { list-style: none; padding: 0; margin: 1.8rem 0 0; max-width: var(--measure); }
.checks li { padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem;
  width: .7rem; height: .7rem; background: var(--accent);
}
.checks li strong { display: block; }

/* ---------- Ablauf ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.steps article { border-top: 4px solid var(--ink); padding-top: 1.1rem; }
.steps article::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; margin-bottom: .7rem;
}
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .96rem; }

/* ---------- Zitat / Claim ---------- */
.claimband { background: var(--yellow); }
.claim {
  font-family: 'Eureka', Georgia, serif;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1.05; margin: 0; max-width: 22ch;
  text-wrap: balance;
}
.claim em { font-style: normal; color: var(--accent); }

/* ---------- Stand / Zeitleiste ---------- */
.timeline { list-style: none; padding: 0; margin: 2.2rem 0 0; max-width: 46rem; }
.timeline li {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline span { font-weight: 700; font-size: .9rem; }
.timeline p { margin: 0; }
@media (max-width: 34rem) { .timeline li { grid-template-columns: 1fr; gap: .25rem; } }

/* ---------- Kontaktblock ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact h2 { color: var(--paper); }
.contact a.button { background: var(--yellow); color: var(--ink); }
.contact a.button:hover { background: var(--paper); }
.contact .note { font-size: .92rem; opacity: .8; }

/* ---------- Fliesstextseiten (Impressum, Datenschutz) ---------- */
.doc { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.doc h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 2rem; }
.doc h2 { font-size: 1.5rem; margin: 2.6rem 0 .8rem; max-width: none; }
.doc h3 { font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 1.2rem; }
.doc address { font-style: normal; }
.placeholder { background: var(--yellow); padding: 0 .25em; font-weight: 700; }

/* ---------- Fuss ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3.5rem;
  font-size: .9rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.contact .button.ghost { box-shadow: inset 0 0 0 2px var(--paper); color: var(--paper); }
.contact .button.ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- Ablaufkette ----------
   Fuenf Schritte untereinander statt nebeneinander: die deutschen Texte sind
   zu lang fuer fuenf schmale Spalten, und die Reihenfolge ist die Aussage. */
.ablauf { counter-reset: schritt; margin-top: 3rem; }
.ablauf > li {
  counter-increment: schritt;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0 1.8rem;
  padding: 0 0 2.4rem;
  position: relative;
}
.ablauf > li::before {
  content: "0" counter(schritt);
  grid-row: 1 / span 3;
  font-family: 'Eureka', Georgia, serif;
  font-size: 2.2rem; line-height: 1;
  color: var(--accent);
}
/* Verbindungslinie zwischen den Nummern, beim letzten Schritt weggelassen */
.ablauf > li::after {
  content: "";
  position: absolute; left: 1.35rem; top: 3rem; bottom: .6rem;
  border-left: 2px solid var(--line);
}
.ablauf > li:last-child { padding-bottom: 0; }
.ablauf > li:last-child::after { display: none; }
.ablauf h3 { margin: 0 0 .5rem; }
.ablauf p { margin: 0 0 .7rem; max-width: 58ch; }
.ablauf p:last-child { margin-bottom: 0; }
.ablauf .marke {
  display: inline-block; margin-top: .4rem;
  padding: .18rem .6rem;
  background: var(--blue);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.ablauf .marke.geplant { background: var(--sand); }
@media (max-width: 30rem) {
  .ablauf > li { grid-template-columns: 1fr; gap: 0; }
  .ablauf > li::before { grid-row: auto; font-size: 1.5rem; margin-bottom: .4rem; }
  .ablauf > li::after { display: none; }
}
