/* ============================================================
   MEISTERWERK BERLIN — Design System
   Brand: Rot #E30D1C (Logo), Ink #101318
   ============================================================ */

:root {
  --red: #E30D1C;
  --red-dark: #B80A16;
  --red-soft: #FDECEE;
  --ink: #101318;
  --ink-2: #1A1F26;
  --slate: #3D4450;
  --muted: #69707C;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --line: #E8EAEE;
  --whatsapp: #25D366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 24, .06), 0 4px 12px rgba(16, 19, 24, .05);
  --shadow-md: 0 4px 8px rgba(16, 19, 24, .06), 0 16px 40px rgba(16, 19, 24, .10);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --topbar-h: 42px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html { overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.display {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 900;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head p { margin-top: .9rem; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #A8AEB9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(227, 13, 28, .32);
}
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--ghost-dark {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn--ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
}
.btn--whatsapp:hover { background: #1FB857; transform: translateY(-2px); }

.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.06rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: #C6CBD4;
  font-size: .84rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-group { display: flex; align-items: center; gap: 1.4rem; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; transition: color .15s, transform .18s; }
.topbar a:hover { color: #fff; transform: translateY(-1px); }
.topbar svg { width: 14px; height: 14px; color: var(--red); }
.topbar .wa svg { color: var(--whatsapp); }
.topbar-hours { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .9));
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header::before {
  /* lebendige Akzentlinie über dem Header */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #8F0812 30%, var(--red) 55%, #FF5560 75%, var(--red));
  background-size: 220% 100%;
  animation: accent-slide 7s linear infinite;
}
@keyframes accent-slide {
  0% { background-position: 0% 0; }
  100% { background-position: 220% 0; }
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(16, 19, 24, .1);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height .28s ease;
}
.header.is-scrolled .header-inner { height: 64px; }
.header.is-scrolled .brand-mark { height: 38px; }
.header.is-scrolled .brand-name { font-size: 1.18rem; }

.brand { display: flex; align-items: center; gap: .85rem; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-mark {
  height: 48px;
  width: auto;
  color: var(--red);
  flex: none;
  transition: height .28s ease, transform .3s ease;
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.06); }
.brand-name { transition: font-size .28s ease; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.38rem;
  font-weight: 900;
  letter-spacing: .045em;
  color: var(--red);
}
.brand-sub {
  margin-top: .32rem;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: .3rem; }
.nav > li { position: relative; }
.nav a.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .84rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s ease, transform .2s ease;
}
.nav a.nav-link::before {
  /* Pill-Hintergrund: federt beim Hover auf */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF3B49, var(--red) 55%, var(--red-dark));
  box-shadow: 0 8px 22px rgba(227, 13, 28, .35);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s ease, transform .3s cubic-bezier(.3, 1.5, .5, 1);
}
.nav a.nav-link:hover,
.nav > li:hover > a.nav-link,
.nav a.nav-link[aria-current="page"] { color: #fff; }
.nav a.nav-link:hover::before,
.nav > li:hover > a.nav-link::before,
.nav a.nav-link[aria-current="page"]::before { opacity: 1; transform: scale(1); }
.nav a.nav-link:hover { transform: translateY(-1px); }
.nav-link .caret { width: 12px; height: 12px; transition: transform .2s; }
.nav > li:hover .caret, .nav > li:focus-within .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: linear-gradient(180deg, #FFFFFF, #FAFBFC);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(16, 19, 24, .16), 0 4px 14px rgba(16, 19, 24, .06);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.97);
  transform-origin: top left;
  transition: opacity .22s ease, transform .3s cubic-bezier(.25, 1.3, .45, 1), visibility .22s;
}
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.dropdown a {
  display: block;
  padding: .65rem .85rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--slate);
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--red-soft); color: var(--red); }

/* Mega-Menü für "Leistungen" */
.dropdown.mega {
  width: 640px;
  padding: 1rem 1rem .9rem;
}
.dropdown.mega::before {
  /* unsichtbare Brücke, damit die Maus den Weg zum Menü nicht "verliert" */
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
}
.mega-grid a {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .7rem .8rem;
  border-radius: 12px;
  transition: background .18s ease, transform .22s ease, box-shadow .22s ease;
}
.mega-grid a:hover, .mega-grid a[aria-current="page"] {
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(16, 19, 24, .09);
}
.mega-grid a:hover strong, .mega-grid a[aria-current="page"] strong { color: var(--red); }
.mega-grid .mi {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  transition: background .18s, color .18s;
}
.mega-grid a:hover .mi { background: var(--red); color: #fff; }
.mega-grid .mi svg { width: 19px; height: 19px; }
.mega-grid strong {
  display: block;
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  transition: color .15s;
}
.mega-grid small {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-top: .15rem;
  line-height: 1.35;
}
.mega-cta {
  margin-top: .9rem;
  padding: .8rem 1.1rem;
  border-radius: 12px;
  background: var(--ink);
  color: #C6CBD4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .88rem;
  font-weight: 600;
}
.mega-cta a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  transition: color .15s;
}
.mega-cta a:hover { color: var(--red); }
.mega-cta svg { width: 16px; height: 16px; color: var(--red); }

.header-cta { display: flex; align-items: center; gap: .7rem; flex: none; }
.header-cta .btn { padding: .72rem 1.3rem; font-size: .93rem; }
.header-cta .btn--red {
  background: linear-gradient(135deg, #FF3B49, var(--red) 55%, var(--red-dark));
}
.header-cta .btn--red svg { animation: phone-ring 3s ease-in-out infinite; }
@keyframes phone-ring {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-14deg); }
  93% { transform: rotate(12deg); }
  96% { transform: rotate(-8deg); }
  98% { transform: rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .header::before { animation: none; }
  .header-cta .btn--red svg { animation: none; }
}

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
  z-index: 70;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(16, 19, 24, .45);
  opacity: 0;
  transition: opacity .25s;
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  max-width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #171B22, #0E1116);
  padding: 1rem 1.1rem 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.3, .8, .3, 1);
}
.mnav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .2rem .1rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: .9rem;
}
.mnav-head .brand-name { font-size: 1.05rem; color: #FF4D5A; }
.mnav-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.mnav-close:hover { background: var(--red); color: #fff; border-color: transparent; }
.mnav-close svg { width: 20px; height: 20px; }
.mnav-acc {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .8rem .9rem;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: #E4E7EC;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}
.mnav-acc .mnav-acc-label { display: flex; align-items: center; gap: .8rem; }
.mnav-acc .caret { width: 16px; height: 16px; flex: none; color: #FF4D5A; transition: transform .25s; }
.mnav-acc.is-open { background: rgba(227, 13, 28, .14); color: #FF4D5A; }
.mnav-acc.is-open .caret { transform: rotate(180deg); }
.mnav-acc-panel a { color: #C6CBD4; }
.mnav-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mnav-acc-panel a { margin-left: .9rem; font-size: .95rem; padding: .65rem .9rem; }
.mobile-nav.is-open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem .9rem;
  border-radius: 10px;
  font-weight: 700;
  color: #E4E7EC;
  font-size: 1rem;
}
.mobile-nav a .mi,
.mobile-nav .mnav-acc .mi {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(227, 13, 28, .16);
  color: #FF4D5A;
  display: grid;
  place-items: center;
}
.mobile-nav a .mi svg,
.mobile-nav .mnav-acc .mi svg { width: 17px; height: 17px; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: #FF4D5A; }
.mobile-nav a:hover .mi, .mobile-nav a[aria-current="page"] .mi { background: var(--red); color: #fff; }
.mobile-nav .mnav-group {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1.2rem .9rem .4rem;
}
.mobile-nav .mnav-cta { margin-top: 1.4rem; display: grid; gap: .7rem; }
.mobile-nav .mnav-cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* Lamellen-Muster — Anspielung auf Rollladen-Profile */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, .03) 0 2px,
    transparent 2px 26px
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 13, 28, .28), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  color: var(--red);
  display: block;
  font-size: .52em;
  letter-spacing: -.01em;
  margin-top: .45rem;
  white-space: nowrap;
}
.hero .lead { color: #A8AEB9; margin-top: 1.3rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #E4E7EC;
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .86rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35D07F;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, .18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(53, 208, 127, .18); }
  50% { box-shadow: 0 0 0 7px rgba(53, 208, 127, .08); }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.trust-item { display: flex; flex-direction: column; gap: .15rem; }
.trust-item strong { font-size: 1.7rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.trust-item span { font-size: .87rem; color: #9AA1AC; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, #1C222B, #161A21);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: calc(var(--radius) + 6px);
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.hero-card-visual {
  margin: -2rem -2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero-card-visual svg,
.hero-card-visual img { display: block; width: 100%; height: auto; }

/* Rollladen fährt beim Hover hoch – wie ein echter Panzer */
.hero-card-visual .panzer {
  transition: transform 1.6s cubic-bezier(.45, .02, .2, 1);
  will-change: transform;
}
.hero-card:hover .hero-card-visual .panzer { transform: translateY(-80px); }
@media (prefers-reduced-motion: reduce) {
  .hero-card-visual .panzer { transition: none; }
  .hero-card:hover .hero-card-visual .panzer { transform: none; }
}
.hero-card-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}
.hero-card-title svg { width: 26px; height: 26px; color: var(--red); }
.hero-card ul { display: grid; gap: .85rem; }
.hero-card li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: #C6CBD4;
  font-size: .95rem;
}
.hero-card li svg { width: 19px; height: 19px; color: var(--red); flex: none; margin-top: 2px; }
.hero-card .btn { width: 100%; margin-top: 1.6rem; }

/* ---------- Concept strip ---------- */
.concept-strip {
  background: var(--red);
  color: #fff;
  overflow: hidden;
}
.concept-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .6rem 2.2rem;
  padding-top: .95rem;
  padding-bottom: .95rem;
}
.concept-strip span {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.concept-strip span + span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .95rem; color: var(--muted); flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.2rem;
  font-weight: 700;
  font-size: .93rem;
  color: var(--red);
}
.card-link svg { width: 16px; height: 16px; transition: transform .18s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Checklist / feature rows ---------- */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; }
.check-item { display: flex; gap: .75rem; align-items: flex-start; }
.check-item svg { width: 21px; height: 21px; color: var(--red); flex: none; margin-top: 3px; }
.check-item strong { color: var(--ink); display: block; font-size: .99rem; }
.check-item p { font-size: .9rem; color: var(--muted); margin-top: .1rem; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  background: linear-gradient(160deg, #F0F1F4, #E4E6EB);
  display: grid;
  place-items: center;
}
.split-media svg.illus { width: 68%; height: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.step:first-child .step-num { background: var(--red); }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- Emergency banner ---------- */
.notdienst-band {
  position: relative;
  overflow: hidden;
}
.notdienst-band::before {
  /* Lamellen-Muster wie im CTA-Band */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.notdienst-band .container { position: relative; }

.emergency {
  background: linear-gradient(120deg, var(--red) 0%, #A50813 100%);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(227, 13, 28, .25);
}
.emergency::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px);
  pointer-events: none;
}
.emergency h2 { color: #fff; position: relative; z-index: 1; }
.emergency p { color: rgba(255, 255, 255, .88); margin-top: .7rem; position: relative; z-index: 1; }
.emergency-actions { display: grid; gap: .8rem; position: relative; }
.emergency .btn--white {
  background: #fff;
  color: var(--red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.emergency .btn--white:hover { transform: translateY(-2px); }

/* ---------- Standorte ---------- */
.loc-card { text-align: left; }
.loc-card .pin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.loc-card .pin svg { width: 21px; height: 21px; }
.loc-card .loc-city { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.loc-card address { font-style: normal; color: var(--muted); font-size: .96rem; margin-top: .35rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq-q svg { width: 18px; height: 18px; color: var(--red); flex: none; transition: transform .25s; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .96rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.03) 0 2px, transparent 2px 26px);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 13, 28, .25), transparent 65%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3.2rem, 7vw, 5rem) 0;
  max-width: 820px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; }
.page-hero .lead { color: #A8AEB9; margin-top: 1rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  color: #8A919D;
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb .current { color: var(--red); }

/* ---------- Content prose ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: 1.55rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .7rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 1rem 0 1.4rem; display: grid; gap: .55rem; }
.prose ul li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}
.prose ul li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
  margin-top: .55em;
}
.prose strong { color: var(--ink); }

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 1.3rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.sidebar-card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #C6CBD4;
}
.sidebar-card--dark h3 { color: #fff; }
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.sidebar-card .btn { width: 100%; margin-top: .6rem; }
.sidebar-contact { display: grid; gap: .8rem; font-size: .93rem; }
.sidebar-contact a { display: flex; gap: .65rem; align-items: center; font-weight: 600; }
.sidebar-contact a:hover { color: var(--red); }
.sidebar-contact svg { width: 17px; height: 17px; color: var(--red); flex: none; }
.sidebar-card--dark .sidebar-contact a:hover { color: #fff; }
.sidebar-links { display: grid; gap: .2rem; }
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .75rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--slate);
}
.sidebar-links a:hover, .sidebar-links a[aria-current="page"] { background: var(--red-soft); color: var(--red); }
.sidebar-links svg { width: 14px; height: 14px; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.contact-info { display: grid; gap: 1rem; }
.contact-tile {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  transition: box-shadow .2s, transform .2s;
}
.contact-tile:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-tile .ct-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-tile .ct-icon svg { width: 21px; height: 21px; }
.contact-tile strong { display: block; color: var(--ink); font-size: .98rem; }
.contact-tile span, .contact-tile address { font-style: normal; color: var(--muted); font-size: .92rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .87rem; font-weight: 700; color: var(--ink); }
.form-field label .req { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: .96rem;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(227, 13, 28, .09);
}
.form-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--muted);
}
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex: none; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: .94rem; }
.form-status.ok { display: block; background: #E8F8EF; color: #157347; }
.form-status.err { display: block; background: var(--red-soft); color: var(--red-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
}
.cta-band-inner {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cta-band p { color: #A8AEB9; margin-top: .8rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: flex-end; }

/* ---------- Footer ---------- */
.footer { background: #0C0E12; color: #9AA1AC; font-size: .94rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.footer-brand img { height: 44px; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand .brand { gap: .8rem; }
.footer-brand .brand-mark { height: 38px; }
.footer-brand .brand-name { color: #fff; font-size: 1.2rem; }
.footer-brand .brand-sub { color: #8A919D; font-size: .56rem; }
.footer-brand p { margin-top: 1.1rem; max-width: 30ch; font-size: .9rem; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-bottom .legal { display: flex; gap: 1.4rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 45;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-cta .btn--ghost { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; pointer-events: none; visibility: hidden; }
  .mobile-nav.is-open { pointer-events: auto; visibility: visible; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .split, .contact-grid, .emergency, .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-actions { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .hero-trust { gap: 1.2rem 1.8rem; }
  .trust-item strong { font-size: 1.4rem; }
  .header-cta .btn { display: none; }
  /* Marke schlank halten, damit der Burger-Button immer sichtbar bleibt */
  .header-inner { gap: .6rem; }
  .brand { gap: .55rem; min-width: 0; flex: 0 1 auto; }
  .brand-text { min-width: 0; }
  .brand img { height: 40px; }
  .brand-mark { height: 30px; }
  .brand-name { font-size: 1rem; }
  .brand-sub {
    font-size: .46rem;
    letter-spacing: .1em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-cta { gap: 0; flex: none; }
  .burger { flex: none; width: 44px; height: 44px; }

  /* Mobile-Menü: volle Breite auf Smartphones */
  .mobile-nav-panel { width: 100%; }

  /* Konzept-Strip: zwei saubere Spalten statt umbrechender Zeile */
  .concept-strip .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem 1rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
  }
  .concept-strip span {
    gap: .5rem;
    justify-content: flex-start;
    font-size: .76rem;
    letter-spacing: .07em;
    white-space: normal;
    line-height: 1.3;
  }
  .concept-strip span::before,
  .concept-strip span + span::before {
    content: "✓";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: .85rem;
    font-weight: 900;
    color: rgba(255, 255, 255, .85);
    flex: none;
  }

  /* Hero kompakt und aufgeräumt auf Smartphones */
  .hero-inner { padding-top: 2.6rem; padding-bottom: 3rem; gap: 2rem; }
  .hero-badge {
    font-size: .74rem;
    padding: .4rem .8rem;
    margin-bottom: 1.1rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
  }
  .hero .display { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  /* Akzentzeile skaliert mit dem Viewport – passt auch mit breiteren Android-Fonts */
  .hero h1 .accent { font-size: clamp(.85rem, 4vw, 1.2rem); }
  .hero .lead { font-size: 1rem; margin-top: 1rem; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .7rem;
    margin-top: 1.7rem;
  }
  .hero-actions .btn { width: 100%; padding: 1rem 1.2rem; font-size: 1rem; }
  .hero-visual { max-width: 100%; }
  .hero-card { padding: 1.35rem; border-radius: var(--radius); }
  .hero-card-visual { margin: -1.35rem -1.35rem 1.2rem; }
  .hero-card-title { font-size: .98rem; margin-bottom: 1rem; }
  .hero-card ul { gap: .65rem; }
  .hero-card li { font-size: .89rem; }
  .hero-card .btn { margin-top: 1.2rem; padding: .9rem 1rem; font-size: .95rem; }

  /* Sticky call bar on mobile */
  .callbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .45rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 44;
    padding: .45rem .55rem calc(.45rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .callbar .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: .55rem .4rem;
    font-size: .84rem;
    font-weight: 700;
    gap: .4rem;
    overflow: hidden;
    border-radius: 11px;
    box-shadow: none;
  }
  .callbar .btn:hover { transform: none; }
  .callbar .btn svg { width: 15px; height: 15px; flex: none; }
  .wa-float { display: none; }
  body { padding-bottom: 58px; }
}
