/* ══════════════════════════════════════════════════════════
   SCHNEIDER LEBACH — Main Stylesheet
   Design: Warm ivory + deep charcoal + gold accent
   Fonts: Cormorant Garamond (display) + Inter (body)
══════════════════════════════════════════════════════════ */

:root {
  --ivory:      #F7F4EF;
  --ivory-dark: #EDE8DF;
  --charcoal:   #1C1C1C;
  --charcoal-2: #2E2E2E;
  --mid-gray:   #6B6B6B;
  --light-gray: #ADADAD;
  --gold:       #B8933A;
  --gold-light: #D4AE5A;
  --gold-bg:    #FDF6E3;
  --white:      #FFFFFF;
  --danger:     #C0392B;
  --success:    #2E7D55;

--sdsa: rgb(0.839, 0.200, 0.518);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;

  --radius:   8px;
  --radius-lg:16px;
  --shadow:   0 2px 12px rgba(0,0,0,.07);
  --shadow-md:0 6px 28px rgba(0,0,0,.11);
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Lazy-load prevents layout shift */
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  color: var(--charcoal);
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--ivory-dark);
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
}
.nav-brand:hover { color: var(--gold); }
.brand-icon { font-size: 1.5rem; color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin-left: auto;
  align-items: center;
}
.nav-links li a {
  display: block;
  padding: .45rem .85rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--charcoal-2);
  letter-spacing: .02em;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav-links li a:hover,
.nav-links li a.active { background: var(--gold-bg); color: var(--gold); }
.nav-links li a.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
}
.nav-links li a.nav-cta:hover { background: var(--gold-light); }

.notif-link { position: relative; }
.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: #fff;
  border-radius: 40%;
  min-width: 18px;
  height: 18px;
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  -webkit-border-radius: 40%;
  -moz-border-radius: 40%;
  -ms-border-radius: 40%;
  -o-border-radius: 40%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}


/*-------- HERO MIT BILD UND TEXT --------*/

.a-hero {
    position: relative;
    isolation: isolate;
    min-height: min(760px, 82vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--charcoal);
    color: var(--white);
}

/* Bild */
.a-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.a-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dunkler Verlauf für perfekte Lesbarkeit */
.a-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(28, 28, 28, 0.88) 0%,
            rgba(28, 28, 28, 0.72) 38%,
            rgba(28, 28, 28, 0.38) 70%,
            rgba(28, 28, 28, 0.25) 100%
        );
}

/* Inhalt */
.a-hero-inner {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    padding-block: 100px;
}

/* Eyebrow */
.a-hero-eyebrow {
    margin: 0 0 18px;
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Überschrift */
.a-hero h1 {
    color: var(--white);
    max-width: 760px;
    margin: 0;

    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 700;

    text-wrap: balance;
}

.a-hero-inner h1 em {
    color: var(--gold-light);
    font-style: normal;
    font-style: italic;
}

/* Beschreibung */
.a-hero-text {
    max-width: 650px;
    margin: 26px 0 0;

    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
}

/* Buttons */
.a-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.a-hero-actions .btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 24px;

    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

/* Primary */
.a-hero-actions .btn-primary {
    background: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
}

.a-hero-actions .btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--charcoal);
}

/* Secondary */
.a-hero-actions .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.a-hero-actions .btn-outline:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--charcoal);
}

/* Mobile */
@media (max-width: 767px) {

    .a-hero {
        min-height: 680px;
        align-items: flex-end;
    }

    .a-hero-media img {
        object-position: 60% center;
    }

    .a-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(28, 28, 28, 0.25) 0%,
                rgba(28, 28, 28, 0.55) 42%,
                rgba(28, 28, 28, 0.94) 100%
            );
    }

    .a-hero-inner {
        width: min(100% - 32px, 600px);
        padding-block: 60px 55px;
    }

    .a-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
    }

    .a-hero-text {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .a-hero-actions {
        flex-direction: column;
        margin-top: 28px;
    }

    .a-hero-actions .btn {
        width: 100%;
    }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 82vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.5rem;
  background: linear-gradient(160deg, var(--ivory) 55%, var(--gold-bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '✂';
  position: absolute;
  font-size: 28rem;
  color: rgba(184,147,58,.05);
  top: -4rem;
  right: -4rem;
  pointer-events: none;
  line-height: 1;
}
.hero-inner { max-width: 720px; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.07;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 1.15rem;
  color: var(--mid-gray);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold-bg); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.section-header .sub { color: var(--mid-gray); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.divider { width: 48px; height: 3px; background: var(--gold); margin: 1rem auto 0; border-radius: 2px; }

/* ── SERVICE CARDS ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.service-card p { color: var(--mid-gray); font-size: .9rem; }
.service-card .price { font-size: 1.3rem; color: var(--gold); font-weight: 600; margin-top: .75rem; }

/* ── GALLERY GRID ───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory-dark);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  loading: lazy;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
  padding: 1.5rem .75rem .75rem;
  font-size: .85rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
}

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials { background: var(--charcoal); color: var(--ivory); }
.testimonials .section-header h2 { color: var(--ivory); }
.testimonials .sub { color: var(--light-gray); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testi-card {
  background: var(--charcoal-2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.07);
}
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: .75rem; letter-spacing: .1em; }
.testi-card p { color: var(--light-gray); font-size: .92rem; margin-bottom: 1rem; }
.testi-author { font-weight: 600; font-size: .85rem; color: var(--ivory); }

/* ── PROCESS STEPS ──────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step {
  text-align: center;
  padding: 1.5rem;
}
.step-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--ivory-dark);
  line-height: 1;
  margin-bottom: .5rem;
}
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--mid-gray); font-size: .9rem; }

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.about-text p { color: var(--mid-gray); margin-bottom: 1rem; }
.about-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--mid-gray); letter-spacing: .05em; }

/* ── CONTACT FORM ───────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.25rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-detail-icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.contact-detail h4 { font-size: .9rem; font-weight: 600; margin-bottom: .15rem; }
.contact-detail p { color: var(--mid-gray); font-size: .9rem; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .4rem; letter-spacing: .03em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--ivory-dark);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .92rem;
  background: var(--ivory);
  color: var(--charcoal);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--white); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── ALERTS ─────────────────────────────────────────────── */
.alert {
  padding: .9rem 1.2rem;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid;
}
.alert-success { background: #e9f7ef; border-color: var(--success); color: #1a5c3a; }
.alert-error   { background: #fdecea; border-color: var(--danger);  color: #8b1a14; }
.alert-info    { background: var(--gold-bg); border-color: var(--gold); color: #7a5c12; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  color: var(--ivory);
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: .5rem; }
.page-header p { color: var(--light-gray); font-size: 1.05rem; }
.breadcrumb { font-size: .8rem; color: var(--light-gray); margin-top: .75rem; }
.breadcrumb a { color: var(--gold-light); }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--light-gray);
  padding: 4rem 1.5rem 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-col h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: .75rem; }
.footer-col h4 { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ivory-dark); margin-bottom: .75rem; }
.footer-col p, .footer-col li { font-size: .88rem; margin-bottom: .3rem; }
.footer-col ul { list-style: none; }
.footer-col a { color: var(--light-gray); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  padding: 1.25rem;
  font-size: .8rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── NOTIFICATION CARDS ─────────────────────────────────── */
.notif-list { max-width: 720px; margin: 0 auto; }
.notif-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--ivory-dark);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.notif-card.unread { border-left-color: var(--gold); background: var(--gold-bg); }
.notif-icon { font-size: 1.5rem; flex-shrink: 0; }
.notif-body h4 { font-size: 1rem; margin-bottom: .2rem; }
.notif-body p { font-size: .88rem; color: var(--mid-gray); }
.notif-time { font-size: .75rem; color: var(--light-gray); margin-top: .3rem; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--ivory-dark);
    box-shadow: var(--shadow-md);
    gap: .25rem;
  }
  .nav-links.open { display: flex; }
  .navbar { position: relative; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { gap: 1.25rem; }
  .hero { min-height: 60vh; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 1rem; }
  .hero { padding: 4rem 1rem; }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.empty-state { text-align: center; padding: 3rem; color: var(--mid-gray); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; }

/* Lazy-load fade-in */
img[data-src] { opacity: 0; transition: opacity .4s; }
img.loaded { opacity: 1; }


/* ── PASSWORD TOGGLE ─────────────────────────────────────── */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 2.75rem; /* Platz für das Auge */
}

.password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--mid-gray);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.password-toggle:hover {
  color: var(--gold);
  background-color: var(--ivory-dark);
}

.password-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  color: var(--gold);
}

.password-toggle[aria-pressed="true"] {
  color: var(--gold);
}


/* ── VIDEO GRID ─────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  background: rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .18s;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.video-card:hover .video-play-btn {
  opacity: 1;
}

.video-info {
  padding: .9rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-info h3 {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .3rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;  /* reserviert Platz für 2 Zeilen */
}

.video-info time {
  font-size: .75rem;
  color: var(--mid-gray);
}

/* Lightbox */
.video-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
}

.video-lightbox.is-open {
  display: flex;
}

.video-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
}

.video-lightbox-inner {
  width: 90vw;
  max-width: 1000px;
  aspect-ratio: 16/9;
}

.video-lightbox-inner iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}



/*____________________ Vorher/Nachher Galerie-Item ______________________*/
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory-dark);
  aspect-ratio: 4/3;
  cursor: pointer;
}

/* Beide Bilder übereinander gestapelt */
.gallery-item .img-before,
.gallery-item .img-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s ease;
}
.gallery-item .img-before { opacity: 1; z-index: 1; }
.gallery-item .img-after  { opacity: 0; z-index: 2; }

/* Hover: Nachher einblenden */
.gallery-item.has-after:hover .img-before { opacity: 0; }
.gallery-item.has-after:hover .img-after  { opacity: 1; }

/* Hover-Hinweis (Vorher ⇄ Nachher) */
.hover-hint {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: .2rem .7rem;
  z-index: 10;
  opacity: 1;
  transition: opacity .25s;
  pointer-events: none;
  white-space: nowrap;
}
.gallery-item.has-after:hover .hover-hint { opacity: 0; }
.hint-before, .hint-after {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
}
.hint-after { color: var(--gold-light); }
.hint-arrow {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* Gallery caption */
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  padding: 1.5rem .75rem .65rem;
  font-size: .82rem;
  z-index: 10;
  transform: translateY(100%);
  transition: transform .3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── VERGLEICHS-OVERLAY ──────────────────────────────────── */
.compare-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.compare-overlay.open { display: flex; }

.compare-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 1.5rem;
}

.compare-close {
  position: absolute;
  top: .85rem; right: .85rem;
  background: var(--ivory-dark);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: background .2s;
}
.compare-close:hover { background: var(--danger); color: #fff; }

.compare-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

/* Panels */
.compare-panels {
  display: grid;
  gap: .75rem;
}
/* Modus: nur Vorher (kein Nachher-Bild) */
.compare-panels.single-mode {
  grid-template-columns: 1fr;
}
.compare-panels.single-mode .compare-side  { display: none; }
.compare-panels.single-mode .compare-single{ display: block; }

/* Modus: nebeneinander */
.compare-panels.side-mode {
  grid-template-columns: 1fr 1fr;
}
.compare-panels.side-mode .compare-single { display: none; }
.compare-panels.side-mode .compare-side   { display: block; }

.compare-single img { width: 100%; border-radius: var(--radius); }

.compare-side { position: relative; }
.compare-side img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}
.compare-label {
  position: absolute;
  top: 8px; left: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  border-radius: 20px;
  z-index: 5;
}
.before-label { background: rgba(0,0,0,.6);  color: #fff; }
.after-label  { background: var(--gold);     color: #fff; }

/* Mobil: untereinander */
@media (max-width: 600px) {
  .compare-panels.side-mode {
    grid-template-columns: 1fr;
  }
  .compare-box { padding: 1rem; }
}