/* ==========================================================================
   Me & Myself — Stylesheet
   CI: Pfirsich/Creme, Magenta-Rosa, gepunktetes Muster, Alice + Lato
   ========================================================================== */

@font-face {
  font-family: "Alice";
  src: url("../assets/fonts/alice-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Farben (aus dem bestehenden CI extrahiert) --- */
  --cream:        #FCF9F0;
  --cream-alt:    #F9EFE7;
  --peach:        #FEE1BE;
  --peach-accent: #F4A778;
  --pink:         #E36D8E;
  --magenta:      #D0417F;
  --magenta-deep: #D03780;
  --magenta-btn:  #C13873;
  --ink:          #2A101C;
  --ink-soft:     #4A2634;
  --white:        #FFFFFF;
  --line-on-light: rgba(42, 16, 28, 0.14);
  --line-on-dark:  rgba(255, 255, 255, 0.35);

  /* --- Typografie --- */
  --font-display: "Alice", Georgia, "Times New Roman", serif;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* --- Layout --- */
  --content-width: 1180px;
  --content-narrow: 760px;
  --radius: 20px;
  --radius-pill: 999px;
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.1em; max-width: 62ch; }
a { color: inherit; }

.section-intro p { max-width: 66ch; }

/* Sichtbarer Fokus-Ring überall */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--magenta-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s ease;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout Helpers ---------- */
.wrap {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.narrow { max-width: var(--content-narrow); }
section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.bg-cream { background: var(--cream); }
.bg-cream-alt { background: var(--cream-alt); }
.bg-peach { background: var(--peach); }
.bg-pink { background: var(--pink); color: var(--ink); }
.bg-magenta-deep { background: var(--magenta-deep); color: var(--white); }
.bg-magenta-deep h2, .bg-magenta-deep h3 { color: var(--white); }
.bg-pink h2, .bg-pink h3 { color: var(--ink); }

/* Gepunktetes Muster als dezentes CI-Element */
.dotted {
  position: relative;
}
.dotted::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: 0.08;
  pointer-events: none;
}
.bg-peach.dotted::before,
.bg-cream.dotted::before,
.bg-cream-alt.dotted::before { color: var(--magenta-deep); }
.bg-pink.dotted::before { color: var(--white); opacity: 0.14; }
.bg-magenta-deep.dotted::before { color: var(--white); opacity: 0.10; }

.dotted > .wrap { position: relative; z-index: 1; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.9em 1.7em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--magenta-btn);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(193, 56, 115, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 24px -8px rgba(193, 56, 115, 0.6); }
.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-sm {
  padding: 0.6em 1.1em;
  font-size: 0.92rem;
}
.book-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}
.bg-magenta-deep .btn-secondary,
.bg-pink .btn-secondary { color: inherit; }
.btn-ghost {
  background: transparent;
  color: var(--magenta-deep);
  padding: 0.9em 0.2em;
  text-underline-offset: 3px;
  text-decoration: underline;
}
.bg-magenta-deep .btn-ghost { color: var(--white); }

.link-inline { color: var(--magenta-deep); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.bg-magenta-deep .link-inline,
.bg-pink .link-inline { color: inherit; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 249, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-on-light);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 42px; height: 42px; }
.brand span {
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.7rem; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.main-nav a:hover { border-color: var(--magenta-deep); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .main-nav { position: relative; }
  .main-nav ul {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
    gap: 0.5rem;
    border-bottom: 1px solid var(--line-on-light);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .main-nav[data-open="true"] ul { transform: translateY(0); }
  .main-nav a { display: block; padding: 0.6rem 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 0; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(1rem, 3vw, 1.75rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--peach), var(--pink));
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-portrait picture,
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-brand { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.hero-logo { width: 116px; height: 116px; flex-shrink: 0; }
.hero-wordmark { font-family: var(--font-display); font-size: clamp(2.3rem, 4.2vw, 3.1rem); color: var(--ink); line-height: 1; }
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0 0 1.2rem;
}
.hero-subtitle em { font-style: italic; }
.hero-divider {
  border: none;
  border-top: 1px solid var(--line-on-light);
  width: 220px;
  margin: 0 0 1.6rem;
}
.hero h1 { color: var(--magenta-deep); }
.hero .lede { font-size: 1.15rem; max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.6rem; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 340px; margin-inline: auto; }
}

/* ---------- Section header pattern ---------- */
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { color: var(--magenta-deep); }
.bg-magenta-deep .section-head h2 { color: var(--white); }
.bg-pink .section-head h2 { color: var(--ink); }

/* ---------- Zwei-Spalten Bild/Text ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.willkommen-video {
  border-radius: var(--radius);
  width: 100%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-left: auto;
  background: var(--ink);
}
.split picture { display: block; height: 100%; }
.portrait-on-magenta {
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.10), transparent 70%);
  object-fit: contain !important;
  object-position: center !important;
  padding: 1.5rem;
  box-sizing: border-box;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  .split img { max-height: 340px; }
}

/* ---------- Angebote / Cards ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line-on-light);
}
.offer-card h3 { color: var(--magenta-deep); margin-bottom: 0.4rem; }
.offer-card .teaser { margin-bottom: 0.9rem; color: var(--ink-soft); }
.offer-card ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.offer-card li { margin-bottom: 0.35rem; }

details.offer-details { margin-top: 0.5rem; }
details.offer-details > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--magenta-deep);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
}
details.offer-details > summary::-webkit-details-marker { display: none; }
details.offer-details > summary::before {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  width: 1.2em;
  display: inline-block;
  text-align: center;
}
details.offer-details[open] > summary::before { content: "–"; }
.offer-more { padding-top: 0.8rem; }
.price-box {
  background: var(--cream-alt);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}
.price-box dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; }
.price-box dt { color: var(--ink-soft); }
.price-box dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- Ablauf / Schritte (echte Sequenz) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--magenta-deep);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 900;
}
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

.offer-card.offer-visual {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-top: 0.8rem;
  background: linear-gradient(180deg, var(--cream-alt), var(--white));
}
.offer-visual img { max-height: 220px; width: auto; margin-inline: auto; }
.offer-visual figcaption {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Zertifikate ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.cert-card { text-align: center; }
.cert-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
}
.cert-thumb-btn img {
  border-radius: 12px;
  border: 1px solid var(--line-on-light);
  margin-bottom: 0.7rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cert-thumb-btn:hover img,
.cert-thumb-btn:focus-visible img {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(42,16,28,0.35);
}
.cert-card p { margin: 0; font-weight: 700; font-size: 0.95rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 12, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0;
  max-width: min(90vw, 700px);
  text-align: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
}
.lightbox figcaption {
  color: var(--white);
  margin-top: 1rem;
  font-weight: 700;
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ---------- Testimonial ---------- */
.testimonial-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.testimonial-image { display: block; }
.testimonial-image img { width: 220px; height: auto; display: block; }
@media (max-width: 760px) {
  .testimonial-row { grid-template-columns: 1fr; }
  .testimonial-image { order: -1; margin-inline: auto; }
  .testimonial-image img { width: 160px; }
}
blockquote.testimonial {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink);
  border-left: 4px solid var(--magenta-deep);
  padding-left: 1.5rem;
}
blockquote.testimonial footer {
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: normal;
  color: var(--ink-soft);
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.bg-pink .contact-list li { border-bottom-color: var(--line-on-light); }
.contact-list h3 { margin-bottom: 0.3rem; font-size: 1rem; font-family: var(--font-body); font-weight: 900; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }

.calendly-box {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.calendly-box h3 { color: var(--magenta-deep); margin-bottom: 0.5rem; }
.calendly-note { font-size: 0.92rem; color: var(--ink-soft); }
.calendly-frame-holder { margin-top: 1rem; min-height: 0; }
.calendly-fallback { margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: 2.5rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-footer a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .fine-print { font-size: 0.85rem; opacity: 0.75; width: 100%; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
