/* =========================================================================
   TERRA COTTA - das Keramikatelier von Ursula Rhensius
   Design-System: warmes Editorial, handwerklich, ruhig.
   ========================================================================= */

@import url("fonts.css");

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { margin: 0; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* --- Design Tokens ------------------------------------------------------ */
:root {
  /* Farben: aus der echten Website (#993300 Ueberschrift, #808080 Text) und
     dem tatsaechlichen Firmenlogo per Pixel-Sampling abgeleitet, siehe
     phase2_markenanalyse.md */
  --ink: #221f1d;
  --ink-soft: #55504b;
  --paper: #f7f2ec;
  --paper-alt: #ece2d4;
  --paper-deep: #ddcfbb;
  --line: rgba(34, 31, 29, 0.14);
  --terracotta: #993300;
  --terracotta-dark: #732600;
  --amber: #c46627;
  --petrol: #0e6f8e;
  --rust: #a3272c;
  --white: #fffdfb;

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --shadow-soft: 0 20px 45px -25px rgba(34, 22, 12, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-theme="dark"], :root:not([data-theme="light"]) {
  color-scheme: light;
}

/* --- Basistypografie ----------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 4.4vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p { color: var(--ink-soft); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 46em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 1px;
  background: currentColor;
}

.italic-lead { font-family: var(--font-serif); font-style: italic; font-weight: 500; }

/* --- Layout-Hilfen -------------------------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--alt { background: var(--paper-alt); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink p { color: rgba(247, 242, 236, 0.75); }
.section--ink h2 { color: var(--paper); }
.section-head { max-width: 40em; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: 0.8em 1.2em;
  border-radius: var(--radius); transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.8em;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); flex-shrink: 0; }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(3px); }
.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--terracotta-dark); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--paper); }
.btn--ghost-light { border-color: rgba(247,242,236,0.55); color: var(--paper); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { background: var(--paper); color: var(--ink); }
.btn--link { padding: 0; border-radius: 0; position: relative; color: var(--terracotta); }
.btn--link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.2em; height: 2px;
  background: currentColor; transform: scaleX(0.3); transform-origin: left; transition: transform 0.3s var(--ease);
}
.btn--link:hover::after, .btn--link:focus-visible::after { transform: scaleX(1); }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 236, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 0.9rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  margin-right: auto;
  flex-shrink: 0;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.01em; white-space: nowrap; }
.brand__sub { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.1rem);
}
.primary-nav__list a {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4em 0.1em;
  position: relative;
}
.primary-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.primary-nav__list a:hover::after,
.primary-nav__list a:focus-visible::after,
.primary-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__list a[aria-current="page"] { color: var(--terracotta); }

.header-cta { flex-shrink: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta.btn { display: none; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px);
    background: var(--paper); padding: 6rem 2rem 2rem;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,0.35);
  }
  .primary-nav[data-open="true"] { transform: translateX(0); }
  .primary-nav__list { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .primary-nav__list a { font-size: 1.15rem; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(20,16,12,0.4); opacity: 0;
    pointer-events: none; transition: opacity 0.3s var(--ease); z-index: 90;
  }
  .nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  min-height: min(92vh, 880px);
  display: flex;
  align-items: stretch;
}
.hero__stage {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__layer {
  position: absolute; inset: -6%;
  width: 112%; height: 112%;
  object-fit: cover;
  object-position: right center;
  will-change: transform;
}
.hero__layer--bg {
  filter: saturate(0.95);
  transform: scale(1.08);
}
.hero__layer--plate {
  transform: scale(1.02);
}
.hero__glow {
  position: absolute; inset: 0;
  mix-blend-mode: screen;
  opacity: 0.55;
  background: radial-gradient(38em 30em at 30% 40%, rgba(255, 214, 160, 0.55), transparent 60%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 42% 100%);
  transform: translate3d(0,0,0);
  pointer-events: none;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(17,14,11,0.94) 0%, rgba(17,14,11,0.75) 34%, rgba(17,14,11,0.18) 56%, rgba(17,14,11,0.05) 68%),
    linear-gradient(0deg, rgba(10,8,6,0.55) 0%, transparent 30%);
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.6rem;
  padding-block: clamp(6rem, 14vh, 9rem);
  max-width: 34rem;
}
.hero .eyebrow { color: #f0c894; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: #f0c894; }
.hero__lede { color: rgba(247, 242, 236, 0.82); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.4rem; font-size: 0.85rem; color: rgba(247,242,236,0.65); }
.hero__meta span { display: flex; align-items: center; gap: 0.5em; }
.hero__meta svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.hero__scrolldown {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(247,242,236,0.7); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__scrolldown span.line { width: 1px; height: 34px; background: currentColor; overflow: hidden; position: relative; }
.hero__scrolldown span.line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #f0c894; animation: scrollpulse 2.2s var(--ease) infinite;
}
@keyframes scrollpulse { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

.no-js .hero__layer--plate { position: static; width: 100%; height: auto; inset: auto; }
.no-js .hero__layer--bg, .no-js .hero__glow { display: none; }
.no-js .hero__stage { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .hero__scrolldown span.line::after { animation: none; display: none; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; }
  .hero__content { padding-block: 7.5rem 3.5rem; max-width: none; }
  .hero__layer { object-position: 68% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(17,14,11,0.55) 0%, rgba(17,14,11,0.94) 62%, rgba(17,14,11,0.97) 100%);
  }
  .hero__glow { clip-path: none; opacity: 0.35; }
}

/* =========================================================================
   Intro / Werke-Teaser
   ========================================================================= */
.intro-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.intro-grid .section-head { grid-column: 1 / span 7; margin-bottom: 0; }
.intro-grid .intro-figures { grid-column: 8 / span 5; }
.stat-row { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; margin-top: 1rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-serif); font-size: clamp(2rem, 3.2vw, 2.8rem); color: var(--terracotta); line-height: 1; }
.stat span { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--paper-deep); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover img, .work-card:focus-within img { transform: scale(1.06); }
.work-card figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.4rem 1.2rem;
  background: linear-gradient(0deg, rgba(20,16,12,0.85), transparent 80%);
  color: var(--white); font-size: 0.9rem; font-weight: 500;
}

@media (max-width: 900px) {
  .intro-grid .section-head, .intro-grid .intro-figures { grid-column: 1 / -1; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Split-Sektion (Material / Handwerk)
   ========================================================================= */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow-soft); }
.split__media .badge {
  position: absolute; bottom: -1.4rem; left: -1.4rem;
  background: var(--white); border-radius: var(--radius);
  padding: 1rem 1.3rem; box-shadow: var(--shadow-soft);
  font-family: var(--font-serif); font-weight: 600; font-size: 0.95rem;
  max-width: 13rem;
}
.split__body { display: flex; flex-direction: column; gap: 1.1rem; }
.split__list { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.4rem; }
.split__list li { display: flex; gap: 0.8em; align-items: flex-start; color: var(--ink-soft); }
.split__list svg { width: 1.3em; height: 1.3em; color: var(--terracotta); flex-shrink: 0; margin-top: 0.15em; }

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .badge { left: 1rem; bottom: -1.2rem; }
}

/* =========================================================================
   Zitat / Bewertung
   ========================================================================= */
.quote {
  max-width: 46em; margin-inline: auto; text-align: center;
}
.quote blockquote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; margin: 0 0 1.2rem;
}
.quote cite { font-style: normal; font-size: 0.9rem; color: rgba(247,242,236,0.7); display: block; }
.quote__stars { display: flex; justify-content: center; gap: 0.2rem; margin-bottom: 1.4rem; color: #f0c894; }
.quote__stars svg { width: 1.2rem; height: 1.2rem; }

/* =========================================================================
   Öffnungszeiten + Karte
   ========================================================================= */
.visit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
}
.info-list { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.5rem; }
.info-list__item { display: flex; gap: 1rem; }
.info-list__item svg { width: 1.4em; height: 1.4em; color: var(--terracotta); flex-shrink: 0; margin-top: 0.15em; }
.info-list__item h4 { margin-bottom: 0.3rem; color: var(--ink); letter-spacing: 0.06em; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.3rem; }
.hours-table td { padding: 0.35em 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.hours-table tr:last-child td { border-bottom: none; }

.map-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end; gap: 0.6rem;
  padding: 1.6rem; background:
    linear-gradient(160deg, var(--paper-deep), var(--paper-alt));
}
.map-frame__fallback svg { width: 2.2rem; height: 2.2rem; color: var(--terracotta); }

@media (max-width: 780px) {
  .visit-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { max-width: 52em; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.4rem 0.2rem; text-align: left;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
}
.faq-item__q svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--terracotta); }
.faq-item[data-open="true"] .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a {
  overflow: hidden; max-height: 0; transition: max-height 0.35s var(--ease);
}
.faq-item__a p { padding: 0 0.2rem 1.5rem; max-width: 42em; }
.faq-item[data-open="true"] .faq-item__a { max-height: 20em; }

/* =========================================================================
   CTA-Band
   ========================================================================= */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem); border-radius: var(--radius);
  background: linear-gradient(120deg, var(--terracotta), var(--terracotta-dark));
  color: var(--white);
}
.cta-band h2 { color: var(--white); max-width: 22em; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: rgba(247,242,236,0.75); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(247,242,236,0.14);
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; }
.footer-brand strong { font-family: var(--font-serif); color: var(--paper); font-size: 1.1rem; }
.footer-col h4 { color: rgba(247,242,236,0.5); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: 0.85rem; }
.footer-bottom__links { display: flex; gap: 1.4rem; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Seiten-Hero (Unterseiten)
   ========================================================================= */
.page-hero {
  background: var(--ink); color: var(--paper);
  padding-block: clamp(6.5rem, 16vh, 9rem) clamp(3rem, 6vw, 4.5rem);
}
.page-hero .eyebrow { color: #f0c894; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(247,242,236,0.78); }
.breadcrumb { display: flex; gap: 0.5em; font-size: 0.85rem; color: rgba(247,242,236,0.55); margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--paper); }

/* =========================================================================
   Biografie / Timeline
   ========================================================================= */
.timeline { position: relative; max-width: 48em; margin-inline: auto; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 0.4rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 2.6rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.2rem; top: 0.35rem; width: 0.9rem; height: 0.9rem;
  border-radius: 50%; background: var(--terracotta); border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--line);
}
.timeline-item time { display: block; font-weight: 600; color: var(--terracotta); margin-bottom: 0.3rem; font-size: 0.9rem; letter-spacing: 0.04em; }

/* =========================================================================
   Arbeiten / Galerie
   ========================================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: clamp(2rem, 4vw, 2.8rem); }
.filter-bar button {
  padding: 0.6em 1.2em; border-radius: 999px; border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 500; transition: all 0.25s var(--ease);
}
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-bar button:hover { border-color: var(--ink); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item[data-size="tall"] { grid-row: span 2; }
.gallery-item[data-size="tall"] img { aspect-ratio: 4/8.4; }
.gallery-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1.2rem;
  background: linear-gradient(0deg, rgba(20,16,12,0.82), transparent 75%);
  color: var(--white); font-size: 0.85rem;
  opacity: 0; transform: translateY(6px); transition: all 0.3s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-within figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item[data-size="tall"] { grid-row: auto; }
  .gallery-item[data-size="tall"] img { aspect-ratio: 4/5; }
}

.material-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2rem); margin-top: 2rem; }
.material-steps__item { padding: 1.8rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.material-steps__item strong { font-family: var(--font-serif); font-size: 1.6rem; color: var(--terracotta); display: block; margin-bottom: 0.6rem; }
@media (max-width: 780px) { .material-steps { grid-template-columns: 1fr; } }

/* =========================================================================
   Kontakt
   ========================================================================= */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; }
.form-row input, .form-row textarea {
  padding: 0.85em 1em; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(153,51,0,0.12); outline: none; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }
.honeypot { position: absolute; left: -9999px; top: -9999px; }

.booking-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  background: var(--white); display: flex; flex-direction: column; gap: 1rem;
}
.booking-embed {
  border: 1px dashed var(--line); border-radius: var(--radius);
  min-height: 220px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.7rem; text-align: center; padding: 1.5rem;
  background: var(--paper-alt); color: var(--ink-soft); font-size: 0.9rem;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================================= */
.legal-notice {
  background: #fbeee0; border: 1px solid #e9c9a0; color: #6b4413;
  border-radius: var(--radius); padding: 1rem 1.3rem; font-size: 0.9rem;
  margin-bottom: 2.5rem; display: flex; gap: 0.8rem; align-items: flex-start;
}
.legal-notice svg { width: 1.3em; height: 1.3em; flex-shrink: 0; margin-top: 0.1em; }
.legal-content { max-width: 46em; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2.2rem; margin-bottom: 0.7rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 0.6rem; }
.legal-content ul { padding-left: 1.2rem; list-style: disc; }
.legal-content a { color: var(--terracotta); text-decoration: underline; }

/* =========================================================================
   Divers
   ========================================================================= */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.8rem;
  padding: 0.5em 1em; border-radius: 999px; background: var(--paper-alt); color: var(--ink-soft);
}
