/* =============================================================
   Kontakt-Raum — Nora Urgatz
   Main stylesheet. Mobile-first, fluid & responsive.
   Font @font-face rules live in css/fonts.css
   ============================================================= */

/* -------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------- */
:root {
  /* Brand colours */
  --c-terracotta:   #B0573A;
  --c-terracotta-d: #97472e;      /* darker hover */
  --c-amber:        #C8893A;
  --c-cream:        #F7F2E8;
  --c-cream-2:      #F1EADD;       /* slightly warmer surface */
  --c-cream-veil:   rgba(241, 234, 221, 0.7); /* #F1EADDB2 */
  --c-brown:        #2A1F16;
  --c-brown-soft:   #4a3b2e;
  --c-sage:         #8A9B7C;

  /* Semantic roles */
  --bg:             var(--c-cream);
  --bg-alt:         var(--c-cream-2);
  --text:           var(--c-brown);
  --text-muted:     #6b5d4f;
  --accent:         var(--c-terracotta);
  --on-dark:        var(--c-cream);
  --on-dark-muted:  rgba(247, 242, 232, 0.72);

  /* Typography */
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Fluid type scale (min 360px → max 1280px viewport) */
  --fs-eyebrow: clamp(0.72rem, 0.69rem + 0.15vw, 0.8125rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lead:    clamp(1.06rem, 1rem + 0.3vw, 1.25rem);
  --fs-card:    clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  --fs-h3:      clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  --fs-h2:      clamp(1.9rem, 1.5rem + 2vw, 2.9rem);
  --fs-h1:      clamp(2.15rem, 1.3rem + 3.4vw, 4.1rem);

  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-body:    1.72;

  /* Spacing */
  /* Der vh-Deckel greift nur auf flachen Fenstern (Laptop quer, Handy quer) */
  --space-section: min(clamp(3.75rem, 2.5rem + 6vw, 7.5rem), 13vh);
  --space-gap:     clamp(1.5rem, 1rem + 2.5vw, 3.5rem);

  /* Layout */
  --container: 1240px;
  --pad-x: clamp(1.25rem, 0.5rem + 3.5vw, 3rem);

  /* Misc */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow: 0 18px 45px -25px rgba(42, 31, 22, 0.45);
  --ring: 0 0 0 3px rgba(176, 87, 58, 0.45);
  --transition: 200ms ease;
}

/* -------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px; /* offset for sticky nav on anchor jumps */
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: var(--lh-snug); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

input, textarea, button, select { font: inherit; color: inherit; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------------------------------------------------------------
   3. Helpers
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--space-section); }
/* Ankersprung landet an der Oberkante des Inhalts, nicht an der Sektionskante:
   das Sektions-Padding wird vom Sprungziel abgezogen (JS-Variante: assets/scroll.js). */
section.section[id] { scroll-margin-top: calc(1.5rem - var(--space-section)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  background: var(--c-brown);
  color: var(--c-cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: clamp(0.8rem, 0.73rem + 0.28vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 1rem;
}

.lead { font-size: var(--fs-lead); color: var(--text-muted); }

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-size: clamp(0.8rem, 0.76rem + 0.15vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95em 2em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-terracotta); color: var(--c-cream); }
.btn--primary:hover { background: var(--c-terracotta-d); }

.btn--outline { background: transparent; border-color: var(--c-terracotta); color: var(--c-terracotta); }
.btn--outline:hover { background: var(--c-terracotta); color: var(--c-cream); }

/* On dark / photo backgrounds */
.btn--on-dark { background: var(--c-terracotta); color: var(--c-cream); }
.btn--on-dark:hover { background: var(--c-terracotta-d); }
.btn--ghost { background: transparent; border-color: rgba(247,242,232,.75); color: var(--c-cream); }
.btn--ghost:hover { background: rgba(247,242,232,.14); border-color: var(--c-cream); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.link-more::after { content: "→"; transition: transform var(--transition); }
.link-more:hover::after { transform: translateX(4px); }

/* -------------------------------------------------------------
   5. Header / hero
   ------------------------------------------------------------- */
/* Logo oben, Text unten — beides im Fluss, damit sie auf flachen Bildschirmen
   nicht ineinanderlaufen können: reicht die Höhe nicht, wächst der Hero. */
.hero {
  position: relative;
  min-height: max(calc(100svh - 100px), 30rem); /* Fallback ohne JS: Navi-Leiste bleibt angeschnitten */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--c-cream);
  overflow: hidden;
}
/* Mobile mit JS: Navigation liegt als Burger über dem Hero -> volle Höhe */
.js .hero, .js .hero.hero--sub { min-height: max(100svh, 30rem); }
/* Keep hero + nav within one screen so the nav is visible on load, then sticks */
@media (min-width: 900px) {
  .hero, .hero.hero--sub,
  .js .hero, .js .hero.hero--sub { min-height: max(calc(100svh - 90px), 30rem); }
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% top; }
.hero--sub .hero__media img { object-position: center 65%; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(42,31,22,.72) 0%, rgba(42,31,22,.35) 45%, rgba(42,31,22,0) 75%),
    linear-gradient(0deg, rgba(42,31,22,.6) 0%, rgba(42,31,22,0) 40%);
}
.hero__brand { padding-top: clamp(1.5rem, 3vw, 2.75rem); }
/* zweiter Grenzwert an der Höhe: auf flachen Fenstern schrumpft das Logo mit */
.hero__brand .logo { width: min(clamp(184px, 21vw, 310px), 36vh); height: auto; }
.hero__inner { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(4rem, 8vw, 6.5rem); }
.hero__content { max-width: 780px; }
.hero__title {
  font-size: min(clamp(1.9rem, 1.35rem + 2.6vw, 3.12rem), 7vh);
  font-weight: 600;
  line-height: var(--lh-tight);
  margin-block: 0.35rem 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* Manual line-break in the hero headline: desktop only, wrap naturally on phones */
.br-hero { display: none; }
@media (min-width: 620px) { .br-hero { display: inline; } }
.hero .eyebrow { color: rgba(247,242,232,.9); }
/* 3vh ≈ derselbe Faktor wie beim Titel (7vh), damit beide gleich breit bleiben */
.eyebrow--hero { font-size: min(clamp(1rem, 0.72rem + 1.35vw, 1.35rem), 3vh); letter-spacing: 0.06em; margin-bottom: 0.45rem; text-wrap: balance; }
.hero__text { font-size: var(--fs-lead); color: rgba(247,242,232,.9); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Sub-page (Raumvermietung) hero */
.hero--sub { min-height: max(calc(100svh - 100px), 30rem); }

/* -------------------------------------------------------------
   6. Primary navigation
   Desktop: Leiste unter dem Hero, sticky.
   Mobile (mit JS): Burger-Button fix rechts oben, Panel klappt von oben herunter.
   Ohne JS bleibt überall die klassische Leiste stehen.
   ------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  background: var(--c-cream);
  border-bottom: 1px solid rgba(42,31,22,.08);
  z-index: 50;
}
.site-nav__bar { display: none; } /* nur die mobile Burger-Zeile, s. u. */

.site-nav__panel > .container { padding-block: 1.5rem; }
.site-nav__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
}
.site-nav__list a,
.site-nav__list .site-nav__current {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brown);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav__list a:hover { color: var(--c-terracotta); border-color: var(--c-terracotta); }
.site-nav__list .site-nav__current { color: var(--c-terracotta); }

/* ---- Mobile: Burger rechts oben, Panel als Vorhang von oben ---- */
@media (max-width: 899px) {
  .js .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: none;
    border-bottom: 0;
    pointer-events: none; /* Hero bleibt bedienbar, nur Button & Panel fangen Klicks */
  }
  .js .site-nav__bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding-block: clamp(1.15rem, 3vw, 2rem);
    pointer-events: none; /* nur der Button selbst fängt Klicks — Hero-Logo bleibt klickbar */
  }
  .js .site-nav__toggle {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--c-brown);
    color: var(--c-cream);
    box-shadow: 0 8px 20px -10px rgba(42,31,22,.7);
    cursor: pointer;
    transition: background var(--transition);
  }
  .js .site-nav__toggle:hover,
  .js .site-nav.is-open .site-nav__toggle { background: var(--c-terracotta); }
  .js .site-nav__panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding-top: var(--bar-h, 5rem);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    background: var(--c-cream);
    transition:
      max-height 420ms cubic-bezier(.4, 0, .2, 1),
      opacity 260ms ease,
      box-shadow 260ms ease,
      visibility 420ms;
  }
  .js .site-nav.is-open .site-nav__panel {
    opacity: 1;
    visibility: visible;
    overflow-y: auto; /* falls das Menü höher ist als der Bildschirm */
    box-shadow: 0 18px 30px -18px rgba(42,31,22,.45);
  }
  .js .site-nav__panel > .container { padding-block: 1.75rem 2.25rem; }
}

.site-nav__burger {
  position: relative;
  display: block;
  width: 27px;
  height: 18px;
}
.site-nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top var(--transition), transform var(--transition), opacity var(--transition);
}
.site-nav__burger span:nth-child(1) { top: 0; }
.site-nav__burger span:nth-child(2) { top: 8px; }
.site-nav__burger span:nth-child(3) { top: 16px; }
.site-nav.is-open .site-nav__burger span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.site-nav.is-open .site-nav__burger span:nth-child(2) { opacity: 0; }
.site-nav.is-open .site-nav__burger span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

@media (min-width: 900px) {
  .site-nav__panel > .container { padding-block: 1.15rem; }
  .site-nav__list { flex-direction: row; justify-content: center; gap: clamp(1.25rem, 2.2vw, 2.75rem); }
}

@media (prefers-reduced-motion: reduce) {
  .js .site-nav__panel { transition-duration: 1ms; }
}

/* -------------------------------------------------------------
   7. Split sections (image + text)
   ------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--space-gap);
  align-items: start;
}
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__title { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.25rem); margin-bottom: 1.25rem; }
.split__body .eyebrow { margin-bottom: 0.4rem; }
.split__body > * + * { margin-top: 1.1rem; }
.split__body p:not(.eyebrow) { color: var(--text-muted); }
.split__actions { margin-top: 2rem; }

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .split--reverse .split__media { order: 2; }
  .split--portrait { grid-template-columns: 0.85fr 1fr; align-items: start; }
}

/* "Über mich" — versetzte Foto/Text-Anordnung */
.about-grid { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.about-photo { margin: 0; }
.about-photo picture { display: block; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); margin: 0 0 1rem; text-wrap: balance; }
.about-text p:not(.eyebrow) { color: var(--text-muted); }
.about-text p:not(.eyebrow) + p { margin-top: 1rem; }
/* Mobile: zweiter Teil (Text + Foto) sitzt in einem aufklappbaren Wrapper */
.about-toggle { display: none; }
.about-more { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "photo1 text1" "text2 photo2";
    align-items: start;
    column-gap: clamp(2rem, 4vw, 4.5rem);
    row-gap: clamp(2.75rem, 5vw, 4.75rem);
  }
  /* engerer Abstand unter dem Eyebrow nur auf Desktop; mobil normaler Abstand */
  .about-text .eyebrow { margin-bottom: 0.3rem; }
  .about-photo--1 { grid-area: photo1; }
  .about-text--1  { grid-area: text1; }
  .about-text--2  { grid-area: text2; }
  .about-photo--2 { grid-area: photo2; }
  /* Der Wrapper verschwindet, seine Kinder liegen wieder direkt im Raster */
  .about-more { display: contents; }
  .about-toggle { display: none; }
}

@media (max-width: 759px) {
  .js .about-toggle {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    margin-top: 0.25rem;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid var(--c-terracotta);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--c-terracotta);
    font: inherit;
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
  }
  .js .about-toggle:hover { background: var(--c-terracotta); color: var(--c-cream); }
  .js .about-toggle__icon {
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--transition);
  }
  .js .about-toggle[aria-expanded="true"] .about-toggle__icon { transform: translateY(1px) rotate(-135deg); }
  /* Vorschau: angeschnittener Text, der nach unten weich ausblendet */
  .js .about-more {
    position: relative;
    overflow: hidden;
    max-height: 9.5rem;
    transition: max-height 460ms cubic-bezier(.4, 0, .2, 1);
  }
  .js .about-more::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 85%);
    pointer-events: none;
    transition: opacity 300ms ease;
  }
  .js .about-more.is-open::after { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .about-more { transition-duration: 1ms; }
}

/* -------------------------------------------------------------
   8. Sage quote band
   ------------------------------------------------------------- */
.quote {
  background: var(--c-sage);
  color: #F7F2E8;
  text-align: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
/* auf dem Handy braucht der grüne Balken mehr Luft nach oben und unten */
@media (max-width: 759px) { .quote { padding-block: 4.5rem; } }
.quote blockquote {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(1.55rem, 1.15rem + 1.9vw, 2.6rem);
  font-weight: 400;
  line-height: 1.4;
}

/* -------------------------------------------------------------
   9. Section heading block
   ------------------------------------------------------------- */
.section-head { max-width: 38rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--tight { margin-bottom: clamp(1rem, 2vw, 1.5rem); } /* nur Eyebrow, keine Überschrift */
.section-head h2 { font-size: var(--fs-h2); }
/* kleinere Variante — gleiche Größe wie der Raumvermietungs-Teaser */
.section-head--sm h2 { font-size: clamp(1.55rem, 1.15rem + 1.6vw, 2.25rem); }

/* -------------------------------------------------------------
   10. Service cards ("Vier Wege")
   ------------------------------------------------------------- */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  position: relative;
  background: var(--c-terracotta);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* whole card is clickable (stretched link over the "Mehr erfahren" anchor) */
.service-card .link-more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card__num { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; color: rgba(247,242,232,.65); }
.service-card__title { font-size: var(--fs-card); font-weight: 600; }
.service-card__body { color: rgba(247,242,232,.85); }
.service-card .link-more { margin-top: auto; padding-top: 0.75rem; color: var(--c-cream); }

/* -------------------------------------------------------------
   10b. Preise
   ------------------------------------------------------------- */
.section-head__lead { margin-top: 1rem; color: var(--text-muted); }

.price-list {
  list-style: none;
  padding: 0;
  max-width: 68rem;
  display: grid;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 760px) { .price-list { grid-template-columns: 1fr 1fr; } }
.price-item {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding-block: clamp(1rem, 2vw, 1.4rem);
  border-bottom: 1px solid rgba(42,31,22,.14);
}
/* Preis bleibt auch bei langen Angaben ("90-145 EUR") neben dem Titel:
   nowrap verhindert den Zeilenumbruch, min-width/hyphens lassen den Titel
   stattdessen umbrechen, falls es auf sehr schmalen Displays eng wird. */
.price-item__label { min-width: 0; }
.price-item__title {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 600;
  line-height: var(--lh-snug);
  hyphens: auto;
  overflow-wrap: anywhere;
}
.price-item__note { margin-top: 0.25rem; font-size: 0.95rem; color: var(--text-muted); }
.price-item__value {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 600;
  color: var(--c-terracotta);
  white-space: nowrap;
}
/* Fußnote unter der Preisliste — bewusst schlicht, kein Kasten */
.price-hint {
  max-width: 68rem;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   11. Post cards ("Angebote und Neues")
   ------------------------------------------------------------- */
.cards--3 { grid-template-columns: 1fr; }
@media (max-width: 679px)  { .cards--3 { gap: 2.75rem; } }
@media (min-width: 680px)  { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  background: var(--c-cream-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card--clickable { position: relative; cursor: pointer; }
.post-card--clickable .link-more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__media { aspect-ratio: 3 / 2; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; gap: 0.7rem; }
.post-card__date { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.post-card__title { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); font-weight: 600; color: var(--c-terracotta); line-height: 1.3; }
.post-card__excerpt { color: var(--text-muted); font-size: 0.95rem; }

/* Ab dem 4. Eintrag: horizontaler Scroller mit denselben Pfeilen wie die Raum-Galerie */
.scroller { position: relative; }
.news-track {
  --track-gap: clamp(1.25rem, 2.5vw, 1.75rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 340px);
  gap: var(--track-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.news-track > * { scroll-snap-align: start; }
@media (min-width: 680px)  { .news-track { grid-auto-columns: calc((100% - var(--track-gap)) / 2); } }
@media (min-width: 1000px) { .news-track { grid-auto-columns: calc((100% - 2 * var(--track-gap)) / 3); } }
.news-scroller .gallery-arrow { top: 50%; }

/* -------------------------------------------------------------
   11b. Resonanz (Kundenstimmen) — gleicher Scroller wie „Aktuelles"
   ------------------------------------------------------------- */
.voices-track {
  --track-gap: clamp(1.25rem, 2.5vw, 1.75rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 340px);
  gap: var(--track-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.voices-track > * { scroll-snap-align: start; }
@media (min-width: 680px)  { .voices-track { grid-auto-columns: calc((100% - var(--track-gap)) / 2); } }
@media (min-width: 1000px) { .voices-track { grid-auto-columns: calc((100% - 2 * var(--track-gap)) / 3); } }
.voices-scroller .gallery-arrow { top: 50%; }
.voices-single { max-width: 42rem; }

.voice-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
/* Dezente Marke oben in der Karte — rein dekorativ */
.voice-card::before {
  content: "“";
  display: block;
  height: clamp(1.4rem, 2.5vw, 1.9rem);
  font-size: clamp(3.25rem, 5vw, 4rem);
  line-height: 1;
  color: var(--c-terracotta);
  opacity: .3;
}
/* Anführungszeichen setzt die Seite, nicht Nora */
.voice-card__text { color: var(--text); }
.voice-card__text::before { content: "„"; }
.voice-card__text::after  { content: "“"; }
.voice-card__author {
  margin-top: auto;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terracotta);
}
.voice-card__role {
  display: block;
  margin-top: .25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   12. Teaser (room rental) — uses .split on a veiled surface
   ------------------------------------------------------------- */
.band-cream2 { background: var(--c-cream-2); }
.band-white { background: #fff; }

/* -------------------------------------------------------------
   13. Gallery ("Der Raum im Detail") — CSS scroll-snap, no JS
   ------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88%, 780px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery > figure { scroll-snap-align: center; margin: 0; }
.gallery img { width: 100%; height: min(clamp(280px, 46vw, 560px), 62vh); object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 0.75rem; font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.gallery__hint { margin-top: 1rem; font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* -------------------------------------------------------------
   14. Contact section
   ------------------------------------------------------------- */
.contact { background: var(--c-terracotta); color: var(--c-cream); }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "head ." "form details";
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    row-gap: 0;
  }
  .contact__head { grid-area: head; }
  .contact__form-wrap { grid-area: form; }
  .contact__details { grid-area: details; }
}
@media (max-width: 899px) {
  .contact__grid { gap: 0; }
  .contact__intro { margin-bottom: 1.5rem; }   /* Intro → erstes Feld: weniger */
  .contact__form-wrap { margin-bottom: 5rem; } /* nach „Senden" → Kontaktdaten: mehr */
}
.contact__title { font-size: var(--fs-h2); color: #fff; margin-bottom: 1rem; }
.contact__intro { color: rgba(247,242,232,.85); max-width: 46ch; margin-bottom: 2.5rem; }

/* Form */
.form__row { margin-bottom: 1.5rem; }
.form__row label { display: block; margin-bottom: 0.5rem; font-size: 0.95rem; }
.form__row input,
.form__row textarea {
  width: 100%;
  background: transparent;
  border: 1.5px solid rgba(247,242,232,.55);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--c-cream);
  transition: border-color var(--transition), background var(--transition);
}
.form__row textarea { resize: vertical; min-height: 150px; }
.form__row input::placeholder,
.form__row textarea::placeholder { color: rgba(247,242,232,.55); }
.form__row input:focus,
.form__row textarea:focus { outline: none; border-color: var(--c-cream); background: rgba(247,242,232,.06); }

.form__check { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 2rem; font-size: 0.95rem; color: rgba(247,242,232,.9); }
.form__check input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; accent-color: var(--c-cream); flex: none; }
.form__check a { text-decoration: underline; }

/* Rückmeldung nach dem Absenden — steht unter dem Senden-Button */
.form__msg {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1.5px solid rgba(247,242,232,.55);
  background: rgba(247,242,232,.12);
  color: var(--c-cream);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 46ch;
}
.form__msg--err { border-color: var(--c-cream); background: rgba(0,0,0,.14); }
.form__msg[hidden] { display: none; }

/* honeypot */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Contact details */
.contact__details { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item { border-bottom: 1px solid rgba(247,242,232,.28); padding-bottom: 1.25rem; }
.contact-item__label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-brown); margin-bottom: 0.4rem; }
.contact-item a:hover { text-decoration: underline; }
.contact__note { color: var(--c-brown); font-size: 0.95rem; }
address { font-style: normal; }

/* -------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------- */
.site-footer { background: var(--c-brown); color: var(--on-dark-muted); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.site-footer__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.site-footer__logo { width: clamp(210px, 32vw, 340px); margin-bottom: 0.5rem; opacity: 0.72; }
.site-footer__cols { display: grid; gap: 2.5rem; }
@media (min-width: 620px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 2fr; align-items: start; } }

.footer-col h3 { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-amber); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a:hover, .footer-col li:hover { color: var(--c-cream); }
.site-footer__bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem; border-top: 1px solid rgba(247,242,232,.14); font-size: 0.85rem; color: rgba(247,242,232,.5); }

/* -------------------------------------------------------------
   16. Simple legal / content pages
   ------------------------------------------------------------- */
.page-header { background: var(--c-brown); color: var(--c-cream); padding-block: clamp(3rem, 6vw, 5rem); }
.page-header .logo { width: 120px; margin-bottom: 2rem; }
.page-header h1 { font-size: var(--fs-h2); }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--fs-h3); margin-top: 2.5rem; }
.prose h3 { font-size: var(--fs-card); margin-top: 1.75rem; }
.prose a { color: var(--c-terracotta); text-decoration: underline; }
/* Buttons im Fließtext behalten ihre eigene Farbe (sonst Terrakotta auf Terrakotta) */
.prose a.btn { text-decoration: none; }
.prose a.btn--primary, .prose a.btn--on-dark { color: var(--c-cream); }
.prose a.btn--outline { color: var(--c-terracotta); }
.prose a.btn--outline:hover { color: var(--c-cream); }
/* „Zurück zur Startseite": nur den Text unterstreichen, den Pfeil nicht */
.prose .link-more { text-decoration: none; }
.prose .link-more span { text-decoration: underline; }
.prose ul { padding-left: 1.25rem; }
.note-box { background: var(--c-cream-2); border-left: 4px solid var(--c-amber); padding: 1rem 1.25rem; border-radius: 8px; font-size: 0.95rem; color: var(--text-muted); }

/* -------------------------------------------------------------
   17. Service overlays (pure-CSS :target modal)
   ------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}
.modal:target { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(42, 31, 22, 0.62); }
.modal__box {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--c-cream);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 30px 80px -30px rgba(42, 31, 22, .6);
  transform: translateY(14px);
  transition: transform 250ms ease;
}
.modal:target .modal__box { transform: translateY(0); }
/* Bildlaufleiste ausblenden – Scrollen bleibt möglich, kein sichtbarer Balken */
.modal__box { scrollbar-width: none; -ms-overflow-style: none; }
.modal__box::-webkit-scrollbar { width: 0; height: 0; display: none; }
.modal__close {
  position: sticky; top: 0; float: right;
  margin: -0.75rem -0.75rem 0 1rem;
  width: 2.5rem; height: 2.5rem; flex: none;
  display: grid; place-items: center;
  font-size: 1.7rem; line-height: 1;
  color: var(--c-cream);
  background: var(--c-terracotta);
  border-radius: 50%;
  transition: filter var(--transition);
}
.modal__close:hover { filter: brightness(1.18); }
.modal__title { font-size: var(--fs-h3); margin: 0.25rem 0 1.25rem; }
.modal .rich { margin-bottom: 2.25rem; }

/* Rich text inside overlays / room detail */
.rich > * + * { margin-top: 1rem; }
.rich p { color: var(--text-muted); }
.rich h3 { font-size: var(--fs-card); margin-top: 1.75rem; }
.rich ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.45rem; color: var(--text-muted); }

/* -------------------------------------------------------------
   18. Gallery thumbnails (Raumvermietung)
   ------------------------------------------------------------- */
.gallery figure { scroll-margin: 96px 1rem; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.gallery-thumb {
  display: block;
  width: clamp(76px, 18vw, 112px);
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.72;
  transition: opacity var(--transition), border-color var(--transition);
}
.gallery-thumb picture { display: block; width: 100%; height: 100%; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb:focus-visible { opacity: 1; border-color: var(--c-terracotta); }

/* Gallery arrows (shown only when JS enhances) */
.gallery-wrap { position: relative; }
.gallery-arrow {
  display: none;
  position: absolute; top: calc(50% - 1.6rem); transform: translateY(-50%);
  z-index: 5; width: 2.75rem; height: 4.75rem;
  align-items: center; justify-content: center;
  border-radius: 1.4rem;
  background: var(--c-cream); color: var(--c-brown);
  border: 1px solid rgba(42, 31, 22, .12);
  box-shadow: 0 8px 24px -12px rgba(42, 31, 22, .5);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}
.gallery-wrap.is-enhanced .gallery-arrow,
.scroller.is-enhanced .gallery-arrow { display: flex; }
/* Pfeil ausblenden, wenn es in diese Richtung nichts mehr zu scrollen gibt */
.scroller.at-start .gallery-arrow--prev,
.scroller.at-end .gallery-arrow--next { opacity: 0; pointer-events: none; }
/* Mobile: kein Pfeil-Paar — dass es seitlich weitergeht, sieht man am angeschnittenen Eintrag */
@media (max-width: 899px) {
  .news-scroller.is-enhanced .gallery-arrow,
  .voices-scroller.is-enhanced .gallery-arrow { display: none; }
}
.gallery-arrow:hover { background: var(--c-terracotta); color: #fff; }
.gallery-arrow--prev { left: 0.5rem; }
.gallery-arrow--next { right: 0.5rem; }
@media (min-width: 1000px) { .gallery-arrow--prev { left: -1.25rem; } .gallery-arrow--next { right: -1.25rem; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(42, 31, 22, .93);
  display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: grid; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox__fig img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 8px; }
.lightbox__fig figcaption { margin-top: 0.9rem; color: var(--c-cream); font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox__close, .lightbox__arrow {
  position: absolute; z-index: 1; width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 242, 232, .4); border-radius: 50%;
  background: rgba(247, 242, 232, .1); color: var(--c-cream);
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  transition: background var(--transition);
}
.lightbox__close:hover, .lightbox__arrow:hover { background: rgba(247, 242, 232, .25); }
.lightbox__close { top: 1.25rem; right: 1.5rem; }
.lightbox__arrow { top: 50%; transform: translateY(-50%); }
.lightbox__arrow--prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__arrow--next { right: clamp(0.75rem, 3vw, 2rem); }

/* Room detail prose */
/* Raum-Details: „Der Raum / Ausstattung" links, „Geeignet für / Buchung" rechts */
.room-detail { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.room-detail .prose > :first-child { margin-top: 0; }
/* linke Spalte minimal schmaler — dort steht der längere Fließtext */
@media (min-width: 860px) { .room-detail { grid-template-columns: 0.9fr 1fr; } }

.prose--room { max-width: 760px; }
.prose--room h3 { font-size: var(--fs-card); margin-top: 2rem; color: var(--c-terracotta); }
.prose--room ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose--room p { color: var(--text-muted); }
