/* ============================================================
   Ki-SA Fliesenbau GmbH — kisa-fliesenbau.de
   Design 2026 V3 "Logo-Blau" — Farben aus dem Firmenlogo:
   Navy #01215c (Logo-Schrift) · Gold #d9a00e · Dunkelnavy #10263d · Eisblau #eef4fa
   Typografie: Sora (Display) + Manrope (Text)
   ============================================================ */

:root {
  --cream: #eef4fa;
  --paper: #f9fcfe;
  --white: #ffffff;
  --sand: #dbe6f0;
  --sand-2: #c2d4e4;
  --tan: #d9a00e;
  --tan-soft: #fcd878;
  --brown: #01215c;
  --brown-deep: #021a49;
  --espresso: #10263d;
  --espresso-2: #16324e;
  --ink: #132a42;
  --muted: #54687c;
  --ok: #2e7d32;
  --err: #b3402a;

  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;

  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(16, 38, 61, 0.08);
  --shadow: 0 14px 40px rgba(16, 38, 61, 0.14);
  --shadow-lg: 0 24px 70px rgba(16, 38, 61, 0.2);

  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--brown); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: 700;
  color: var(--brown);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: var(--cream);
  padding: 10px 18px;
  z-index: 300;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--tan);
  flex: none;
}

.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--tan);
  flex: none;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn i { font-size: 0.85em; transition: transform 0.25s ease; }
.btn:hover i { transform: translateX(4px); }

.btn-solid {
  background: var(--brown);
  color: var(--cream);
}
.btn-solid:hover {
  background: var(--brown-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--sand-2);
}
.btn-ghost:hover {
  border-color: var(--brown);
  color: var(--brown);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--espresso);
}
.btn-light:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--espresso);
  color: rgba(238, 244, 250, 0.85);
  font-size: 0.84rem;
  padding: 9px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar i { color: var(--tan-soft); margin-right: 7px; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(238, 244, 250, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--sand);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand { flex: none; }
.brand img { height: 108px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .brand img { height: 80px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav > a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 8px 0;
  white-space: nowrap;
}

.main-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after { transform: scaleX(1); }
.main-nav > a.active { color: var(--brown); }

.main-nav .nav-btn {
  background: var(--brown);
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.main-nav .nav-btn:hover { background: var(--brown-deep); transform: translateY(-2px); }
.main-nav .nav-btn i { font-size: 0.8em; }

.nav-close { display: none; }

.nav-phone { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 11px;
  background: var(--brown);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  padding: 84px 0 110px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  margin-bottom: 24px;
}

.hero-copy > p {
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--sand);
}

.hero-facts div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-facts i { color: var(--tan); font-size: 1.05rem; }

.hero-media { position: relative; }

.hero-media::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(var(--tan) 2.2px, transparent 2.8px);
  background-size: 22px 22px;
  opacity: 0.55;
  z-index: 0;
}

.hero-media .hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  position: absolute;
  left: -30px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 18px 26px;
  box-shadow: var(--shadow);
}

.hero-card strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.hero-card span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--brown);
  color: var(--cream);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-inner { animation-play-state: paused; }

.marquee-seq {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee-seq span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: normal;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 0 18px;
}

.marquee-seq i {
  font-size: 0.5rem;
  color: var(--tan-soft);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Split (30 Jahre / Über uns) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 76px;
  align-items: center;
}

.split-media { position: relative; }

.split-media::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(var(--tan) 2.2px, transparent 2.8px);
  background-size: 22px 22px;
  opacity: 0.5;
  z-index: 0;
}

.split-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-media .years-chip {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: -24px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.split-media .years-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--tan-soft);
  line-height: 1.1;
}

.split-media .years-chip span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

.split-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 22px; }
.split-text p + p { margin-top: 16px; }
.split-text .btn { margin-top: 32px; }

.check-list { list-style: none; margin-top: 26px; display: grid; gap: 13px; }

.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.99rem;
  line-height: 1.55;
}

.check-list i { color: var(--brown); margin-top: 5px; }

/* ---------- Leistungen: nummerierte Karten ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--tan);
  box-shadow: var(--shadow);
}

.service-card .num {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tan);
  display: inline-block;
  margin-bottom: 18px;
}

.service-card .num::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 44px;
  height: 1.5px;
  background: var(--sand-2);
  margin-left: 12px;
}

.service-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.service-card p { font-size: 0.97rem; line-height: 1.7; }

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  background: rgba(217, 160, 14, 0.22);
  border-radius: 0 0 0 100%;
  transform: translate(100%, -100%);
  transition: transform 0.4s cubic-bezier(0.6, 0.05, 0.28, 0.91);
}

.service-card:hover::after { transform: translate(0, 0); }

.service-card .num,
.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.section-more { text-align: center; margin-top: 52px; }

/* ---------- Galerie-Streifen (Startseite) ---------- */
.strip-section { padding-bottom: 110px; }

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.strip-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.strip-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.strip-item:hover img { transform: scale(1.06); }

.strip-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(16, 38, 61, 0.85);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  background: var(--espresso);
  padding: 104px 0;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(252, 216, 120, 0.9) 1.8px, transparent 2.4px);
  background-size: 30px 30px;
  opacity: 0.14;
}

.cta-band .container { position: relative; text-align: center; max-width: 780px; }

.cta-band h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 20px;
}

.cta-band h2 em { color: var(--tan-soft); }

.cta-band p {
  color: rgba(238, 244, 250, 0.8);
  font-size: 1.08rem;
  margin-bottom: 38px;
}

/* ---------- Logos ---------- */
.logos-section { padding-top: 96px; padding-bottom: 40px; }
.logos-section:last-of-type { padding-top: 40px; padding-bottom: 110px; }

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}

.logo-cell {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.logo-cell img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-cell:hover { transform: translateY(-4px); border-color: var(--tan); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer {
  background: #e3edf6;
  border-top: 1px solid var(--sand-2);
  color: var(--muted);
  font-size: 0.96rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 54px;
  padding: 78px 24px 54px;
}

.footer-brand img { height: 84px; width: auto; margin-bottom: 22px; }
.footer-brand p { line-height: 1.8; font-size: 0.93rem; }

.site-footer h4 {
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-links, .footer-contact { list-style: none; display: grid; gap: 11px; }

.footer-links a { color: inherit; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--brown); padding-left: 5px; }

.footer-contact li { display: flex; gap: 13px; align-items: flex-start; }
.footer-contact i { color: var(--brown); margin-top: 6px; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--brown); }

.footer-bottom {
  border-top: 1px solid var(--sand-2);
  padding: 22px 0;
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom a { color: inherit; margin-left: 20px; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: var(--brown); }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--sand);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -70px;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background-image: radial-gradient(var(--tan) 2.4px, transparent 3px);
  background-size: 26px 26px;
  opacity: 0.35;
}

.breadcrumb {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
}

.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--brown); }

.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 720px; }

.page-hero p {
  margin-top: 18px;
  font-size: 1.1rem;
  max-width: 600px;
}

/* ---------- Werte-Karten ---------- */
.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover { transform: translateY(-6px); border-color: var(--tan); box-shadow: var(--shadow); }

.value-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 1.5px solid var(--tan);
  color: var(--brown);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}

.value-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.value-card p { font-size: 0.97rem; }

/* ---------- Referenzen-Galerie ---------- */
.gallery-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 46px;
}

.gallery-tab {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--sand-2);
  border-radius: 999px;
  padding: 11px 24px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery-tab small { font-weight: 600; opacity: 0.55; margin-left: 4px; }

.gallery-tab:hover { border-color: var(--brown); color: var(--brown); transform: translateY(-2px); }

.gallery-tab.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}
.gallery-tab.active small { opacity: 0.75; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item::after {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cream);
  background: rgba(16, 38, 61, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.07); }

.gallery-more { text-align: center; margin-top: 46px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(7, 19, 32, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(92vw, 1300px);
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(238, 244, 250, 0.14);
  color: var(--cream);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.lightbox-btn:hover { background: var(--brown); }

.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(238, 244, 250, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.contact-panel {
  background: var(--espresso);
  color: rgba(238, 244, 250, 0.85);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  position: relative;
  overflow: hidden;
}

.contact-panel h3 { color: var(--cream); font-size: 1.7rem; margin-bottom: 14px; }
.contact-panel > p { margin-bottom: 32px; font-size: 0.97rem; }

.contact-line {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 17px;
  align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid rgba(238, 244, 250, 0.12);
}

.contact-line .ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(252, 216, 120, 0.5);
  color: var(--tan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.contact-line strong {
  display: block;
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-line a, .contact-line span { color: inherit; font-size: 1rem; }
.contact-line a:hover { color: var(--white); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 46px 42px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 { font-size: 1.7rem; margin-bottom: 10px; }
.contact-form > p { margin-bottom: 30px; font-size: 0.97rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-group label .captcha-q {
  display: inline-block;
  background: var(--brown);
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 0 3px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--sand-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #9db1c4; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 4px rgba(1, 33, 92, 0.15);
}

.form-status { margin-top: 16px; font-weight: 700; font-size: 0.97rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

/* ---------- Rechtstexte ---------- */
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-size: 1.5rem;
  margin: 44px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--sand);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { margin: 12px 0 12px 22px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-inner { animation: none; flex-wrap: wrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  section { padding: 76px 0; }
  .hero-grid, .split-grid { gap: 48px; }
  .services-grid, .value-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .main-nav { gap: 24px; }
}

@media (max-width: 940px) {
  .topbar { display: none; }

  .site-header {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .brand img { height: 86px; }
  .site-header.scrolled .brand img { height: 72px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--cream);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.6, 0.05, 0.28, 0.91), visibility 0s linear 0.4s;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.6, 0.05, 0.28, 0.91);
  }

  .main-nav > a {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    padding: 10px 0;
  }

  .main-nav .nav-btn { margin-top: 22px; font-size: 1.05rem; padding: 15px 32px; }

  .main-nav .nav-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 56px;
  }

  .nav-phone a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
  }

  .nav-phone a i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brown);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 22px;
    right: 24px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--sand-2);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .hero { padding: 56px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; }
  .hero-media { max-width: 520px; }
  .hero-media::before { top: -22px; right: -14px; width: 150px; height: 150px; }
  .hero-card { left: 14px; bottom: 24px; padding: 14px 20px; }

  .split-grid { grid-template-columns: 1fr; gap: 56px; }
  .split-media { max-width: 520px; }
  .split-media .years-chip { right: 14px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 620px) {
  .services-grid, .value-cards { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 60px; }
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-facts { gap: 22px; }
  .contact-form, .contact-panel { padding: 34px 26px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .page-hero { padding: 60px 0 54px; }
}


/* ---------- Cookie-Consent ---------- */
.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  max-width: 700px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
}

.cookie-banner p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cookie-banner p a { text-decoration: underline; text-underline-offset: 3px; }

.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: 0.9rem; }

.map-consent {
  height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  background: var(--paper);
}

.map-consent i { font-size: 2.4rem; color: var(--tan); }
.map-consent p { max-width: 480px; font-size: 0.93rem; }