/* ===========================================================
   T&M Bau – Modern Stylesheet (Rot / Schwarz / Weiß)
   ISOTEC-inspiriert
   =========================================================== */
:root {
  --red: #d62828;
  --red-dark: #a31f1f;
  --black: #111111;
  --black-soft: #1c1c1c;
  --ink: #1a1a1a;
  --slate: #444444;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .2);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .35);
  --max: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }

/* modern inline icons */
.ico { width: 1.05em; height: 1.05em; fill: currentColor; flex-shrink: 0; vertical-align: -2px; }

body {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 700; color: var(--red); margin-bottom: 12px;
}
.eyebrow--light { color: #ff6b6b; }
.accent { color: var(--red); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(214, 40, 40, .8); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(214, 40, 40, .85); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn--small { padding: 10px 20px; font-size: .9rem; background: var(--red); color: #fff; }
.btn--small:hover { background: var(--red-dark); }
.btn--block { width: 100%; }

.link-arrow { color: var(--red); font-weight: 700; font-size: .95rem; transition: gap .2s; display: inline-block; }
.link-arrow:hover { color: var(--red-dark); }

/* ===== Photo placeholder system ===== */
.photo {
  position: relative; overflow: hidden; background: var(--bg-alt);
  background-image:
    repeating-linear-gradient(45deg, rgba(214, 40, 40, .05) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #efefef, #e2e2e2);
}
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
}
.photo__ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; text-align: center; padding: 14px;
  color: var(--muted); font-size: .82rem; font-weight: 600;
}
.photo__ph code {
  background: rgba(214, 40, 40, .1); color: var(--red-dark);
  padding: 2px 7px; border-radius: 6px; font-size: .8rem;
}
.photo__ph small { color: #9a9a9a; font-weight: 500; }

/* ===== Topbar ===== */
.topbar { background: var(--black); color: #cfcfcf; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar__contact { display: flex; gap: 20px; }
.topbar__item, .topbar__contact a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item .ico, .topbar__contact .ico { color: var(--red); }
.topbar__contact a:hover { color: #fff; }
.topbar__contact a:hover .ico { color: #fff; }

/* ===== Header ===== */
.site-top { position: sticky; top: 0; z-index: 100; }
.header {
  position: relative;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 58px; width: auto; transform-origin: left center; will-change: height; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.15rem; font-weight: 800; }
.brand__text small { font-size: .72rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--ink); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--red); transition: width .3s var(--ease);
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--black); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; min-height: 84vh; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.hero__bg .photo__ph { color: #777; }
.hero__bg .photo__ph code { background: rgba(255,255,255,.15); color: #fff; }
.hero {
  background:
    radial-gradient(1100px 480px at 78% -10%, rgba(214, 40, 40, .4), transparent 60%),
    linear-gradient(135deg, #000 0%, #1a1a1a 60%, #2a2a2a 100%);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, .25) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; padding-top: 60px; padding-bottom: 60px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; font-weight: 700; color: #ff6b6b; margin-bottom: 18px; }
.hero h1 { margin-bottom: 22px; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #dcdcdc; max-width: 640px; margin-bottom: 34px; }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__trust { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; font-weight: 600; color: #ededed; }
.hero__trust li { font-size: .95rem; }

/* ===== Problems (ISOTEC triad) ===== */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.problem {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.problem:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.problem__photo { height: 200px; }
.problem__body { padding: 24px 26px 28px; }
.problem__body h3 { margin-bottom: 10px; }
.problem__body p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }

/* ===== Stats ===== */
.stats { background: var(--black); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 24px; text-align: center; }
.stat { position: relative; display: flex; flex-direction: column; align-items: center; }
.stat__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1; }
.stat__plus { font-size: 1.4rem; font-weight: 800; color: var(--red); margin-top: -6px; }
.stat p { color: #9a9a9a; font-size: .9rem; margin-top: 8px; font-weight: 600; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 12%; height: 76%; width: 1px; background: rgba(255, 255, 255, .12); }

/* ===== Sections ===== */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(135deg, #000, #1c1c1c); color: #fff; }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.section__sub { color: var(--muted); font-size: 1.05rem; margin-top: 10px; }
.section__sub--light { color: #b5b5b5; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== Cards (services) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__photo { height: 180px; }
.card__body { padding: 24px 26px 26px; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .96rem; }

/* ===== Process / steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; color: #fff; }
.step p { color: #b5b5b5; font-size: .95rem; }
.process__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }

/* ===== Advantages ===== */
.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.advantages__text h2 { margin-bottom: 18px; }
.advantages__text p { color: var(--slate); }
.advantages__grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.advantages__grid li { display: flex; gap: 14px; }
.advantages__grid span { font-size: 1.5rem; width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; background: rgba(214, 40, 40, .1); border-radius: 12px; }
.advantages__grid strong { display: block; margin-bottom: 4px; }
.advantages__grid div { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ===== Team ===== */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 820px; margin: 0 auto; }
.member {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member__photo { aspect-ratio: 4 / 5; }
.member__body { padding: 24px 26px 28px; }
.member__body h3 { margin-bottom: 2px; }
.member__role {
  color: var(--red); font-weight: 700; font-size: .9rem; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 12px;
}
.member__body p:last-child { color: var(--muted); font-size: .96rem; }

/* ===== References ===== */
.refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.ref { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.ref:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ref__photo { height: 150px; }
.ref__body { padding: 16px 18px 18px; }
.ref__body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.ref__body p { color: var(--muted); font-size: .88rem; }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.review p { font-size: 1.1rem; color: var(--ink); margin: 14px 0; font-weight: 500; }
.review cite { color: var(--muted); font-style: normal; font-weight: 600; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1.1rem; }

/* ===== Vorher / Nachher Slider ===== */
.ba {
  position: relative; max-width: 560px; margin: 0 auto;
  aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); user-select: none; touch-action: none;
  background: #ddd;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba__before { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba__tag {
  position: absolute; top: 12px; z-index: 4; padding: 4px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff;
  backdrop-filter: blur(4px);
}
.ba__tag--before { left: 12px; background: rgba(214, 40, 40, .9); }
.ba__tag--after { right: 12px; background: rgba(22, 163, 74, .9); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px;
  background: linear-gradient(to bottom, var(--red) 0%, #d68a2c 50%, #16a34a 100%);
  z-index: 5; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 12px -3px rgba(0,0,0,.4);
  border: 1.5px solid var(--red);
}
.ba__grip svg { width: 20px; height: 20px; fill: var(--red); }
.ba__grip::before,
.ba__grip::after {
  content: ""; position: absolute; top: 50%; width: 6px; height: 6px;
  border-top: 2px solid rgba(255,255,255,.9); border-right: 2px solid rgba(255,255,255,.9);
}
.ba__grip::before { left: -11px; transform: translateY(-50%) rotate(-135deg); }
.ba__grip::after { right: -11px; transform: translateY(-50%) rotate(45deg); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 6;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 48px; height: 100%; border: 0; background: transparent; cursor: ew-resize; }
.ba__hint { text-align: center; color: var(--muted); font-size: .9rem; font-weight: 600; margin-top: 16px; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
  z-index: 200; transition: width .08s linear; pointer-events: none;
}

/* ===== Water effect (Vollbild, Handy / Gyroskop) ===== */
.water {
  position: fixed; inset: 0; z-index: 85; display: none; overflow: hidden;
  pointer-events: none; opacity: 0; transition: opacity .5s ease; --rise: 115%;
}
@media (max-width: 900px) { .water { display: block; } }
.water.show { opacity: 1; }
.water.show .water__body { --rise: 0%; }
/* Abfließen beim "Abdichten" */
.water.draining .water__body { --rise: 125%; transition: transform 1.8s cubic-bezier(.55, 0, .85, 1); }
.water__body {
  position: absolute; left: -60vw; right: -60vw; bottom: 0; height: 42vh;
  transform-origin: 50% 100%;
  transform: translateY(var(--rise));
  transition: transform .35s ease-out;
}
/* eigene Ebene fürs Kippen -> wird flüssig per JS gesteuert (keine CSS-Transition = kein Ruckeln) */
.water__tilt {
  position: absolute; inset: 0; transform-origin: 50% 100%;
  transform: rotate(var(--tilt, 0deg)) translateX(var(--shift, 0px));
  will-change: transform;
  filter: drop-shadow(0 -10px 26px rgba(11, 80, 120, .35));
}
.water__fill {
  position: absolute; left: 0; right: 0; top: 50px; bottom: -75vh;
  background: linear-gradient(180deg, rgba(58, 173, 226, .42) 0%, rgba(21, 118, 173, .52) 45%, rgba(11, 80, 120, .60) 100%);
}
.water__surface {
  position: absolute; left: 0; right: 0; top: 0; height: 58px; opacity: .78;
  background-repeat: repeat-x; background-position: 0 100%; background-size: 240px 58px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='58' viewBox='0 0 240 58'><path d='M0 30 q60 -28 120 0 t120 0 V58 H0 Z' fill='%2338ade2'/></svg>");
  animation: waveScroll 7s linear infinite;
}
.water__surface--2 {
  top: 10px; height: 54px; opacity: .42; background-size: 240px 54px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='54' viewBox='0 0 240 54'><path d='M0 28 q60 -20 120 0 t120 0 V54 H0 Z' fill='%231576ad'/></svg>");
  animation: waveScroll 11s linear infinite reverse;
}
@keyframes waveScroll { from { background-position-x: 0; } to { background-position-x: 240px; } }
.water__enable {
  position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 2;
  pointer-events: auto; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .95); color: #0e5f8f; font-weight: 700; font-size: .82rem;
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.water--active .water__enable { display: none; }
.water__drain {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  pointer-events: auto; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; box-shadow: 0 8px 22px -6px rgba(214, 40, 40, .75);
  transition: transform .15s var(--ease), background .2s;
}
.water__drain:hover { background: var(--red-dark); }
.water__drain:active { transform: translateX(-50%) scale(.95); }
.water.draining .water__drain { opacity: 0; transition: opacity .4s; }
.floating-call.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info h2 { margin-bottom: 14px; }
.contact__info > p { color: #cfcfcf; margin-bottom: 28px; }
.contact__list { list-style: none; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list span:first-child { font-size: 1.3rem; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border-radius: 12px; flex-shrink: 0; }
.contact__list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #9a9a9a; }
.contact__list a, .contact__list div span { font-weight: 700; font-size: 1.05rem; }
.contact__list a:hover { color: #ff6b6b; }

.contact__form { background: var(--white); color: var(--ink); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: var(--bg-alt); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(214, 40, 40, .15); background: #fff; }
.form__hint { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--black); color: #9a9a9a; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; padding: 56px 24px 40px; }
.footer__brand img { height: 46px; margin-bottom: 14px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer__brand p { font-size: .92rem; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-weight: 600; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom .container { display: flex; justify-content: space-between; padding: 18px 24px; font-size: .85rem; flex-wrap: wrap; gap: 8px; }
.footer__bottom a { color: #cfcfcf; font-weight: 600; }
.footer__bottom a:hover { color: #fff; }

/* ===== Floating call button (Handynummer) ===== */
.floating-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  background: #16a34a; color: #fff; font-weight: 700;
  padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(22, 163, 74, .85);
  animation: pulse 2.2s infinite;
  transition: background .25s, transform .25s var(--ease);
}
.floating-call:hover { background: #128a3a; transform: translateY(-2px); }
.floating-call__icon { display: inline-flex; }
.floating-call__icon svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.floating-call__num { display: none; }
.floating-call:hover .floating-call__label { display: none; }
.floating-call:hover .floating-call__num { display: inline; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); } 70% { box-shadow: 0 0 0 16px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .advantages, .contact { grid-template-columns: 1fr; gap: 36px; }
  .problems, .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat:not(:last-child)::after { display: none; }
  .advantages__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px 22px;
    transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .reviews { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; max-width: 420px; }
  .floating-call { display: inline-flex; }
}

@media (max-width: 560px) {
  .problems, .cards, .refs, .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__trust { gap: 14px; }
  .hero { min-height: 90vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, [data-reveal] { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   Legal pages (Impressum / Datenschutz)
   =========================================================== */
.legal-hero {
  background: linear-gradient(135deg, #000, #1c1c1c); color: #fff;
  padding: clamp(70px, 10vw, 110px) 0 clamp(40px, 6vw, 60px);
}
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal-hero p { color: #b5b5b5; }
.legal { padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 9vw, 100px); }
.legal__inner { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--slate); margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 22px; }
.legal a { color: var(--red); font-weight: 600; }
.legal a:hover { color: var(--red-dark); }
.legal strong { color: var(--ink); }
.legal .todo {
  background: rgba(214, 40, 40, .08); color: var(--red-dark);
  padding: 2px 8px; border-radius: 6px; font-weight: 700; font-size: .92em;
}
.legal__note {
  background: var(--bg-alt); border-left: 4px solid var(--red);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 24px 0; font-size: .95rem;
}
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; color: var(--red); }
.back-link:hover { color: var(--red-dark); }
