/* ==========================================================================
   Lisa Valente – Onepage
   Farben, Schriften und Abstände zentral über die Variablen anpassbar.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gluten";
  src: url("../fonts/gluten.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #ffd3f8;
  --pink-deep: #f3b6ea;
  --band: #e8559a;
  --blue: #0433e5;
  --blue-soft: rgba(4, 51, 229, 0.78);
  --orange: #fe4101;
  --cream: #f1f0ea;
  --white: #fff;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-fun: "Gluten", var(--font-serif);

  --header-h: 76px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--pink);
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }

::selection { background: var(--orange); color: var(--cream); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--cream);
  padding: 10px 18px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 820px; }
.center { text-align: center; }

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

.display {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  color: var(--orange);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.05;
  font-variation-settings: "opsz" 144;
  font-weight: 500;
}
.display-sm {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  margin-bottom: 0.6em;
}
/* Verspielte Kontur-Schrift: Füllung transparent, Strich in der Textfarbe */
.bubble,
.marquee span,
.price-value {
  font-family: var(--font-fun);
  font-weight: 700;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.045em currentColor;
  paint-order: stroke fill;
}
.bubble {
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0.08em 0 0.7em;
  letter-spacing: 0.01em;
}
.bubble-xl { font-size: clamp(22px, 2.9vw, 36px); line-height: 1.15; color: var(--orange); margin-bottom: 1em; }
/* Hero-Unterzeile: einzeilig, Größe passt sich der Spaltenbreite an */
.hero-text { container-type: inline-size; }
.hero-text .bubble-xl {
  font-size: min(calc(100cqi / 38.4), 26px);
  white-space: nowrap;
  /* bei dieser kleinen Größe gefüllt statt Kontur – sonst schwer lesbar */
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke-width: 0;
  letter-spacing: 0.02em;
  margin: 1.4em 0 1.8em;
}
@media (max-width: 760px) {
  .hero-text .bubble-xl { font-size: 20px; white-space: normal; }
}
.bubble-lg { font-size: clamp(26px, 3.8vw, 46px); }
.bubble-md { font-size: clamp(22px, 2.8vw, 34px); }

.accent { color: var(--orange); }
.lead { font-size: 1.18em; font-weight: 500; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--cream);
  border: 2px solid var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1.5deg); background: var(--orange); border-color: var(--orange); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pink);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(4, 51, 229, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.logo span {
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--orange); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -10px;
  background: none;
  border: 0;
  color: var(--blue);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 26px; height: 2px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 0.3s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--pink);
    padding: 40px var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a {
    font-family: var(--font-serif);
    font-size: 34px;
    letter-spacing: 0;
    text-transform: none;
  }
  body.nav-open { overflow: hidden; }
}

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

/* Hero füllt den ersten Bildschirm, das Laufband erscheint erst beim Scrollen */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 104px);
}
.hero-grid {
  max-width: 1360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
/* Foto so groß wie möglich, aber immer ganz im ersten Bildschirm sichtbar */
.hero-media {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: min(500px, calc((100svh - var(--header-h) - 140px) * 0.75));
  justify-self: center;
}

.oval {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px; /* Pillenform */
}
.arch {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 999px 999px var(--radius) var(--radius);
}

.smile {
  position: absolute;
  top: 2%;
  left: calc(-6% + 20px);
  width: 26%;
  z-index: 2;
  animation: wobble 6s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg) translateY(-4px); }
}

.hero-status {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 1.4em;
  color: var(--blue-soft);
}
.hero-list {
  margin: 0 0 2em;
  padding: 0;
  list-style: none;
  font-size: 1.05em;
}
.hero-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.4em;
}
.hero-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 320px; }
  .hero-text { text-align: left; }
}

/* ---------- Laufband ---------- */

.marquee {
  overflow: hidden;
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-family: var(--font-fun);
  font-size: clamp(20px, 2.4vw, 28px);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee img { width: 40px; height: auto; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .smile { animation: none; }
}

/* ---------- Sektionen ---------- */

.section { padding: var(--section-y) 0; }
.section + .section { padding-top: 0; }
.intro { padding-top: var(--section-y); }

/* Arbeitsweise – Karten */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: 24px;
}
.card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-4px) rotate(-0.6deg); }
.card h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  margin: 18px 0 12px;
}
.card p { color: var(--blue-soft); margin: 0; }
.card-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pink);
}
.card-icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
}

/* Schwerpunkte – Themen-Pills */
.topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 12px auto 48px;
  padding: 0;
  list-style: none;
}
.topics li {
  padding: 10px 20px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.topics li:nth-child(3n + 2) { border-color: var(--orange); color: var(--orange); }
.topics li:hover { background: var(--blue); color: var(--cream); border-color: var(--blue); transform: rotate(-2deg); }

/* Zitat-Band */
.band {
  background: var(--band);
  color: var(--cream);
  padding: clamp(64px, 9vw, 112px) 0;
  margin-bottom: var(--section-y);
}
.band-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  margin-bottom: 0.5em;
}
.band .bubble { color: var(--pink); margin-bottom: 0; }

/* Split-Layout (Text + Bild) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-media { position: relative; margin: 0; max-width: 420px; width: 100%; justify-self: center; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 340px; order: -1; }
}

/* Ablauf – Schritte */
.steps {
  counter-reset: step;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 72px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -4px;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 24px;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px; top: 54px; bottom: 6px;
  border-left: 2px dashed var(--orange);
}
.steps h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  margin-bottom: 6px;
}
.steps p { color: var(--blue-soft); margin: 0; }
.steps a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }

/* Honorar */
.price-box {
  margin: clamp(56px, 8vw, 96px) auto clamp(40px, 5vw, 64px);
  max-width: 900px;
  background: var(--blue);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 26px 16px;
  border: 2px solid rgba(241, 240, 234, 0.35);
  border-radius: 20px;
}
.price-label { font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; }
.price-meta { opacity: 0.75; font-size: 14px; }
.price-value { font-family: var(--font-fun); font-size: clamp(36px, 4.6vw, 52px); color: var(--pink); margin-top: 8px; }
.price-note { max-width: 580px; margin: 0 auto; opacity: 0.85; }
@media (max-width: 520px) {
  .prices { grid-template-columns: 1fr; }
}

/* Info-Raster */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px);
}
.info-grid article { border-top: 2px solid var(--blue); padding-top: 22px; }
.info-grid .wide { grid-column: 1 / -1; }
.info-grid h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.info-grid p { color: var(--blue-soft); margin: 0; }
@media (max-width: 760px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* Über mich */
.about .narrow { margin-top: clamp(32px, 5vw, 56px); }
.cv { margin-top: clamp(64px, 9vw, 120px); align-items: start; }
.accordion { border-top: 2px solid var(--blue); }
.accordion:last-child { border-bottom: 2px solid var(--blue); }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--cream);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.accordion[open] summary::after { transform: rotate(45deg); background: var(--orange); }
.accordion ul { margin: 0; padding: 0 0 22px; list-style: none; }
.accordion li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--blue-soft); line-height: 1.5; }
.accordion li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.accordion li span { white-space: nowrap; color: var(--blue); font-weight: 500; }
.accordion em { font-size: 0.92em; }

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  margin-top: 16px;
}
.contact-card,
.crisis-card {
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.contact-card { background: var(--cream); }
.contact-card address { font-style: normal; font-size: 1.1em; margin-bottom: 18px; }
.contact-card strong { font-family: var(--font-serif); font-size: 1.5em; font-weight: 500; }
.contact-links { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.contact-links a { text-underline-offset: 4px; }
.crisis-card { background: var(--orange); color: var(--cream); }
.crisis-card h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 10px;
}
.crisis-card ul { margin: 0; padding: 0; list-style: none; }
.crisis-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(241, 240, 234, 0.4);
}
.crisis-card small { opacity: 0.85; }
.crisis-card a { font-weight: 700; white-space: nowrap; text-decoration: none; font-size: 1.1em; }
.crisis-card a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

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

.site-footer {
  background: var(--blue);
  color: var(--cream);
  padding: clamp(56px, 7vw, 88px) 0 28px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { font-family: var(--font-serif); font-size: 30px; line-height: 1; margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; opacity: 0.9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.legal-links { display: flex; gap: 20px; margin-top: 18px; }
.legal-links button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(241, 240, 234, 0.25);
  font-size: 13px;
  opacity: 0.75;
}
.footer-bottom p { margin: 0; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Impressum / Datenschutz ---------- */

dialog.legal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: clamp(28px, 5vw, 56px);
  border: 0;
  border-radius: var(--radius);
  background: var(--pink);
  color: var(--blue);
  overflow-y: auto;
}
dialog.legal::backdrop { background: rgba(4, 51, 229, 0.55); backdrop-filter: blur(3px); }
dialog.legal h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 1.8em 0 0.5em;
}
dialog.legal p { color: var(--blue-soft); }
.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  width: 44px; height: 44px;
  margin: -12px -12px 0 0;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { background: var(--orange); }

/* ---------- Scroll-Animation ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Überschrift ohne verspielte Unterzeile, möglichst in einer Zeile */
.heading-oneline {
  font-size: clamp(32px, 3.8vw, 50px);
  margin-bottom: 0.9em;
}
