/* WWWallerath – Grundstil. Keine externen Schriften oder Skripte (Datenschutz). */

:root {
  --ink: #14202e;
  --ink-soft: #4a5868;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --line: #dde3ea;
  --accent: #d9622b;
  --accent-dark: #b44f20;
  --navy: #14202e;
  --radius: 10px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-dark); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Kopfzeile */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--accent-dark); }
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
}

/* Knöpfe */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); }

/* Abschnitte */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--navy); color: #fff; }
section.dark .lead { color: #c5cfdb; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 16px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
section.dark .eyebrow { color: #f0a47c; }

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 680px; }

/* Kopfbereich */
.hero { padding: 104px 0 96px; }
.hero h1 { max-width: 820px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); }

/* Raster */
.grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2x2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .grid-2x2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.card .quote { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.card .muted { color: var(--ink-soft); font-size: 0.97rem; }

/* Rechenbeispiel */
.calc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.calc div {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 24px;
}
.calc .num { font-size: 2rem; font-weight: 800; display: block; color: #fff; }
.calc .label { color: #c5cfdb; font-size: 0.95rem; }
.calc .result { background: var(--accent); border-color: var(--accent); }
.calc .result .label { color: #fff; }
.small-print { font-size: 0.88rem; color: #9fb0c2; margin-top: 20px; }

/* Ablauf */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vorher / Nachher */
.case h3 { margin-bottom: 18px; }
.case dl { margin: 0; }
.case dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--ink-soft);
}
.case dd { margin: 4px 0 16px; }
.case dd.after { color: var(--ink); font-weight: 600; }
.case dd:last-child { margin-bottom: 0; }

/* Über mich */
.about {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  overflow: hidden;
}
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
  .photo { width: 160px; height: 160px; }
}

/* Formular */
form { display: grid; gap: 16px; max-width: 640px; margin-top: 32px; }
label { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Textseiten (Impressum, Datenschutz) */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 36px; }
.placeholder { background: #fff3cd; padding: 0 4px; border-radius: 3px; }

/* Fußzeile */
.site-footer {
  background: var(--navy);
  color: #c5cfdb;
  padding: 36px 0;
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.site-footer a { color: #c5cfdb; margin-left: 20px; }
.site-footer a:first-child { margin-left: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
