/* Supplemental overrides — loaded after inline styles in index.html */

:root {
  /* Animated handwritten underlines — brand terracotta accent */
  --underline-color: var(--terracotta);
}

/* Text color utilities */
.text-terracotta {
  color: var(--terracotta);
}

.text-olive {
  color: var(--olive);
}

.text-deep-sea {
  color: var(--deep-sea);
}

/* Scrollbar — brand terracotta thumb (Firefox + Chromium/WebKit) */
html {
  scrollbar-color: var(--terracotta, #c97b5c) var(--sand-tint, #f2ebe0);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-track {
  background: var(--sand-tint, #f2ebe0);
}

::-webkit-scrollbar-thumb {
  background: var(--terracotta, #c97b5c);
  border-radius: 999px;
  border: 3px solid var(--sand-tint, #f2ebe0);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--terracotta-dark, #a05e45);
}

::-webkit-scrollbar-corner {
  background: var(--sand-tint, #f2ebe0);
}

/* --- Header: fixed + glass on scroll (logo / link sizes stay constant) --- */
#nav.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 400ms var(--ease-q, ease),
    backdrop-filter 400ms var(--ease-q, ease),
    border-color 400ms var(--ease-q, ease);
}

#nav.nav .nav-start {
  display: contents;
}

#nav.nav.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}

/* Logo + tilde: single baseline row on desktop */
#nav.nav a.logo {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 22px;
  font-weight: 350;
  color: var(--deep-sea);
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

#nav.nav a.logo .logo-word {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Tilde knot optically centered between word-mark and “by Sarah” */
#nav.nav a.logo .nav-knot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0.02em;
  margin: 0 0.18em;
}

#nav.nav a.logo em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}

#nav.nav .nav-mid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 28px;
  min-width: 0;
}

#nav.nav .nav-mid a {
  font-family: var(--font-body, "Geist", sans-serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

#nav.nav .nav-mid a:hover {
  color: var(--deep-sea);
}

#nav.nav .nav-mid a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

#nav.nav .nav-mid a:hover::after {
  width: 100%;
}

#nav.nav .nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

#nav.nav .lang-switch {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

#nav.nav .lang-link {
  font-family: var(--font-body, "Geist", sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive, #6b7355);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

#nav.nav .lang-link:hover {
  color: var(--deep-sea, #1f3a3a);
}

#nav.nav .lang-link.active {
  color: var(--terracotta, #c97b5c);
  font-weight: 600;
}

#nav.nav .lang-sep {
  color: var(--olive, #6b7355);
  opacity: 0.35;
  font-size: 12px;
  user-select: none;
}

#nav.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--deep-sea);
  color: var(--lime-white);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  transition:
    background 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  flex-shrink: 0;
  white-space: nowrap;
  text-align: center;
}

#nav.nav .nav-cta::after {
  content: "→";
  font-size: 13px;
  transition: transform 200ms var(--ease-q, ease);
}

@media (hover: hover) {
  #nav.nav .nav-cta:hover {
    background: var(--deep-sea-light);
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--deep-sea) 15%, transparent);
  }

  #nav.nav .nav-cta:hover::after {
    transform: translateX(3px);
  }
}

@media (max-width: 900px) {
  /* Sticky bar + Safe-Area — gleiche Padding-Höhe mit/ohne .scrolled */
  #nav.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    transition:
      background 400ms var(--ease-q, ease),
      backdrop-filter 400ms var(--ease-q, ease),
      border-color 400ms var(--ease-q, ease);
  }

  /* Mittlere Nav (#about, #process, …): nur Desktop — nicht auf schmalen Viewports */
  #nav.nav .nav-mid {
    display: none !important;
  }

  /* Sprache: ein DOM wie Desktop; Trennpunkte nur per Layout ausblenden */
  #nav.nav .lang-sep {
    display: none;
  }

  #nav.nav .lang-switch {
    gap: 4px;
    flex-shrink: 0;
  }

  #nav.nav .lang-link {
    font-size: 10px;
    padding: 4px 6px;
    border-radius: 4px;
    letter-spacing: 0.06em;
  }

  #nav.nav .lang-link:hover,
  #nav.nav .lang-link.active {
    background: rgba(107, 115, 85, 0.08);
    color: var(--terracotta, #c97b5c);
  }

  /* Logo: eine Zeile wie Desktop, kompakter — mehr Raum für Nav-Scroll */
  #nav.nav a.logo {
    flex-direction: row;
    align-items: baseline;
    align-self: center;
    line-height: 1.05;
    gap: 0.15em;
    font-size: 16px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(36vw, 168px);
  }

  #nav.nav a.logo .logo-word .nav-knot {
    top: 0.03em;
    margin: 0 0.12em;
  }

  #nav.nav a.logo em {
    display: inline;
    font-size: 12px;
    font-weight: 300;
    margin: 0;
    white-space: nowrap;
  }

  #nav.nav .nav-right {
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    min-width: 0;
    flex: 0 0 auto;
    max-width: none;
  }

  /* Long nav.cta (e.g. ES): keep one line — shrink type instead of wrapping */
  #nav.nav .nav-cta {
    flex: 0 1 auto;
    min-width: 0;
    min-height: unset;
    padding: 7px 10px;
    font-size: clamp(8px, 2.65vw, 10px);
    letter-spacing: 0.055em;
    line-height: 1.2;
    white-space: nowrap;
  }

  #nav.nav .nav-cta::after {
    font-size: 11px;
    flex-shrink: 0;
  }

  body[data-lang="es"] #nav.nav .nav-cta {
    font-size: clamp(7px, 2.45vw, 9px);
    letter-spacing: 0.04em;
    padding: 7px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nav.nav .nav-mid a::after {
    transition: none;
  }

  #nav.nav .nav-cta:hover {
    transform: none;
    box-shadow: none;
  }
}

/* --- #about: portrait left + rounded frame --- */
#about .about-grid,
#about .s-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#about .about-image,
#about .img-portrait {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3.8 / 5;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(31, 58, 58, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

@media (hover: hover) {
  #about .about-image:hover,
  #about .img-portrait:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(31, 58, 58, 0.18);
  }
}

#about .about-image img,
#about .img-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@media (max-width: 1100px) {
  #about .about-grid,
  #about .s-grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 60px;
  }

  #about .about-image,
  #about .img-portrait {
    max-width: 300px;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 900px) {
  #about .about-grid,
  #about .s-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  #about .about-image,
  #about .img-portrait {
    max-width: 240px;
    aspect-ratio: 4 / 5;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #about .about-image:hover,
  #about .img-portrait:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(31, 58, 58, 0.12);
  }
}

/* --- #locations: horizontal masonry grid --- */
#locations.s.loc-bg,
#locations {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

@media (max-width: 900px) {
  #locations {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

#locations .locations-grid,
#locations .loc-grid,
#locations .locations-container {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px;
  max-width: 1400px;
  margin: 60px auto 0;
  align-items: stretch;
}

#locations .location-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(31, 58, 58, 0.1);
}

#locations .location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 58, 58, 0.15);
}

#locations .location-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

#locations .location-card:hover > img {
  transform: scale(1.05);
}

#locations .location-overlay,
#locations .loc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 36, 36, 0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--lime-white, #faf7f2);
  z-index: 1;
}

#locations .location-icon,
#locations .loc-icon {
  display: none !important;
}

#locations .location-title,
#locations .loc-title,
#locations .location-card h3 {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 20px;
  font-weight: 350;
  color: var(--lime-white, #faf7f2);
  margin: 0 0 4px;
  line-height: 1.2;
}

#locations .location-subtitle,
#locations .loc-subtitle,
#locations .location-card .location-overlay p {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand, #e8ddd0);
  opacity: 0.9;
  margin: 0;
}

@media (max-width: 900px) {
  #locations .locations-grid,
  #locations .loc-grid,
  #locations .locations-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  #locations .locations-grid,
  #locations .loc-grid,
  #locations .locations-container {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #locations .location-card,
  #locations .location-card:hover,
  #locations .location-card > img,
  #locations .location-card:hover > img {
    transition: none;
    transform: none;
  }
}

/* Section lead (alias of .lead — Kontakt CTA body copy) */
.s-head .s-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.85;
  margin-top: 24px;
  max-width: 600px;
}

@media (max-width: 900px) {
  .s-head .s-lead {
    font-size: 16px;
  }
}

/* --- #faq: centered column — matches reading width, avoids empty space on the right --- */
#faq .wrap {
  max-width: 900px;
}

#faq .faq-list {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 899px) {
  #faq .wrap,
  #faq .faq-list {
    max-width: 100%;
  }
}

/* --- #kontakt: LunaCal compact spacing --- */
#kontakt,
#kontakt.contact-bg,
section#kontakt {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

#kontakt .s-head,
#kontakt .contact-intro {
  margin-bottom: 32px !important;
}

#kontakt .lunacal-embed,
#kontakt .calendar-container,
#kontakt .contact-luna-wrap,
#kontakt .cal-embed,
#kontakt iframe[src*="lunacal"],
#kontakt iframe[src*="cal"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

#kontakt .lunacal-frame,
#kontakt .lunacal-inline-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#kontakt .s-body,
#kontakt .contact-body,
#kontakt .wrap > div {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#kontakt .wrap,
#kontakt .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#kontakt .s-head + *,
#kontakt .contact-intro + * {
  margin-top: 32px !important;
}

#kontakt .contact-info,
#kontakt .contact-info-grid {
  margin-top: 40px !important;
}

#kontakt iframe + *,
#kontakt .lunacal-embed + *,
#kontakt .calendar-container + *,
#kontakt .contact-luna-wrap + * {
  margin-top: 24px !important;
}

#kontakt .contact-stack {
  gap: 24px !important;
}

/* Desktop: weniger Luft unter dem LunaCal-Embed (kein gap + extra margins) */
@media (min-width: 901px) {
  #kontakt .contact-stack {
    gap: 10px !important;
  }

  #kontakt .contact-info-grid {
    margin-top: 0 !important;
  }

  #kontakt .contact-luna-wrap + *,
  #kontakt .lunacal-embed + *,
  #kontakt .calendar-container + * {
    margin-top: 0 !important;
  }

  #kontakt .lunacal-frame,
  #kontakt #lunacal-widget {
    min-height: 540px !important;
  }
}

/* --- Issue 4: Contact labels / response --- */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-6);
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (max-width: 720px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive, #6b7355);
  font-weight: 500;
  margin-bottom: 8px;
  font-family: var(--font-body, "Geist", sans-serif);
}

.response-time {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta, #c97b5c);
  font-weight: 500;
  font-family: var(--font-body, "Geist", sans-serif);
  line-height: 1.4;
  margin-top: 0;
}

/* --- Issue 5: Process timeline --- */
#process .timeline-line-svg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
}

/* Mobile-only vertical rail (hidden on desktop) */
#process .timeline-vertical-rail {
  display: none;
}

#process .timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 40px;
}

#process .timeline-svg-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  z-index: 1;
}

#timeline-path {
  stroke: var(--deep-sea, #1f3a3a);
  stroke-width: 1;
  fill: none;
  opacity: 0.3;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2s cubic-bezier(0.33, 1, 0.68, 1);
}

#timeline-path.draw-line {
  stroke-dashoffset: 0;
}

#timeline-path-vertical {
  stroke: var(--deep-sea, #1f3a3a);
  stroke-width: 1;
  fill: none;
  opacity: 0.3;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2s cubic-bezier(0.33, 1, 0.68, 1);
}

#timeline-path-vertical.draw-line {
  stroke-dashoffset: 0;
}

#process .timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  padding-top: 60px;
}

#process .timeline-steps .step {
  position: relative;
  text-align: center;
  padding-top: 0;
  border-top: none;
  margin-top: 0;
}

/* Dots: geometric center on horizontal path (y = 30px from timeline top); path passes column centers */
.step-dot,
#process .step-dot,
.timeline-steps .step-dot {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--deep-sea, #1f3a3a);
  border-radius: 50%;
  z-index: 2;
  opacity: 0;
  transition:
    opacity 0.4s ease 0.8s,
    transform 0.4s ease 0.8s;
}

.step-dot.active,
#process .step-dot.active,
#process .step:last-child .step-dot {
  background: var(--terracotta, #c97b5c);
  width: 14px;
  height: 14px;
  top: -37px;
}

#process .step-dot.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

#process .step-number {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive, #6b7355);
  margin-bottom: 12px;
  font-weight: 500;
}

#process .step-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 28px;
  line-height: 1.1;
  color: var(--deep-sea, #1f3a3a);
  margin-bottom: 8px;
  font-weight: 350;
}

#process .step-subtitle {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: 16px;
  font-style: italic;
  color: var(--terracotta, #c97b5c);
  margin-bottom: 16px;
  font-weight: 300;
}

#process .step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink, #1a2424);
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  #timeline-path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }

  #timeline-path.draw-line {
    stroke-dashoffset: 0 !important;
  }

  #timeline-path-vertical {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }

  #timeline-path-vertical.draw-line {
    stroke-dashoffset: 0 !important;
  }

  #process .step-dot {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@media (max-width: 900px) {
  #process .timeline-line-svg-container {
    display: none;
  }

  #process .timeline-svg-line {
    display: none;
  }

  #process .timeline-steps {
    grid-template-columns: 1fr;
    gap: 0;
    row-gap: 48px;
    padding-top: 0;
    padding-left: 36px;
    margin-top: 40px;
  }

  /* Vertical stroke along left rail (desktop horizontal SVG hidden above) */
  #process .timeline-vertical-rail {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 1;
    pointer-events: none;
  }

  #process .timeline-svg-line-vertical {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* Dot centers sit on x=12 in the 24px-wide rail (same as SVG path) */
  #process .step-dot {
    position: absolute;
    top: 10px;
    left: -24px;
    transform: translateX(-50%);
    margin: 0;
    opacity: 1;
    z-index: 2;
  }

  #process .step-dot.active,
  #process .step:last-child .step-dot {
    left: -24px;
    transform: translateX(-50%);
  }

  #process .step-dot.show {
    transform: translateX(-50%) scale(1);
  }

  #process .timeline-steps .step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
    border-left: none;
  }
}

/* =============================================================================
   Premium polish: grain, type,
   timeline hover, cursor (fine pointers), print
   ============================================================================= */

/* Grain — fixed noise layer under content */
body.has-grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.43;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

@keyframes grain-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2%, 2%);
  }
}

/* Desktop: Layer übersteht grain-shift (translate), dadurch kein Weiß am Rand */
@media (min-width: 1025px) {
  body.has-grain::before {
    inset: auto;
    top: -10vh;
    left: -10vw;
    right: -10vw;
    bottom: -10vh;
    width: auto;
    height: auto;
    transform-origin: center center;
    /* Feste Kachelgröße + repeat: scharf wie früher (cover würde eine Fliese überziehen → unscharf) */
    background-size: 200px 200px;
    background-repeat: repeat;
    background-position: center center;
    animation: grain-shift 8s ease-in-out infinite alternate;
  }
}

/* Mobil / Tablet: kein Grain (Performance, weniger Noise in der Brand-Voice) */
@media (max-width: 1024px) {
  html {
    min-height: 100%;
    min-height: -webkit-fill-available;
  }

  body.has-grain::before {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-grain::before {
    animation: none;
    transform: none;
  }
}

/* Vignette — nur Desktop (≥1025px); Tablet & Mobil ohne Randabdunkelung */
@media (max-width: 1024px) {
  body.has-grain::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }
}

@media (min-width: 1025px) {
  body.has-grain::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
      circle at 50% 50%,
      transparent 40%,
      rgba(26, 36, 36, 0.08) 100%
    );
  }
}

/* Leselänge */
.s-text p,
#about .lead p,
.step-desc,
.s-lead {
  max-width: 65ch;
}

.s-head > .lead {
  max-width: 60ch;
}

/* Timeline hover (desktop-friendly) */
@media (hover: hover) {
  #process .timeline-steps .step {
    transition: transform 0.3s ease;
  }

  #process .timeline-steps .step:hover {
    transform: translateY(-4px);
  }

  #process .timeline-steps .step:hover .step-dot.show {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 4px 12px rgba(31, 58, 58, 0.22);
  }

  #process .timeline-container:hover .timeline-line {
    opacity: 0.48 !important;
  }

  #process .timeline-container:hover #timeline-path {
    stroke-width: 1.5px;
  }
}

html {
  scroll-padding-top: 100px;
}

@media (pointer: fine) {
  body.has-grain {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23C97B5C'/%3E%3C/svg%3E")
        12 12,
      auto;
  }

  body.has-grain a,
  body.has-grain button,
  body.has-grain .nav-cta,
  body.has-grain .btn-hero {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 12 Q 8 6 12 12 T 20 12' stroke='%23C97B5C' stroke-width='2' fill='none'/%3E%3Ccircle cx='4' cy='12' r='2' fill='%231F3A3A'/%3E%3Ccircle cx='20' cy='12' r='2' fill='%231F3A3A'/%3E%3C/svg%3E")
        12 12,
      pointer;
  }
}

@media print {
  nav,
  .nav-cta,
  .btn-hero,
  body.has-grain::before,
  body.has-grain::after {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
    color: #111 !important;
  }

  section {
    page-break-inside: avoid;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .scroll-indicator,
  .back-to-top,
  .voice-sample-btn {
    display: none !important;
  }
}

/* =============================================================================
   Premium UI — scroll spy nav hint, scroll hint, steps, back-to-top
   ============================================================================= */

#nav.nav .nav-mid a.active {
  color: var(--deep-sea, #1f3a3a);
}

#nav.nav .nav-mid a.active::after {
  width: 100%;
}

/* Scroll hint — hero bottom */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 2;
  animation: bb-scroll-hint-bounce 2.2s ease-in-out infinite;
  transition: opacity 0.35s ease;
}

#nav.nav.scrolled ~ #hero .scroll-indicator {
  opacity: 0;
}

.scroll-indicator .scroll-text {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive, #6b7355);
  font-weight: 500;
}

.scroll-indicator .scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--olive, #6b7355);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--terracotta, #c97b5c);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: bb-scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes bb-scroll-hint-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes bb-scroll-wheel {
  0% {
    opacity: 1;
    top: 8px;
  }

  100% {
    opacity: 0;
    top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator,
  .scroll-indicator .scroll-wheel {
    animation: none !important;
  }

  #nav.nav.scrolled ~ #hero .scroll-indicator {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .scroll-indicator {
    bottom: 20px;
  }
}

/* Process — expandable details */
.step-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line, rgba(31, 58, 58, 0.2));
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive, #6b7355);
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

@media (hover: hover) {
  .step-expand-btn:hover {
    background: rgba(107, 115, 85, 0.06);
    border-color: var(--olive, #6b7355);
  }
}

.step-expand-btn .expand-icon {
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

.step-expand-btn.active .expand-icon {
  transform: rotate(45deg);
}

.step-details {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    margin-top 0.35s ease;
  margin-top: 0;
}

.step-details.active {
  max-height: 280px;
  margin-top: 12px;
}

.step-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-details-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink, #1a2424);
  opacity: 0.88;
}

.step-details-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--terracotta, #c97b5c);
}

@media (prefers-reduced-motion: reduce) {
  .step-details {
    transition: none;
  }
}

/* Popular choice ribbon — middle package (Beliebt corner label removed) */
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--terracotta, #c97b5c);
  color: var(--lime-white, #faf7f2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(201, 123, 92, 0.3);
  z-index: 2;
  white-space: nowrap;
}

.popular-badge .badge-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.package-card.recommended,
.pkg.featured.recommended {
  border: 2px solid var(--terracotta, #c97b5c);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(201, 123, 92, 0.15);
}

@media (hover: hover) {
  .package-card.recommended:hover,
  .pkg.featured.recommended:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(201, 123, 92, 0.22);
  }
}

@media (max-width: 900px) {
  .package-card.recommended,
  .pkg.featured.recommended {
    transform: scale(1);
  }

  .popular-badge {
    font-size: 10px;
    padding: 6px 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .popular-badge .badge-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .package-card.recommended,
  .pkg.featured.recommended {
    transform: scale(1);
  }

  .package-card.recommended:hover,
  .pkg.featured.recommended:hover {
    transform: none;
  }
}

.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--deep-sea, #1f3a3a);
  color: var(--lime-white, #faf7f2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(31, 58, 58, 0.22);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) {
  .back-to-top:hover {
    background: var(--terracotta, #c97b5c);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(201, 123, 92, 0.35);
  }
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .back-to-top {
    bottom: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .back-to-top:hover {
    transform: none;
  }
}

/* =============================================================================
   Voice sample — iPhone-style glass morph play button (optional markup)
   ============================================================================= */

.voice-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px 16px 76px;

  /* Glass morphism base */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);

  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(31, 58, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);

  border-radius: 999px;
  color: var(--deep-sea, #1f3a3a);
  font-family: var(--font-body, "Geist", sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

@media (hover: hover) {
  .voice-sample-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
      0 12px 40px rgba(31, 58, 58, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  }
}

.voice-sample-btn:active {
  transform: scale(0.98);
  box-shadow:
    0 4px 16px rgba(31, 58, 58, 0.08),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Glass orb behind play glyph */
.voice-sample-btn::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 4px 12px rgba(31, 58, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) {
  .voice-sample-btn:hover::before {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
    box-shadow:
      0 6px 16px rgba(31, 58, 58, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }
}

/* Lens highlight */
.voice-sample-btn::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .voice-sample-btn:hover::after {
    opacity: 0.8;
  }
}

.voice-sample-btn .play-icon {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 2;
  margin-left: 0;
  flex-shrink: 0;
  fill: var(--deep-sea, #1f3a3a);
  color: var(--deep-sea, #1f3a3a);
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5));
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .voice-sample-btn:hover .play-icon {
    fill: var(--terracotta, #c97b5c);
    color: var(--terracotta, #c97b5c);
    filter: drop-shadow(0 2px 4px rgba(201, 123, 92, 0.3));
    transform: scale(1.1);
  }
}

.voice-sample-btn .btn-text,
.voice-sample-btn .play-text {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .voice-sample-btn,
  .voice-sample-btn::before,
  .voice-sample-btn::after,
  .voice-sample-btn .play-icon {
    transition: none !important;
  }

  .voice-sample-btn:hover,
  .voice-sample-btn:active,
  .voice-sample-btn:hover::before {
    transform: none !important;
  }

  .voice-sample-btn::before {
    transform: translateY(-50%) !important;
  }
}

@media (max-width: 900px) {
  .voice-sample-btn {
    padding: 14px 28px 14px 68px;
  }

  .voice-sample-btn::before,
  .voice-sample-btn::after {
    width: 44px;
    height: 44px;
    left: 14px;
  }

  .voice-sample-btn .play-icon {
    width: 22px;
    height: 22px;
  }
}

/* ============================================================
   Hero — animated handwritten underline (tagline accent word)
   ============================================================ */
.underline-wrapper {
  position: relative;
  display: inline-block;
  font-weight: inherit;
}

.underline-text {
  position: relative;
  z-index: 2;
  font-weight: inherit;
  font-style: italic;
}

.underline-svg {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s var(--ease-q, cubic-bezier(0.22, 0.61, 0.36, 1)),
    transform 0.6s var(--ease-q, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.underline-svg path {
  fill: none;
  stroke: var(--underline-color);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.underline-wrapper.active .underline-svg {
  opacity: 1;
  transform: translateY(0);
}

.underline-wrapper.active .underline-svg path {
  stroke-dashoffset: 0;
}

@media (max-width: 900px) {
  .underline-svg {
    bottom: -8px;
  }

  .underline-svg path {
    stroke-width: 6px;
  }
}

/* Über Sarah headline accent (“Dann geschrieben” / EN / ES): thinner stroke + sits slightly lower — stroke tuned toward hero tagline weight */
section#about.about-bg .about-text h2 .underline-wrapper .underline-svg {
  bottom: -16px;
}

section#about.about-bg .about-text h2 .underline-wrapper .underline-svg path {
  stroke-width: 5px;
}

@media (max-width: 900px) {
  section#about.about-bg .about-text h2 .underline-wrapper .underline-svg {
    bottom: -12px;
  }

  section#about.about-bg .about-text h2 .underline-wrapper .underline-svg path {
    stroke-width: 4px;
  }
}

/* Kontakt (“euch”) & Pakete (“eure”) — underline very close to the word */
section#kontakt .underline-wrapper .underline-svg,
section#pakete .underline-wrapper .underline-svg {
  bottom: -4px;
}

@media (max-width: 900px) {
  section#kontakt .underline-wrapper .underline-svg,
  section#pakete .underline-wrapper .underline-svg {
    bottom: -3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .underline-svg {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .underline-svg path {
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* ============================================================
   Section headlines — Fraunces parity (pillars .s-head vs about .about-text)
   Overrides inline index.html rules via higher specificity. Italic accents stay terracotta.
   ============================================================ */
.s-title,
h2.s-title {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 350;
  letter-spacing: -0.03em;
  color: var(--deep-sea);
  font-variation-settings: "opsz" 144, "wght" 350;
}

.s-title em {
  font-style: italic;
  font-weight: 350;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "wght" 350;
}

section.s .s-head > h2 {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--deep-sea);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "wght" 350;
}

section.contact-bg .s-head > h2 {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--deep-sea);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "wght" 350;
}

section.s .s-head > h2 em {
  font-style: italic;
  font-weight: 350;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "wght" 350;
}

section.contact-bg .s-head > h2 em {
  font-style: italic;
  font-weight: 350;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "wght" 350;
}

section.s .s-head > h2 .underline-wrapper,
section.contact-bg .s-head > h2 .underline-wrapper,
section.about-bg .about-text h2 .underline-wrapper {
  font-weight: inherit;
}

section.about-bg .about-text > h2 {
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--deep-sea);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "wght" 350;
}

section.about-bg .about-text > h2 em {
  font-style: italic;
  font-weight: 350;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "wght" 350;
}

@media (max-width: 900px) {
  .s-title em,
  section.s .s-head > h2 em,
  section.contact-bg .s-head > h2 em,
  section.about-bg .about-text > h2 em {
    font-weight: 350;
    font-variation-settings: "opsz" 144, "wght" 350;
  }
}

/* ============================================
   MOBILE DRAWER (Hamburger menu)
   ============================================ */

.menu-trigger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-right: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  z-index: 1;
}

.menu-trigger-line {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background-color: var(--deep-sea);
  border-radius: 1px;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease,
    top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-trigger-line:nth-child(1) {
  top: 16px;
}
.menu-trigger-line:nth-child(2) {
  top: 22px;
}
.menu-trigger-line:nth-child(3) {
  top: 28px;
}

body.drawer-open .menu-trigger-line:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
body.drawer-open .menu-trigger-line:nth-child(2) {
  opacity: 0;
}
body.drawer-open .menu-trigger-line:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.menu-trigger:hover .menu-trigger-line {
  background-color: var(--terracotta);
}

.menu-trigger:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: color-mix(in srgb, var(--deep-sea) 40%, transparent);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0.32s;
  z-index: 998;
  pointer-events: none;
}

body.drawer-open .mobile-drawer-backdrop {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0s;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background-color: var(--lime-white);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 0 0 transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.drawer-open .mobile-drawer {
  transform: translateX(0);
  box-shadow: 12px 0 40px color-mix(in srgb, var(--deep-sea) 12%, transparent);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 24px 16px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-drawer-logo {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 20px;
  font-weight: 350;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--deep-sea);
  text-decoration: none;
}

.mobile-drawer-logo em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 350;
}

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--olive);
  transition:
    background-color 0.2s,
    color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer-close:hover {
  background-color: color-mix(in srgb, var(--olive) 10%, transparent);
  color: var(--deep-sea);
}

.mobile-drawer-close:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.mobile-drawer-nav {
  flex: 1;
  padding: 24px 0;
}

.mobile-drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-drawer-nav li {
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

body.drawer-open .mobile-drawer-nav li {
  opacity: 1;
  transform: translateX(0);
}

body.drawer-open .mobile-drawer-nav li:nth-child(1) {
  transition-delay: 0.08s;
}
body.drawer-open .mobile-drawer-nav li:nth-child(2) {
  transition-delay: 0.12s;
}
body.drawer-open .mobile-drawer-nav li:nth-child(3) {
  transition-delay: 0.16s;
}
body.drawer-open .mobile-drawer-nav li:nth-child(4) {
  transition-delay: 0.2s;
}
body.drawer-open .mobile-drawer-nav li:nth-child(5) {
  transition-delay: 0.24s;
}
body.drawer-open .mobile-drawer-nav li:nth-child(6) {
  transition-delay: 0.28s;
}

.mobile-drawer-nav a {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--deep-sea);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition:
    color 0.2s,
    background-color 0.2s,
    padding-left 0.2s;
  position: relative;
}

.mobile-drawer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background-color: var(--terracotta);
  transition: width 0.25s ease;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:focus-visible {
  color: var(--terracotta);
  padding-left: 36px;
  outline: none;
}

.mobile-drawer-nav a:hover::before,
.mobile-drawer-nav a:focus-visible::before {
  width: 24px;
}

.mobile-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--line-soft);
  background-color: var(--lime-white);
}

.mobile-drawer-langs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-drawer-lang-link {
  font-family: var(--font-body, "Geist", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition:
    color 0.2s,
    background-color 0.2s;
}

.mobile-drawer-lang-link.active {
  color: var(--terracotta);
  background-color: color-mix(in srgb, var(--terracotta) 8%, transparent);
}

.mobile-drawer-lang-link:hover:not(.active) {
  color: var(--deep-sea);
}

.mobile-drawer-lang-link:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.mobile-drawer-lang-sep {
  color: color-mix(in srgb, var(--olive) 40%, transparent);
  font-size: 11px;
}

.mobile-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background-color: var(--deep-sea);
  color: var(--lime-white);
  font-family: var(--font-body, "Geist", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition:
    background-color 0.2s,
    transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer-cta:hover {
  background-color: var(--deep-sea-light);
}

.mobile-drawer-cta:active {
  transform: scale(0.98);
}

.mobile-drawer-tagline {
  margin: 16px 0 0;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  color: var(--olive);
}

body.drawer-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  #nav.nav .nav-start {
    display: flex;
    align-items: center;
    gap: var(--space-2, 8px);
    flex-shrink: 0;
    min-width: 0;
  }

  #nav.nav .lang-switch {
    display: none !important;
  }

  .menu-trigger {
    display: block;
    margin-right: var(--space-2, 8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-drawer-backdrop,
  .menu-trigger-line,
  .mobile-drawer-nav li {
    transition: none !important;
  }

  body.drawer-open .mobile-drawer-nav li {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   V3 — Editorial photo moments (4 Sections)
   ============================================================ */

/* ① Vollbild-Zitat "Der Moment, der bleibt" — wedding-01.jpg */
.ed-ring {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px;
}
.ed-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/wedding-01.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 1800ms var(--ease-q, cubic-bezier(0.22, 0.61, 0.36, 1));
  z-index: 0;
}
.ed-ring.in::before {
  transform: scale(1);
}
.ed-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(31, 58, 58, 0.78) 0%,
    rgba(31, 58, 58, 0.42) 55%,
    rgba(31, 58, 58, 0.18) 100%
  );
  z-index: 1;
}
.ed-ring-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--lime-white, #f6f4ef);
}
.ed-ring-eyebrow {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sunlight, #f4e4c1);
  opacity: 0.9;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ed-ring-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--sunlight, #f4e4c1);
  opacity: 0.6;
}
.ed-ring-quote {
  font-family: var(--font-display, Fraunces, serif);
  font-size: clamp(28px, 4.2vw, 52px);
  font-variation-settings:
    "opsz" 144,
    "wght" 340;
  font-style: italic;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: pretty;
}
.ed-ring-quote em {
  font-style: normal;
  color: var(--sunlight, #f4e4c1);
}
@media (max-width: 768px) {
  .ed-ring {
    min-height: 60vh;
    padding: 80px 24px;
  }
  .ed-ring::before {
    background-attachment: scroll;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ed-ring::before {
    transition: none;
    transform: none;
  }
}

/* ② Brief von Sarah "Geschrieben in Ruhe..." — wedding-02.jpg */
.ed-breath {
  padding: 104px 0 88px;
  background: #faf6ee;
  position: relative;
  overflow: hidden;
}
.ed-breath::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(31, 58, 58, 0.018) 0, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(201, 123, 92, 0.022) 0, transparent 55%);
  pointer-events: none;
}
.ed-breath-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}
.ed-letter {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 72px;
}
.ed-letter-text {
  padding-top: 0;
  position: relative;
}
.ed-letter-stamp {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute, #7a8484);
  margin: 0 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ed-letter-stamp::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-soft, rgba(31, 58, 58, 0.22));
}
.ed-letter-body {
  font-family: var(--font-display, Fraunces, serif);
  font-variation-settings:
    "opsz" 24,
    "wght" 360;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.55;
  color: var(--deep-sea, #1f3a3a);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  margin: 0;
}
.ed-letter-body p {
  margin: 0 0 18px;
}
.ed-letter-body p:last-of-type {
  margin-bottom: 0;
}
.ed-letter-body em {
  font-style: italic;
  color: var(--terracotta, #c97b5c);
}
.ed-letter-body p:first-child::first-letter {
  font-family: var(--font-display, Fraunces, serif);
  font-variation-settings:
    "opsz" 144,
    "wght" 320;
  font-style: italic;
  font-size: clamp(72px, 7.5vw, 96px);
  color: var(--terracotta, #c97b5c);
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 -2px;
  padding: 0;
}
.ed-letter-ps {
  margin-top: 22px;
  font-family: var(--font-display, Fraunces, serif);
  font-style: italic;
  font-variation-settings:
    "opsz" 18,
    "wght" 380;
  font-size: 16px;
  color: var(--ink-mute, #7a8484);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.005em;
}
.ed-letter-ps svg {
  color: var(--terracotta, #c97b5c);
  flex-shrink: 0;
  transform: translateY(1px);
}
.ed-letter-sig {
  margin-top: 24px;
  font-family: "Caveat", cursive;
  font-size: 38px;
  color: var(--deep-sea, #1f3a3a);
  line-height: 1;
  letter-spacing: 0.005em;
  display: flex;
  align-items: center;
  gap: 18px;
}
.ed-letter-aside {
  display: flex;
  flex-direction: column;
  align-self: center;
}

/* Letter photo: same frame + parallax + hover as #about portrait */
.ed-letter-photo-wrap {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3.8 / 5;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(31, 58, 58, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
@media (hover: hover) {
  .ed-letter-photo-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(31, 58, 58, 0.18);
  }
}
.ed-letter-fig {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.ed-letter-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
@media (max-width: 1100px) {
  .ed-letter-photo-wrap {
    max-width: 300px;
    aspect-ratio: 4 / 5;
  }
}
.ed-letter-fig-cap {
  margin-top: 18px;
  font-family: "Caveat", cursive;
  font-size: 19px;
  color: var(--ink-mute, #7a8484);
  text-align: right;
  transform: rotate(1.4deg);
  transform-origin: top right;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.ed-letter-fig-cap em {
  font-style: italic;
  color: var(--terracotta, #c97b5c);
}
@media (max-width: 820px) {
  .ed-breath {
    padding: 64px 0 48px;
  }
  .ed-breath-wrap {
    padding: 0 24px;
  }
  .ed-letter {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ed-letter-photo-wrap {
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
  }
  .ed-letter-fig-cap {
    transform: none;
    text-align: center;
  }
  .ed-letter-sig {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ed-letter-photo-wrap:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(31, 58, 58, 0.12);
  }
  .ed-letter-fig-cap {
    transform: none;
  }
}

/* ③ Stimmen „Was Paare sagen“ — 3 Layer: Deep-Sea-BG | Foto ::before | Verlauf ::after */
.testi-bg.ed-testi-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Layer 0: Grundton (grünlich-petrol), darüber blendet das Foto */
  background-color: var(--deep-sea);
}
.testi-bg.ed-testi-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Layer 1: Motiv — nur Luminanz, wirkt über Deep Sea */
  background-image: url("/images/wedding-03.jpg");
  background-size: cover;
  background-position: center 35%;
  opacity: 0.32;
  mix-blend-mode: luminosity;
  z-index: 0;
}
.testi-bg.ed-testi-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Layer 2: vertikaler Deep-Sea-Verlauf — Ränder dunkler, Mitte etwas offener für Lesbarkeit */
  background: linear-gradient(
    180deg,
    rgba(31, 58, 58, 0.72) 0%,
    rgba(31, 58, 58, 0.55) 50%,
    rgba(31, 58, 58, 0.78) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.testi-bg.ed-testi-photo > .wrap {
  position: relative;
  z-index: 2;
}

/* Editorial Stimmen: hellere Konturen + Lesbarkeit wie Vollflächen-Foto */
.testi-bg.ed-testi-photo .eyebrow {
  color: var(--lime-white);
}
.testi-bg.ed-testi-photo .eyebrow::before {
  background: rgba(250, 247, 242, 0.42);
}
.testi-bg.ed-testi-photo .s-head .lead {
  opacity: 0.9;
}
.testi-bg.ed-testi-photo .testi-card {
  border-color: rgba(250, 247, 242, 0.44);
  background: rgba(24, 45, 45, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(250, 247, 242, 0.07),
    0 12px 40px rgba(0, 0, 0, 0.12);
}
.testi-bg.ed-testi-photo .testi-card .quote-mark {
  color: var(--lime-white);
  opacity: 0.18;
}
.testi-bg.ed-testi-photo .testi-by {
  color: var(--lime-white);
  opacity: 0.76;
}

/* ④ Diptychon "Mai & Juni 2024 · Mallorca" — wedding-04.jpg + wedding-05.jpg */
.ed-dipt {
  padding: 104px 0 96px;
  background: var(--paper, #fbfaf7);
}
.ed-dipt-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.ed-dipt-eyebrow {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute, #7a8484);
  margin: 0 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ed-dipt-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-soft, rgba(31, 58, 58, 0.22));
}
.ed-dipt-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}
.ed-dipt-col {
  display: flex;
  flex-direction: column;
}
.ed-dipt-col.right {
  padding-top: 0;
}
.ed-dipt-fig {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.ed-dipt-fig.tall {
  aspect-ratio: 4 / 5;
}
.ed-dipt-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1200ms var(--ease-q, cubic-bezier(0.22, 0.61, 0.36, 1));
}
.ed-dipt-fig.rv.in img {
  transform: scale(1);
}
.ed-dipt-fig:not(.in) img {
  transform: scale(1.04);
}
@keyframes ed-dipt-drift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.04) translate3d(-1.2%, -0.8%, 0);
  }
}
.ed-dipt-fig.drift.in img {
  animation: ed-dipt-drift 9s ease-in-out infinite alternate;
}
.ed-dipt-stamp {
  margin-top: 14px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute, #7a8484);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ed-dipt-stamp .t {
  font-family: var(--font-display, Fraunces, serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--deep-sea, #1f3a3a);
}
.ed-dipt-stamp .lbl {
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .ed-dipt-fig img {
    transition: none;
    transform: none !important;
    animation: none !important;
  }
  .ed-dipt-fig.drift.in img {
    animation: none;
  }
}
@media (max-width: 768px) {
  .ed-dipt {
    padding: 64px 0 56px;
  }
  .ed-dipt-wrap {
    padding: 0 24px;
  }
  .ed-dipt-eyebrow {
    margin-bottom: 24px;
  }
  .ed-dipt-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ed-dipt-col.right {
    padding-top: 0;
  }
  .ed-dipt-stamp .t {
    font-size: 16px;
  }
}
