/* =========================================================
   FABBRI DACH GmbH — Design System
   Palette grounded in the trades: gebrannter Ton (Dachziegel),
   Schiefer/Faserzement (Eindeckung), oxidiertes Kupfer (Spenglerei),
   altes Papier (Firmenchronik seit 1880).
   ========================================================= */

/* Lokal gehostete Schriften (Fraunces, Public Sans) — bewusst NICHT von
   Google-Servern geladen, um keine Nutzerdaten an Google zu uebertragen
   (DSGVO). Beide Schriften stehen unter der SIL Open Font License, siehe
   fonts/OFL-Fraunces.txt und fonts/OFL-PublicSans.txt. */
@font-face{
  font-family: "Fraunces";
  src: url("fonts/fraunces-variable.woff2") format("woff2-variations"),
       url("fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 450 750;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Public Sans";
  src: url("fonts/publicsans-variable.woff2") format("woff2-variations"),
       url("fonts/publicsans-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root{
  /* --- Farben --- */
  --ink:        #211a16;   /* fast schwarz, wärmer als reines Schwarz */
  --slate:      #4b565c;   /* Schiefer-Grau, Fließtext sekundär */
  --slate-2:    #7c8a90;   /* helleres Schiefer-Grau */
  --clay:       #b5482e;   /* gebrannter Tondachziegel — Primärakzent */
  --clay-dark:  #8f3721;   /* Klick-/Hoverzustand */
  --clay-light: #e8c9bd;   /* heller Ton, für Rahmen/Washes */
  --patina:     #5c8672;   /* oxidiertes Kupfer/Spenglerei — Sekundärakzent */
  --patina-dark:#3f6553;
  --paper:      #f6f1e7;   /* warmes Altpapier — Hintergrund */
  --paper-2:    #efe7d8;   /* etwas dunkler, für Sektionsbänder */
  --card:       #fffdf8;   /* Kartenfläche, fast weiß */
  --line:       #e2d8c4;   /* Trennlinien auf Papier */
  --roof:       #2c221c;   /* dunkler Sparren-Braun, für Footer/Bänder */
  --roof-2:     #241c17;

  /* --- Typografie --- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* --- Radien / Schatten --- */
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(33,26,22,.06), 0 1px 1px rgba(33,26,22,.04);
  --shadow-m: 0 8px 24px -8px rgba(33,26,22,.18);
  --shadow-l: 0 24px 48px -16px rgba(33,26,22,.28);

  /* --- Layout --- */
  --container: 1180px;
  --header-h: 84px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; height: auto; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; }
button{ font: inherit; }
h1,h2,h3,h4,p,figure{ margin: 0; }

/* Alte Logo-Dateien haben einen weißen Kasten als Hintergrund (GIF/JPG ohne
   Transparenz). Auf hellem Papier-Hintergrund loest mix-blend-mode:multiply
   das Weiß unsichtbar auf, Farben/Schwarz bleiben erhalten. Nur auf hellem
   Untergrund einsetzen (auf dunklem Grund wuerde schwarzer Text verschwinden). */
.logo-blend{ mix-blend-mode: multiply; }

/* Baseline-Größe für alle Icon-SVGs — verhindert, dass ein "nacktes"
   SVG ohne spezifischere Regel auf UA-Default (300x150) aufgeblasen wird.
   Spezifischere Selektoren (.btn svg, .icon-tile svg, ...) überschreiben dies gezielt. */
svg{ width: 22px; height: 22px; flex: none; }

.inline-icon{
  display: inline-flex;
  vertical-align: -5px;
  margin-right: 6px;
}
.inline-icon svg{ width: 20px; height: 20px; }

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

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px){ .container{ padding-inline: 32px; } }
@media (min-width: 1024px){ .container{ padding-inline: 40px; } }

/* =========================================================
   Typografie-Skala
   ========================================================= */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-dark);
}
.eyebrow::before{
  content: "";
  width: 26px;
  height: 2px;
  background: var(--clay);
  display: inline-block;
}

h1, .h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--ink);
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -.005em;
  color: var(--ink);
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.15rem + .5vw, 1.55rem);
  line-height: 1.25;
  color: var(--ink);
}
.lede{
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  color: var(--slate);
  line-height: 1.6;
  max-width: 58ch;
}
p{ color: var(--ink); }
p + p{ margin-top: 1em; }
.text-slate{ color: var(--slate); }
.small{ font-size: .88rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex: none; }
@media (max-width: 380px){
  .btn{ white-space: normal; text-align: center; }
}
.btn-primary{
  background: var(--clay);
  color: #fff9f4;
  box-shadow: var(--shadow-s);
}
.btn-primary:hover{ background: var(--clay-dark); box-shadow: var(--shadow-m); transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  border-color: rgba(33,26,22,.22);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--ink); background: rgba(33,26,22,.04); }
.btn-on-dark{
  background: var(--paper);
  color: var(--roof);
}
.btn-on-dark:hover{ background: #fff; transform: translateY(-1px); }
.btn-outline-on-dark{
  border-color: rgba(246,241,231,.45);
  color: var(--paper);
}
.btn-outline-on-dark:hover{ border-color: var(--paper); background: rgba(246,241,231,.08); }
.btn-block{ width: 100%; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(246,241,231,.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
}
.header-inner{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img{
  height: 58px;
  width: auto;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a{
  position: relative;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--slate);
  border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}
.main-nav a:hover{ color: var(--ink); background: rgba(33,26,22,.05); }
.main-nav a.active{ color: var(--ink); }
.main-nav a.active::after{
  content:"";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  background: var(--clay);
  border-radius: 2px;
}

.header-cta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.phone-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--roof);
  color: var(--paper);
  font-weight: 700;
  font-size: .92rem;
  transition: background-color .15s ease, transform .15s ease;
}
.phone-pill:hover{ background: var(--clay-dark); transform: translateY(-1px); }
.phone-pill svg{ width: 16px; height: 16px; }

.nav-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid rgba(33,26,22,.18);
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav-toggle svg{ width: 22px; height: 22px; }
.nav-toggle .icon-close{ display: none; }

@media (max-width: 940px){
  .main-nav{
    position: fixed;
    inset: var(--header-h) 0 0 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 20px 28px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .main-nav a{
    padding: 15px 14px;
    border-radius: var(--radius-m);
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a.active::after{ display: none; }
  .main-nav a.active{ background: var(--paper-2); }
  .main-nav.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-toggle{ display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .icon-menu{ display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close{ display: block; }
  .header-cta .phone-pill span.long{ display: none; }
}
@media (max-width: 480px){
  .brand img{ height: 44px; }
}
@media (max-width: 340px){
  .brand img{ height: 38px; }
}
@media (min-width: 941px) and (max-width: 1180px){
  .main-nav{ gap: 0; }
  .main-nav a{ padding: 10px 8px; font-size: .87rem; }
  .phone-pill{ padding: 10px 12px; font-size: .85rem; }
}
@media (min-width: 941px){
  .main-nav a.mobile-only{ display: none; }
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus{ left: 0; }

/* =========================================================
   Hero — Vollbild-Foto mit sanfter Ken-Burns-Bewegung
   ========================================================= */
.hero-photo{
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 620px;
  color: #fff9f4;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
@media (min-width: 700px){
  .hero-photo{ min-height: 78vh; }
}

.hero-photo-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--roof); /* Fallback-Farbe waehrend das Bild laedt */
}
.hero-photo-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.05);
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  transform-origin: 58% 38%;
}
@keyframes heroKenBurns{
  0%   { transform: scale(1.05) translate3d(0,0,0); }
  100% { transform: scale(1.16) translate3d(-1.6%, -1.1%, 0); }
}

.hero-photo-scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,15,12,.66) 0%, rgba(20,15,12,.28) 38%, rgba(20,15,12,.3) 58%, rgba(20,15,12,.82) 100%);
}

.hero-photo-content{
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-block: 84px 56px;
}
.hero-photo-content .eyebrow{ color: var(--clay-light); }
.hero-photo-content .eyebrow::before{ background: var(--clay-light); }
.hero-photo-content h1{ color: #fff9f4; margin-top: 18px; }
.hero-photo-content .lede{ color: rgba(246,241,231,.88); margin-top: 20px; }

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats-glass{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 42px;
  padding: 22px 26px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-l);
}
.hero-stat{ display: flex; align-items: center; gap: 10px; }
.hero-stat .num{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff9f4;
}
.hero-stat .lbl{ font-size: .8rem; color: rgba(246,241,231,.82); line-height: 1.25; max-width: 15ch; }

.hero-photo-seal{
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff9f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.3;
  box-shadow: var(--shadow-m);
  transform: rotate(-8deg);
  border: 3px solid rgba(255,255,255,.7);
  padding: 6px 8px;
}
.hero-photo-seal strong{
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
  margin: 1px 0;
}
@media (max-width: 640px){
  .hero-photo-content{ padding-block: 64px 44px; }
  .hero-photo-seal{ width: 90px; height: 90px; font-size: .54rem; right: 16px; bottom: 16px; }
  .hero-photo-seal strong{ font-size: 1.2rem; }
  .hero-stats-glass{ gap: 16px 24px; padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce){
  .hero-photo-bg img{ animation: none; transform: scale(1.02); }
}

/* =========================================================

   Sections generisch
   ========================================================= */
.section{ padding-block: 64px; }
.section-tight{ padding-block: 40px; }
@media (min-width: 900px){
  .section{ padding-block: 92px; }
  .section-tight{ padding-block: 56px; }
}
.section-band{ background: var(--paper-2); border-block: 1px solid var(--line); }
.section-dark{ background: var(--roof); color: var(--paper); }
.section-dark .eyebrow{ color: var(--clay-light); }
.section-dark .eyebrow::before{ background: var(--clay-light); }
.section-dark h2{ color: #fff9f4; }
.section-dark p{ color: rgba(246,241,231,.82); }

.section-head{ max-width: 68ch; margin-bottom: 44px; }
.section-head h2{ margin-top: 14px; }
.section-head .lede{ margin-top: 14px; }
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before{ display: none; }
.section-head.center .lede{ margin-inline: auto; }

/* =========================================================
   Karten: Vorteile / Leistungen
   ========================================================= */
.grid{ display: grid; gap: 24px; }
.grid > *{ min-width: 0; }
.grid-3{ grid-template-columns: 1fr; }
.grid-2{ grid-template-columns: 1fr; }
@media (min-width: 700px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover{ box-shadow: var(--shadow-m); transform: translateY(-3px); border-color: #d9cbb0; }

.advantage-card .num{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
  background: var(--clay);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.advantage-card h3{ margin-bottom: 10px; }
.advantage-card p{ color: var(--slate); }

.icon-tile{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--clay-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex: none;
}
.icon-tile svg{ width: 26px; height: 26px; }

.service-card h3{ margin-bottom: 10px; }
.service-card p.desc{ color: var(--slate); margin-bottom: 14px; }
.service-card ul{ display: grid; gap: 8px; }
.service-card li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink);
}
.service-card li svg{
  width: 16px; height: 16px; flex: none; margin-top: 3px;
  color: var(--patina-dark);
}
.service-card.urgent{
  background: linear-gradient(180deg, #fff9f4, var(--card));
  border-color: var(--clay-light);
}
.service-card.urgent .icon-tile{ background: var(--clay); color: #fff9f4; }

/* =========================================================
   Signatur-Element: Dachlatten-Chronik (Timeline)
   ========================================================= */
.chronik{
  position: relative;
  margin-top: 10px;
}
.chronik::before{
  content: "";
  position: absolute;
  left: 15px;
  top: 6px; bottom: 6px;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    var(--slate-2) 0 2px,
    transparent 2px 14px
  );
  border-radius: 2px;
}
@media (min-width: 760px){
  .chronik::before{ left: 50%; margin-left: -1.5px; }
}
.chronik-item{
  position: relative;
  padding-left: 46px;
  padding-bottom: 40px;
}
.chronik-item:last-child{ padding-bottom: 4px; }
.chronik-item::before{
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 32px; height: 32px;
  background: var(--clay);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--slate-2);
  transform: rotate(45deg);
  border-radius: 4px;
}
.chronik-year{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--clay-dark);
  display: block;
  margin-bottom: 6px;
}
.chronik-item p{ color: var(--slate); max-width: 62ch; }
.chronik-item.milestone .chronik-year{ color: var(--patina-dark); }
.chronik-item.milestone::before{ background: var(--patina); }
.chronik-item.milestone p{ color: var(--ink); font-weight: 600; }

@media (min-width: 760px){
  .chronik-item{
    width: 50%;
    padding-left: 0;
    padding-right: 0;
  }
  .chronik-item::before{ left: auto; }
  .chronik-item:nth-child(odd){
    padding-right: 52px;
    text-align: right;
    margin-left: 0;
  }
  .chronik-item:nth-child(odd)::before{ right: -19px; left: auto; }
  .chronik-item:nth-child(odd) p{ margin-left: auto; }
  .chronik-item:nth-child(even){
    padding-left: 52px;
    margin-left: 50%;
  }
  .chronik-item:nth-child(even)::before{ left: -19px; }
}

/* =========================================================
   Firmen-Siegel (100 Jahre)
   ========================================================= */
.seal-figure{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}
.seal-figure img{ width: 168px; }
.seal-figure figcaption{ color: var(--slate); font-size: .92rem; max-width: 26ch; }

/* =========================================================
   Team / Mitarbeiter
   ========================================================= */
.team-quote{
  border-left: 3px solid var(--clay);
  padding-left: 22px;
  margin: 28px 0;
}
.team-quote p{ font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); font-weight: 500; }

.check-list{ display: grid; gap: 14px; }
.check-list li{ display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg{ width: 20px; height: 20px; margin-top: 2px; color: var(--patina); }
.check-list.on-light li svg{ color: var(--patina-dark); }

/* =========================================================
   Galerie / Fotoalbum
   ========================================================= */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 640px){ .gallery-grid{ grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px){ .gallery-grid{ grid-template-columns: repeat(4, 1fr); } }

.gallery-item{
  position: relative;
  display: block;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery-item img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item .cap{
  position: absolute; left:0; right:0; bottom:0;
  padding: 10px 12px 9px;
  font-size: .78rem;
  font-weight: 600;
  color: #fff9f4;
  background: linear-gradient(180deg, transparent, rgba(33,26,22,.82));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-item:hover .cap, .gallery-item:focus-visible .cap{ opacity: 1; transform: translateY(0); }
.gallery-item .zoom-hint{
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(33,26,22,.55);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item .zoom-hint svg{ width: 15px; height: 15px; }
.gallery-item:hover .zoom-hint{ opacity: 1; }

.gallery-filter{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.gallery-filter button{
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--slate);
  font-weight: 600;
  font-size: .86rem;
  cursor: pointer;
  transition: all .15s ease;
}
.gallery-filter button:hover{ border-color: var(--clay); color: var(--ink); }
.gallery-filter button.active{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.lightbox{
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(20,15,12,.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open{ display: flex; }
.lightbox img{
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox .lb-cap{
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  text-align: center;
  color: #fff9f4;
  font-weight: 600;
  font-size: .95rem;
  padding-inline: 20px;
}
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next{
  position: absolute;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color .15s ease;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover{ background: rgba(255,255,255,.22); }
.lightbox .lb-close{ top: 18px; right: 18px; width: 44px; height: 44px; }
.lightbox .lb-close svg{ width: 20px; height: 20px; }
.lightbox .lb-prev, .lightbox .lb-next{ top: 50%; margin-top: -24px; width: 48px; height: 48px; }
.lightbox .lb-prev{ left: 14px; }
.lightbox .lb-next{ right: 14px; }
.lightbox .lb-prev svg, .lightbox .lb-next svg{ width: 22px; height: 22px; }
@media (max-width: 640px){
  .lightbox .lb-prev, .lightbox .lb-next{ width: 40px; height: 40px; }
}

.video-card{
  margin-top: 46px;
  background: var(--roof);
  border-radius: var(--radius-l);
  padding: 8px;
  box-shadow: var(--shadow-m);
}
.video-card .video-inner{ padding: 22px 22px 6px; }
.video-card h3{ color: #fff9f4; }
.video-card p{ color: rgba(246,241,231,.78); margin-top: 6px; }
.video-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-top: 18px;
}
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* =========================================================
   Klick-zum-Laden — Datenschutz-Vorschaltung fuer externe
   Einbettungen (Google Maps, YouTube). Vor dem Klick besteht
   keinerlei Verbindung zu Google, es werden keine Cookies
   gesetzt und keine Anfragen an Google-Server geschickt.
   ========================================================= */
.embed-gate{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  background: linear-gradient(160deg, var(--paper-2), var(--card));
}
.embed-gate-inner{
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.embed-gate-inner .icon-tile{ margin-bottom: 4px; }
.embed-gate-inner h3{ margin: 0; }
.embed-gate-inner p{ color: var(--slate); font-size: .88rem; margin: 0; line-height: 1.5; }
.embed-gate-inner .btn{ margin-top: 10px; }

.video-frame .embed-gate{
  background: linear-gradient(160deg, #2c211b, var(--roof));
}
.video-frame .embed-gate-inner p{ color: rgba(246,241,231,.75); }
.video-frame .embed-gate-inner h3{ color: #fff9f4; }
.video-frame .embed-gate-inner .icon-tile{ background: rgba(246,241,231,.14); color: #fff9f4; }


/* =========================================================
   Testimonials / Kundenstimmen
   ========================================================= */
.testi-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .testi-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .testi-grid{ grid-template-columns: repeat(3, 1fr); } }
.testi-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-quote{ color: var(--slate-2); flex: none; }
.testi-quote svg{ width: 30px; height: 24px; }
.testi-card p.msg{ color: var(--ink); flex: 1; }
.testi-who{ display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; }
.testi-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--clay-dark);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.testi-name{ font-weight: 700; font-size: .92rem; }
.testi-loc{ font-size: .82rem; color: var(--slate); }

/* =========================================================
   Kontakt
   ========================================================= */
.contact-grid{
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 940px){
  .contact-grid{ grid-template-columns: .95fr 1.05fr; gap: 36px; }
}
.info-list{ display: grid; gap: 22px; margin-top: 26px; }
.info-row{ display: flex; gap: 16px; align-items: flex-start; }
.info-row .icon-tile{ margin-bottom: 0; }
.info-row h4{ font-family: var(--font-body); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 700; margin-bottom: 4px; }
.info-row p{ font-weight: 600; }
.info-row a:hover{ color: var(--clay-dark); }

.legal-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.legal-table tr{ border-bottom: 1px solid var(--line); }
.legal-table tr:last-child{ border-bottom: none; }
.legal-table th, .legal-table td{
  text-align: left;
  padding: 12px 4px;
  font-size: .92rem;
  vertical-align: top;
}
.legal-table th{ color: var(--slate); font-weight: 600; width: 42%; }
.legal-table td{ font-weight: 600; }

.hours-table{ width: 100%; border-collapse: collapse; }
.hours-table td{ padding: 7px 0; font-size: .95rem; }
.hours-table td:first-child{ color: var(--slate); }
.hours-table td:last-child{ text-align: right; font-weight: 700; }
.hours-table tr + tr td{ border-top: 1px solid var(--line); }

/* =========================================================
   Partner / Links
   ========================================================= */
.partner-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 560px){ .partner-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px){ .partner-grid{ grid-template-columns: repeat(4, 1fr); } }
.partner-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  min-height: 108px;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.partner-logo:hover{ box-shadow: var(--shadow-m); transform: translateY(-2px); border-color: #d9cbb0; }
.partner-logo img{ max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }

/* =========================================================
   360-Grad-Rundgang — Verlinkung zu Google Maps (kein Embed,
   dieselbe Datenschutz-Linie wie bei der Anfahrtskarte)
   ========================================================= */
.tour-card{
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}
@media (min-width: 800px){
  .tour-card{ grid-template-columns: 1.15fr 1fr; align-items: stretch; }
}
.tour-card-media{
  position: relative;
  aspect-ratio: 16/10;
}
.tour-card-media img{ width: 100%; height: 100%; object-fit: cover; }
.tour-card-badge{
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(33,26,22,.72);
  backdrop-filter: blur(6px);
  color: #fff9f4;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
}
.tour-card-body{
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.tour-card-body p{ color: var(--slate); }
.tour-card-body .btn{ margin-top: 8px; align-self: flex-start; }

.notice-card{
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 28px;
  margin-top: 40px;
}
.notice-card h3{ margin-bottom: 10px; font-size: 1.05rem; }
.notice-card p{ color: var(--slate); font-size: .92rem; }

/* =========================================================
   CTA-Band
   ========================================================= */
.cta-band{
  background: var(--roof);
  color: var(--paper);
  border-radius: var(--radius-l);
  padding: 44px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2{ color: #fff9f4; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.cta-band p{ color: rgba(246,241,231,.78); margin-top: 8px; max-width: 46ch; }
.cta-band .actions{ display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--roof-2);
  color: rgba(246,241,231,.82);
  padding-block: 56px 28px;
}
.footer-grid{
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px){
  .footer-grid{ grid-template-columns: 1.3fr .8fr .9fr; }
}
.footer-brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img{ height: 46px; width: auto; background: var(--paper); border-radius: 8px; padding: 6px 9px; }
.footer-brand span{ font-family: var(--font-display); color: #fff9f4; font-size: 1.05rem; }
.site-footer p{ color: rgba(246,241,231,.68); font-size: .92rem; }
.footer-col h4{
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(246,241,231,.55); font-weight: 700; margin-bottom: 16px;
}
.footer-col ul{ display: grid; gap: 10px; }
.footer-col a{ color: rgba(246,241,231,.82); font-size: .95rem; transition: color .15s ease; }
.footer-col a:hover{ color: #fff9f4; }
.footer-bottom{
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(246,241,231,.14);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
  color: rgba(246,241,231,.55);
}
.footer-bottom a{ color: rgba(246,241,231,.68); }
.footer-bottom a:hover{ color: #fff9f4; }

/* =========================================================
   Sonstiges
   ========================================================= */
.divider{ height: 1px; background: var(--line); border: 0; margin-block: 0; }
.back-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--clay-dark); margin-bottom: 28px;
}
.back-link svg{ width: 16px; height: 16px; }
.back-link:hover{ color: var(--clay); }

.two-col{ display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px){ .two-col{ grid-template-columns: 1.15fr .85fr; align-items: start; } }

.stack-gap-lg > * + *{ margin-top: 22px; }

.page-hero{
  padding-block: 48px 40px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px){ .page-hero{ padding-block: 64px 52px; } }
.page-hero .eyebrow{ margin-bottom: 16px; }
.page-hero h1{ font-size: clamp(2rem, 1.6rem + 1.8vw, 3.1rem); }
.page-hero .lede{ margin-top: 16px; }
