/* ─── Design Tokens ──────────────────────────────────────────────── */
:root {
  --ink:        #221A14;
  --muted:      #5E4E44;
  --hint:       #B8ABA2;
  --bg:         #F8F5F0;
  --surface:    #FFFFFF;
  --cream:      #EDE3D8;
  --terracotta: #B55E47;
  --sage:       #607263;
  --sage-dark:  #475C4A;
  --gold:       #C09456;
  --line:       #DCD2C6;
  --dark:       #17120E;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm:  0 2px 14px rgba(34,26,20,.06);
  --shadow:     0 12px 44px rgba(34,26,20,.09);
  --shadow-lg:  0 28px 80px rgba(34,26,20,.13);
  --radius:     22px;
  --radius-lg:  36px;
  --max:        1180px;
}

/* ─── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ─── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.6rem, 6vw, 6.4rem); font-weight: 600; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 600; }
/* H1 auf Unterseiten ohne eigenen Kopfbereich: Abschnittsgröße statt Hero-Größe */
h1.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.55rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9B4632; /* dunklere Terrakotta – WCAG AA (~4,9:1) für kleine Label auf hellem/cremefarbenem Grund */
  margin: 0 0 .75rem;
}
.lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Layout Utilities ───────────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
.narrow { max-width: 780px; }
.center { text-align: center; }

/* ─── Buttons ────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .82rem 1.7rem;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 650;
  font-size: .95rem;
  transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 28px rgba(34,26,20,.22);
}
.button.primary:hover { box-shadow: 0 14px 36px rgba(34,26,20,.3); }
.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.button.secondary:hover { background: var(--cream); border-color: var(--hint); }
.button.ghost {
  background: transparent;
  color: var(--terracotta);
  padding-left: 0; padding-right: 0;
}
.button.ghost::after { content: " →"; }

/* ─── Header / Nav ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.brand {
  text-decoration: none;
  line-height: 1.15;
  flex-shrink: 0;
}
.brand-kicker {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.brand strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -.01em;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 550;
  font-size: .9rem;
  transition: color .15s;
}
.main-nav a:hover, .main-nav a[aria-current=page] { color: var(--ink); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: .6rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  transition: background .18s, opacity .18s;
}
.header-phone:hover { opacity: .8; }

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero-home {
  padding: 120px 0 100px;
  background: #C0D4AC;
  overflow: hidden;
  position: relative;
}
.hero-home::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(ellipse, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-copy { display: flex; flex-direction: column; gap: 0; }
.hero-copy h1 {
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.hero-home .lead { color: var(--muted); }
.hero-home .microcopy { color: var(--hint); }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2rem;
  margin-bottom: .8rem;
}
.microcopy {
  font-size: .85rem;
  color: var(--hint);
  margin-top: .6rem;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-visual { overflow: visible; }
.hero-visual svg { width: 100%; max-width: 440px; transform: scale(1.45); transform-origin: center center; }
.hero-img {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 8px;
  box-shadow: none;
}

/* ─── Sections ───────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section.soft { background: linear-gradient(180deg, var(--cream) 0%, #F4EBE0 100%); }
.section.dark { background: var(--dark); color: #F5EBE0; }
.section-head {
  margin-bottom: 52px;
}
.section-head.centered {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Theme Cards (3-col) ────────────────────────────────────────── */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.theme-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.theme-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.theme-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.theme-icon svg { width: 24px; height: 24px; }
.theme-card h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
  color: var(--sage-dark);
}
.theme-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ─── About / Split ─────────────────────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.portrait-wrap {
  position: relative;
}
.portrait-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.portrait-badge {
  position: absolute;
  bottom: 28px; left: -20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow);
  font-size: .88rem;
  color: var(--muted);
  max-width: 220px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.35;
}

/* ─── Process Steps ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step-card {
  counter-increment: step;
  position: relative;
  padding-top: 64px;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}
.step-card h3 {
  margin-bottom: .4rem;
  font-size: 1.12rem;
}
.step-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ─── Pull Quote ─────────────────────────────────────────────────── */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid var(--gold);
}
.pull-quote cite {
  display: block;
  font-family: var(--sans);
  font-size: .88rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1rem;
}

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 14px; }
.faq-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.faq-card h3 {
  font-size: 1.15rem;
  color: var(--sage-dark);
  margin-bottom: .5rem;
}
.faq-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* ─── Contact Band ───────────────────────────────────────────────── */
.contact-band {
  background: var(--dark);
  color: #F5EBE0;
  padding: 96px 0;
}
.contact-band .eyebrow { color: var(--gold); }
.contact-band h2 { color: #F5EBE0; }
.contact-band .lead { color: #C5B5A5; }
.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 2rem;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-decoration: none;
  color: #F5EBE0;
  font-weight: 600;
  transition: background .18s;
}
.contact-option:hover { background: rgba(255,255,255,.1); }
.contact-option-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-option-icon svg { width: 18px; height: 18px; stroke: #fff; }
.contact-deco {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kontakt-Seite: helle Variante */
.contact-list {
  display: grid;
  gap: 12px;
  align-content: start;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.contact-item:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-item-addr { cursor: default; }
.contact-item-addr:hover { border-color: var(--line); box-shadow: none; }
.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.contact-item-icon svg { width: 18px; height: 18px; min-width: 18px; stroke: var(--terracotta); }
.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-item-text strong { font-size: .85rem; font-family: var(--sans); font-weight: 600; }
.contact-item-text span { font-size: .95rem; color: var(--muted); }

/* ─── Portraits / Images ─────────────────────────────────────────── */
.portrait-card {
  background: rgba(255,253,249,.82);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.portrait-card img { border-radius: 16px; width: 100%; object-fit: cover; }
.portrait-card p { font-family: var(--serif); font-size: 1.15rem; margin-top: .8rem; }
.quote-card {
  background: rgba(255,253,249,.82);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.quote-card p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; margin: 0; }
.image-card { border-radius: var(--radius); overflow: hidden; }
.image-card img { border-radius: 16px; }
.image-card figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* ─── Sub-page Hero ──────────────────────────────────────────────── */
.sub-hero {
  padding: 80px 0 64px;
  background: #C0D4AC;
}
.sub-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* ─── Answer Box ─────────────────────────────────────────────────── */
.answer-box {
  padding: 28px 0;
  background: var(--sage-dark);
  color: #fff;
}
.answer-box .container { font-size: 1.05rem; line-height: 1.65; }

/* ─── Check List ─────────────────────────────────────────────────── */
.check-list { padding-left: 1.1rem; }
.check-list li { margin: .5rem 0; }

/* ─── Legal ──────────────────────────────────────────────────────── */
.legal p { word-break: break-word; }
.legal h2 { font-size: 1.9rem; margin-top: 2rem; }

/* ─── Steps (legacy, for sub-pages) ─────────────────────────────── */
.steps {
  counter-reset: s;
  list-style: none;
  padding: 0; margin: 22px 0;
  display: grid; gap: 14px;
}
.steps li {
  counter-increment: s;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 18px 64px;
  position: relative;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 18px; top: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  font-weight: 900;
}
.steps span { display: block; color: var(--muted); }
.steps.wide { max-width: 900px; }

/* ─── Cards (generic) ────────────────────────────────────────────── */
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.cards article h3 { color: var(--sage-dark); }

/* ─── Split (legacy) ─────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  padding: 60px 0;
  background: var(--dark);
  color: #F0E4D8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}
.footer-grid strong {
  display: block;
  margin-bottom: .6rem;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-grid p { font-size: .92rem; color: #C0B4A8; line-height: 1.7; }
.site-footer a { color: #C0B4A8; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #F0E4D8; }

/* ─── Booking / Forms ────────────────────────────────────────────── */
.notice {
  padding: 16px 18px;
  border-radius: 16px;
  margin: 0 0 20px;
  font-weight: 700;
}
.notice.success { background: #e7f3df; color: #2f4f28; }
.notice.error   { background: #ffe8df; color: #7a2d1f; }
.booking-form { display: grid; gap: 18px; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  background: var(--surface);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.slot-card {
  display: grid; gap: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px; cursor: pointer;
}
.slot-card:has(input:checked) { outline: 3px solid var(--gold); }
.slot-card input  { width: auto; }
.slot-card span   { font-weight: 850; }
.slot-card small  { color: var(--muted); }
.hp-field { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: auto; margin-top: .35rem; }
.booking-placeholder {
  background: var(--surface);
  border: 1px dashed var(--terracotta);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.booking-placeholder code {
  background: var(--cream);
  padding: .15rem .35rem;
  border-radius: 6px;
}
.cal-inline {
  width: 100%; min-height: 720px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* ─── Admin ──────────────────────────────────────────────────────── */
.admin-table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.admin-table th,
.admin-table td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.admin-table th { background: var(--cream); }

/* ─── Map / Lightbox ─────────────────────────────────────────────── */
.map-thumb {
  position: relative;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-thumb img {
  width: 100%;
  display: block;
  transition: transform .3s;
}
.map-thumb:hover img { transform: scale(1.02); }
.map-thumb-hint {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(34,26,20,.62);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(22,16,10,.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.map-modal.open { display: flex; }
.map-modal img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  object-fit: contain;
}
.map-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.map-modal-close:hover { background: rgba(255,255,255,.22); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-wrap { flex-wrap: wrap; align-items: center; gap: 12px; }
  .brand { order: 1; flex: 1 1 auto; min-width: 0; }
  .header-phone { order: 2; flex-shrink: 0; font-size: .85rem; }
  .main-nav {
    order: 3; width: 100%;
    gap: 8px; overflow-x: auto; padding-top: 8px;
  }
  .main-nav a { white-space: nowrap; font-size: .88rem; }

  .hero-grid,
  .split-grid,
  .split,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-visual { display: none; }
  .hero-home { padding: 60px 0 56px; }
  .hero-home::before { display: none; }

  .theme-grid,
  .steps-grid,
  .cards.three,
  .faq-grid { grid-template-columns: 1fr; }

  .portrait-badge { position: static; margin-top: 16px; max-width: 100%; }

  .section { padding: 64px 0; }
  .contact-band { padding: 64px 0; }

  .form-grid,
  .slot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; }

  /* Kopfzeile kompakt: Marke links, Anruf-Button rechts oben, Nav darunter */
  .nav-wrap { padding: 9px 0; gap: 10px; }
  .brand-kicker { display: none; }
  .brand strong { font-size: 1.05rem; }
  .header-phone { padding: .4rem .8rem; font-size: .78rem; }
  .main-nav { padding-top: 6px; gap: 13px; justify-content: space-between; }
  .main-nav a { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

/* ─── TEST: durchgehend warmer Hintergrund auf der Startseite ─────── */
/* Nur aktiv über <body class="home-flat">. Contact-Band + Footer bleiben dunkel. */
body.home-flat { background: #F4EBE0; }
body.home-flat .section.soft { background: transparent; }
/* Hero bleibt grün, Contact-Band + Footer bleiben dunkel */

/* ─── Botanical Decoration ───────────────────────────────────────── */
.botanical-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.botanical-bg img {
  position: absolute;
  opacity: .55;
  width: 480px;
}
.botanical-bg img:first-child {
  top: -30px; right: -40px;
}
.botanical-bg img:last-child {
  top: -30px; left: -40px;
}

