/* ==========================================================
   René Röttger · Website
   Gleiche Gestaltung wie „Schauen wir mal.“ (/swm/): ruhig, klar, Apple-nah.
   Keine externen Schriften (DSGVO): auf Apple-Geräten rendert SF Pro,
   sonst die Systemschrift.
   ========================================================== */

:root {
  color-scheme: light;

  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --dark: #000000;
  --dark-ink: #f5f5f7;
  --green: #25a35a;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-hero: clamp(2.375rem, 1.2rem + 5vw, 4.75rem);
  --fs-h2: clamp(2.25rem, 1.35rem + 3.6vw, 4rem);
  --fs-h3: clamp(1.3125rem, 1.15rem + .55vw, 1.75rem);
  --fs-lead: clamp(1.1875rem, 1.05rem + .55vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-text: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);

  --radius: 28px;
  --pad: clamp(96px, 12vw, 168px);
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-1: 0 1px 2px rgba(0, 0, 0, .03), 0 12px 32px -14px rgba(0, 0, 0, .10);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .04), 0 28px 56px -20px rgba(0, 0, 0, .18);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.47;
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

::selection { background: rgba(0, 113, 227, .18); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding: var(--pad) 0; }
.section--grey { background: var(--bg-2); }
.section--dark { background: var(--dark); color: var(--dark-ink); }

.muted { color: var(--ink-3); }

/* ---------- Typografie ---------- */

.eyebrow {
  margin-bottom: 14px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink-2);
}

.h2 {
  margin-bottom: clamp(48px, 6vw, 80px);
  font-size: var(--fs-h2);
  line-height: 1.0625;
  letter-spacing: -.028em;
  text-align: center;
  text-wrap: balance;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.38;
  letter-spacing: -.018em;
  color: var(--ink-2);
  text-wrap: pretty;
}

.section__lead {
  max-width: 34ch;
  margin: calc(clamp(48px, 6vw, 80px) * -1 + 20px) auto clamp(48px, 6vw, 72px);
  text-align: center;
}

/* ---------- Buttons & Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: -.022em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(.98); }
.btn--small { min-height: 30px; padding: 5px 14px; font-size: .8125rem; letter-spacing: -.01em; }
.btn--large { min-height: 52px; padding: 15px 30px; font-size: 1.1875rem; }

.link {
  color: var(--link);
  font-size: var(--fs-lead);
  letter-spacing: -.018em;
  text-decoration: none;
}
.link:hover { text-decoration: underline; }
.link span { display: inline-block; transition: transform .2s var(--ease); }
.link:hover span { transform: translateX(3px); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: rgba(0, 0, 0, .08); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  height: 52px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__brand {
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: .8125rem;
  letter-spacing: -.01em;
}
.nav__links a {
  color: var(--ink);
  opacity: .8;
  text-decoration: none;
  transition: opacity .2s var(--ease);
}
.nav__links a:hover { opacity: 1; }

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(40px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 100%, var(--bg-2) 0%, rgba(245, 245, 247, 0) 70%),
    var(--bg);
}

.hero__text { text-align: center; }

.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}

.hero__lead {
  max-width: 30em;
  margin: clamp(20px, 2.4vw, 28px) auto 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

/* ---------- Tool-Chaos: ordnet sich beim Scrollen ---------- */

.chaos {
  max-width: 820px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  padding: 0 var(--gutter) clamp(72px, 9vw, 120px);
}

.chaos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 16px;
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow-1);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.chip::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9f0a;
  transition: background-color .5s var(--ease);
}
.chaos.is-ordered .chip::before,
html:not(.js) .chip::before { background: var(--green); }

.chaos__caption {
  max-width: 30em;
  margin: clamp(32px, 4vw, 48px) auto 0;
  text-align: center;
}

/* ---------- Karten ---------- */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: clamp(28px, 3.6vw, 44px);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-1);
  transition: scale .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card p { color: var(--ink-2); font-size: var(--fs-text); }

.card__q {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  line-height: 1.12;
  letter-spacing: -.026em;
}

@media (hover: hover) {
  .card:hover,
  .quote:hover {
    scale: 1.015;
    box-shadow: var(--shadow-2);
  }
}

/* Birgits Satz als Auftakt */
.voice {
  max-width: 900px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.voice blockquote {
  margin: 0;
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 3.25rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.voice figcaption { margin-top: 18px; font-size: var(--fs-text); color: var(--ink-2); }

.voice__after {
  max-width: 30em;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

/* ---------- Statement (dunkel) ---------- */

.statement { padding: clamp(120px, 16vw, 220px) 0; }

.statement__line {
  font-size: clamp(2rem, 1.1rem + 3.8vw, 4rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.03em;
  text-align: center;
  color: #424245;
  transition: color .8s var(--ease);
  text-wrap: balance;
}
.statement__line + .statement__line { margin-top: .18em; }
.statement__line:last-child { margin-top: .9em; }
.statement__line.is-lit,
html:not(.js) .statement__line { color: var(--dark-ink); }

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px);
}
.step p { margin-top: 10px; color: var(--ink-2); font-size: var(--fs-text); }

.step__n {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 2.6rem + 3vw, 5.5rem);
  line-height: 1;
  font-weight: 200;
  letter-spacing: -.04em;
  color: var(--ink-3);
}

/* Die Klammer um alle Schritte */
.bracket {
  position: relative;
  margin-top: 56px;
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: var(--bg-2);
  text-align: center;
}
.bracket::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  height: 18px;
  border: 1.5px solid var(--line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
}
.bracket__label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.02em;
}
.bracket p { color: var(--ink-2); font-size: var(--fs-text); }

/* ---------- Stimmen ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-1);
  transition: scale .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.3125rem, 1.15rem + .6vw, 1.625rem);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.022em;
  text-wrap: pretty;
}
.quote figcaption { font-size: 1.0625rem; color: var(--ink-2); }

.quote--featured {
  grid-column: 1 / -1;
  padding: clamp(32px, 5vw, 64px);
}
.quote--featured blockquote {
  font-size: clamp(1.625rem, 1.1rem + 2vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -.028em;
}

/* ---------- Über René ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__photo {
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 40px 80px -32px rgba(0, 0, 0, .28);
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 30%;
  scale: 1.12; /* Reserve für die Parallax-Bewegung im Rahmen */
}
.about__title {
  font-size: var(--fs-h2);
  line-height: 1.0625;
  letter-spacing: -.028em;
}
.about__text p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  hyphens: auto;
}
.about__text p strong { color: var(--ink); font-weight: 600; }
.about__title + p { margin-top: 24px; }

/* ---------- Filter ---------- */

.fit .h3 { margin-bottom: 16px; }

.list li {
  position: relative;
  padding: 11px 0 11px 34px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.4;
}
.list li:first-child { border-top: 0; }
.list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}
.list--check li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%230071e3'/%3E%3Cpath d='M5.8 10.3l2.7 2.7 5.7-6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.list--cross li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.25' fill='none' stroke='%2386868b' stroke-width='1.5'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Abschluss ---------- */

.final { text-align: center; padding: clamp(120px, 16vw, 220px) 0; }
.final__avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08);
}
.final__title {
  font-size: clamp(2.75rem, 1rem + 7vw, 7rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.final__lead { color: var(--ink-3); margin: 22px auto 40px; max-width: 26em; }
.final__meta { margin-top: 20px; font-size: .875rem; color: var(--ink-3); }
/* Hinweis auf „Schauen wir mal.“: eigene Kachel, Zeilen untereinander */
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
  margin: clamp(72px, 9vw, 112px) auto 0;
  padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: #1d1d1f;
  color: var(--dark-ink);
  text-decoration: none;
  transition: background-color .4s var(--ease), scale .5s var(--ease-out);
}
.tile:hover { background: #26262a; }
@media (hover: hover) { .tile:hover { scale: 1.015; } }

.tile__q {
  font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.tile__intro {
  margin-top: 18px;
  font-size: 1.0625rem;
  color: var(--ink-3);
}
.tile__name {
  margin-top: 2px;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.035em;
}
.tile__desc {
  margin-top: 8px;
  font-size: 1.0625rem;
  color: var(--ink-3);
}
.tile__more {
  margin-top: 22px;
  font-size: var(--fs-text);
  color: var(--link-dark);
}
.tile__more span { display: inline-block; transition: transform .2s var(--ease); }
.tile:hover .tile__more span { transform: translateX(3px); }

/* ---------- Footer ---------- */

.footer {
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--bg-2);
  font-size: .75rem;
  color: var(--ink-2);
  letter-spacing: -.01em;
}
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Rechtliches (Impressum, Datenschutz) ---------- */

.legal { padding: clamp(56px, 8vw, 104px) 0 clamp(96px, 12vw, 152px); }
.legal .wrap { max-width: 760px; }

.legal h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 700;
}
.legal__intro { margin-top: 18px; }

.legal h2 {
  margin-top: clamp(48px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.022em;
}
.legal h3 {
  margin-top: 28px;
  font-size: 1.1875rem;
  letter-spacing: -.018em;
}
.legal p,
.legal li {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: var(--fs-text);
  hyphens: auto;
}
.legal ul { margin-top: 4px; padding-left: 1.2em; list-style: disc; }
.legal li { margin-top: 6px; padding-left: 4px; }
.legal li::marker { color: var(--ink-3); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--link); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal address { font-style: normal; }

.summary {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.summary h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.summary .list { margin-top: 8px; padding-left: 0; }
.summary .list li { margin-top: 0; padding-left: 34px; list-style: none; color: var(--ink); }
.summary .list li::marker { content: none; }

.legal .legal__stand { margin-top: clamp(48px, 6vw, 64px); font-size: .875rem; }

/* ---------- Einblenden beim Scrollen ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s var(--ease-out),
    transform 1.1s var(--ease-out),
    scale .5s var(--ease-out),
    box-shadow .5s var(--ease-out);
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Parallax und Tool-Chaos: Das Skript setzt nur „translate“ und „rotate“,
   damit es sich nicht mit dem Einblenden („transform“) beißt */
@media (prefers-reduced-motion: no-preference) {
  [data-parallax], .chip { will-change: translate; }
}

/* ---------- Responsiv ---------- */

@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .nav__links { display: none; }
  .grid--2, .quotes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 44px; }
  .step__n { margin-bottom: 10px; }
  .bracket { max-width: 480px; margin-left: auto; margin-right: auto; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .hero__cta { flex-direction: column; gap: 20px; }
  .card__q { margin-bottom: 10px; }
  .chaos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .chip { min-height: 48px; padding: 0 10px; gap: 7px; font-size: .9375rem; border-radius: 14px; }
}

@media (max-width: 479px) {
  .chaos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transition: none; opacity: 1; transform: none; }
  .statement__line { transition: none; }
  .chip::before { background: var(--green); }
}

/* Telefonnummer im Abschluss */
.final__meta a { color: var(--link-dark); text-decoration: none; }
.final__meta a:hover { text-decoration: underline; }
