/* ==========================================================
   Sunny Maler & Bau GmbH – Website
   Mobile First · Inter + Caveat · Navy/Weiss/Hellgrau
   ========================================================== */

:root {
  --navy: #0F172A;
  --navy-hover: #1E293B;
  --ink: #0F172A;
  --text: #475569;
  --muted: #64748B;
  --line: #E5E7EB;
  --line-soft: #EEF0F3;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F9;
  --bg-blue: #EEF3FB;
  --teal: #14B8A6;
  --teal-soft: #E6FAF7;
  --gradient: linear-gradient(90deg, #F97316 0%, #DB2777 40%, #7C3AED 70%, #2563EB 100%);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 10px 30px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.14);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
.br-md { display: none; }
h1, h2 { overflow-wrap: anywhere; }
a { color: var(--ink); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 16px; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hand {
  font-family: var(--font-hand);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.section-head { margin-bottom: 36px; }
.section-head--split { display: flex; flex-direction: column; gap: 16px; }
.section-head p { color: var(--text); max-width: 440px; margin: 0; }
.section-head .link-arrow { align-self: flex-start; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn i, .btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--navy); color: #fff; box-shadow: 0 4px 14px rgba(15,23,42,.18); }
.btn--dark:hover { background: var(--navy-hover); box-shadow: 0 8px 22px rgba(15,23,42,.24); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--full { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  transition: gap .2s;
}
.link-arrow i, .link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line-soft); box-shadow: 0 2px 20px rgba(15,23,42,.05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.header__logo img { width: auto; height: 46px; }
.header__nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.header__nav.is-open { display: flex; }
.header__nav a:not(.btn) {
  padding: 12px 10px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.header__nav a:not(.btn):hover, .header__nav a.is-active { background: var(--bg-soft); }
.header__nav-cta { margin-top: 8px; }
.header__cta { display: none; }
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.header__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero (Startseite) ===== */
.hero { position: relative; overflow: hidden; padding: 48px 0 56px; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__title { margin-bottom: 18px; }
.hero__lead { font-size: 1.05rem; max-width: 460px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  flex-shrink: 0;
}
.check-badge i, .check-badge svg { width: 14px; height: 14px; }

.hero__visual { position: relative; }
.hero__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__quote {
  position: absolute;
  top: 24px;
  left: 20px;
  font-size: 1.5rem;
  color: var(--ink);
  transform: rotate(-4deg);
  text-shadow: 0 1px 8px rgba(255,255,255,.9);
}
.hero__card {
  position: absolute;
  right: 12px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 250px;
}
.hero__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #FFF4E5;
  color: #F59E0B;
  flex-shrink: 0;
}
.hero__card-icon i, .hero__card-icon svg { width: 20px; height: 20px; }
.hero__card strong { display: block; font-size: .88rem; color: var(--ink); line-height: 1.3; }
.hero__card small { color: var(--muted); font-size: .76rem; }

/* ===== Leistungen (Karten) ===== */
.services__grid { display: grid; gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body p { font-size: .92rem; margin-bottom: 18px; flex: 1; }
.service-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  align-self: flex-end;
  transition: background .2s, color .2s, border-color .2s;
}
.service-card__arrow i, .service-card__arrow svg { width: 15px; height: 15px; }
.service-card:hover .service-card__arrow { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Über uns Teaser ===== */
.about__inner { display: grid; gap: 40px; align-items: center; }
.about__text p { max-width: 440px; }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 32px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; }
.feature-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  flex-shrink: 0;
}
.feature-list__icon i, .feature-list__icon svg { width: 18px; height: 18px; }
.feature-list strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
.feature-list span { font-size: .9rem; color: var(--text); }

.about__visual { position: relative; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; background: #E5E7EB; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about__quote {
  position: absolute;
  top: 22px;
  right: 18px;
  text-align: right;
  font-size: 1.45rem;
  color: #fff;
  transform: rotate(-4deg);
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.about__signature { position: absolute; right: 22px; top: 96px; width: 120px; filter: invert(1) drop-shadow(0 2px 6px rgba(0,0,0,.4)); opacity: .95; }
.about__name {
  position: absolute;
  left: 16px;
  bottom: 22px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.about__name strong { display: block; font-size: .92rem; color: var(--ink); }
.about__name small { color: var(--muted); font-size: .76rem; }
.about__badge {
  position: absolute;
  right: 14px;
  bottom: -18px;
  background: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about__badge strong { display: block; font-size: 1.7rem; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.about__badge span { font-size: .78rem; color: var(--muted); line-height: 1.2; display: block; margin-top: 4px; }

/* ===== Referenzen Teaser ===== */
.refs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ref-card { display: block; }
.ref-card__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); margin-bottom: 12px; }
.ref-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ref-card:hover .ref-card__img img { transform: scale(1.05); }
.ref-card strong { display: block; font-size: .92rem; color: var(--ink); }
.ref-card small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .78rem; }
.ref-card small i, .ref-card small svg { width: 12px; height: 12px; color: var(--teal); }

/* ===== Kontakt CTA ===== */
.cta-contact { background: var(--bg-blue); padding: 64px 0; }
.cta-contact__inner { display: grid; gap: 36px; align-items: center; }
.cta-contact__text p { max-width: 420px; }
.cta-contact__points { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 24px; }
.cta-contact__points li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--ink); font-weight: 500; }
.cta-contact__points i, .cta-contact__points svg { width: 18px; height: 18px; color: var(--teal); }
.cta-contact__phone { font-size: .92rem; color: var(--muted); }
.cta-contact__phone a { font-weight: 700; color: var(--ink); }
.cta-contact__form { position: relative; }
.cta-contact__note {
  display: none;
  position: absolute;
  right: -110px;
  top: 30px;
  width: 110px;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--ink);
  transform: rotate(-6deg);
}
.cta-contact__note svg { margin-top: 4px; margin-left: -20px; }

/* ===== Formulare ===== */
.contact-form {
  position: relative;
  background: #fff;
  padding: 24px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 12px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #94A3B8; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,23,42,.08);
}
.form-group textarea { resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; color: var(--ink); }
.select-wrap select:invalid { color: #94A3B8; }
.select-wrap i, .select-wrap svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.form-consent label { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; color: var(--muted); cursor: pointer; }
.form-consent input { width: auto; margin-top: 3px; }
.form-consent a { text-decoration: underline; }
.form-error { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; border-radius: 8px; padding: 10px 14px; font-size: .85rem; margin-bottom: 12px; }
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }

/* ===== Unterseiten: Fullscreen Hero ===== */
.hero-full {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.hero-full__bg {
  position: absolute;
  inset: -2%;
  background: var(--hero-img) center / cover no-repeat;
  animation: hero-zoom 14s ease-out both;
  will-change: transform;
}
@keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.35) 0%, rgba(15,23,42,0) 30%, rgba(15,23,42,0) 72%, var(--bg) 100%),
    linear-gradient(100deg, rgba(15,23,42,.9) 0%, rgba(15,23,42,.65) 45%, rgba(15,23,42,.25) 100%);
}
.hero-full--to-soft .hero-full__overlay {
  background:
    linear-gradient(180deg, rgba(15,23,42,.35) 0%, rgba(15,23,42,0) 30%, rgba(15,23,42,0) 72%, var(--bg-soft) 100%),
    linear-gradient(100deg, rgba(15,23,42,.9) 0%, rgba(15,23,42,.65) 45%, rgba(15,23,42,.25) 100%);
}
.hero-full__inner { position: relative; width: 100%; padding-top: 96px; padding-bottom: 130px; }
.hero-full__content { max-width: 640px; animation: hero-in .9s cubic-bezier(.2,.8,.2,1) both .1s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero-full .eyebrow { color: rgba(255,255,255,.75); }
.hero-full h1 {
  color: #fff;
  font-size: clamp(2.3rem, 6.5vw, 4rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero-full__lead { color: rgba(255,255,255,.86); font-size: 1.08rem; max-width: 540px; margin-bottom: 28px; }
.hero-full .hero__actions { margin-bottom: 0; }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn--white:hover { background: #F1F5F9; }
.btn--glass {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255,255,255,.22); }
.hero-full__note {
  display: none;
  position: absolute;
  right: 40px;
  bottom: 170px;
  font-size: 1.9rem;
  color: #fff;
  text-align: right;
  transform: rotate(-5deg);
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
  animation: hero-in 1s ease both .5s;
}
.hero-full__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(15,23,42,.2);
  color: var(--ink);
  background: rgba(255,255,255,.7);
  animation: hero-bounce 2.4s ease-in-out infinite;
}
.hero-full__scroll i, .hero-full__scroll svg { width: 18px; height: 18px; }
@keyframes hero-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
.content-anchor { scroll-margin-top: var(--header-h); }

/* ===== Unterseiten: Page Hero (Legacy) ===== */
.page-hero { padding: 48px 0 40px; }
.page-hero__inner { display: grid; gap: 32px; align-items: center; }
.page-hero__lead { font-size: 1.05rem; max-width: 520px; }
.page-hero__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3 / 2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* USP Grid */
.usp-grid { display: grid; gap: 18px; }
.usp {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.usp__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink);
  margin-bottom: 14px;
}
.usp__icon i, .usp__icon svg { width: 22px; height: 22px; }
.usp h3 { margin-bottom: 6px; }
.usp p { margin: 0; font-size: .92rem; }

/* Leistungslisten (Accordion) */
.detail-grid { display: grid; gap: 14px; }
.detail {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0 22px;
}
.detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.detail summary::-webkit-details-marker { display: none; }
.detail summary i, .detail summary svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; transition: transform .25s; }
.detail[open] summary i, .detail[open] summary svg { transform: rotate(180deg); }
.detail ul { padding: 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.detail li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.detail li i, .detail li svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }

/* Split-Sektion (Text + Bild) */
.split { display: grid; gap: 32px; align-items: center; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow-md); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { max-width: 480px; }
.split__list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.split__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: .95rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.stat strong { display: block; font-size: 1.9rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: .8rem; color: var(--muted); }

/* Notfall-Banner (Bautenschutz) */
.emergency {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.emergency h2 { color: #fff; margin-bottom: 6px; font-size: 1.5rem; }
.emergency p { color: rgba(255,255,255,.72); margin: 0; }
.emergency .btn--white { background: #fff; color: var(--ink); }

/* ===== Galerie ===== */
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 10px; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); cursor: zoom-in; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 55%, rgba(15,23,42,.4) 100%); opacity: 0; transition: opacity .3s; }
.gallery__caption { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-size: .82rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after, .gallery__item:hover .gallery__caption { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(8,12,24,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
body.lightbox-open { overflow: hidden; }
.lightbox__figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px 72px; }
.lightbox__stage { flex: 1; width: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; transform: scale(.96); transition: transform .3s cubic-bezier(.2,.8,.2,1); touch-action: pan-y; cursor: grab; }
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); user-select: none; -webkit-user-drag: none; transition: opacity .25s; }
.lightbox__img.is-loading { opacity: .35; }
@keyframes lb-slide-left { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lb-slide-right { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.lightbox__stage.is-slide-left .lightbox__img { animation: lb-slide-left .3s ease; }
.lightbox__stage.is-slide-right .lightbox__img { animation: lb-slide-right .3s ease; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); color: rgba(255,255,255,.85); font-size: .9rem; }
.lightbox__counter { color: rgba(255,255,255,.55); font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: none; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close i, .lightbox__close svg, .lightbox__nav i, .lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }

/* ===== Kontaktseite ===== */
.contact-grid { display: grid; gap: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item .feature-list__icon { background: var(--bg-soft); border-color: transparent; }
.contact-info__item strong { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.contact-info__item div > span, .contact-info__item div > a { font-size: .92rem; color: var(--text); display: block; }
.contact-info__item div > a:hover { color: var(--ink); }

/* ===== Footer ===== */
.site-footer { background: #fff; border-top: 1px solid var(--line-soft); padding-top: 56px; }
.footer__inner { display: grid; gap: 36px; padding-bottom: 44px; }
.footer__brand img { width: 170px; margin-bottom: 12px; }
.footer__claim { font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.footer__text { font-size: .9rem; max-width: 300px; margin: 0; }
.footer__col h3 { font-size: .85rem; margin-bottom: 14px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); }
.footer__col li i, .footer__col li svg { width: 15px; height: 15px; color: var(--muted); flex-shrink: 0; }
.footer__col a { color: var(--text); transition: color .2s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--line-soft); padding: 18px 0; font-size: .82rem; color: var(--muted); }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 10px; }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; gap: 18px; }
.footer__bottom nav a { color: var(--muted); }
.footer__bottom nav a:hover { color: var(--ink); }

/* ===== Sticky Mobile CTA ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__phone { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); flex-shrink: 0; }
.sticky-cta__phone i, .sticky-cta__phone svg { width: 20px; height: 20px; }
.sticky-cta__btn { flex: 1; }

/* ===== Cookie Banner ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; display: flex; justify-content: center; padding: 16px; background: rgba(15,23,42,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cookie-banner__content { max-width: 760px; width: 100%; background: #fff; border-radius: 14px; padding: 22px; box-shadow: var(--shadow-lg); }
.cookie-banner__text h3 { margin: 0 0 6px; font-size: 1rem; }
.cookie-banner__text p { margin: 0 0 6px; font-size: .86rem; }
.cookie-banner__link { font-size: .82rem; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cookie-btn { padding: 11px 22px; border: none; border-radius: 8px; cursor: pointer; font-family: var(--font); font-size: .88rem; font-weight: 600; flex: 1; min-width: 140px; transition: opacity .2s, background .2s; }
.cookie-btn--accept { background: var(--navy); color: #fff; }
.cookie-btn--accept:hover { opacity: .9; }
.cookie-btn--reject { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.cookie-btn--reject:hover { background: var(--line-soft); }

/* ===== Legal / Danke ===== */
.legal-page { padding: 48px 0 64px; }
.legal-page h1 { margin-bottom: 28px; }
.legal-page h2 { font-size: 1.25rem; margin-top: 32px; }
.legal-page h3 { font-size: 1rem; margin-top: 20px; }
.legal-page p, .legal-page li { font-size: .95rem; }
.legal-page ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.thanks { min-height: 60vh; display: flex; align-items: center; text-align: center; padding: 64px 0; }
.thanks__icon { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); margin-bottom: 22px; }
.thanks__icon i, .thanks__icon svg { width: 38px; height: 38px; }
.thanks__steps { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 24px auto 28px; text-align: left; }
.thanks__steps li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.thanks__steps i, .thanks__steps svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
