/* cornelia-wirth.de — Markenwelt: Navy, Gold, Creme */
:root {
  --navy: #16284A;
  --navy-soft: #3d4b63;
  --gold: #D97E1F;
  --gold-soft: #F0B87A;
  --cream: #F7F3EC;
  --white: #FFFFFF;
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

/* ---------- Kopfzeile ---------- */
header.site {
  background: var(--cream);
  border-bottom: 1px solid rgba(22,40,74,.08);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
header.site img { height: 44px; width: auto; }
nav.main a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px;
  margin-left: 22px;
}
nav.main a:hover { color: var(--gold); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 14px;
}
h1 { font-size: clamp(38px, 5.5vw, 58px); line-height: 1.08; font-weight: 800; }
h1 .statt, h2 .statt {
  font-family: Georgia, 'Times New Roman', serif; font-style: italic;
  font-weight: 400; color: var(--gold); font-size: .55em; display: block; margin: .1em 0;
}
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--navy-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero .threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .sub { font-size: 20px; font-weight: 600; margin: 20px 0 8px; }
.hero .tagline { color: var(--navy-soft); margin-bottom: 28px; }
.hero .coverbox { text-align: center; }
.hero .coverbox img { max-height: 440px; margin: 0 auto; filter: drop-shadow(10px 14px 24px rgba(22,40,74,.28)); }
.trust { font-size: 14px; color: var(--navy-soft); margin-top: 14px; }

.btn {
  display: inline-block; background: var(--gold); color: var(--white);
  font-weight: 800; text-decoration: none; padding: 15px 30px; border-radius: 8px;
  border: none; font-size: 17px; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(217,126,31,.35); }
.btn.ghost {
  background: transparent; color: var(--navy); border: 2px solid var(--navy);
}
.btn.ghost:hover { box-shadow: 0 8px 18px rgba(22,40,74,.18); }
.btn + .btn { margin-left: 12px; }

/* ---------- Abschnitte ---------- */
section { padding: 76px 0; }
section.alt { background: var(--white); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }

.card {
  background: var(--white); border-radius: 14px; padding: 28px;
  box-shadow: 0 2px 14px rgba(22,40,74,.07);
  border-top: 4px solid var(--gold);
}
section.alt .card { background: var(--cream); box-shadow: none; }
.card .icon { font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--navy-soft); }

.buyline { margin-top: 26px; font-size: 15px; color: var(--navy-soft); }

/* Bücher */
.bookgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.book { display: flex; gap: 24px; background: var(--white); border-radius: 14px; padding: 28px; box-shadow: 0 2px 14px rgba(22,40,74,.07); }
section.alt .book { background: var(--cream); box-shadow: none; }
.book img { height: 170px; width: auto; }
.book .ph {
  height: 170px; width: 120px; flex: none; border-radius: 6px;
  background: var(--navy); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: Georgia, serif; font-style: italic; font-size: 14px; padding: 12px; line-height: 1.4;
}
.book p { font-size: 15.5px; color: var(--navy-soft); }
.book .meta { font-size: 13.5px; color: var(--gold); font-weight: 700; margin-top: 8px; }

/* Zur Person */
.person img { border-radius: 14px; }
.stations { list-style: none; margin-top: 18px; }
.stations li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 15.5px; color: var(--navy-soft); }
.stations li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* Kontakt */
.contactbox { background: var(--navy); color: var(--white); border-radius: 16px; padding: 44px; }
.contactbox h2 { color: var(--white); }
.contactbox a { color: var(--gold-soft); }
.contactbox .lead { color: rgba(255,255,255,.85); }

footer.site { padding: 28px 0 40px; font-size: 14px; color: var(--navy-soft); }
footer.site a { color: var(--navy-soft); margin-right: 18px; }

/* ---------- Selbsttest ---------- */
.test-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; }
.dimension { background: var(--white); border-radius: 14px; padding: 26px 28px; margin-bottom: 22px; box-shadow: 0 2px 14px rgba(22,40,74,.07); }
.dimension h3 { display: flex; gap: 10px; align-items: baseline; border-bottom: 2px solid var(--gold); padding-bottom: 10px; margin-bottom: 6px; }
.dimension h3 .num { font-family: Georgia, serif; color: var(--gold); }
.scale-note { font-size: 13px; color: var(--navy-soft); margin-bottom: 14px; }
.item { padding: 12px 0; border-bottom: 1px solid rgba(22,40,74,.08); display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.item:last-child { border-bottom: none; }
.item .q { font-size: 15.5px; flex: 1 1 300px; }
.opts { display: flex; gap: 6px; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; }
.opts span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(22,40,74,.25);
  font-weight: 700; font-size: 14px; color: var(--navy-soft);
  transition: all .12s ease;
}
.opts input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.profilebox { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px; position: sticky; top: 92px; }
.profilebox h3 { color: #fff; }
.profilebox .count { font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.bar { margin-bottom: 14px; }
.bar .lbl { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.bar .track { height: 9px; background: rgba(255,255,255,.15); border-radius: 5px; overflow: hidden; }
.bar .fill { height: 100%; width: 0%; background: var(--gold); border-radius: 5px; transition: width .25s ease; }
.total { border-top: 1px solid rgba(255,255,255,.2); margin-top: 18px; padding-top: 16px; }
.total .sum { font-size: 34px; font-weight: 800; }
.total .sum small { font-size: 16px; color: rgba(255,255,255,.6); font-weight: 600; }
#resultText { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.85); margin-top: 12px; }
.profilebox .actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn.small { padding: 10px 16px; font-size: 14px; }

/* ---------- Rechtstexte ---------- */
.legal h1 { font-size: 34px; margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 15.5px; color: var(--navy-soft); margin-bottom: 10px; }
.legal .todo { background: #FDF3E3; border-left: 4px solid var(--gold); padding: 14px 18px; font-size: 14.5px; margin: 18px 0; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero .wrap, .grid2, .test-layout { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .bookgrid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
  section { padding: 56px 0; }
  .hero .coverbox img { max-height: 320px; }
  nav.main a { margin-left: 14px; font-size: 14px; }
  .profilebox { position: static; }
  .contactbox { padding: 30px 24px; }
  .btn + .btn { margin-left: 0; margin-top: 12px; }
}
