/* Patrick Cussen – Stil nach CI-Grundgerüst (19.10.2026)
   Layout: eine ruhige Seite, Weißraum, ein einziger Orange-Akzent pro Ansicht. */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1B2433;
  --paper: #F6F2EA;
  --orange: #F26B3A;
  --slate: #5B6573;
  --sand: #E4DCCD;
  --card: #FBF9F4;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --wrap: 1120px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- Kopf ---------- */
.site-head { border-bottom: 1px solid var(--sand); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand svg { width: 30px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; line-height: 1.1; display: block; }
.brand-sub { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); display: block; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.9375rem; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  background: var(--orange); color: var(--ink);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; border: 2px solid var(--orange);
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #f77f54; border-color: #f77f54; }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav .btn { padding: 10px 20px; font-size: 0.9375rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(44px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4rem); font-weight: 600; margin-top: 18px; }
.hero .lead { margin-top: 26px; max-width: 34em; font-size: 1.1875rem; }
.hero .tagline { margin-top: 18px; color: var(--slate); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.cta-row .btn, .first-call-cta .btn { padding: 13px 22px; font-size: 0.9688rem; }
.micro { width: 100%; font-size: 0.875rem; color: var(--slate); margin-top: -2px; }

.portrait { order: -1; position: relative; width: min(100%, 400px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: var(--orange); overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 100%; transform-origin: 100% 100%; transform: translateY(8%) scale(1.1); }

/* ---------- Zahlen ---------- */
.facts { border-block: 1px solid var(--sand); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 28px 24px 28px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--sand); }
.fact-num { font-family: var(--font-head); font-size: clamp(2.25rem, 4.4vw, 3.25rem); font-weight: 600; line-height: 1; display: inline-block; position: relative; }
.fact-num .upto { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; color: var(--slate); margin-right: 8px; letter-spacing: 0; }
.fact-num::after { content: ""; display: block; width: 100%; height: 5px; margin-top: 10px; border-radius: 99px; background: var(--orange); }
.fact p { margin-top: 12px; font-size: 0.9375rem; color: var(--slate); line-height: 1.45; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section h2 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); margin-top: 12px; max-width: 18em; }
.section .intro { margin-top: 20px; max-width: 38em; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.trio h3 { font-size: 1.25rem; }
.trio p { margin-top: 8px; color: var(--slate); font-size: 1rem; }
.trio li { padding-top: 18px; border-top: 1px solid var(--sand); }

/* Angebote */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.card { background: var(--card); border: 1px solid var(--sand); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; min-width: 0; }
.card h3 { font-size: 1.5rem; margin-top: 10px; }
.card .sub { margin-top: 10px; color: var(--slate); }
.card ul { margin-top: 22px; margin-bottom: 24px; display: grid; gap: 12px; }
.card li { position: relative; padding-left: 22px; font-size: 0.9688rem; line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.card-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--sand); font-size: 0.9375rem; line-height: 1.5; }
.card-foot strong { font-weight: 600; }
.first-call { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 40px; padding: clamp(24px, 3vw, 36px); background: var(--card); border: 1px solid var(--sand); border-radius: var(--radius); }
.first-call > div:first-child { flex: 1 1 28em; min-width: 0; }
.first-call h3 { font-size: 1.75rem; margin-top: 10px; }
.first-call p:not(.label) { margin-top: 10px; max-width: 38em; }
.first-call-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.offers-label { margin-top: 48px; }
.offers-label + .offers { margin-top: 20px; }
.about-facts { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.about-facts .fact-num { font-size: clamp(2rem, 3.4vw, 2.5rem); }
.about-facts p { margin-top: 12px; font-size: 0.9375rem; color: var(--slate); line-height: 1.45; }
.steps-label { margin-top: 48px; }
.steps { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--sand); }
.steps li { display: flex; gap: 14px; align-items: baseline; padding-top: 16px; }
.steps b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.steps span { color: var(--ink); }
.audience { margin-top: 32px; max-width: 40em; color: var(--slate); }

/* Über mich */
.about { background: var(--card); border-block: 1px solid var(--sand); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.about p + p { margin-top: 16px; }
.about .stance { margin-top: 24px; font-family: var(--font-head); font-size: 1.375rem; line-height: 1.35; font-weight: 500; }

/* Kontakt */
.contact { background: var(--ink); color: var(--paper); }
.contact .label { color: #AEB6C2; }
.contact h2 { color: var(--paper); font-size: clamp(2.25rem, 5vw, 3.5rem); max-width: none; }
.contact .intro { color: #D6DAE1; }
.contact-lines { margin-top: 36px; display: grid; gap: 12px; }
.contact-lines a { font-family: var(--font-head); font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 500; text-decoration: none; width: fit-content; max-width: 100%; overflow-wrap: anywhere; border-bottom: 2px solid var(--orange); }
.contact-lines a:hover { color: var(--orange); }
.contact .micro { color: #AEB6C2; margin-top: 28px; }

/* Fuß */
.site-foot { padding-block: 28px; font-size: 0.875rem; color: var(--slate); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot-row nav { display: flex; gap: 22px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.contact + .site-foot { background: var(--ink); color: #AEB6C2; border-top: 1px solid #2b3648; }

/* Rechtsseiten, 404 */
.page { padding-block: clamp(40px, 7vw, 80px); max-width: 46rem; }
.page h1 { font-size: clamp(2rem, 4.4vw, 2.75rem); margin-bottom: 28px; hyphens: auto; overflow-wrap: break-word; }
.page h2 { font-size: 1.5rem; margin: 40px 0 10px; overflow-wrap: break-word; }
.page h3 { font-size: 1.1875rem; margin: 28px 0 8px; overflow-wrap: break-word; }
.page h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 20px 0 6px; }
.page p + p, .page ul + p, .page p + ul { margin-top: 12px; }
.page ul { list-style: disc; padding-left: 1.4em; display: grid; gap: 8px; }
.page li::marker { color: var(--orange); }
.page p { overflow-wrap: break-word; }
.page a { text-decoration-color: var(--orange); text-underline-offset: 3px; }
.page .source { margin-top: 36px; font-size: 0.875rem; color: var(--slate); }
.todo { background: #FFE9DF; border: 1px solid var(--orange); border-radius: 8px; padding: 2px 6px; }
.err { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.err h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.err p { margin-top: 16px; color: var(--slate); }
.err .btn { margin-top: 28px; }

/* Einblenden beim Scrollen (dezent, Seite bleibt ohne JS vollständig sichtbar) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding-bottom: 14px; border-bottom: 1px solid var(--sand); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: min(70%, 320px); order: -1; margin-inline: 0; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--sand); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cta-row .btn, .first-call-cta .btn { width: 100%; }
  .nav a:not(.btn) { display: none; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
