/* ============================================================
   Nadine Odermatt — Trauer- & Traurednerin
   Warm, editorial, persönlich · Naturtöne · Handschrift-Akzente
   ============================================================ */

/* ---------- Schriften (selbst gehostet, Variable Fonts, latin) ---------- */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nothing You Could Do";
  src: url("../fonts/script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farbpalette: warme Naturtöne */
  --cream: #FAF6EF;
  --cream-deep: #F3ECDF;
  --sand: #E9DFCC;
  --terracotta: #B8674A;
  --terracotta-deep: #9E5237;   /* Button-Hintergrund: 5.25:1 zu Creme (AA) */
  --terracotta-ink: #3B322B;    /* Hover = Tiefbraun (Brand: eine Palette, keine Ausnahmen) */
  --sage-ink: #3B322B;          /* Meldungen in Tiefbraun (Brand: Salbei nie als Textfarbe) */
  --sage: #8C9B82;
  --sage-soft: #B9C2AC;
  --ink: #3B322B;
  --ink-soft: #6B5F53;
  --line: rgba(59, 50, 43, 0.14);
  --paper: #FFFDF8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Mulish", "Helvetica Neue", sans-serif;
  --font-script: "Nothing You Could Do", cursive;

  --max: 1200px;
  --max-narrow: 720px;
  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Feines Papierkorn über der ganzen Seite */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.4;
  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'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.2 0 0 0 0 0.17 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(184, 103, 74, 0.22); }

/* ---------- Barrierefreiheit: Fokus & Skip-Link ---------- */

:focus-visible {
  outline: 3px solid var(--terracotta-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 300;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

.svg-defs { display: none; }

.legal-actions { margin-top: 2rem; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 1.6rem;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-bottom: 0.65rem;
}

p + p { margin-top: 1.15em; }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta-deep);
  line-height: 1.45;
  margin-bottom: 1.4rem;
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0;
}

.script { font-family: var(--font-script); }

.section-kicker {
  font-family: var(--font-script);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--terracotta);
  margin-bottom: 0.5rem;
  transform: rotate(-1.5deg);
  display: inline-block;
}

.section-head { margin-bottom: 3rem; }

.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: var(--terracotta-deep);
  border-left: 3px solid var(--sage-soft);
  padding-left: 1.4rem;
  margin: 2.2rem 0;
}

/* ---------- Icons & Illustrationen ---------- */

.icon {
  width: 46px;
  height: 46px;
  color: var(--ink);
  display: inline-block;
}

.icon-s {
  width: 22px;
  height: 22px;
  color: var(--terracotta-deep);
  flex-shrink: 0;
  transform: translateY(4px);
}

.divider {
  display: flex;
  justify-content: center;
  margin: 3rem auto 0;
  color: var(--sage);
}

.divider-svg { width: 160px; height: 28px; }

/* ---------- Fotos ---------- */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.photo img,
.hero-visual img,
.worte-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo.tall { aspect-ratio: 3 / 4; }
.photo.square { aspect-ratio: 1 / 1; }

.hero-visual img,
.worte-visual img {
  position: absolute;
  inset: 0;
}

/* Bildausschnitt nach rechts schieben, damit das Schild nicht hinter der Headline liegt */
.hero-visual img { object-position: 30% 55%; }

@media (max-width: 760px) {
  /* Hochformat: Schild sichtbar (Headline ist klein genug und sitzt darunter) */
  .hero-visual img { object-position: 47% 50%; }
}

/* Weicher Papier-Verlauf, damit die Headline unten links lesbar bleibt */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(250, 246, 239, 0.94) 0%, rgba(250, 246, 239, 0.6) 32%, rgba(250, 246, 239, 0) 62%),
    linear-gradient(to right, rgba(250, 246, 239, 0.55) 0%, rgba(250, 246, 239, 0) 55%);
}

/* Bildband: Naturbild, leicht gedämpft (Textkarte liegt darauf) */
.worte-visual img { filter: saturate(0.85) brightness(0.85); object-position: center top; }

.worte-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(158, 82, 55, 0.28) 0%, rgba(59, 50, 43, 0.5) 100%);
}

/* ---------- Bild-Platzhalter (Fallback-Flächen) ---------- */

.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--sand);
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%233B322B' stroke-opacity='0.14' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M80 560 C 160 430 200 300 320 170'/%3E%3Cpath d='M212 322 q -52 -10 -92 22 q 50 16 92 -22 z'/%3E%3Cpath d='M258 258 q 42 -40 46 -92 q -46 28 -46 92 z'/%3E%3Cpath d='M172 396 q -48 -4 -84 30 q 48 12 84 -30 z'/%3E%3Cpath d='M310 190 q 46 -22 88 -12 q -34 34 -88 12 z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left -60px bottom -40px;
  background-size: 340px;
  opacity: 0.8;
  pointer-events: none;
}

/* Stimmungen der Platzhalter — variieren bewusst */
.ph-hero {
  background:
    radial-gradient(ellipse 90% 70% at 75% 15%, rgba(185, 194, 172, 0.55), transparent 60%),
    radial-gradient(ellipse 80% 60% at 15% 85%, rgba(158, 82, 55, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 80%, rgba(233, 223, 204, 0.9), transparent 65%),
    linear-gradient(170deg, #F4EDDF 0%, #E9DCC3 55%, #DECDAF 100%);
}

.ph-hero::after {
  background-position: right -80px bottom -60px;
  background-size: 560px;
  transform: scaleX(-1);
}

.ph-ceremony {
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(250, 246, 239, 0.75), transparent 55%),
    radial-gradient(ellipse 90% 70% at 70% 90%, rgba(140, 155, 130, 0.5), transparent 65%),
    linear-gradient(160deg, #F0E8d6 0%, #DFD2B6 60%, #CDBE9D 100%);
}

.ph-portrait {
  background:
    radial-gradient(ellipse 70% 50% at 35% 20%, rgba(250, 246, 239, 0.8), transparent 60%),
    radial-gradient(ellipse 80% 60% at 70% 85%, rgba(184, 103, 74, 0.26), transparent 60%),
    linear-gradient(165deg, #F2EADA 0%, #E2D3B8 100%);
}

.ph-nature {
  background:
    radial-gradient(ellipse 70% 60% at 30% 30%, rgba(185, 194, 172, 0.7), transparent 60%),
    linear-gradient(150deg, #E8E3D0 0%, #C9CBB0 100%);
}

.ph-travel {
  background:
    radial-gradient(ellipse 70% 55% at 70% 25%, rgba(250, 240, 220, 0.9), transparent 60%),
    linear-gradient(155deg, #F0E4CC 0%, #DBBF97 100%);
}

.ph-family {
  background:
    radial-gradient(ellipse 75% 60% at 30% 25%, rgba(250, 246, 239, 0.8), transparent 55%),
    linear-gradient(160deg, #EFE2D2 0%, #D9B9A2 100%);
}

.ph-lake {
  background:
    radial-gradient(ellipse 90% 55% at 50% 10%, rgba(250, 246, 239, 0.65), transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 90%, rgba(140, 155, 130, 0.45), transparent 60%),
    linear-gradient(175deg, #EDE6D3 0%, #C6C4A8 70%, #AFB295 100%);
}

.ph-dusk {
  background:
    radial-gradient(ellipse 80% 70% at 75% 20%, rgba(233, 223, 204, 0.5), transparent 60%),
    radial-gradient(ellipse 90% 70% at 20% 90%, rgba(94, 78, 62, 0.55), transparent 70%),
    linear-gradient(165deg, #D8C3A5 0%, #A98F74 55%, #7E6852 100%);
}

.ph-wedding {
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(250, 246, 239, 0.85), transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% 90%, rgba(184, 103, 74, 0.22), transparent 60%),
    linear-gradient(160deg, #F3EBDB 0%, #E0CDB0 100%);
}

.ph-farewell {
  background:
    radial-gradient(ellipse 80% 60% at 40% 15%, rgba(250, 246, 239, 0.7), transparent 55%),
    radial-gradient(ellipse 80% 65% at 75% 90%, rgba(140, 155, 130, 0.55), transparent 65%),
    linear-gradient(160deg, #EDE7D6 0%, #C9C3A8 100%);
}

.ph.tall { aspect-ratio: 3 / 4; }
.ph.square { aspect-ratio: 1 / 1; }

.placeholder-tag {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(250, 246, 239, 0.8);
  border: 1px dashed rgba(107, 95, 83, 0.4);
  border-radius: 6px;
  padding: 0.28rem 0.55rem;
  z-index: 2;
  line-height: 1.4;
}

/* Polaroid-Rahmen */
.polaroid {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 12px 40px;
  box-shadow: 0 16px 40px rgba(59, 50, 43, 0.16);
  position: relative;
}

.polaroid .placeholder-tag { bottom: 8px; right: 12px; }

.r-left { transform: rotate(-3deg); }
.r-right { transform: rotate(2deg); }
.r-left2 { transform: rotate(-1.5deg); }

/* ---------- Layout-Container ---------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container.narrow { max-width: var(--max-narrow); }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 246, 239, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo horizontal: Zeichen + Wortmarke (Name deutlich grösser als Berufsbezeichnung) */
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.8rem; }

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--ink);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 3px;
}

.site-footer .brand-mark { color: var(--cream); }

.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.2rem); }

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%;
  height: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 4' preserveAspectRatio='none'%3E%3Cpath d='M1 3 C 20 1 60 1 79 2.5' fill='none' stroke='%23B8674A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:not(.nav-cta):hover { color: var(--ink); }
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--terracotta-deep);
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 999px 8px 999px 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover { background: var(--terracotta-ink); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px 10px 999px 999px;
  padding: 0.95rem 2.3rem;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--terracotta-deep);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(184, 103, 74, 0.25);
}

.btn-primary:hover {
  background: var(--terracotta-ink);
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 0 12px 28px rgba(184, 103, 74, 0.3);
}

.btn-full { width: 100%; }

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 clamp(4rem, 9vh, 7rem);
  overflow: hidden;
}

.hero-visual { position: absolute; inset: 0; }

.hero .placeholder-tag { top: calc(var(--header-h) + 1rem); bottom: auto; }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.hero-content h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);   /* kleiner, damit das Schild im Bild lesbar bleibt */
  max-width: 17ch;
  margin-bottom: 2.4rem;
}

.hero-kicker {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--terracotta-deep);
  margin-bottom: 1rem;
  transform: rotate(-2deg);
  display: inline-block;
}

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 3;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--ink-soft));
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* Sanfte Einblendung beim Laden */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal.delay-1 { animation-delay: 0.25s; }
.reveal.delay-2 { animation-delay: 0.5s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-Einblendungen — nur aktiv, wenn JS läuft (html.anim),
   damit Inhalte ohne JS immer sichtbar sind */
.fade-in {
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.anim .fade-in:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .fade-in,
  html.anim .fade-in:not(.visible) {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .hero-scroll span { animation: none; }
}

/* ---------- Intro: Text + Bild ---------- */

.intro { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.intro-photo .photo {
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(59, 50, 43, 0.14);
  transform: rotate(1.2deg);
}

/* ---------- Porträt + Statement ---------- */

.intro-portrait { padding-top: clamp(2.5rem, 5vw, 4rem); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.portrait-stack { position: relative; }

.portrait-frame {
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 10px 10px;
  box-shadow: 0 24px 60px rgba(59, 50, 43, 0.14);
}

.polaroid-accent {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 42%;
  transform: rotate(4deg);
  padding-bottom: 12px;
}

/* ---------- Säulen: Zuhören / Schreiben / Begleiten ---------- */

.pillars {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.pillar-icon {
  margin-bottom: 1.1rem;
  color: var(--terracotta-deep);
}

.pillar-icon .icon { color: inherit; }

.pillar:nth-child(2) .pillar-icon { transform: rotate(3deg); }
.pillar:nth-child(3) .pillar-icon { transform: rotate(-3deg); }

.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { color: var(--ink-soft); font-size: 1rem; }

.pillar:nth-child(2) { transition-delay: 0.15s; }
.pillar:nth-child(3) { transition-delay: 0.3s; }

/* ---------- Worte, die bleiben: Bildband mit Textkarte ---------- */

.worte-bleiben {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.worte-visual { position: absolute; inset: 0; }

.worte-card {
  position: relative;
  z-index: 2;
  max-width: 620px;
  background: rgba(250, 246, 239, 0.94);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: 0 28px 70px rgba(59, 50, 43, 0.22);
}

.worte-card h2 { font-style: italic; color: var(--terracotta-deep); }

.signature {
  font-family: var(--font-display);   /* klassische Signatur in Fraunces kursiv statt Handschrift */
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  letter-spacing: 0.01em;
  color: var(--terracotta-deep);
  margin: 1.2rem 0 0.4rem;
}

.worte-card .btn { margin-top: 1.2rem; }

/* ---------- Über mich ---------- */

/* Absatzabstand über Container-Grenzen hinweg (nach Entfernen der Collage) */
.about .container.narrow + .container.narrow p:first-child { margin-top: 1.15em; }

.about {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(185, 194, 172, 0.18), transparent 60%),
    var(--cream);
}

.about .section-head h2 { margin-bottom: 0; }

/* Polaroid-Collage */
.collage {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto;
  max-width: 940px;
}

.collage .polaroid { width: clamp(180px, 30%, 300px); }

.collage .polaroid:nth-child(2) {
  margin: 0 -1.5rem;
  z-index: 2;
  box-shadow: 0 22px 55px rgba(59, 50, 43, 0.22);
}

.collage .lift { translate: 0 -1.2rem; }

.about-visual.wide {
  aspect-ratio: 21 / 9;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(59, 50, 43, 0.12);
  margin: clamp(2.5rem, 6vw, 4rem) 0;
  transform: rotate(-0.6deg);
}

/* ---------- Leistungen ---------- */

.services {
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;   /* beide Karten gleich hoch */
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 48px rgba(59, 50, 43, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(59, 50, 43, 0.12);
}

.service-card:nth-child(2) { transition-delay: 0.12s; }
.service-card:nth-child(2):hover { transition-delay: 0s; }

.service-photo { aspect-ratio: 16 / 9; }

.service-body {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  margin: -0.4rem 0 0.8rem;
  color: var(--terracotta-deep);
}

.service-icon .icon { width: 42px; height: 42px; color: inherit; }

.service-intro { margin: 0.6rem 0 1rem; color: var(--ink-soft); }

.service-card ul {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-card li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.98rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 10 C 4 6.5 6.5 4 10.5 2 C 9 6 6 9 2 10 Z' fill='none' stroke='%238C9B82' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.price-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 500;
  color: var(--terracotta-deep);
}

.service-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
  background: rgba(140, 155, 130, 0.12);
  border-left: 3px solid var(--sage);
  border-radius: 0 10px 10px 0;
  padding: 0.8rem 1rem;
}

/* ---------- Ablauf ---------- */

.process-steps {
  list-style: none;
  position: relative;
  margin-top: 1rem;
}

.process-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(to bottom, var(--terracotta) 0%, var(--sage) 100%);
  opacity: 0.4;
}

.step {
  position: relative;
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  padding-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.step:last-child { padding-bottom: 0; }

/* Schrittzahlen in Fraunces (Brand: keine Kreise ausser dem Zeichen, Handschrift nur einmal pro Seite) */
.step-marker {
  flex-shrink: 0;
  width: 56px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: 0.15rem 0 0.4rem;
}

.step-marker span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--terracotta-deep);
}

.step-body h3 { margin-bottom: 0.6rem; }

.process-closing {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  text-align: center;
  color: var(--terracotta-deep);
  line-height: 1.5;
}

/* ---------- Kontakt ---------- */

.contact {
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(140, 155, 130, 0.16), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-details {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.4rem;
}

.contact-photo {
  width: clamp(150px, 16vw, 200px);
  flex-shrink: 0;
  transform: rotate(-3deg);
  padding-bottom: 34px;
}

.contact-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
}

.contact-role {
  color: var(--ink-soft);
  margin: 0.3rem 0 1.4rem;
  line-height: 1.5;
}

.contact-list { list-style: none; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.placeholder-inline {
  font-style: italic;
  color: var(--ink-soft);
  border-bottom: 1px dashed rgba(107, 95, 83, 0.5);
}

.contact-link {
  color: var(--terracotta-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(158, 82, 55, 0.35);
  transition: border-color 0.25s ease;
}

.contact-link:hover { border-bottom-color: var(--terracotta-deep); }

/* Formular */

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 18px 48px rgba(59, 50, 43, 0.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.optional { font-weight: 400; color: var(--ink-soft); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea { resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta-deep);
  box-shadow: 0 0 0 3px rgba(158, 82, 55, 0.4);
}

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.4rem 0 1.4rem;
}

.form-consent input {
  margin-top: 0.35rem;
  accent-color: var(--terracotta);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.form-consent label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.form-consent a { color: var(--terracotta-deep); }

.form-feedback {
  margin-top: 1rem;
  font-size: 0.92rem;
  text-align: center;
  color: var(--sage-ink);
  font-weight: 600;
  min-height: 1.4em;
}

.form-feedback.error { color: var(--terracotta-deep); }

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

.site-footer {
  background: var(--ink);
  color: rgba(250, 246, 239, 0.85);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 0.8rem; }

.site-footer .brand-mark { width: 40px; height: 40px; }

.site-footer .brand-name { color: var(--cream); font-size: 1.15rem; }

.site-footer .brand-sub {
  color: var(--sage-soft);
  display: block;
  margin-top: 0.2rem;
}

.footer-nav { display: flex; gap: 1.6rem; }

.footer-nav a {
  color: rgba(250, 246, 239, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover { color: var(--cream); }

/* ---------- Mobile CTA ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  text-align: center;
  background: var(--terracotta-deep);
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 1rem;
  border-radius: 999px 10px 999px 999px;
  box-shadow: 0 10px 30px rgba(59, 50, 43, 0.25);
  transform: translateY(calc(100% + 1.5rem));
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.mobile-cta.show { transform: translateY(0); opacity: 1; }

/* Solange der Cookie-Banner offen ist, bleibt der mobile CTA verborgen (keine Überlappung) */
body.cookie-banner-open .mobile-cta {
  transform: translateY(calc(100% + 1.5rem));
  opacity: 0;
  pointer-events: none;
}

/* ---------- Cookie-Banner ---------- */

.cookie-banner {
  position: fixed;
  right: 1rem;          /* rechts, damit der Hero-CTA unten links frei bleibt */
  bottom: 1rem;
  z-index: 200;
  max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 24px 60px rgba(59, 50, 43, 0.25);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.show { opacity: 1; transform: translateY(0); }

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.cookie-text a { color: var(--terracotta-deep); }

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.cookie-actions .btn { padding: 0.6rem 1.4rem; font-size: 0.92rem; }

.cookie-decline {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
}

.cookie-decline:hover { color: var(--ink); }

@media (max-width: 760px) {
  .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; max-width: none; }
}

/* ---------- Rechtsseiten ---------- */

.legal-page {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  min-height: 60vh;
}

.legal-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 2rem; }

.legal-placeholder {
  background: var(--cream-deep);
  border: 1px dashed rgba(107, 95, 83, 0.4);
  border-radius: 10px;
  padding: 1.6rem 1.8rem;
  color: var(--ink-soft);
  font-style: italic;
}

.legal-content { max-width: 65ch; }

.legal-content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 2.6rem 0 0.9rem;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content ul { margin: 0.6rem 0 1rem 1.3rem; }

.legal-content li { margin-bottom: 0.4rem; }

.legal-content a { color: var(--terracotta-deep); }

.legal-note {
  background: rgba(140, 155, 130, 0.12);
  border-left: 3px solid var(--sage);
  border-radius: 0 10px 10px 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.legal-stand {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.ph-inline {
  font-style: italic;
  color: var(--ink-soft);
  background: rgba(233, 223, 204, 0.5);
  border: 1px dashed rgba(107, 95, 83, 0.4);
  border-radius: 5px;
  padding: 0 0.35rem;
}

.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--terracotta-deep);
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-photo { max-width: 440px; margin: 0 auto; width: 100%; }
  .split { grid-template-columns: 1fr; }
  .portrait-stack { max-width: 420px; margin: 0 auto; width: 100%; }
  .service-grid { grid-template-columns: 1fr; max-width: 640px; }
  .service-card:nth-child(2) { margin-top: 0; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* Tablet hochkant: Säulen und Collage bekommen Luft */
@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: 1fr; gap: 2.4rem; max-width: 560px; }
  .collage { flex-wrap: wrap; gap: 1.5rem; }
  .collage .polaroid { width: clamp(180px, 40%, 280px); }
  .collage .polaroid:nth-child(2) { margin: 0; }
  .collage .lift { translate: 0 0; }
}

/* Kurze Landscape-Displays (Phones quer): Hero nicht auf Viewport-Höhe zwingen */
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3.5rem; }
  .hero-scroll { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.2rem 1.5rem 1.6rem;
    gap: 1.1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 18px 40px rgba(59, 50, 43, 0.12);
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a { font-size: 1.05rem; }
  .nav-cta { padding: 0.85rem 1.4rem; }

  /* Logo kompakt, Name einzeilig */
  .brand { gap: 0.6rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text { white-space: nowrap; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.2em; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .pillar-grid { grid-template-columns: 1fr; gap: 2.4rem; }

  /* Bogen-Porträt + Polaroid erst nach dem Statement (Bilder nicht direkt hintereinander) */
  .split .portrait-text { order: -1; margin-bottom: 2.5rem; }
  .intro-portrait { padding-top: 1rem; }

  /* Collage als horizontaler Swipe-Slider (Scroll-Snap, kein JS) */
  .collage {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: calc(-1 * clamp(1.25rem, 4vw, 2.5rem));
    margin-right: calc(-1 * clamp(1.25rem, 4vw, 2.5rem));
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    scroll-padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  }
  .collage::-webkit-scrollbar { display: none; }
  .collage .polaroid {
    flex: 0 0 76%;
    width: auto;
    max-width: 320px;
    scroll-snap-align: center;
    margin: 0;
  }
  .collage .lift { translate: 0 0; }
  .collage .r-left { transform: rotate(-1.5deg); }
  .collage .r-right { transform: rotate(1.5deg); }
  .collage .r-left2 { transform: rotate(-1deg); }

  .polaroid-accent { right: 0; width: 46%; }

  .contact-details { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .mobile-cta { display: block; }
  .footer-inner { flex-direction: column; text-align: center; }
}
