@import url("fonts/fonts.css");

/* ---------- Tokens ---------- */
:root {
  --paper: #fdfbfe;
  --white: #ffffff;
  --ink: #2a1f35;          /* Aubergine statt Schwarz */
  --ink-soft: #5b5263;
  --purple: #5e3a91;       /* Logo-Violett */
  --purple-deep: #432869;
  --lilac: #efe8f7;
  --lilac-line: #ddd0ec;

  /* Analysetücher – Farbstreifen */
  --t1: #5e3a91;
  --t2: #b9a3d6;
  --t3: #2f4f5c;
  --t4: #a8455d;
  --t5: #d9b77a;
  --t6: #6f8f7a;
  --t7: #e7c6cf;
  --t8: #2a1f35;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--purple-deep); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 20;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.measure { max-width: 38rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--purple); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ---------- Farbstreifen ---------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  height: 6px;
}
.swatches span:nth-child(1) { background: var(--t1); }
.swatches span:nth-child(2) { background: var(--t2); }
.swatches span:nth-child(3) { background: var(--t3); }
.swatches span:nth-child(4) { background: var(--t4); }
.swatches span:nth-child(5) { background: var(--t5); }
.swatches span:nth-child(6) { background: var(--t6); }
.swatches span:nth-child(7) { background: var(--t7); }
.swatches span:nth-child(8) { background: var(--t8); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--lilac-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 6.5rem;
}
.brand { flex: none; display: block; line-height: 0; }
.brand img { height: 6rem; width: auto; mix-blend-mode: multiply; }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.9rem; }
.nav a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--purple); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--purple); font-weight: 500; }

.header-cta { flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  background: var(--purple);
  color: #fff;
  font: 500 0.95rem/1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--purple); }
.btn--ghost:hover { background: var(--purple); color: #fff; }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--lilac-line);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  font: 400 .95rem var(--sans);
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 960px) {
  .header-inner { gap: 1rem; min-height: 4.5rem; }
  .brand img { height: 4rem; }
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--lilac-line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .nav a { display: block; padding: .8rem 0; font-size: 1.1rem; }
  .nav a::after { bottom: .5rem; right: auto; width: 2.5rem; }
  .nav .nav-cta { display: block; margin-top: .75rem; }
  .nav .nav-cta a { display: inline-flex; color: #fff; padding: .8rem 1.4rem; }
  .nav .nav-cta a::after { display: none; }
}
@media (min-width: 961px) { .nav .nav-cta { display: none; } }

/* ---------- Hero (Startseite) ---------- */
.hero {
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60rem 30rem at 85% 10%, var(--lilac) 0%, transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .line2 { display: block; font-style: italic; font-weight: 400; color: var(--purple); }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 30%; }
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--purple);
  z-index: -1;
}
.hero-figure { isolation: isolate; }
.hero-figure figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--white);
  padding: .7rem 1rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 26rem; margin-right: 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--lilac { background: var(--lilac); }
.section--white { background: var(--white); }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.intro h2 { position: sticky; top: 7.5rem; }
.intro p { font-size: 1.12rem; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } .intro h2 { position: static; } }

/* Leistungen / Angebote: abwechselnde Zeilen */
.rows { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.row:nth-child(even) .row-media { order: 2; }
.row-media { margin: 0; }
.row-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.row-body h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--purple); }
.row-body .kicker { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 1rem; }
@media (max-width: 820px) {
  .row { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-media { order: 0; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li {
  position: relative;
  padding: .55rem 0 .55rem 1.75rem;
  border-bottom: 1px solid var(--lilac-line);
}
.checklist li:first-child { border-top: 1px solid var(--lilac-line); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: .7rem; height: .7rem;
  margin-top: -.35rem;
  background: var(--swatch, var(--purple));
}
.checklist li:nth-child(8n+2) { --swatch: var(--t2); }
.checklist li:nth-child(8n+3) { --swatch: var(--t3); }
.checklist li:nth-child(8n+4) { --swatch: var(--t4); }
.checklist li:nth-child(8n+5) { --swatch: var(--t5); }
.checklist li:nth-child(8n+6) { --swatch: var(--t6); }
.checklist li:nth-child(8n+7) { --swatch: var(--t7); }
.checklist li:nth-child(8n+8) { --swatch: var(--t8); }

/* Großer Farbfächer (Farbberatung) */
.fan {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  margin-block: 2.5rem 0;
}
.fan span { aspect-ratio: 1 / 2.4; }
.fan span:nth-child(1) { background: var(--t1); }
.fan span:nth-child(2) { background: var(--t2); }
.fan span:nth-child(3) { background: var(--t3); }
.fan span:nth-child(4) { background: var(--t4); }
.fan span:nth-child(5) { background: var(--t5); }
.fan span:nth-child(6) { background: var(--t6); }
.fan span:nth-child(7) { background: var(--t7); }
.fan span:nth-child(8) { background: var(--t8); }
@media (max-width: 600px) { .fan span { aspect-ratio: 1 / 3; } }

/* Seitenkopf (Unterseiten) */
.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(var(--lilac), var(--paper));
}
.page-head h1 { margin-bottom: .25em; }
.page-head p { font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; margin: 0; }

/* Über mich */
.about {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.about-aside { position: sticky; top: 7.5rem; }
.about-aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 35%; }
.about-aside .sig { font-family: var(--serif); font-style: italic; font-size: 1.5rem; margin-top: 1.1rem; color: var(--purple); }
.about-aside .role { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about-aside { position: static; max-width: 24rem; } }

.timeline { list-style: none; margin: 2.5rem 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1rem;
  border-top: 1px solid var(--lilac-line);
}
.timeline li:last-child { border-bottom: 1px solid var(--lilac-line); }
.timeline .year { font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; color: var(--purple); }

/* Zitat / Hinweis */
.note {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  color: var(--purple-deep);
  border-left: 3px solid var(--purple);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  max-width: 36rem;
}

/* Termin-Band */
.cta-band { background: var(--purple); color: #fff; }
.cta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  padding-block: clamp(2.75rem, 6vw, 4rem);
}
.cta-band h2 { margin: 0 0 .3em; color: #fff; }
.cta-band p { margin: 0; color: #e6dcf3; }
.cta-band .btn { background: #fff; color: var(--purple); border-color: #fff; }
.cta-band .btn:hover { background: var(--lilac); color: var(--purple-deep); }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--lilac-line); }
.contact-list li:last-child { border-bottom: 1px solid var(--lilac-line); }
.contact-list .label { display: block; font-size: .9rem; color: var(--ink-soft); }
.contact-list .value { font-family: var(--sans); font-weight: 400; font-size: 1.3rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.contact-list a.value:hover { color: var(--purple); }

.form { display: grid; gap: 1.1rem; background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--lilac-line); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: .75rem .85rem;
  border: 1px solid #cbbfdb;
  border-radius: var(--radius);
  background: var(--paper);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--purple); outline-offset: 0; border-color: var(--purple); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; font-size: .92rem; color: var(--ink-soft); align-items: start; }
.consent input { margin-top: .3rem; accent-color: var(--purple); width: 1.05rem; height: 1.05rem; }
.form-status { font-size: .95rem; color: var(--purple-deep); margin: 0; }

/* Rechtstexte */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.9rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.3rem; margin-top: 2rem; }
.legal h4 { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.legal p, .legal li { font-size: 1rem; overflow-wrap: anywhere; }
.legal .shout { font-size: .92rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 2rem; margin: 0 0 2rem; }
.legal dt { color: var(--ink-soft); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem; } .legal dd { margin-bottom: .8rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d0e3; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}
.footer-brand { font-family: var(--serif); font-size: 1.7rem; color: #fff; line-height: 1.2; margin-bottom: .6rem; }
.footer-brand em { font-weight: 400; color: #c8b3e6; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: #fff; margin: 0 0 .8rem; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.4rem;
  font-size: .9rem;
  color: #a99cb8;
}
.social { display: flex; gap: .6rem; }
.social a {
  display: inline-grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
}
.social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.social svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bodoni: festere Haarstriche für bessere Lesbarkeit */
.hero h1 .line2, .row-body .kicker, .note, .about-aside .sig, .timeline .year, .footer-brand {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 20;
}
