/* ============================================================
   SIKORA — Heizung · Sanitär · Klima
   Design: Helles, warmes Theme — Kupfer/Flamme (Wärme)
   trifft Aqua (Wasser) auf cremeweißem Grund.
   ============================================================ */

/* ---------- Fonts (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-var.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-var.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Spline Sans Mono';
  src: url('../fonts/spline-sans-mono-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Warmes Honig-Theme */
  --ink: #f0dab3;
  --ink-2: #e7cb99;
  --ink-3: #faecce;
  --cream: #33281a;
  --muted: #746044;
  --line: rgba(70, 54, 32, 0.18);

  --flame: #e85512;
  --flame-soft: #ff6b2b;
  --aqua: #1a94b8;
  --aqua-deep: #14708c;

  --grad-thermal: linear-gradient(100deg, #f25c14 0%, #ff9147 45%, #1fa3c9 100%);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --font-mono: 'Spline Sans Mono', Consolas, monospace;

  --w-max: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--flame); color: #ffffff; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Grain-Overlay für Atmosphäre */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

/* ---------- Typo-Helfer ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 2.25rem;
  height: 1px;
  background: var(--flame);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-top: 1rem;
  max-width: 18ch;
}
.section-head p {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
}

.text-grad {
  background: var(--grad-thermal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.3s;
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }

.btn-primary {
  background: var(--flame);
  color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -8px rgba(255, 107, 43, 0.55);
  background: var(--flame-soft);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(35, 39, 46, 0.04);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 39, 46, 0.35);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(240, 218, 179, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 720;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}
.logo .dot { color: var(--flame); }
.logo small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-left: 0.6rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--grad-thermal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s;
}
.nav-phone:hover { color: var(--flame); }
.nav-phone svg { width: 1rem; height: 1rem; color: var(--flame); }
.nav .btn { padding: 0.65rem 1.3rem; font-size: 0.9rem; }

/* Mobile-Menü */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(240, 218, 179, 0.97);
  backdrop-filter: blur(20px);
  padding: 7rem var(--pad) 3rem;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
  animation: menuIn 0.5s var(--ease-out) forwards;
}
.mobile-menu a:nth-child(2) { animation-delay: 0.06s; }
.mobile-menu a:nth-child(3) { animation-delay: 0.12s; }
.mobile-menu a:nth-child(4) { animation-delay: 0.18s; }
.mobile-menu a:nth-child(5) { animation-delay: 0.24s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  overflow: hidden;
}

/* Thermal-Blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.38;
  z-index: -1;
}
.hero::before {
  width: 55vw;
  height: 55vw;
  min-width: 480px;
  min-height: 480px;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.5), transparent 65%);
  top: -18%;
  left: -12%;
  animation: drift1 16s ease-in-out infinite alternate;
}
.hero::after {
  width: 48vw;
  height: 48vw;
  min-width: 420px;
  min-height: 420px;
  background: radial-gradient(circle, rgba(63, 193, 224, 0.38), transparent 65%);
  bottom: -22%;
  right: -10%;
  animation: drift2 19s ease-in-out infinite alternate;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6vw, 8vh) scale(1.12); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1.08); }
  to { transform: translate(-7vw, -6vh) scale(1); }
}

/* Feines Grid im Hintergrund */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}

.hero-inner { position: relative; }

.hero .eyebrow {
  opacity: 0;
  animation: riseIn 0.9s var(--ease-out) 0.15s forwards;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.6vw, 6rem);
  font-weight: 700;
}
.hero h1 .line {
  display: block;
  opacity: 0;
  animation: riseIn 1s var(--ease-out) forwards;
}
.hero h1 .line:nth-child(1) { animation-delay: 0.3s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.45s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.6s; }

/* Hero-Visual: Foto-Collage mit schwebenden Chips */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: riseIn 1.1s var(--ease-out) 0.55s forwards;
}
.hero-visual img {
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
}
.hv-main {
  width: 88%;
  margin-left: auto;
  aspect-ratio: 4 / 3.5;
  display: block;
  box-shadow: 0 40px 90px -30px rgba(35, 39, 46, 0.35);
  filter: saturate(0.95) contrast(1.04);
}
.hv-small {
  position: absolute;
  left: 0;
  bottom: -2.2rem;
  width: 38%;
  aspect-ratio: 3 / 3.8;
  transform: rotate(-4deg);
  border-color: rgba(255, 107, 43, 0.35);
  box-shadow: 0 26px 60px -18px rgba(35, 39, 46, 0.35), 0 0 46px -12px rgba(255, 107, 43, 0.3);
  transition: transform 0.5s var(--ease-out);
}
.hero-visual:hover .hv-small { transform: rotate(-1deg) translateY(-6px); }

.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 241, 234, 0.18);
  color: #f4f1ea;
  box-shadow: 0 14px 40px -12px rgba(35, 39, 46, 0.3);
  animation: floatY 6s ease-in-out infinite;
}
.hv-chip svg { width: 0.9rem; height: 0.9rem; color: #3fc1e0; }
.hv-chip .pulse-dot { margin-right: 0; }
.hv-chip-1 { top: 6%; right: -0.8rem; }
.hv-chip-2 { bottom: 8%; right: 6%; animation-delay: 3s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}

/* Rotierendes Wort */
.swap {
  display: inline-grid;
  vertical-align: baseline;
  text-align: left;
}
.swap span {
  grid-area: 1 / 1;
  background: var(--grad-thermal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.swap span.active {
  opacity: 1;
  transform: none;
}
.swap span.leaving {
  opacity: 0;
  transform: translateY(-0.55em);
}

.hero-sub {
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 46ch;
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 0.75s forwards;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  margin-top: clamp(3rem, 8vh, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: riseIn 1s var(--ease-out) 0.9s forwards;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-stat .num em {
  font-style: normal;
  color: var(--flame);
}
.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  overflow: hidden;
  background: var(--ink-2);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}
.marquee span::after {
  content: '✺';
  color: var(--flame);
  font-size: 0.9em;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }

/* Leistungen */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.4s, background 0.4s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 107, 43, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 43, 0.35);
  background: var(--ink-3);
}
.service-card:hover::before { opacity: 1; }

.service-num {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  opacity: 0.7;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 43, 0.1);
  border: 1px solid rgba(255, 107, 43, 0.22);
  color: var(--flame);
  margin-bottom: 1.5rem;
  transition: background 0.35s, color 0.35s, transform 0.45s var(--ease-out);
}
.service-card:hover .service-icon {
  background: var(--flame);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.06);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
}
.service-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}
.service-card .tags li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* Aqua-Variante für Wasser-Karten */
.service-card.aqua .service-icon {
  background: rgba(63, 193, 224, 0.1);
  border-color: rgba(63, 193, 224, 0.25);
  color: var(--aqua);
}
.service-card.aqua:hover { border-color: rgba(63, 193, 224, 0.4); }
.service-card.aqua::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(63, 193, 224, 0.12), transparent 60%);
}
.service-card.aqua:hover .service-icon {
  background: var(--aqua);
  color: #ffffff;
}

/* ---------- Über uns ---------- */
.about {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 1.4rem;
}
.about-copy {
  margin-top: 1.4rem;
  color: var(--muted);
  max-width: 56ch;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: border-color 0.35s, transform 0.45s var(--ease-out);
}
.stat-card:hover {
  border-color: rgba(255, 107, 43, 0.3);
  transform: translateY(-4px);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--grad-thermal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(35, 39, 46, 0.03);
}
.badge svg { width: 0.95rem; height: 0.95rem; color: var(--flame); }

/* ---------- Über uns: Foto-Stack ---------- */
.about-media {
  position: relative;
  min-height: 460px;
}
.about-media img {
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.88) contrast(1.05);
}
.about-media .img-main {
  width: 82%;
  aspect-ratio: 4 / 4.6;
  box-shadow: 0 30px 70px -25px rgba(35, 39, 46, 0.35);
}
.about-media .img-small {
  position: absolute;
  right: 0;
  bottom: -2rem;
  width: 52%;
  aspect-ratio: 4 / 3;
  transform: rotate(3deg);
  border: 1px solid rgba(255, 107, 43, 0.35);
  box-shadow: 0 24px 60px -18px rgba(35, 39, 46, 0.35), 0 0 40px -10px rgba(255, 107, 43, 0.25);
  transition: transform 0.5s var(--ease-out);
}
.about-media:hover .img-small { transform: rotate(0deg) translateY(-6px); }
.about-media .media-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(244, 241, 234, 0.18);
  color: #f4f1ea;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: clamp(3.5rem, 7vw, 5rem);
}

/* ---------- Galerie-Band ---------- */
.gallery { padding-block: 0 clamp(4.5rem, 10vw, 8rem); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 3.6;
}
.gallery-item:nth-child(even) { transform: translateY(1.6rem); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.06) brightness(0.92);
  transition: transform 0.7s var(--ease-out), filter 0.5s;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 13, 16, 0.75), transparent 55%);
  pointer-events: none;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.06) brightness(1);
}
.gallery-item .cap {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4f1ea;
}
.gallery-item .cap::before {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--flame);
  margin-right: 0.55rem;
}
.gallery-item:nth-child(even) .cap::before { background: var(--aqua); }

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: transform 0.45s var(--ease-out), border-color 0.35s;
}
.step:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 193, 224, 0.35);
}
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  margin-bottom: 1.2rem;
  background: var(--grad-thermal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Notdienst-Band ---------- */
.emergency {
  background:
    radial-gradient(80% 140% at 15% 0%, rgba(255, 107, 43, 0.14), transparent 60%),
    radial-gradient(70% 130% at 90% 100%, rgba(63, 193, 224, 0.1), transparent 55%),
    var(--ink-3);
  border-block: 1px solid var(--line);
}
.emergency-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(2.8rem, 6vw, 4.2rem);
}
.emergency h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  max-width: 22ch;
}
.emergency p {
  color: var(--muted);
  margin-top: 0.7rem;
  max-width: 46ch;
}
.pulse-dot {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--flame);
  margin-right: 0.5rem;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 43, 0); }
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
a.contact-item:hover {
  border-color: rgba(255, 107, 43, 0.35);
  transform: translateX(6px);
}
.contact-item .ci-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 43, 0.1);
  border: 1px solid rgba(255, 107, 43, 0.22);
  color: var(--flame);
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item .ci-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item .ci-value {
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 0.15rem;
}
.contact-item .ci-value small {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Formular */
.form-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-field { display: grid; gap: 0.45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--cream);
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 107, 43, 0.18);
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}
.form-note a { color: var(--flame); }
.form-card .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 3rem 2rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}
.footer .logo { font-size: 1.25rem; }
.footer-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.8rem;
  max-width: 34ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-links a { transition: color 0.25s; }
.footer-links a:hover { color: var(--flame); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- Rechtsseiten ---------- */
.legal-page {
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  min-height: 70vh;
}
.legal-page .wrap { max-width: 820px; }
.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
}
.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}
.legal-page p, .legal-page li {
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.legal-page ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.legal-page a { color: var(--flame); }
.legal-page a:hover { text-decoration: underline; }
.legal-page strong { color: var(--cream); }
.legal-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-block: 1.2rem;
}
.legal-card p { margin-bottom: 0.3rem; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay='1'] { transition-delay: 0.1s; }
.reveal[data-delay='2'] { transition-delay: 0.2s; }
.reveal[data-delay='3'] { transition-delay: 0.3s; }
.reveal[data-delay='4'] { transition-delay: 0.4s; }
.reveal[data-delay='5'] { transition-delay: 0.5s; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero .eyebrow, .hero h1 .line, .hero-sub, .hero-actions, .hero-stats, .hero-visual { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 520px; margin-bottom: 1.5rem; }
  .hv-chip-1 { right: 0.6rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-media { min-height: 0; margin-bottom: 2.5rem; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-phone span { display: none; }
}

@media (max-width: 640px) {
  .logo small { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .nav-burger { display: flex; }
  .nav .btn { display: none; }
  .hero-stats { gap: 1.5rem 2.5rem; }
}
