/* ───────── Inter Variable Font (lokal, DSGVO-konform) ───────── */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/InterVariable-Italic.woff2") format("woff2");
}

/* ═══════════════════════════════════════════════════════════
   HTSM Baugesellschaft MbH – style.css
   Light theme · Inter · FontAwesome · Production
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colors */
  --bg:               #FFFFFF;
  --bg-soft:          #FAFAFB;
  --bg-alt:           #F4F5F7;
  --bg-dark:          #0B0D14;
  --bg-dark-2:        #131722;
  --ink:              #0E1116;
  --ink-soft:         #2A2E3A;
  --muted:            #5A6173;
  --muted-light:      #8E95A6;
  --line:             #E5E7EC;
  --line-soft:        #EFF1F5;
  --accent:           #B5143B;
  --accent-deep:      #8A0E2C;
  --accent-bright:    #D9264F;
  --accent-soft:      #FEEEF2;
  --accent-mid:       #F5C6D0;

  /* Gradients */
  --grad-accent:      linear-gradient(135deg, #D9264F 0%, #B5143B 50%, #6B0A1F 100%);
  --grad-accent-soft: linear-gradient(135deg, #FEEEF2 0%, #FAD6DE 100%);
  --grad-dark:        linear-gradient(135deg, #0B0D14 0%, #1A0510 100%);
  --grad-hero:        linear-gradient(105deg, rgba(11,13,20,.94) 0%, rgba(11,13,20,.78) 38%, rgba(11,13,20,.55) 62%, rgba(181,20,59,.35) 100%);
  --grad-radial:      radial-gradient(ellipse at 70% 30%, rgba(181,20,59,.18), transparent 60%);

  /* Shadow */
  --sh-xs:            0 1px 2px rgba(14,17,22,.05);
  --sh-sm:            0 2px 8px rgba(14,17,22,.06), 0 1px 2px rgba(14,17,22,.04);
  --sh-md:            0 8px 24px rgba(14,17,22,.08), 0 3px 8px rgba(14,17,22,.04);
  --sh-lg:            0 20px 48px rgba(14,17,22,.12), 0 6px 16px rgba(14,17,22,.06);
  --sh-xl:            0 32px 80px rgba(14,17,22,.16), 0 12px 24px rgba(14,17,22,.08);
  --sh-accent:        0 12px 32px rgba(181,20,59,.32);
  --sh-accent-lg:     0 20px 48px rgba(181,20,59,.4);

  /* Radius */
  --r-xs:             6px;
  --r-sm:             10px;
  --r-md:             14px;
  --r-lg:             20px;
  --r-xl:             28px;
  --r-full:           999px;

  /* Type */
  --font:             'Inter', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:             cubic-bezier(.4, 0, .2, 1);
  --ease-out:         cubic-bezier(.16, 1, .3, 1);
  --t:                .3s var(--ease);
  --t-slow:           .6s var(--ease-out);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100vw; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}
/* Long German compound words may overflow on narrow screens */
h1, h2, h3, h4, h5, h6, p, li, span, a, div {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--t); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 28px; }

/* ── Typography Utilities ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.eyebrow-light { color: rgba(255,255,255,.7); }
.eyebrow-light::before { background: var(--accent-bright); }
.eyebrow-center { justify-content: center; }

.h-display {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  font-weight: 900; line-height: 1.04; letter-spacing: -.045em;
  color: var(--ink);
}
.h-display em { font-style: italic; color: var(--accent); font-weight: 900; }
.h-display.light { color: #fff; }
.h-section {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -.04em;
  color: var(--ink);
}
.h-section em { font-style: italic; color: var(--accent); font-weight: 900; }
.h-section.light { color: #fff; }

.lead {
  font-size: 1.1rem; line-height: 1.8; color: var(--muted);
  max-width: 640px; font-weight: 400;
}
.lead-light { color: rgba(255,255,255,.72); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  font-family: inherit; font-size: .95rem; font-weight: 700;
  letter-spacing: -.01em; line-height: 1;
  border-radius: var(--r-full); border: none;
  cursor: pointer; transition: all var(--t);
  white-space: nowrap; text-decoration: none;
  position: relative; overflow: hidden;
}
.btn i { font-size: .9em; transition: transform var(--t); }
.btn:hover i { transform: translateX(3px); }
.btn-primary {
  background: var(--grad-accent); color: #fff;
  box-shadow: var(--sh-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-accent-lg); }
.btn-dark {
  background: var(--bg-dark); color: #fff;
  box-shadow: var(--sh-md);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); background: #1A0510; }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 2px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline-light {
  background: rgba(255,255,255,.06); backdrop-filter: blur(10px);
  color: #fff; border: 1.5px solid rgba(255,255,255,.3);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.btn-white {
  background: #fff; color: var(--accent); font-weight: 800;
  box-shadow: var(--sh-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-sm { padding: 11px 22px; font-size: .85rem; }
.btn-lg { padding: 19px 38px; font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 0;
  transition: background var(--t), backdrop-filter var(--t), box-shadow var(--t), padding var(--t);
}
.navbar.top { background: transparent; }
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 0;
}
.nav-row { display: flex; align-items: center; height: 64px; gap: 12px; }
.nav-logo {
  position: relative;
  display: flex; align-items: center;
  height: 44px; margin-right: 24px; flex-shrink: 0;
}
.nav-logo img {
  height: 44px; width: auto;
  transition: opacity var(--t);
}
.nav-logo .logo-white { position: absolute; top: 0; left: 0; opacity: 1; }
.nav-logo .logo-color { opacity: 0; }
.navbar.scrolled .nav-logo .logo-white { opacity: 0; }
.navbar.scrolled .nav-logo .logo-color { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.85); padding: 9px 16px;
  border-radius: var(--r-sm); transition: var(--t);
  position: relative;
}
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.navbar.scrolled .nav-links a { color: var(--muted); }
.navbar.scrolled .nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-links a.active { color: var(--accent-bright) !important; font-weight: 600; }
.navbar.scrolled .nav-links a.active { color: var(--accent) !important; }

.nav-cta-wrap { margin-left: auto; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; align-items: stretch; gap: 5px;
  width: 44px; height: 44px; padding: 4px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-sm); cursor: pointer; margin-left: auto;
  flex-shrink: 0;
}
.nav-burger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }
.navbar.scrolled .nav-burger { background: var(--bg-alt); border-color: var(--line); }
.navbar.scrolled .nav-burger span { background: var(--ink); }

/* Mobile nav */
.mnav {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: var(--grad-dark);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 80px 28px;
}
.mnav.open { display: flex; }
.mnav-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-size: 1.1rem;
}
.mnav a {
  font-size: 1.6rem; font-weight: 800; color: #fff;
  padding: 12px 32px; border-radius: var(--r-md);
  letter-spacing: -.02em;
}
.mnav a:hover { color: var(--accent-bright); }
.mnav-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; align-items: center; color: rgba(255,255,255,.5); font-size: .9rem; }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--bg-dark);
  padding-top: 90px;
}
.hero-bg {
  position: absolute; inset: -10% 0 0 0; z-index: 0;
  background-size: cover; background-position: center;
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.4), rgba(0,0,0,.4)),
    url('../images/photos/photo-1541888946425-d81bb19240f5-w1920.jpg');
  will-change: transform;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: var(--grad-hero);
}
.hero-radial {
  position: absolute; inset: 0; z-index: 2;
  background: var(--grad-radial);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 3; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-fiber { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

.hero-inner {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px; align-items: center;
  padding: 100px 0 80px; width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.82);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 rgba(217, 38, 79, .7);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(217, 38, 79, .7); }
  70% { box-shadow: 0 0 0 12px rgba(217, 38, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 38, 79, 0); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900; line-height: 1; letter-spacing: -.055em;
  color: #fff; margin-bottom: 32px;
}
.hero-title em {
  font-style: italic; font-weight: 900;
  background: linear-gradient(135deg, #FF4267 0%, #B5143B 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-title .stroke {
  -webkit-text-stroke: 2px rgba(255,255,255,.4);
  -webkit-text-fill-color: transparent;
  color: transparent; font-style: italic;
}

.hero-body {
  font-size: 1.2rem; line-height: 1.75; color: rgba(255,255,255,.78);
  max-width: 580px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: 0; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.h-stat { padding-right: 44px; }
.h-stat + .h-stat { border-left: 1px solid rgba(255,255,255,.12); padding-left: 44px; }
.h-stat:last-child { padding-right: 0; }
.h-stat-n {
  font-size: 2.6rem; font-weight: 900;
  letter-spacing: -.06em; line-height: 1;
  color: #fff;
}
.h-stat-n .plus { color: var(--accent-bright); }
.h-stat-l {
  font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.55); margin-top: 8px;
  letter-spacing: .04em;
}

/* Hero Glass Card */
.hero-glass {
  position: relative;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.hero-glass::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--r-xl); pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 50%);
}
.hg-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hg-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--grad-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
  box-shadow: var(--sh-accent);
}
.hg-title { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.hg-sub { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 3px; }
.hg-list { display: flex; flex-direction: column; gap: 14px; }
.hg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hg-row-label { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.hg-row-label i { width: 16px; color: var(--accent-bright); font-size: .9em; }
.hg-row.muted .hg-row-label { color: rgba(255,255,255,.4); }
.hg-row.muted .hg-row-label i { color: rgba(255,255,255,.3); }
.hg-bar {
  width: 90px; height: 5px; background: rgba(255,255,255,.1);
  border-radius: var(--r-full); overflow: hidden;
}
.hg-fill {
  height: 100%; border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.hg-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.hg-pct {
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #FF4267, #B5143B);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero floating badge */
.hero-float {
  position: absolute; top: 30px; right: -30px; z-index: 6;
  background: #fff; border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 12px;
  animation: floatY 3.5s ease-in-out infinite;
}
.hero-float-ic {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--grad-accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero-float-label { font-size: .72rem; color: var(--muted); font-weight: 500; }
.hero-float-val { font-weight: 800; font-size: .92rem; letter-spacing: -.02em; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-size: .72rem;
  letter-spacing: .15em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 32px; background: rgba(255,255,255,.3);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0;
  height: 100%; background: linear-gradient(180deg, transparent, #fff);
  animation: scrollDown 2.2s infinite var(--ease);
}
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }

/* ═══════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════ */
.trust {
  background: var(--bg-dark-2); padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.68); font-size: .88rem; font-weight: 500;
}
.trust-item i {
  color: var(--accent-bright); font-size: 1.1rem;
  width: 22px; text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════ */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: rgba(255,255,255,.7); }

.head { max-width: 760px; margin-bottom: 56px; }
.head-center { margin-left: auto; margin-right: auto; text-align: center; }
.head .lead { margin-top: 20px; }

/* ── About Split ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.split.reverse .split-img-wrap { order: 2; }
.split-img-wrap {
  position: relative; min-height: 580px; overflow: hidden;
}
.split-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.2s var(--ease-out);
}
.split:hover .split-img-wrap img { transform: scale(1.05); }
.split-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,13,20,.1) 0%, rgba(181,20,59,.25) 100%);
}
.split-img-tag {
  position: absolute; bottom: 32px; left: 32px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-radius: var(--r-md); padding: 14px 22px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-lg);
  font-size: .9rem; font-weight: 700;
}
.split-img-tag i { color: var(--accent); font-size: 1.1rem; }
.split-img-stat {
  position: absolute; top: 32px; right: 32px;
  background: var(--grad-accent); color: #fff;
  border-radius: var(--r-md); padding: 18px 24px;
  box-shadow: var(--sh-accent);
  text-align: center;
}
.split-img-stat-n { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.split-img-stat-l { font-size: .72rem; opacity: .9; margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }
.split-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 80px;
}

/* ── Service Grid ── */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.svc {
  background: #fff; padding: 44px 36px;
  transition: var(--t); position: relative;
}
.svc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.svc:hover { background: var(--bg-soft); }
.svc:hover::before { transform: scaleX(1); }
.svc-ic {
  width: 64px; height: 64px; border-radius: var(--r-lg);
  background: var(--grad-accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.5rem;
  margin-bottom: 26px;
  transition: var(--t);
}
.svc:hover .svc-ic {
  background: var(--grad-accent); color: #fff;
  box-shadow: var(--sh-accent);
  transform: scale(1.05);
}
.svc-title {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 12px;
}
.svc-body { font-size: .92rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: var(--accent);
}
.svc-link i { transition: transform var(--t); }
.svc:hover .svc-link i { transform: translateX(5px); }

/* ── Tiefbau Detail Grid ── */
.tb-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.tb {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px;
  transition: var(--t); position: relative; overflow: hidden;
}
.tb::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0;
  background: var(--grad-accent); transition: height var(--t);
}
.tb:hover {
  border-color: transparent; box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.tb:hover::after { height: 3px; }
.tb-ic {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--grad-accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 18px;
  transition: var(--t);
}
.tb:hover .tb-ic { background: var(--accent); color: #fff; }
.tb-title { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.tb-body { font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* ── Big Stats Band ── */
.stats-band {
  position: relative; padding: 100px 0; overflow: hidden;
  background: var(--bg-dark);
}
.stats-band-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../images/photos/photo-1503387762-592deb58ef4e-w1920.jpg');
  background-size: cover; background-position: center;
  opacity: .15;
}
.stats-band-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(11,13,20,.96), rgba(138,14,44,.92));
}
.stats-band-inner { position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.bg-stat {
  text-align: center; padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.bg-stat:last-child { border-right: none; }
.bg-stat-n {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900; letter-spacing: -.07em; line-height: 1;
  color: #fff;
}
.bg-stat-n .plus, .bg-stat-n .suffix { color: var(--accent-bright); }
.bg-stat-l {
  font-size: .92rem; color: rgba(255,255,255,.7);
  margin-top: 14px; font-weight: 500;
}

/* ── Process Steps ── */
.process { background: var(--bg-soft); padding: 110px 0; }
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: 60px;
}
.ps {
  background: #fff; padding: 36px 28px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  position: relative; transition: var(--t);
}
.ps:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: transparent; }
.ps-num {
  position: absolute; top: 18px; right: 24px;
  font-size: 3.2rem; font-weight: 900;
  letter-spacing: -.06em; line-height: 1;
  color: var(--accent-soft);
  font-style: italic;
}
.ps-ic {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--grad-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 22px;
  box-shadow: var(--sh-accent);
}
.ps-title { font-weight: 800; font-size: 1rem; letter-spacing: -.02em; margin-bottom: 8px; }
.ps-body { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── Why-Us section (split style with image) ── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.why-points { display: flex; flex-direction: column; gap: 22px; margin-top: 40px; }
.why-point {
  display: flex; gap: 22px; padding: 26px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); transition: var(--t);
}
.why-point:hover {
  box-shadow: var(--sh-md); border-color: transparent;
  transform: translateX(4px);
}
.why-point-ic {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: var(--r-md); background: var(--grad-accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.why-point-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.why-point-body { font-size: .92rem; color: var(--muted); line-height: 1.65; }

.why-img-wrap {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-xl);
}
.why-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.why-img-tag {
  position: absolute; bottom: 28px; left: 28px; right: 28px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-radius: var(--r-md); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--sh-lg);
}
.why-img-tag-ic {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--grad-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.why-img-tag-text strong { font-size: .95rem; display: block; letter-spacing: -.02em; }
.why-img-tag-text span { font-size: .8rem; color: var(--muted); }

/* ── Parallax CTA ── */
.parallax-cta {
  position: relative; padding: 140px 0; overflow: hidden;
}
.parallax-cta-bg {
  position: absolute; inset: -60px 0; z-index: 0;
  background-image: url('../images/photos/photo-1504307651254-35680f356dfd-w1920.jpg');
  background-size: cover; background-position: center;
  will-change: transform;
}
.parallax-cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(11,13,20,.92) 0%, rgba(138,14,44,.85) 100%);
}
.parallax-cta-inner {
  position: relative; z-index: 2; text-align: center;
  max-width: 760px; margin: 0 auto;
}
.parallax-cta h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900; letter-spacing: -.045em; line-height: 1.05;
  color: #fff; margin-bottom: 24px;
}
.parallax-cta p {
  font-size: 1.15rem; line-height: 1.8; color: rgba(255,255,255,.78);
  margin-bottom: 44px;
}
.parallax-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; padding: 180px 0 110px; overflow: hidden;
  background: var(--bg-dark);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(11,13,20,.95) 0%, rgba(11,13,20,.72) 55%, rgba(181,20,59,.3) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 800px; }
.ph-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.78);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 24px;
}
.ph-tag i { color: var(--accent-bright); }
.ph-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 900; letter-spacing: -.05em; line-height: 1.04;
  color: #fff; margin-bottom: 24px;
}
.ph-title em {
  font-style: italic; font-weight: 900;
  background: linear-gradient(135deg, #FF4267, #B5143B);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ph-desc {
  font-size: 1.15rem; line-height: 1.8;
  color: rgba(255,255,255,.7); max-width: 640px;
}

/* Breadcrumbs */
.crumbs {
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 18px 0; font-size: .85rem;
}
.crumbs ol { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crumbs ol li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.crumbs ol li a:hover { color: var(--accent); }
.crumbs ol li + li::before {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: .65rem; color: var(--muted-light);
}
.crumbs ol li:last-child { color: var(--ink); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   LEISTUNGEN BLOCKS
   ═══════════════════════════════════════════════════════════ */
.leistung-block { padding: 100px 0; border-bottom: 1px solid var(--line-soft); }
.leistung-block:last-of-type { border-bottom: none; }
.leistung-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 80px; align-items: center;
}
.leistung-grid.reverse > :first-child { order: 2; }
.leistung-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.leistung-tag i { font-size: .9em; }
.leistung-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 900; letter-spacing: -.045em; line-height: 1.05;
  margin-bottom: 22px;
}
.leistung-title em { font-style: italic; color: var(--accent); }
.leistung-body {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--muted); margin-bottom: 20px;
}
.leistung-body strong { color: var(--ink); font-weight: 700; }
.leistung-features { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.lf {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .95rem; color: var(--ink-soft); line-height: 1.6;
}
.lf i {
  flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; background: var(--grad-accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: .7rem; margin-top: 2px;
}
.lf strong { color: var(--ink); font-weight: 700; }

.leistung-img-wrap {
  position: relative; border-radius: var(--r-xl);
  overflow: hidden; aspect-ratio: 5/4;
  box-shadow: var(--sh-xl);
}
.leistung-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.leistung-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(11,13,20,.55) 100%);
}
.leistung-img-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  padding: 12px 20px; border-radius: var(--r-md);
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 700;
  box-shadow: var(--sh-lg);
}
.leistung-img-badge i { color: var(--accent); }
.leistung-img-stat {
  position: absolute; top: 24px; left: 24px;
  background: var(--grad-accent); color: #fff;
  padding: 16px 22px; border-radius: var(--r-md);
  box-shadow: var(--sh-accent);
  text-align: center;
}
.leistung-img-stat strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -.04em; display: block; line-height: 1; }
.leistung-img-stat span { font-size: .72rem; opacity: .9; letter-spacing: .05em; text-transform: uppercase; }

/* Anchor nav for leistungen */
.anchor-nav {
  position: sticky; top: 76px; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.anchor-nav-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.anchor-nav-label { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-right: 8px; }
.anchor-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--bg-alt); color: var(--ink-soft);
  font-size: .82rem; font-weight: 600;
  transition: var(--t);
}
.anchor-nav a:hover { background: var(--accent); color: #fff; }
.anchor-nav a i { font-size: .85em; }

/* ═══════════════════════════════════════════════════════════
   FORM & KONTAKT
   ═══════════════════════════════════════════════════════════ */
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 72px; align-items: start;
}

.contact-card {
  display: flex; gap: 18px; padding: 24px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); transition: var(--t);
}
.contact-card:hover { box-shadow: var(--sh-md); border-color: var(--accent-mid); }
.contact-card-ic {
  flex-shrink: 0; width: 48px; height: 48px;
  border-radius: var(--r-sm); background: var(--grad-accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--sh-accent);
}
.contact-card-label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.contact-card-val { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.contact-card-sub { font-size: .85rem; color: var(--muted); margin-top: 2px; }

.guarantee-box {
  margin-top: 28px; padding: 32px;
  background: var(--grad-accent-soft);
  border: 1px solid var(--accent-mid);
  border-radius: var(--r-xl);
}
.guarantee-box h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.guarantee-box h3 i { color: var(--accent); }

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 48px;
  box-shadow: var(--sh-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: .85rem; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 14px 18px;
  background: var(--bg-soft); border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-family: inherit; font-size: .92rem;
  color: var(--ink); transition: var(--t); outline: none;
}
.form-control:focus {
  background: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(181,20,59,.08);
}
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6173' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .87rem; color: var(--muted); line-height: 1.55;
  margin-bottom: 22px;
}
.form-check input { margin-top: 3px; accent-color: var(--accent); }
.form-check a { color: var(--accent); font-weight: 600; }
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 18px; }
.form-toast {
  display: none; padding: 14px 20px;
  border-radius: var(--r-md); font-size: .92rem; font-weight: 600;
  margin-bottom: 20px; align-items: center; gap: 12px;
}
.form-toast.success { background: #DCFCE7; color: #14532D; display: flex; }
.form-toast.error   { background: #FEE2E2; color: #991B1B; display: flex; }

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: var(--t);
}
.faq-item.open { border-color: var(--accent-mid); box-shadow: var(--sh-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 28px;
  cursor: pointer; user-select: none;
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
}
.faq-arr {
  flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
  transition: transform var(--t);
}
.faq-item.open .faq-arr {
  transform: rotate(180deg);
  background: var(--accent); color: #fff;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.faq-a-inner {
  padding: 0 28px 26px;
  font-size: .94rem; line-height: 1.78; color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   SEO LAYOUT
   ═══════════════════════════════════════════════════════════ */
.seo-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 72px; align-items: start;
}
.seo-content h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 900; letter-spacing: -.04em;
  margin: 48px 0 18px; line-height: 1.15;
}
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -.03em;
  margin: 36px 0 14px;
}
.seo-content p {
  font-size: 1.02rem; line-height: 1.85;
  color: var(--ink-soft); margin-bottom: 18px;
}
.seo-content p strong { color: var(--ink); font-weight: 700; }
.seo-content ul { margin: 0 0 24px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.seo-content ul li {
  position: relative;
  padding-left: 28px;
  font-size: .98rem; line-height: 1.7; color: var(--ink-soft);
}
.seo-content ul li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--accent); font-size: .82rem;
  position: absolute; left: 0; top: 9px;
}

.seo-aside {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 18px;
}
.aside-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
}
.aside-card-accent {
  background: var(--grad-accent); color: #fff; border: none;
  box-shadow: var(--sh-accent);
}
.aside-card h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.aside-card p { font-size: .92rem; line-height: 1.65; color: var(--muted); margin-bottom: 18px; }
.aside-card-accent p { color: rgba(255,255,255,.85); }
.aside-list { display: flex; flex-direction: column; gap: 10px; }
.aside-list a {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
  transition: color var(--t);
}
.aside-list a:hover { color: var(--accent); }
.aside-list a:last-child { border-bottom: none; }
.aside-list a i { color: var(--accent); font-size: .8em; transition: transform var(--t); }
.aside-list a:hover i { transform: translateX(3px); }
.aside-contact { display: flex; flex-direction: column; gap: 14px; }
.aside-contact-row { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.aside-contact-row i { width: 18px; opacity: .8; }

/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS
   ═══════════════════════════════════════════════════════════ */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.cert {
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r-md); padding: 22px;
  display: flex; align-items: center; gap: 14px;
  transition: var(--t);
}
.cert:hover { border-color: var(--accent); box-shadow: var(--sh-sm); }
.cert i { color: var(--accent); font-size: 1.6rem; }
.cert-name { font-size: .92rem; font-weight: 800; letter-spacing: -.02em; }
.cert-sub { font-size: .76rem; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,.6);
  padding: 90px 0 0; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: -50%; left: -10%;
  width: 60%; height: 80%; opacity: .08;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
}
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 56px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img {
  height: 48px; margin-bottom: 24px;
  opacity: .95;
}
.footer-brand p {
  font-size: .92rem; line-height: 1.8;
  color: rgba(255,255,255,.55); max-width: 300px;
}
.footer-col h5 {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .92rem; color: rgba(255,255,255,.6);
}
.footer-col ul li a:hover { color: #fff; }
.f-contact { display: flex; flex-direction: column; gap: 14px; }
.f-contact-row { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.f-contact-row i { color: var(--accent-bright); width: 18px; }
.f-contact-row a { color: rgba(255,255,255,.65); }
.f-contact-row a:hover { color: #fff; }
.footer-bottom {
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; font-size: .82rem; color: rgba(255,255,255,.35);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-glass { max-width: 480px; }
  .hero-float { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-img-wrap { order: 1; }
  .split-img-wrap { min-height: 420px; }
  .split-text { padding: 64px 40px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .bg-stat:nth-child(2) { border-right: none; }
  .why-grid { grid-template-columns: 1fr; gap: 56px; }
  .leistung-grid { grid-template-columns: 1fr; gap: 48px; }
  .leistung-grid.reverse > :first-child { order: 0; }
  .seo-grid { grid-template-columns: 1fr; }
  .seo-aside { position: static; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 56px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .container, .container-narrow, .container-wide { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 78px; min-height: auto; }
  .hero-inner { padding: 60px 0 60px; }

  /* Large display titles need significant reduction on mobile */
  .h-display { font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; }
  .h-section { font-size: clamp(1.7rem, 6vw, 2.3rem); letter-spacing: -.035em; line-height: 1.15; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 3rem); letter-spacing: -.04em; line-height: 1.06; }
  .ph-title { font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: -.04em; line-height: 1.08; }
  .leistung-title { font-size: clamp(1.7rem, 6.5vw, 2.3rem); letter-spacing: -.035em; line-height: 1.1; }
  .parallax-cta h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; }
  .lead, .hero-body, .ph-desc { font-size: 1rem; }

  /* Buttons full-width on mobile so nothing overflows */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .parallax-cta-actions { flex-direction: column; align-items: stretch; }
  .parallax-cta-actions .btn { justify-content: center; }

  /* Hero stats stack 2x2 */
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px 0; padding-top: 28px; }
  .h-stat { padding-right: 16px; }
  .h-stat + .h-stat { padding-left: 16px; }
  .h-stat:nth-child(3) { border-left: none; padding-left: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
  .h-stat:nth-child(4) { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
  .h-stat-n { font-size: 2rem; }

  /* Eyebrow text should never overflow */
  .eyebrow { font-size: .7rem; letter-spacing: .12em; flex-wrap: wrap; }
  .eyebrow::before { width: 20px; }
  .hero-eyebrow { font-size: .68rem; padding: 6px 12px; flex-wrap: wrap; }
  .ph-tag { font-size: .7rem; letter-spacing: .1em; padding: 5px 12px; }

  /* Service cards 1-column */
  .svc-grid { grid-template-columns: 1fr; }
  .svc { padding: 32px 24px; }
  .tb-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tb { padding: 22px 18px; }
  .tb-title { font-size: .92rem; }
  .tb-body { font-size: .8rem; }

  /* Process steps */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ps { padding: 28px 22px; }
  .ps-num { font-size: 2.4rem; right: 18px; top: 14px; }

  /* Stats band */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .bg-stat { padding: 12px 8px; }
  .bg-stat:nth-child(2) { border-right: none; }
  .bg-stat-n { font-size: 2.4rem; }
  .bg-stat-l { font-size: .8rem; margin-top: 8px; }

  /* Certs 1-column */
  .cert-grid { grid-template-columns: 1fr; }

  /* Split layout */
  .split-text { padding: 48px 22px; }
  .split-img-wrap { min-height: 320px; }
  .split-img-stat { padding: 14px 18px; top: 20px; right: 20px; }
  .split-img-stat-n { font-size: 1.6rem; }
  .split-img-tag { bottom: 20px; left: 20px; padding: 11px 16px; font-size: .8rem; }

  /* Form */
  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-control { padding: 12px 14px; font-size: .9rem; }
  .contact-card { padding: 18px; gap: 14px; }
  .contact-card-val { font-size: .95rem; word-break: break-word; }

  /* Footer */
  .footer { padding: 60px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 18px 0; }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .f-contact-row { word-break: break-word; }

  /* Parallax CTA padding */
  .parallax-cta { padding: 72px 0; }

  /* Trust strip */
  .trust { padding: 22px 0; }
  .trust-row { justify-content: center; gap: 16px 24px; }
  .trust-item { font-size: .8rem; }

  /* Anchor nav: hide on mobile to avoid horizontal scroll */
  .anchor-nav { display: none; }

  /* Page hero spacing */
  .page-hero { padding: 130px 0 64px; }

  /* Leistung blocks */
  .leistung-block { padding: 56px 0; }
  .leistung-grid { gap: 36px; }
  .leistung-img-wrap { aspect-ratio: 4/3; }
  .leistung-features { gap: 10px; }
  .lf { font-size: .9rem; }

  /* SEO sidebar */
  .seo-grid { gap: 40px; }
  .aside-card { padding: 22px; }

  /* FAQ */
  .faq-q { padding: 18px 20px; font-size: .92rem; }
  .faq-a-inner { padding: 0 20px 20px; font-size: .88rem; }

  /* Why points */
  .why-point { padding: 20px; gap: 16px; }

  /* Why image */
  .why-img-wrap { aspect-ratio: 4/5; }
  .why-img-tag { left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; gap: 12px; }
  .why-img-tag-text strong { font-size: .88rem; }
  .why-img-tag-text span { font-size: .74rem; }

  /* Hero glass card */
  .hero-glass { padding: 28px 22px; }
  .hg-bar { width: 60px; }

  /* Floating element */
  .hero-float { right: 10px; top: 20px; padding: 10px 14px; }

  /* Crumbs */
  .crumbs { padding: 14px 0; font-size: .8rem; }
  .crumbs ol { gap: 8px; }

  /* Guarantee box */
  .guarantee-box { padding: 24px; }

  /* Long phone numbers in tel-buttons can break; allow wrap */
  .btn { white-space: normal; text-align: center; }
}

@media (max-width: 380px) {
  .h-display { font-size: 1.7rem; }
  .hero-title { font-size: 1.95rem; }
  .ph-title { font-size: 1.8rem; }
  .leistung-title { font-size: 1.55rem; }
  .tb-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .bg-stat { border-right: none !important; padding: 16px 8px; }
  .hero-stats { grid-template-columns: 1fr; }
  .h-stat + .h-stat { border-left: none; padding-left: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
}

/* ───────── Form-Toast (Status-Banner) ───────── */
.form-toast {
  display: none;
}
.form-toast-success,
.form-toast-error {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 24px;
  font-size: .92rem; line-height: 1.5;
  animation: toastFadeIn .35s ease-out;
}
.form-toast-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}
.form-toast-success i { color: #059669; font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.form-toast-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}
.form-toast-error i { color: #DC2626; font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.form-toast strong { display: block; margin-bottom: 4px; font-weight: 700; }
.form-toast span { display: block; opacity: .85; }
.form-toast a { color: inherit; text-decoration: underline; font-weight: 600; }
@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   KONTAKT-SEITE (ohne Formular, mit Direktkontakt-Karten)
═══════════════════════════════════════════════════════ */

/* 2-Spalten Grid */
.kontakt-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 968px) {
  .kontakt-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ───── Große Aktions-Karten (E-Mail / Telefon) ───── */
.action-card {
  display: flex; align-items: center; gap: 22px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 16px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.action-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(181,20,59,.25);
  border-color: rgba(181,20,59,.3);
}
.action-card:hover::before { transform: scaleY(1); }

.action-card-ic {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(181,20,59,.4);
}

.action-card-primary .action-card-ic {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
}
.action-card-secondary .action-card-ic {
  background: linear-gradient(135deg, #1a1d28, #2a2e3d);
}

.action-card-content { flex: 1; min-width: 0; }
.action-card-label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.action-card-val {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 4px;
  word-break: break-word;
  line-height: 1.15;
}
.action-card-sub {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.45;
}
.action-card-arrow {
  color: var(--muted);
  font-size: 1.1rem;
  transition: all .25s ease;
  flex-shrink: 0;
}
.action-card:hover .action-card-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ───── Info-Karten (rechte Spalte) ───── */
.info-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-top: 14px;
}
.info-card-ic {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: rgba(181,20,59,.08);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-card-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.info-card-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.info-card-sub {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Mobile ───── */
@media (max-width: 768px) {
  .action-card {
    padding: 22px 20px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .action-card-ic {
    width: 52px; height: 52px;
    font-size: 1.3rem;
  }
  .action-card-val { font-size: 1.15rem; }
  .action-card-sub { font-size: .8rem; }
  .action-card-arrow { display: none; }

  .info-card { padding: 20px; gap: 14px; }
  .info-card-ic { width: 40px; height: 40px; font-size: 1rem; }
  .info-card-val { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════
   IT-Recht Kanzlei Legaltext-Styling
   (Texte werden via JavaScript geladen, hier nur das visuelle Wrapper-Design)
═══════════════════════════════════════════════════════ */
.legaltext-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
}

.legaltext-wrap .itrk-legaltext {
  width: 100%;
}

/* iframes (falls die Kanzlei iframes verwendet) */
.legaltext-wrap iframe {
  width: 100% !important;
  min-height: 800px;
  border: none !important;
  background: transparent !important;
}

/* Inhaltliche Überschriften & Absätze */
.legaltext-wrap h1,
.legaltext-wrap h2,
.legaltext-wrap h3,
.legaltext-wrap h4 {
  font-family: var(--font);
  color: var(--ink);
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 1.6em 0 .6em;
  line-height: 1.25;
}
.legaltext-wrap h1 { font-size: 1.8rem; margin-top: 0; }
.legaltext-wrap h2 { font-size: 1.35rem; }
.legaltext-wrap h3 { font-size: 1.1rem; }
.legaltext-wrap h4 { font-size: 1rem; }

.legaltext-wrap p {
  margin: .8em 0;
  color: var(--ink);
}
.legaltext-wrap a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.legaltext-wrap a:hover {
  color: var(--accent-bright);
}
.legaltext-wrap ul,
.legaltext-wrap ol {
  margin: 1em 0;
  padding-left: 1.5em;
}
.legaltext-wrap li {
  margin: .35em 0;
}
.legaltext-wrap strong,
.legaltext-wrap b {
  font-weight: 700;
  color: var(--ink);
}
.legaltext-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: .92rem;
}
.legaltext-wrap th,
.legaltext-wrap td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legaltext-wrap th {
  background: rgba(181,20,59,.05);
  font-weight: 700;
}
