/* ============================================================
   ANDERS WEITER — "Von der Oberfläche in die Tiefe", warm & handgemacht
   Aquarell + Papier + Ermgards handschriftliche Notizen.
   Keine externen Ladevorgänge: Caveat liegt selbst gehostet in /fonts/.
   ============================================================ */

@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Markenfarben Anders Weiter */
  --paper:      #F4F1EA;   /* Off-White */
  --paper-2:    #ECE7DA;
  --sand:       #E8CE93;
  --sage:       #A8BE8C;
  --blush:      #EFA79B;
  --teal:       #1B5E6E;   /* Deep-Teal — Hauptfarbe */
  --forest:     #1E4620;   /* tiefstes Grün */

  --ink:        #262837;   /* Anthrazit */
  --ink-soft:   #565766;
  --cream:      #F4F1EA;   /* Text auf dunklem Grund */
  --cream-soft: rgba(244,241,234,0.82);

  --line:       rgba(38,40,55,0.16);
  --line-cream: rgba(244,241,234,0.22);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hand:  "Caveat", "Segoe Script", "Bradley Hand", "Snell Roundhand", cursive;

  --wrap: 1080px;
  --col:  640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Feines Papierkorn über allem — nimmt das Digitale raus */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
::selection { background: var(--blush); color: #3a231f; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(1.25rem, 5vw, 3rem); position: relative; z-index: 1; }
.wrap.narrow { max-width: var(--col); }
section { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; overflow: hidden; }

.s-paper   { background: var(--paper); }
.s-paper-2 { background: var(--paper-2); }
.s-mid     { background: #E3EAD9; }   /* Salbei-Ton — klar abgesetzt von den warmen Papier-Flächen */
.s-deep    { background: var(--teal); color: var(--cream); }

/* Aquarell-Wäsche hinter den Abschnitten */
.s-mid::before,
.s-deep::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.5;
}
.s-mid::before {
  background:
    radial-gradient(40% 50% at 20% 25%, var(--sage) 0%, transparent 70%),
    radial-gradient(45% 45% at 85% 70%, var(--blush) 0%, transparent 70%);
  opacity: 0.35;
}
.s-deep::before {
  background:
    radial-gradient(50% 45% at 15% 20%, #2E6A6E 0%, transparent 70%),
    radial-gradient(45% 50% at 90% 40%, var(--sage) 0%, transparent 72%),
    radial-gradient(55% 45% at 55% 95%, var(--teal) 0%, transparent 70%),
    linear-gradient(180deg, var(--teal), var(--forest));
  opacity: 0.9;
  filter: blur(50px);
}

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); line-height: 1.12; color: var(--teal); }
h2 { font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.4rem); line-height: 1.2; color: var(--teal); margin-bottom: 1.1rem; }
.s-deep h1, .s-deep h2, .s-deep h3 { color: var(--cream); }
h3 { font-size: 1.2rem; line-height: 1.35; color: var(--teal); }
p { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; color: var(--teal); }
.s-deep em { color: var(--blush); }

.kicker {
  font-family: var(--hand);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: rotate(-1deg);
}
.kicker::before { content: ""; width: 30px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }
.s-deep .kicker { color: var(--blush); }

.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem); line-height: 1.72; color: var(--ink-soft); max-width: 34em; }

.pull {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem);
  line-height: 1.42;
  color: var(--cream);
  border-left: 3px solid var(--sand);
  padding-left: 1.15rem;
  margin-block: 2.2rem;
}

.signature {
  font-family: var(--hand);
  font-size: 1.6rem;
  color: var(--teal);
  margin-top: 1.4rem;
  transform: rotate(-1.5deg);
  display: inline-block;
}

.hand-heading {
  font-family: var(--hand);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  line-height: 1.15;
  color: var(--teal);
  transform: rotate(-2deg);
  display: inline-block;
}

.txtlink {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.txtlink:hover { color: var(--teal); }
.s-deep .txtlink { color: var(--cream); border-color: var(--blush); }
.s-deep .txtlink:hover { color: var(--blush); }

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  background: var(--teal);
  color: var(--cream);
  padding: 0.95rem 1.8rem;
  border-radius: 3px 14px 4px 12px;
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 1.9rem;
  box-shadow: 0 12px 24px -14px rgba(27,94,110,0.6);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.btn-sub { font-size: 0.78rem; color: var(--cream-soft); }
.btn:hover { background: #16505E; transform: translateY(-2px) rotate(-0.5deg); box-shadow: 0 18px 30px -14px rgba(27,94,110,0.7); }
.s-deep .btn { background: var(--cream); color: var(--teal); box-shadow: 0 12px 26px -14px rgba(0,0,0,0.5); }
.s-deep .btn .btn-sub { color: var(--ink-soft); }
.s-deep .btn:hover { background: #fff; }

/* ---------- Navigation (schwebt mit) ---------- */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  box-shadow: 0 2px 16px -9px rgba(38,40,55,0.28);
  transition: transform .38s cubic-bezier(.4,0,.2,1), box-shadow .25s ease;
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  max-width: var(--wrap); margin: 0 auto;
  padding: 0.6rem clamp(1.25rem, 5vw, 3rem);
  flex-wrap: wrap;
}
.nav-mark { display: block; line-height: 0; }
.nav-mark img {
  height: 74px;
  width: auto;
  display: block;
}
.nav-toggle { display: none; }
/* Beim Scrollen nach unten zieht sich die Leiste nach oben aus dem Bild.
   Sie kommt zurück, sobald man nach oben scrollt oder mit dem Cursor an
   den oberen Rand geht. */
.nav-bar.nav-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .nav-bar { transition: none; }
  .nav-bar.nav-hidden { transform: none; box-shadow: 0 2px 16px -9px rgba(38,40,55,0.28); }
}
@media (max-width: 640px) {
  .nav { padding-block: 0.5rem; }
  .nav-mark img { height: 54px; }
  .nav-links { gap: 0.7rem 1rem; }
  .nav-links a { font-size: 0.72rem; }
}
@media (max-width: 600px) {
  .nav { flex-wrap: nowrap; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: none;
    background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; width: 22px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: transform .25s ease, background .2s ease;
  }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before { position: absolute; left: 0; top: -7px; }
  .nav-toggle-bar::after  { position: absolute; left: 0; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    box-shadow: 0 14px 22px -14px rgba(38,40,55,0.4);
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links a {
    font-size: 0.8rem; padding-block: 0.8rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav[data-menu="open"] .nav-links { max-height: 70vh; }
}
.nav-links { display: flex; gap: clamp(0.9rem, 2.5vw, 1.7rem); flex-wrap: wrap; }
.nav-links a {
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a[aria-current="page"] { color: var(--teal); border-color: var(--blush); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.2rem, 5vw, 3.8rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-text h1 { margin-bottom: 1.4rem; }
.hero-portrait { position: relative; }
.hero-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 46% 46% 42% 42% / 20% 20% 10% 10%;
  filter: contrast(1.02) saturate(1.03);
  box-shadow: 0 40px 60px -28px rgba(27,94,110,0.45);
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid var(--teal);
  border-radius: 46% 46% 42% 42% / 20% 20% 10% 10%;
  opacity: 0.35;
  transform: rotate(-2deg);
  pointer-events: none;
}

/* ---------- Wasserlinie ---------- */
.waterline {
  background: var(--paper);
  padding-block: 2.4rem;
  text-align: center;
  position: relative;
}
.waterline::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 50%;
  height: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, transparent 0 6px, var(--line) 6px 14px);
}
.waterline span {
  position: relative;
  background: var(--paper);
  padding: 0 1.1rem;
  font-family: var(--hand);
  font-size: 1.2rem;
  color: var(--sage);
}

/* ---------- Recognize ---------- */
/* Die drei Sätze stehen nebeneinander wie drei Szenen –
   nicht als Liste untereinander. */
.recognize .kicker,
.recognize h2 { max-width: 40ch; }
.scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2rem;
  margin: 2.4rem 0 0;
}
.recognize .scene {
  margin: 0;
  padding-left: 1.15rem;
  border-left: 2px solid var(--sage);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.14rem);
  line-height: 1.5;
  color: var(--ink);
}
.recognize .bridge {
  max-width: 46ch;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
  margin-top: 2.8rem;
}
@media (max-width: 760px) {
  .scenes { grid-template-columns: 1fr; gap: 1.5rem; max-width: 42rem; }
}

/* ---------- Sea (Tiefe) ---------- */
.sea p { color: var(--cream-soft); }
.sea p.pull { color: var(--cream); }
.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;
}
/* Erklär-Bilder: aufgeklebt auf ein herausgerissenes Blatt Papier.
   Der Rissrand entsteht prozedural über den SVG-Filter #torn-edge. */
.sea-figure {
  position: relative;
  max-width: 440px;
  margin: 2.8rem auto 3.6rem;
  padding: 20px 20px 26px;
  transform: rotate(-1.7deg);
}
/* nicht alles zentriert — mal nach links, mal nach rechts versetzt */
.sea-figure.to-left  { margin-left: -1.75rem; margin-right: auto; transform: rotate(-2deg); }
.sea-figure.to-right { margin-right: -1.75rem; margin-left: auto;  transform: rotate(1.7deg); }
@media (max-width: 560px) {
  .sea-figure.to-left, .sea-figure.to-right { margin-inline: auto; }
}
.sea-figure::before {                 /* das gerissene Blatt */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sand);
  filter: url(#torn-edge) drop-shadow(0 16px 22px rgba(38,40,55,0.4));
  z-index: 0;
}
.sea-figure::after {                  /* Klebeband */
  content: "";
  position: absolute;
  top: -9px;
  left: 34px;
  width: 98px;
  height: 24px;
  background: rgba(239,167,155,0.5);
  transform: rotate(-4deg);
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.sea-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.sea-figure.to-left::after  { left: auto; right: 36px; transform: rotate(3deg); }
.sea-figure.to-right::after { left: 30px; right: auto; transform: rotate(-4deg); }
.invite .sea-figure { align-self: center; }

/* ---------- Ermgard — handschriftliche Notiz mit Klebeband; das Cartoon-
   Maskottchen läuft von links herein und bleibt daneben stehen. ---------- */
.eg {
  position: relative;
  max-width: 560px;
  margin: 3rem 0;
  padding: 1.6rem 1.8rem 1.7rem;
  color: var(--ink);
  text-decoration: none;
  transform: rotate(-1.3deg);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.eg:hover::before { filter: url(#torn-edge) drop-shadow(0 22px 30px rgba(38,40,55,0.5)); }
.eg-more {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: var(--teal);
  border-bottom: 1px solid rgba(27,94,110,0.35);
  padding-bottom: 1px;
}
.eg:hover .eg-more, .eg:focus-visible .eg-more { border-bottom-color: var(--teal); }
.eg:nth-of-type(even) { transform: rotate(1deg); }
.eg::before {                          /* das gerissene Blatt */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sand);
  filter: url(#torn-edge) drop-shadow(0 14px 20px rgba(38,40,55,0.4));
  z-index: 0;
}
.eg::after {                           /* Klebeband */
  content: "";
  position: absolute;
  top: -10px;
  left: 28px;
  width: 84px;
  height: 22px;
  background: rgba(239,167,155,0.5);
  transform: rotate(-5deg);
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.eg:nth-of-type(even)::after { left: auto; right: 28px; transform: rotate(4deg); }
/* jede zweite Notiz lehnt in die andere Richtung und sitzt nach rechts versetzt —
   so wirkt es wie eine Sammlung, nicht wie dreimal dasselbe */
.eg.eg-alt { transform: rotate(1.2deg); margin-left: auto; }
.eg.eg-alt::after { left: auto; right: 30px; transform: rotate(4deg); }
.eg-face, .eg-body { position: relative; z-index: 1; }
.eg-face {
  width: 100px;
  height: 100px;
  flex: none;
  align-self: flex-start;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 14%;
  background: transparent;
  box-shadow: 0 0 0 3px var(--sand), 0 0 0 4px var(--line);
}
.eg-body {
  flex: 1;
  min-width: 0;
  background: rgba(246, 243, 236, 0.62);   /* heller Sand-Block hinter dem Text — bleibt im Stil, macht die Schrift leserlicher */
  padding: 0.75rem 0.95rem 0.85rem;
  border-radius: 3px;
}
.eg-name {
  font-family: var(--hand);
  font-size: 1.2rem;
  color: var(--teal);
  line-height: 1.15;
  display: block;
  margin-bottom: 0.35rem;
}
.eg-role {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}
.eg .eg-text {
  font-family: var(--hand);
  font-size: 1.55rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.eg .eg-role { color: var(--ink); opacity: 0.7; }
/* auf dem dunklen Abschnitt den Sand-Block deckender, damit die Schrift trägt */
.s-deep .eg-body { background: rgba(246, 243, 236, 0.92); }
.s-deep .eg .eg-role { opacity: 0.85; }

/* auf dem Handy: Bild über den Text statt daneben, damit beide Platz haben */
@media (max-width: 560px) {
  .eg { flex-direction: column; gap: 0.9rem; padding: 1.5rem 1.5rem 1.6rem; }
  .eg-more { font-size: 0.85rem; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 42% 42% 46% 46% / 12% 12% 22% 22%;
  object-fit: cover;
  object-position: 26% center;
  box-shadow: 0 30px 50px -26px rgba(27,94,110,0.45);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: -11px;
  border: 2px solid var(--teal);
  border-radius: 42% 42% 46% 46% / 12% 12% 22% 22%;
  opacity: 0.35;
  transform: rotate(2deg);
  pointer-events: none;
}

/* ---------- So arbeite ich — drei Grundsätze nebeneinander, klar getrennt ---------- */
.how-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.6rem;
}
.how-list li {
  border-top: 2px solid var(--teal);
  padding-top: 1.1rem;
}
.how-list h3 { margin-bottom: 0.45rem; }
.how-list p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }
@media (max-width: 780px) {
  .how-list { grid-template-columns: 1fr; gap: 1.6rem; max-width: 640px; }
}
.how-rahmen {
  margin-top: 2.2rem;
  max-width: 48ch;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ---------- Testimonial — herausgerissener Zettel mit Foto ---------- */
.testi { padding-block: clamp(3rem, 6vw, 4.5rem); }
.testi .kicker { margin-bottom: 0.4rem; }
.testi-card {
  position: relative;
  max-width: 560px;
  margin: 2.4rem 0 1rem -1.75rem;
  padding: 22px 24px 26px;
  transform: rotate(-1.4deg);
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.testi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sand);
  filter: url(#torn-edge) drop-shadow(0 16px 22px rgba(38,40,55,0.4));
  z-index: 0;
}
.testi-card::after {
  content: "";
  position: absolute;
  top: -10px;
  right: 40px;
  width: 100px;
  height: 24px;
  background: rgba(239,167,155,0.5);
  transform: rotate(3deg);
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.testi-photo {
  position: relative;
  z-index: 1;
  flex: none;
  width: 150px;
  height: 182px;
}
.testi-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 44% 44% 46% 46% / 14% 14% 20% 20%;
  box-shadow: 0 12px 22px -12px rgba(27,94,110,0.45);
}
.testi-photo::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid var(--teal);
  border-radius: 44% 44% 46% 46% / 14% 14% 20% 20%;
  opacity: 0.35;
  transform: rotate(-3deg);
  pointer-events: none;
}
.testi-body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.testi-body blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.4rem);
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
.testi-name {
  font-family: var(--hand);
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.testi-body .txtlink { font-size: 0.9rem; }
@media (max-width: 620px) {
  .testi-card {
    flex-direction: column;
    align-items: flex-start;
    margin-inline: auto;
    transform: rotate(-1deg);
  }
  .testi-photo { width: 132px; height: 158px; }
}

/* ---------- Invite ---------- */
.invite { text-align: center; }
.invite .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.invite .sea-figure { margin-bottom: 0.6rem; }
.invite h2 { margin: 0; }
.invite p { max-width: 30em; margin: 0; }
.invite .btn { margin-bottom: 0.4rem; }
/* Ermgards Notiz hängt dicht unter dem Button – wie eine leise Antwort,
   nicht als eigener Block, der allein im Raum steht. */
.invite .eg { text-align: left; margin: 0; max-width: 430px; transform: rotate(-1deg); }

/* ---------- Footer ---------- */
.foot { background: var(--forest); color: var(--cream-soft); padding-block: 2.6rem; position: relative; z-index: 1; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline; justify-content: space-between; }
.foot-note { font-size: 0.8rem; line-height: 1.6; max-width: 46ch; margin-bottom: 0; }
.foot-credit { display: block; margin-top: 0.5rem; opacity: 0.65; }
.foot-links { display: flex; gap: 1.4rem; }
.foot-links a { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-soft); text-decoration: none; }
.foot-links a:hover { color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 320px; margin-inline: auto; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 300px; }
}

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .fade { animation: soft-in 0.9s ease both; }
  .hero .hero-portrait { animation-delay: 0.12s; }
  @keyframes soft-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

  /* Ermgard-Auftritt in Etappen (per JS gesteuert):
     1) die ganze Figur läuft von links herein
     2) sie bleibt stehen und schaut dich an
     3) ihr Text erscheint — als würde sie sprechen
     4) sie wird zum runden Bild und bleibt so stehen
     Ohne JS / bei reduzierter Bewegung: sofort rundes Bild + Text sichtbar. */
  .eg .eg-face {
    will-change: transform;
    transition: width .5s cubic-bezier(.4,0,.2,1), height .5s cubic-bezier(.4,0,.2,1),
                border-radius .45s ease, object-position .5s ease, box-shadow .45s ease;
  }
  .eg.seq .eg-face {
    width: 84px;
    height: 118px;
    border-radius: 0;
    object-position: 50% 46%;
    box-shadow: 0 0 0 0 rgba(244,241,234,0), 0 0 0 0 rgba(38,40,55,0);
    filter: drop-shadow(0 7px 4px rgba(38,40,55,0.16));
  }
  .eg.seq.seq-walk .eg-face { animation: eg-walk 1.1s cubic-bezier(.32,.1,.2,1) both; }
  @keyframes eg-walk {
    0%   { transform: translateX(-132px) translateY(0)    rotate(0deg); }
    8%   { transform: translateX(-118px) translateY(-7px) rotate(-7deg); }
    20%  { transform: translateX(-94px)  translateY(0)    rotate(6deg); }
    32%  { transform: translateX(-72px)  translateY(-7px) rotate(-6deg); }
    44%  { transform: translateX(-52px)  translateY(0)    rotate(5deg); }
    56%  { transform: translateX(-34px)  translateY(-5px) rotate(-4deg); }
    68%  { transform: translateX(-20px)  translateY(0)    rotate(3deg); }
    80%  { transform: translateX(-9px)   translateY(-3px) rotate(-2deg); }
    90%  { transform: translateX(-2px)   translateY(0)    rotate(1deg); }
    100% { transform: translateX(0)      translateY(0)    rotate(0deg); }
  }
}

/* ============================================================
   Innenseiten — gemeinsame Bausteine
   ============================================================ */

/* einfacher Seitenkopf ohne Portrait-Raster */
.page-hero { padding-block: clamp(2.6rem, 6vw, 4.4rem) clamp(2rem, 4vw, 3rem); }
.page-hero .lead { margin-top: 1rem; }
.page-hero .lead:first-of-type { margin-top: 0.4rem; }

.subnav-back { max-width: var(--wrap); margin: 0 auto; padding: 0.9rem clamp(1.25rem, 5vw, 3rem) 0; }
.subnav-back a {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-soft); text-decoration: none;
}
.subnav-back a:hover { color: var(--teal); }

.eyebrow-meta {
  font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft);
  letter-spacing: 0.01em; margin-bottom: 1.4rem;
}
.s-deep .eyebrow-meta { color: var(--cream-soft); }

/* Wegweiser (Angebot-Übersicht) */
.offer-map { display: grid; gap: 1rem; margin-top: 2rem; }
.offer-map-row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.6rem 1.4rem;
  padding: 1.2rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px 14px 5px 12px;
  text-decoration: none; color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.offer-map-row:hover { transform: translateY(-2px); box-shadow: 0 16px 26px -18px rgba(38,40,55,0.4); border-color: var(--sage); }
.offer-map-q { font-family: var(--serif); font-size: 1.08rem; line-height: 1.4; max-width: 40ch; }
.offer-map-a { font-family: var(--hand); font-size: 1.25rem; color: var(--teal); white-space: nowrap; }

/* cal.com — erst auf Klick */
.cal-embed { margin: 2.2rem 0; }
.cal-embed-label {
  display: block; font-family: var(--hand); font-size: 1.15rem; color: var(--teal);
  margin-bottom: 0.6rem; transform: rotate(-1deg);
}
.s-deep .cal-embed-label { color: var(--blush); }
.cal-inline { min-height: 0; }
.cal-inline:not(:empty) { min-height: 520px; }
.cal-load {
  display: block; width: 100%;
  padding: 1.1rem 1.4rem;
  background: var(--paper-2);
  border: 1px dashed var(--sage);
  border-radius: 4px;
  font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft);
  text-align: center; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.cal-load:hover { background: var(--sand); color: var(--ink); }
.cal-load strong { display: block; font-size: 1rem; color: var(--teal); margin-bottom: 0.2rem; }

/* nummerierte Phasen */
.phases { list-style: none; counter-reset: phase; display: grid; gap: 1.1rem; margin: 2rem 0; }
.phases li {
  counter-increment: phase;
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 0 1rem;
  align-items: start;
}
.phases li::before {
  content: counter(phase);
  font-family: var(--hand); font-size: 1.7rem; color: var(--teal); line-height: 1;
}
.s-deep .phases li::before { color: var(--blush); }
.phases h3 { margin-bottom: 0.2rem; }
.phases p { margin: 0; color: var(--ink-soft); }
.s-deep .phases p { color: var(--cream-soft); }

/* Zustände ("Wo bist du gerade?") */
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin: 2.2rem 0 1rem; }
.states .state { border-top: 2px solid var(--sage); padding-top: 1rem; }
.states .state h3 { margin-bottom: 0.4rem; }
.states .state p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.states .state .need { font-family: var(--serif); font-style: italic; color: var(--ink); }
.states-foot { max-width: 52ch; margin-top: 1.6rem; color: var(--ink-soft); }
@media (max-width: 760px) { .states { grid-template-columns: 1fr; } }

/* Ermgards sechs Stimmen */
.eg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin: 2.2rem 0; }
.eg-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px 14px 5px 12px; padding: 1.3rem 1.4rem;
}
.eg-card-num { font-family: var(--hand); font-size: 1.3rem; color: var(--sage); }
.eg-card h3 { display: inline; margin-left: 0.5rem; }
.eg-card-quote { font-family: var(--hand); font-size: 1.12rem; line-height: 1.45; color: var(--ink); margin: 0.7rem 0 0.6rem; }
.eg-card-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) { .eg-cards { grid-template-columns: 1fr; } }

/* aufklappbare Sätze */
.reveal { margin: 2rem 0; border-top: 1px solid var(--line); }
.reveal-item { border-bottom: 1px solid var(--line); }
.reveal-head {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; gap: 1rem; align-items: baseline; justify-content: space-between;
  padding: 1.1rem 0.2rem;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.15rem);
  color: var(--ink); line-height: 1.4;
}
.reveal-head:hover { color: var(--teal); }
.reveal-sign { font-family: var(--sans); font-style: normal; font-size: 1.3rem; color: var(--teal); flex: none; line-height: 1; }
.reveal-body { padding: 0 0.2rem 1.3rem; }
.reveal-body p { margin-bottom: 0.7rem; }
.reveal-body p:last-child { margin-bottom: 0; }
.reveal-body strong { color: var(--teal); }

/* Stimmen */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; margin: 2.4rem 0 1rem; }
.voice-card {
  position: relative; text-align: left; width: 100%;
  background: none; border: 0; cursor: pointer;
  padding: 22px 24px 24px;
}
.voice-card::before {
  content: ""; position: absolute; inset: 0; background: var(--sand);
  filter: url(#torn-edge) drop-shadow(0 14px 20px rgba(38,40,55,0.35)); z-index: 0;
}
.voice-card:nth-child(even)::before { background: var(--paper-2); }
.voice-card > * { position: relative; z-index: 1; }
.voice-card blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem); line-height: 1.45; color: var(--ink); margin: 0;
}
.voice-name { font-family: var(--hand); font-size: 1.25rem; color: var(--teal); margin-top: 0.8rem; display: block; }
.voice-hint { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--ink-soft); margin-top: 0.3rem; display: block; }
.voice-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 0.8rem; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line); }
.voice-play {
  width: 84px; height: 84px; border-radius: 50%;
  margin-bottom: 0.8rem; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--line);
}
.voice-play::before {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 12px 0 12px 19px;
  border-color: transparent transparent transparent var(--paper);
}
@media (max-width: 640px) { .voices { grid-template-columns: 1fr; } }

.setback {
  border-left: 3px solid var(--sage); padding: 0.4rem 0 0.4rem 1.2rem; margin: 2rem 0;
}
.setback .label { font-family: var(--hand); font-size: 1.15rem; color: var(--teal); display: block; margin-bottom: 0.4rem; }
.setback blockquote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--ink); margin: 0 0 0.4rem; }
.setback .attr { font-size: 0.85rem; color: var(--ink-soft); }

/* Foto-Streifen (Bewusstseinskreis) */
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem; margin: 2.2rem 0; }
.photo-strip img { width: 100%; height: 200px; object-fit: cover; border-radius: 3px 10px 3px 10px; box-shadow: 0 12px 20px -14px rgba(38,40,55,0.4); }

/* klickbare Foto-Marquee (Bewusstseinskreis) */
.photo-marquee-hint { margin-top: -1.4rem; font-size: 0.85rem; color: var(--ink-soft); }
.photo-marquee .marquee-photo-btn {
  flex: none; display: block; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in;
}
.photo-marquee img {
  height: 230px; width: auto; flex: none;
  border-radius: 3px 12px 3px 12px;
  box-shadow: 0 14px 22px -14px rgba(38,40,55,0.4);
  transform: rotate(-1deg);
  transition: transform .2s ease;
}
.photo-marquee .marquee-photo-btn:nth-child(even) img { transform: rotate(1.2deg); }
.photo-marquee .marquee-photo-btn:hover img,
.photo-marquee .marquee-photo-btn:focus-visible img { transform: scale(1.04) rotate(0deg); }
.photo-marquee .marquee-photo-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px 12px 3px 12px; }

/* fortlaufender Bilderstreifen ("in echt") */
.marquee {
  overflow: hidden; position: relative; margin: 2rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: flex; gap: 1rem; width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee img {
  height: 230px; width: auto; flex: none;
  border-radius: 3px 12px 3px 12px;
  box-shadow: 0 14px 22px -14px rgba(38,40,55,0.4);
  transform: rotate(-1deg);
}
.marquee img:nth-child(even) { transform: rotate(1.2deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(30,34,32,0.75); }
.lightbox-panel {
  position: relative; z-index: 1; background: var(--paper); color: var(--ink);
  max-width: 560px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: 1.6rem; border-radius: 4px 16px 5px 14px;
}
.lightbox-panel-wide { max-width: 760px; }
.lightbox-close { position: absolute; top: 0.5rem; right: 0.7rem; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.lightbox-close:hover { color: var(--teal); }
.lightbox-panel img { width: 100%; border-radius: 3px; margin-bottom: 0.8rem; }
.lightbox-caption { font-size: 0.85rem; color: var(--ink-soft); }
.lightbox-panel audio { width: 100%; margin: 0.6rem 0; }
.transcript { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.8rem; }
.transcript p { margin-bottom: 0.7rem; }
.transcript-toggle { background: none; border: 0; color: var(--teal); font-family: var(--sans); font-size: 0.85rem; cursor: pointer; padding: 0.3rem 0; }

/* Formulare */
.form { max-width: 520px; margin-top: 2rem; display: grid; gap: 1.1rem; }
.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.form-field .optional { text-transform: none; letter-spacing: 0; opacity: 0.8; }
.form input, .form textarea {
  font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 0.7rem 0.8rem; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form textarea { min-height: 120px; resize: vertical; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }
.form-consent input { width: auto; margin-top: 0.2rem; flex: none; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.9rem; margin: 0; }
.form-status[hidden] { display: none; }
.form-status.ok { color: var(--forest); }
.form-status.err { color: #9c3b30; }
.form-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.form-row input { flex: 1 1 220px; }

.booking { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.booking a {
  display: grid; gap: 0.2rem; padding: 1rem 1.6rem; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px 12px 4px 12px; color: var(--ink);
  transition: transform .2s ease, border-color .2s ease;
}
.booking a:hover { transform: translateY(-2px); border-color: var(--sage); }
.booking .dur { font-family: var(--serif); font-size: 1.15rem; color: var(--teal); }
.booking .price { font-family: var(--hand); font-size: 1.2rem; }

/* Rechtstexte */
.legal { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 0.96rem; line-height: 1.7; }
.legal ul { margin: 0.6rem 0 1rem 1.2rem; }
.legal a { color: var(--teal); }
.legal-note {
  background: var(--paper-2); border-left: 3px solid var(--sand);
  padding: 1rem 1.2rem; margin: 1.4rem 0; font-size: 0.9rem; color: var(--ink-soft); border-radius: 3px;
}
.legal-note.small { font-size: 0.84rem; }
.placeholder { background: rgba(232,206,147,0.5); padding: 0 0.2rem; border-radius: 2px; }

