/* ==========================================================================
   Ambienteaura – Stylesheet
   Übersetzt 1:1 aus den bisherigen Inline-Styles der SPA.
   Reihenfolge: Tokens → Basis → Layout → Komponenten → Seiten → Media Queries
   ========================================================================== */

/* --- 1. Design-Tokens ---------------------------------------------------- */
:root {
  /* Farben. Der Akzent lag in der SPA als Prop mit Default #C39C59 vor. */
  --accent:        #C39C59;
  --bg:            #F5EDE2;
  --bg-band:       #EFE3D2;
  --bg-card:       #FBF5EC;
  --bg-input:      #FFFDF9;
  --bg-dark:       #221A13;
  --bg-footer:     #1B140E;
  --ink:           #2B2118;
  --ink-2:         #4A3B2C;
  --ink-3:         #5C4D3D;
  --ink-4:         #6A5A47;
  --ink-5:         #7A6A57;
  --ink-6:         #8A7A66;
  --light:         #F5EDE2;
  --light-2:       #FBF5EC;
  --light-3:       #C9B89E;
  --rose:          #D89A7E;
  --star:          #E8A33D;
  --error:         #A6635E;
  --line:          rgba(43, 33, 24, 0.10);
  --line-2:        rgba(43, 33, 24, 0.16);
  --line-dark:     rgba(245, 237, 226, 0.10);

  /* Typografie */
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Maße */
  --wrap:   1200px;
  --pad-x:  clamp(20px, 5vw, 32px);
  --radius: 22px;
  --header-h: 77px;
}

/* --- 2. Basis ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
input, textarea, button, select { font-size: 16px; }
a { color: inherit; }

::selection { background: #B85C38; color: var(--light-2); }

/* Tastaturfokus sichtbar machen (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Nur für Screenreader */
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Sprunglink */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--light);
  padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 700;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* Buttons ohne Browser-Defaults, wenn sie wie eine Fläche aussehen sollen */
.plain {
  border: 0; padding: 0; background: none; font: inherit;
  color: inherit; text-align: left; width: 100%; display: block;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* --- 3. Animationen ------------------------------------------------------ */
@keyframes aa-fade    { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aa-sheen   { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes aa-kenburns{ from { transform: scale(1.02); } to { transform: scale(1.13); } }
@keyframes aa-progress{ from { transform: scaleX(0); } to { transform: scaleX(1); } }

.fade    { animation: aa-fade .7s ease both; }
.fade-lg { animation: aa-fade .9s ease both; }
.fade-sm { animation: aa-fade .5s ease both; }

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

/* --- 4. Header ----------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(245, 237, 226, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.header__brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.header__logo { height: 44px; width: 44px; object-fit: contain; mix-blend-mode: multiply; }
.header__name {
  font-family: var(--sans); font-weight: 800; letter-spacing: 0.18em;
  font-size: clamp(13px, 2.6vw, 15px); text-transform: uppercase; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  text-decoration: none; transition: background .2s, color .2s; color: var(--ink-2);
}
.nav__link:hover { background: rgba(43, 33, 24, 0.06); }
.nav__link[aria-current="page"] { color: var(--light-2); background: var(--accent); }

.header__side { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(43, 33, 24, 0.18);
  color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.header__spacer { height: var(--header-h); }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  border: 1px solid transparent; text-align: center; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent); color: var(--light-2);
  box-shadow: 0 12px 26px -10px rgba(34, 26, 19, 0.4);
}
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(43, 33, 24, 0.2); }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: rgba(43, 33, 24, 0.25); }
.btn--sm { padding: 15px 26px; }
.btn--header {
  padding: 11px 22px; font-size: 14px; letter-spacing: 0.02em;
  background: var(--accent); color: var(--light-2);
  box-shadow: 0 8px 20px -8px rgba(34, 26, 19, 0.35);
}

/* --- 6. Wiederkehrende Textbausteine ------------------------------------- */
.kicker {
  display: block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 16px;
}
.kicker--inline {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
}
.kicker__rule { width: 26px; height: 1px; background: var(--accent); }

.h1-hero {
  font-family: var(--serif); font-weight: 400; font-size: 58px;
  line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 22px;
}
.h1-hero em { font-style: italic; color: var(--accent); }
.h1-page { font-family: var(--serif); font-weight: 400; font-size: 50px; line-height: 1.06; margin: 0 auto 20px; max-width: 720px; }
.h1-left { font-family: var(--serif); font-weight: 400; font-size: 50px; line-height: 1.06; margin: 0; max-width: 640px; }
.h1-legal { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin: 0 0 36px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 5vw, 38px); line-height: 1.12; margin: 0 0 20px; }
.h2--tight { margin: 0; }
.h3-legal { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 0 0 10px; }

.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--ink-4); max-width: 480px; margin: 0 0 34px; }
.legal-p { font-size: 16px; line-height: 1.7; color: var(--ink-3); margin: 0 0 26px; }
.legal-p:last-child { margin-bottom: 0; }
.legal-p a { color: var(--accent); }

/* --- 7. Hero ------------------------------------------------------------- */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 72px 32px 40px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero__stats { display: flex; flex-wrap: wrap; gap: 22px 40px; margin-top: 44px; }
.hero__stat-n { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 30px); color: var(--accent); }
.hero__stat-l { font-size: 13px; color: var(--ink-6); letter-spacing: 0.04em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__glow {
  position: absolute; inset: -24px -24px -24px 24px;
  background: radial-gradient(circle at 70% 30%, rgba(34, 26, 19, 0.18), transparent 60%);
  filter: blur(20px); z-index: 0;
}
.slider {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; background: #1A120B;
  box-shadow: 0 40px 80px -30px rgba(34, 26, 19, 0.55);
}
.slide {
  position: absolute; inset: 0; overflow: hidden; z-index: 1; opacity: 0;
  transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1);
}
.slide.is-active { z-index: 2; opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide:nth-child(odd) img  { transform-origin: 70% 30%; }
.slide:nth-child(even) img { transform-origin: 30% 70%; }
.slide.is-active img { animation: aa-kenburns 6.5s ease-out both; }

.slider__scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, rgba(20, 14, 9, 0.62), rgba(20, 14, 9, 0.05) 46%, rgba(20, 14, 9, 0.18));
}
.slider__sheen-wrap { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.slider__sheen {
  position: absolute; top: -40%; left: -60%; width: 45%; height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(16deg); animation: aa-sheen 6s ease-in-out 1.2s infinite;
}
.slider__caption {
  position: absolute; z-index: 5; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.slider__caption-key {
  display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700; color: rgba(245, 237, 226, 0.8); margin-bottom: 6px;
}
.slider__caption-key span { width: 18px; height: 1px; background: rgba(245, 237, 226, 0.65); }
.slider__caption-text {
  font-family: var(--serif); font-size: 23px; line-height: 1.2; color: #F8F2E8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.slider__dots { display: flex; gap: 8px; flex-shrink: 0; padding-bottom: 4px; }
.slider__dot {
  cursor: pointer; height: 6px; width: 10px; border: 0; padding: 0; border-radius: 999px;
  background: rgba(245, 237, 226, 0.42);
  transition: width .5s cubic-bezier(.4, 0, .2, 1), background .4s;
}
.slider__dot[aria-current="true"] { width: 30px; background: var(--light); }
.slider__track {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(245, 237, 226, 0.16);
}
.slider__bar {
  height: 100%; width: 100%; background: var(--accent);
  transform-origin: left; animation: aa-progress 3s linear both;
}
.hero__badge {
  position: absolute; z-index: 6; top: 18px; left: 18px;
  background: rgba(34, 26, 19, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--bg); padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 28px -12px rgba(34, 26, 19, 0.7);
}

/* --- 8. Ticker ----------------------------------------------------------- */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-band); margin-top: 32px;
}
.ticker__row {
  max-width: var(--wrap); margin: 0 auto; padding: 20px clamp(18px, 5vw, 32px);
  display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; justify-content: center;
}
.ticker__item {
  cursor: pointer; text-decoration: none; font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-2);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s, transform .2s;
}
.ticker__item:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.ticker__arrow { color: var(--accent); font-weight: 700; }

/* --- 9. Intro / Warum ---------------------------------------------------- */
.intro {
  max-width: var(--wrap); margin: 0 auto; padding: 88px 32px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
}
.intro h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4.6vw, 36px); line-height: 1.16; margin: 0; }
.intro__body { font-size: 17px; line-height: 1.7; color: var(--ink-3); }
.intro__body p { margin: 0 0 20px; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.why__item { border-left: 2px solid var(--accent); padding-left: 16px; }
.why__t { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.why__d { font-size: 14px; color: var(--ink-5); line-height: 1.5; }

/* --- 10. Bilder-Band ----------------------------------------------------- */
.band { background: var(--bg-dark); color: var(--light); padding: clamp(52px, 9vw, 80px) 0; }
.band__head {
  max-width: var(--wrap); margin: 0 auto 34px; padding: 0 var(--pad-x);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 20px;
}
.band__kicker { color: var(--rose); margin-bottom: 12px; }
.band__h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 5vw, 38px); margin: 0; }
.band__link { color: var(--light); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.band__grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

/* Bildkachel, gemeinsam von Band und Galerie genutzt */
.tile {
  cursor: pointer; overflow: hidden; border-radius: 14px; position: relative;
  box-shadow: 0 10px 26px -18px rgba(34, 26, 19, 0.5);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease;
}
.tile--band { aspect-ratio: 3 / 4; }
.tile:hover { transform: translateY(-10px) scale(1.045); box-shadow: 0 30px 46px -18px rgba(34, 26, 19, 0.55); }
.tile__img { width: 100%; height: 100%; transition: transform .6s cubic-bezier(.22, 1, .36, 1), filter .6s ease; }
.tile:hover .tile__img { transform: scale(1.12); filter: saturate(1.25) brightness(1.06); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__cap {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 14, 9, 0.55), transparent 55%);
  opacity: 0; transition: opacity .4s ease; display: flex; align-items: flex-end; padding: 16px; pointer-events: none;
}
.tile:hover .tile__cap { opacity: 1; }
.tile__cap span {
  color: var(--light); font-family: var(--serif); font-size: 15px;
  transform: translateY(8px); transition: transform .4s ease .05s;
}
.tile:hover .tile__cap span { transform: translateY(0); }

/* --- 11. Rezensionen ----------------------------------------------------- */
.reviews { max-width: var(--wrap); margin: 0 auto; padding: 64px 32px 0; }
.reviews__box {
  max-width: var(--wrap); margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 38px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px;
  box-shadow: 0 24px 50px -34px rgba(34, 26, 19, 0.45);
}
.reviews__box-txt { min-width: 260px; flex: 1 1 320px; }
.reviews__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.stars { display: flex; gap: 2px; color: var(--star); font-size: 20px; letter-spacing: 2px; }
.stars--sm { font-size: 15px; letter-spacing: 1px; }
.reviews__h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 4vw, 32px); line-height: 1.15; margin: 0 0 10px; }
.reviews__p { font-size: 16px; line-height: 1.6; color: var(--ink-3); margin: 0; max-width: 460px; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reviews__cards {
  max-width: var(--wrap); margin: 16px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.review {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
}
.review:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(34, 26, 19, 0.5); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__when { font-size: 12.5px; color: var(--ink-6); }
.review__text { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.review__name { font-weight: 700; font-size: 14px; color: var(--ink); margin-top: auto; }

/* --- 12. Standort / CTA -------------------------------------------------- */
.loc {
  max-width: var(--wrap); margin: 0 auto; padding: 88px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.loc__p { font-size: 17px; line-height: 1.65; color: var(--ink-3); margin: 0 0 28px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px; padding: 34px;
  box-shadow: 0 24px 50px -30px rgba(34, 26, 19, 0.4);
}
.hours__t { font-weight: 700; margin-bottom: 12px; font-size: 15px; }
.hours__row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; color: var(--ink-3); }
.hours__row b { font-weight: 600; color: var(--ink); }

/* --- 13. Leistungen ------------------------------------------------------ */
.page-head { max-width: var(--wrap); margin: 0 auto; padding: clamp(44px, 8vw, 72px) var(--pad-x) 40px; }
.page-head--center { text-align: center; }
.page-head__p { font-size: 18px; color: var(--ink-4); max-width: 560px; margin: 0 auto; line-height: 1.6; }

.services {
  max-width: var(--wrap); margin: 0 auto; padding: 24px 32px 90px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service {
  background: var(--bg-dark); border: 1px solid rgba(245, 237, 226, 0.08); border-radius: 18px;
  padding: 30px; display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -26px rgba(34, 26, 19, 0.65); }
.service__num { font-family: var(--serif); font-size: 15px; color: var(--rose); font-weight: 500; }
.service__t { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; color: var(--light); }
.service__d { font-size: 15px; line-height: 1.6; color: var(--light-3); margin: 0; }
.service__more { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 4px; }

.cta-dark { background: var(--bg-dark); color: var(--light); padding: clamp(48px, 9vw, 70px) var(--pad-x); text-align: center; }
.cta-dark h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 4.4vw, 34px); margin: 0 0 12px; }
.cta-dark p { color: var(--light-3); font-size: 17px; margin: 0 0 26px; }

/* --- 14. Leistungsdetail ------------------------------------------------- */
.back { max-width: var(--wrap); margin: 0 auto; padding: clamp(26px, 5vw, 40px) var(--pad-x) 0; }
.back a { color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.detail {
  max-width: var(--wrap); margin: 0 auto; padding: 24px 32px 90px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.detail h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(29px, 5.4vw, 42px); line-height: 1.1; margin: 0 0 22px; }
.detail p { font-size: 17px; line-height: 1.7; color: var(--ink-3); margin: 0 0 18px; }
.detail__media { position: relative; }
.detail__glow {
  position: absolute; inset: -20px -20px -20px 20px;
  background: radial-gradient(circle at 70% 30%, rgba(34, 26, 19, 0.18), transparent 60%);
  filter: blur(20px); z-index: 0;
}
.detail__frame {
  /* Kein festes Seitenverhältnis: service-anbauteile.jpg liegt im Querformat vor,
     alle anderen im Hochformat. Der Platz wird stattdessen über die width- und
     height-Attribute im HTML reserviert, deshalb springt trotzdem nichts. */
  position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(34, 26, 19, 0.55); max-height: 620px;
}
.detail__frame img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 620px; }

/* --- 15. Galerie --------------------------------------------------------- */
.gallery { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--pad-x) 90px; }
/* Masonry-Layout wie im Original. Das Flimmern beim ersten Aufruf ist behoben,
   weil jedes <img> jetzt width und height mitliefert. Der Browser kennt damit
   die Höhe jeder Kachel, bevor das Bild geladen ist, und muss die Spalten nicht
   mehr bei jedem eintreffenden Bild neu berechnen. Die Bilder werden dadurch
   auch nicht mehr zugeschnitten. */
.gallery__grid { column-count: 3; column-gap: 16px; }
.tile--gal {
  break-inside: avoid; margin-bottom: 16px;
  box-shadow: 0 16px 34px -22px rgba(34, 26, 19, 0.5);
}
.tile--gal:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 30px 50px -20px rgba(34, 26, 19, 0.55); }
.tile--gal .tile__img { height: auto; display: block; }
/* height:auto überschreibt das height-Attribut im HTML, damit das Bild in der
   Spaltenbreite skaliert. Das Seitenverhältnis bleibt trotzdem reserviert. */
.tile--gal .tile__img img { width: 100%; height: auto; display: block; }
.tile--gal .tile__cap-static {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(34, 26, 19, 0.82));
  color: var(--light); font-size: 13px; font-weight: 600;
  transform: translateY(6px); opacity: .85;
  transition: transform .4s ease, opacity .4s ease; pointer-events: none;
}
.tile--gal:hover .tile__cap-static { transform: translateY(0); opacity: 1; }

/* --- 16. Kontakt / Formular ---------------------------------------------- */
.contact {
  max-width: var(--wrap); margin: 0 auto; padding: 24px 32px 90px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.form-card {
  background: var(--bg-card); border: 1px solid rgba(43, 33, 24, 0.09); border-radius: var(--radius);
  padding: 36px; box-shadow: 0 30px 60px -36px rgba(34, 26, 19, 0.45);
}
.form-card h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 6px; }
.form-card__sub { color: var(--ink-5); font-size: 14px; margin: 0 0 24px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg-input); font-family: var(--sans); font-size: 16px; color: var(--ink); outline: none;
  transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }

.form__note { font-size: 12.5px; line-height: 1.5; color: var(--ink-5); margin: 0; }
.form__note a { color: var(--accent); }
.form__msg { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.form__msg--error { color: var(--error); }
.form__submit {
  cursor: pointer; background: var(--accent); color: var(--light-2); padding: 15px;
  border: none; border-radius: 12px; font-family: var(--sans); font-weight: 700; font-size: 15px;
  transition: opacity .2s;
}
.form__submit[disabled] { opacity: .6; cursor: progress; }

.form-success { text-align: center; padding: 40px 10px; }
.form-success__icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--light-2);
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px;
}
.form-success h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 10px; }
.form-success p { color: var(--ink-4); margin: 0 0 22px; }
.form-success button {
  cursor: pointer; background: transparent; color: var(--accent); padding: 12px 20px;
  border: 1px solid var(--accent); border-radius: 12px; font-family: var(--sans); font-weight: 700; font-size: 14px;
}
[hidden] { display: none !important; }

.info-col { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--bg-card); border: 1px solid rgba(43, 33, 24, 0.09); border-radius: 18px;
  padding: 26px; display: flex; gap: 16px;
}
.info-card__t { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.chip {
  text-decoration: none; color: var(--ink); background: var(--bg-band);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.info-card--dark {
  background: var(--bg-dark); color: var(--light); border-radius: 18px; padding: 26px; display: block;
}
.info-card--dark .info-card__t { margin-bottom: 14px; }
.info-card--dark .hours__row {
  color: var(--light-3); padding: 6px 0; border-bottom: 1px solid var(--line-dark);
}
.info-card--dark .hours__row b { color: var(--light); }

/* --- 17. Rechtstexte ----------------------------------------------------- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(44px, 8vw, 72px) var(--pad-x) clamp(60px, 10vw, 100px); }

/* --- 18. Footer ---------------------------------------------------------- */
.footer {
  background: var(--bg-footer); color: var(--light-3);
  padding: clamp(40px, 7vw, 56px) var(--pad-x) 34px;
}
.footer__grid {
  max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { height: 40px; width: 40px; object-fit: contain; mix-blend-mode: screen; }
.footer__name {
  font-weight: 800; letter-spacing: 0.18em; font-size: clamp(13px, 2.6vw, 15px);
  text-transform: uppercase; white-space: nowrap; color: var(--light);
}
.footer__tag { font-size: 14px; line-height: 1.6; max-width: 300px; margin: 0; }
.footer__col-t { color: var(--light); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.footer__link {
  display: block; text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .2s;
}
.footer__link:hover { color: var(--light); }
.footer__bottom {
  max-width: var(--wrap); margin: 20px auto 0; font-size: 13px; color: var(--ink-6);
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center;
}
.footer__bottom a { color: var(--ink-6); text-decoration: underline; }

/* --- 19. Lightbox -------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 15, 10, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 40px;
  animation: aa-fade .3s ease both;
}
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7); }
.lightbox__close {
  position: absolute; top: 26px; right: 30px; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: rgba(245, 237, 226, 0.15); color: var(--light);
  display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer;
}

/* ==========================================================================
   20. Media Queries
   Breakpoints wie in der SPA: 1000px (Tablet), 760px (Mobil), 520px (Galerie)
   ========================================================================== */

@media (max-width: 999px) {
  .hero   { grid-template-columns: 1fr; }
  .intro  { grid-template-columns: 1fr; }
  .loc    { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .reviews__cards { grid-template-columns: repeat(2, 1fr); }
  .slider { aspect-ratio: 3 / 4; }
}

@media (max-width: 759px) {
  :root { --header-h: 118px; }

  .header__inner { padding: 13px 18px; gap: 10px 16px; }
  .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 2px 6px; }
  .btn--header { display: none; }

  .hero { padding: 38px 20px 24px; gap: 32px; }
  .slider { aspect-ratio: 4 / 5; }
  .slider__caption-text { font-size: 19px; }
  .slider__dot { height: 8px; width: 14px; }
  .slider__dot[aria-current="true"] { width: 30px; }
  .h1-hero { font-size: 38px; }

  .ticker__row { padding: 18px 20px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .ticker__item {
    font-size: 17px; background: #F7EDDD; border: 1px solid rgba(43, 33, 24, 0.12);
    border-radius: 12px; padding: 14px 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .ticker__item:hover { transform: none; }

  .intro { padding: 56px 20px; gap: 28px; }
  .band__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px; }
  .reviews { padding: 44px 20px 0; }
  .reviews__cards { grid-template-columns: 1fr; gap: 14px; }
  .loc { padding: 56px 20px; gap: 28px; }
  .services { grid-template-columns: 1fr; padding: 24px 20px 90px; gap: 14px; }
  .contact { padding: 24px 20px 90px; gap: 28px; }
  .detail  { padding: 24px 20px 90px; gap: 32px; }
  .gallery__grid { column-count: 2; column-gap: 12px; }
  .footer__grid { gap: 28px; }
  .form-card { padding: 28px 22px; }

  .h1-page, .h1-left { font-size: 34px; }
  .why { gap: 16px; }
  .lightbox { padding: 20px; }
  .lightbox__close { top: 14px; right: 14px; }
}

@media (max-width: 519px) {
  .gallery__grid { column-count: 1; }
  .why { grid-template-columns: 1fr; }
}

@media print {
  .header, .footer, .ticker, .lightbox, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --- 21. Hilfsklassen (ersetzen die letzten Inline-Styles, damit die CSP
       ohne 'unsafe-inline' auskommt) -------------------------------------- */
.btn--spaced { margin-top: 10px; }
.slider__caption-body { min-width: 0; }
.kicker--flush { margin: 0; }
.link-accent { color: var(--accent); }
.info-card__icon { font-size: 22px; }
.info-card__body { flex: 1; }
.info-card__p { margin: 0 0 10px; font-size: 14px; color: var(--ink-3); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.page-head--404 { padding-bottom: 80px; }
.page-head__p--404 { margin-bottom: 30px; }
.actions-center { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Ergänzungen für direkte Antworten, Ablauf und Local-SEO-Inhalte */
.detail__answer { font-size: 17px; line-height: 1.65; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--bg-card); margin: 0 0 24px; }
.detail__h2 { font-family: var(--serif); font-size: clamp(24px, 4vw, 32px); font-weight: 400; margin: 34px 0 14px; }
.process { padding-left: 22px; color: var(--ink-3); line-height: 1.7; }
