/* ═══════════════════════════════════════════
   AD GERÜSTBAU — STYLESHEET
   Industrial Premium · Dark Steel Aesthetic
═══════════════════════════════════════════ */

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

:root {
  --col-bg:        #0b0d12;
  --col-bg-mid:    #111318;
  --col-bg-card:   #161921;
  --col-accent:    #cc0000;
  --col-accent-2:  #cc0000;
  --col-white:     #f5f5f0;
  --col-muted:     #8a8f9e;
  --col-border:    rgba(255,255,255,0.08);
  --col-text:      #d0d3dc;

  --font-head:     'Oswald', sans-serif;
  --font-body:     'Barlow', sans-serif;

  --radius:        4px;
  --radius-lg:     8px;

  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.45, 0, 0.55, 1);

  --nav-height:    72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--col-bg);
  color: var(--col-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ════════════════════════════════════════════
   BACK TO TOP BUTTON
════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  background: var(--col-accent);
  color: var(--col-bg);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #d97706;
  box-shadow: 0 6px 24px rgba(245,158,11,0.45);
  transform: translateY(-3px);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--col-bg); }
::-webkit-scrollbar-thumb {
  background: var(--col-accent);
  border-radius: 3px;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.desktop-only { display: inline; }

/* ── Fade-in Animations ── */
.bricks-is-frontend .fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.bricks-is-frontend .fade-in.visible {
  opacity: 1;
  transform: none;
}

.bricks-is-frontend .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.bricks-is-frontend .reveal.visible { opacity: 1; transform: none; }

.bricks-is-frontend .reveal-delay-1 { transition-delay: 0.15s; }
.bricks-is-frontend .reveal-delay-2 { transition-delay: 0.30s; }
.bricks-is-frontend .reveal-delay-3 { transition-delay: 0.45s; }
.bricks-is-frontend .reveal-delay-4 { transition-delay: 0.60s; }


/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.4s var(--ease-in-out), box-shadow 0.4s;
}

#header.scrolled {
  background: rgba(11, 13, 18, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--col-border);
}

.nav-container {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-letters {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--col-accent);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 400;
  color: var(--col-white);
  letter-spacing: 0.18em;
  line-height: 1;
}

.logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--col-accent);
  flex-shrink: 0;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--col-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--col-accent);
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover {
  color: var(--col-white);
}
.nav-link:hover::after { width: 100%; }

.nav-link.nav-cta {
  color: var(--col-accent);
  border: 1px solid var(--col-accent);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  background: var(--col-accent);
  color: var(--col-bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--col-white);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100dvh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s linear;
}
#hero.loaded .hero-img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,13,18,0.92) 0%, rgba(11,13,18,0.65) 55%, rgba(11,13,18,0.35) 100%),
    linear-gradient(to top, rgba(11,13,18,1) 0%, transparent 40%);
}

/* Subtle grid texture on hero */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-top: var(--nav-height);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: 1.5rem;
}
.badge-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--col-accent);
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  color: var(--col-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.hero-headline .line {
  display: block;
}

.hero-headline .accent-line {
  color: var(--col-accent);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(245,245,240,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--col-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--col-muted);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--col-border);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--col-muted);
  writing-mode: vertical-rl;
}

.scroll-arrow {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--col-accent));
  position: relative;
  overflow: hidden;
}

/* Diagonal clip at bottom of hero */
.hero-diagonal {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--col-bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 3;
}


/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--col-accent);
  color: var(--col-bg);
  border-color: var(--col-accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--col-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--col-white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: var(--col-white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}


/* ════════════════════════════════════════════
   SECTION BASE
════════════════════════════════════════════ */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--col-bg-mid);
}

.section-accent {
  background: var(--col-accent);
  color: var(--col-bg);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--col-accent);
  margin-bottom: 1rem;
}

.section-label.light { color: var(--col-accent); }

.label-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--col-accent);
  flex-shrink: 0;
}
.label-line.dark { background: var(--col-bg); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--col-white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}

.section-title.light { color: var(--col-bg); }

.section-title em {
  font-style: normal;
  color: var(--col-accent);
}

.section-title.light em { color: var(--col-accent);}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--col-muted);
  max-width: 500px;
  margin: 0 auto;
}
.section-subtitle-dark { color: var(--col-muted); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ════════════════════════════════════════════
   ÜBER UNS
════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.about-image-frame:hover img { transform: scale(1.04); }

.image-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--col-accent), var(--col-accent-2));
}

.about-badge-floating {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--col-accent);
  color: var(--col-bg);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.about-badge-floating strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.about-badge-floating span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge-icon svg { width: 28px; height: 28px; flex-shrink: 0; }

.about-content .section-label { margin-bottom: 0.75rem; }

.about-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--col-white);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.about-text {
  font-size: 1rem;
  color: var(--col-text);
  margin-bottom: 1.75rem;
}

.about-checkmarks {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-checkmarks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--col-text);
}

.about-checkmarks svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--col-accent);
}


/* ════════════════════════════════════════════
   LEISTUNGEN
════════════════════════════════════════════ */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--col-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.leistung-card {
  position: relative;
  background: var(--col-bg-card);
  padding: 2.25rem 2rem;
  transition: background 0.3s;
  overflow: hidden;
}

.leistung-card:hover {
  background: #1c2030;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,158,11,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}
.leistung-card:hover .card-icon {
  background: rgba(245,158,11,0.2);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--col-accent);
}

.leistung-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--col-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.leistung-card p {
  font-size: 0.9rem;
  color: var(--col-muted);
  line-height: 1.65;
}

/* Orange bottom accent on hover */
.card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--col-accent), var(--col-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.leistung-card:hover .card-accent { transform: scaleX(1); }


/* ════════════════════════════════════════════
   WARUM WIR
════════════════════════════════════════════ */
.section-accent .section-label span:not(.label-line) { color: var(--col-bg); }

.warum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.warum-item {
  text-align: center;
  position: relative;
}

.warum-counter {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--col-bg);
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.15;
}

.warum-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.warum-icon svg {
  width: 26px;
  height: 26px;
  color: var(--col-bg);
}

.warum-item h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--col-bg);
  margin-bottom: 0.5rem;
}

.warum-item p {
  font-size: 0.9rem;
  color: rgba(11,13,18,0.75);
  line-height: 1.6;
}

/* Divider between items */
.warum-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(0,0,0,0.2);
}


/* ════════════════════════════════════════════
   REFERENZEN
════════════════════════════════════════════ */
.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.referenz-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--col-bg-card);
  border: 1px solid var(--col-border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.referenz-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.ref-image-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ref-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.referenz-card:hover .ref-image-wrap img { transform: scale(1.06); }

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11,13,18,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.ref-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--col-accent);
  color: var(--col-bg);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.ref-content {
  padding: 1.5rem;
}

.ref-content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--col-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.ref-content p {
  font-size: 0.88rem;
  color: var(--col-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ref-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--col-accent);
  font-weight: 500;
}


/* ════════════════════════════════════════════
   KONTAKT
════════════════════════════════════════════ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.kontakt-info .section-title { margin-bottom: 1rem; }

.kontakt-intro {
  font-size: 1rem;
  color: var(--col-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.kontakt-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kontakt-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.kontakt-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,158,11,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.kontakt-icon svg { width: 20px; height: 20px; color: var(--col-accent); }

.detail-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--col-muted);
  margin-bottom: 0.2rem;
}

.detail-value {
  font-size: 1rem;
  color: var(--col-white);
  font-weight: 400;
  transition: color 0.2s;
}
a.detail-value:hover { color: var(--col-accent); }

/* Form */
.kontakt-form-wrap {
  background: var(--col-bg-card);
  border: 1px solid var(--col-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--col-muted);
}
.form-group label a {
  color: var(--col-accent);
}
.form-group ul li label{
  text-transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--col-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--col-white);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138,143,158,0.5); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--col-accent);
  background: rgba(245,158,11,0.05);
}

.form-group select {
  cursor: pointer;
  color: rgba(245,245,240,0.7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f59e0b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--col-bg-mid); color: var(--col-white); }

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--col-muted);
  line-height: 1.5;
}

/* Success message */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-lg);
  color: var(--col-accent);
}

.form-success.visible {
  display: flex;
}

.form-success svg {
  width: 40px;
  height: 40px;
}

.form-success p {
  font-size: 1rem;
  color: var(--col-white);
}


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
#footer {
  background: #070810;
  border-top: 1px solid var(--col-border);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--col-muted);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--col-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--col-accent); }

.footer-bottom {
  border-top: 1px solid var(--col-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(138,143,158,0.6);
}


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .warum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .warum-item:nth-child(2)::after { display: none; }
  .warum-item:nth-child(4)::after { display: none; }

  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .referenzen-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-frame { aspect-ratio: 16/9; }
  .about-badge-floating { right: 1rem; bottom: -1rem; }

  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .desktop-only { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(11,13,18,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem 2rem 2rem;
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease-out);
    border-bottom: 1px solid var(--col-border);
  }
  .nav-links.open { transform: translateY(0); }

  .nav-links li { border-bottom: 1px solid var(--col-border); }
  .nav-links li:last-child { border-bottom: none; padding-top: 1rem; }

  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--col-white);
  }
  .nav-link::after { display: none; }

  .nav-link.nav-cta {
    border: none;
    background: var(--col-accent);
    color: var(--col-bg);
    text-align: center;
    border-radius: var(--radius);
    padding: 0.85rem;
  }

  .hamburger { display: flex; }

  .section { padding: 4rem 0; }

  .hero-content { padding-top: calc(var(--nav-height) + 2rem); }

  .hero-headline { font-size: clamp(2.8rem, 14vw, 5rem); }

  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }

  .leistungen-grid { grid-template-columns: 1fr; gap: 0; }

  .referenzen-grid { grid-template-columns: 1fr; }

  .warum-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .warum-item::after { display: none !important; }

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

  .kontakt-form-wrap { padding: 1.75rem; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }

  .warum-grid { grid-template-columns: 1fr; }
  .warum-item::after { display: none; }

  .hero-scroll-hint { display: none; }
}
