/* =================================================================
   IDL HEINER KUCKS — Kombinierte Website
   Stil: Website einfach (eckige Buttons, Editorial Minimalism)
   ================================================================= */

:root {
  --off-white:    #F6F7F3;
  --ink:          #1E2226;
  --ink-mid:      #3A4040;
  --ink-soft:     #6B7170;
  --green:        #2F5E4E;
  --green-deep:   #1D4035;
  --green-light:  #D8E6D4;
  --green-sage:   #78AA7A;
  --line:         #E5E8E2;
  --line-dark:    #D0D5CE;
  --white:        #FFFFFF;

  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max: 1200px;
  --pad: clamp(24px, 5vw, 72px);
  --section-pad: clamp(80px, 10vw, 140px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

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

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
}
.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding-left: 13px;
  border-left: 1px solid var(--ink);
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
  white-space: nowrap;
}
.footer-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) opacity(0.55);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-mid);
}
.site-nav a {
  transition: color .2s;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--green); }

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 2px;
  font-weight: 500;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-deep) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.75) brightness(0.82);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 22, 26, 0.82) 0%,
    rgba(18, 22, 26, 0.45) 45%,
    rgba(18, 22, 26, 0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) clamp(60px, 8vw, 100px);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(52px, 7.5vw, 110px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-sage);
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 44%;
}
@media (max-width: 720px) {
  .hero-sub { max-width: 100%; }
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: var(--pad);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 2px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background .25s var(--ease), transform .2s var(--ease);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

.text-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.04em;
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.text-link:hover { color: var(--green-deep); }

/* =================================================================
   SECTION SHARED
   ================================================================= */
.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}
h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
}
h2 em {
  font-style: normal;
  color: var(--green);
}
.section-lead {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 60ch;
  margin-top: 20px;
}

/* =================================================================
   LEISTUNGEN – 4 statische Karten mit Icon + Bullets
   ================================================================= */
.leistungen {
  padding: var(--section-pad) 0;
  background: var(--green-light);
}
.leistungen-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.leistung-card {
  background: var(--white);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  transition: box-shadow .25s;
}
.leistung-card:hover {
  box-shadow: 0 8px 32px rgba(47,94,78,0.12);
}
.lk-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.lk-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.leistung-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  hyphens: manual;
  margin-bottom: 16px;
}
.lk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  margin-bottom: 24px;
  flex: 1;
}
.lk-list li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.lk-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}
.lk-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
  transition: gap .2s, color .2s;
  margin-top: auto;
}
.lk-cta:hover { color: var(--green-deep); gap: 10px; }

/* =================================================================
   SANIERUNGSFAHRPLAN – 2-Spalten-Layout mit Hover-Strich
   ================================================================= */
.vorgehen {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}
.vorgehen-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.vorgehen-steps { display: flex; flex-direction: column; }
.vorgehen-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vstep {
  position: relative;
  display: flex;
  cursor: default;
}
.vstep-bar {
  width: 5px;
  min-width: 5px;
  background: transparent;
  border-radius: 3px;
  margin-right: 24px;
  flex-shrink: 0;
  transition: background .25s ease;
  align-self: stretch;
}
.vstep--active .vstep-bar,
.vstep:hover .vstep-bar {
  background: var(--green);
}
.vstep-content {
  display: flex;
  gap: 20px;
  padding: clamp(20px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  flex: 1;
  align-items: flex-start;
}
.vstep:last-child .vstep-content { border-bottom: none; }
.v-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 36px;
  flex-shrink: 0;
}
.v-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.v-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* rechte Spalte: Haus-Visual + Punkte-Liste */
.vorgehen-haus {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 90px;
}
.haus-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.punkte-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.punkte-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.punkt-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
}
.punkt-text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
}

/* =================================================================
   FÖRDERUNG
   ================================================================= */
.foerderung {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.foerd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
}
.foerd-card {
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 3vw, 36px);
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* foerd-card no border needed with gap */
.foerd-accent {
  background: var(--green);
}
.foerd-accent p { color: rgba(255,255,255,0.8); }
.foerd-accent strong { color: var(--white); }
.foerd-badge {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.45);
}
.foerd-accent .foerd-badge {
  color: rgba(255,255,255,0.45);
}
.foerd-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--white);
}
.foerd-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.foerd-rechner {
  margin-top: 44px;
}
.foerd-rechner-head {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.rechnung-tabelle {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  font-family: var(--font-body);
}
.rt-row td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: middle;
}
.rt-row:first-child td {
  border-top: 2px solid var(--ink);
}
.rt-pos {
  color: var(--ink-mid);
  padding-right: 24px;
}
.rt-betrag {
  text-align: right;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.rt-abzug .rt-pos {
  color: var(--ink-soft);
  font-size: 14px;
}
.rt-abzug .rt-betrag {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 14px;
}
.rt-summe td {
  padding: 14px 0;
  border-top: 2px solid var(--ink);
  border-bottom: none;
}
.rt-summe .rt-pos {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.rt-summe .rt-betrag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
  text-align: right;
}

/* =================================================================
   GUTACHTEN
   ================================================================= */
.gutachten {
  padding: var(--section-pad) 0 clamp(40px, 5vw, 64px);
  background: var(--off-white);
  border-top: 1px solid var(--line);
}
.gutachten-intro-text {
  max-width: 72ch;
}
.gutachten-intro-text p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* =================================================================
   MESSVERFAHREN – Karussell
   ================================================================= */
.messverfahren {
  padding: 0 0 var(--section-pad);
  background: var(--off-white);
}
.section-header--sub { margin-bottom: clamp(28px, 4vw, 44px); }

/* headline swap: "Messverfahren & Schadensanalyse" = h3-size, subline = body */
.mess-headline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.mess-subline {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Carousel wrapper */
.mess-carousel {
  position: relative;
}
.mess-track-wrap {
  overflow: hidden;
  width: 100%;
}
.mess-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Each slide takes exactly half the wrapper minus half the gap */
.mess-slide {
  flex: 0 0 calc(50% - 10px);
  min-width: 0;
}

/* Photo tile */
.mess-photo {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4/3;
}
.mess-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.92);
  transition: transform .55s var(--ease), filter .3s;
}
.mess-photo:hover img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}
.mess-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px 12px;
  background: #7BAA7A;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.97);
  line-height: 1.4;
}
.mess-caption::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  pointer-events: none;
}

/* Arrow buttons */
.mess-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 5;
  transition: background .2s, color .2s, box-shadow .2s;
}
.mess-arrow:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(47,94,78,0.30);
}
.mess-arrow svg { width: 20px; height: 20px; }
.mess-arrow--prev { left: -24px; }
.mess-arrow--next { right: -24px; }

/* Dots */
.mess-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.mess-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.mess-dot--active {
  background: var(--green);
  transform: scale(1.3);
}

/* =================================================================
   ÜBER MICH
   ================================================================= */
.ueber {
  padding: var(--section-pad) 0 calc(var(--section-pad) + 20px);
  background: var(--green-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.ueber-portrait {
  overflow: visible !important;
}
.ueber-portrait {
  position: relative;
}
.ueber-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.about-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--ink);
  color: var(--white);
  padding: 20px 24px;
  z-index: 2;
  min-width: 210px;
}
.about-stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-sage);
}
.about-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  display: block;
  margin-top: 6px;
}
.ueber-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}
.ueber-text .eyebrow { margin-bottom: 0; }
.ueber-text h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  color: var(--ink);
  max-width: none;
}
.ueber-lead {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 56ch;
}
.ueber-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.12);
  margin-top: 8px;
}
.ueber-facts li {
  padding: 14px 0;
  font-size: 15px;
  color: var(--ink-mid);
  border-bottom: 1px solid rgba(0,0,0,0.10);
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.ueber-facts strong {
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}

/* =================================================================
   KONTAKT / CTA
   ================================================================= */
.kontakt {
  background: var(--ink);
  color: var(--white);
  padding: var(--section-pad) 0;
}
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.kontakt-text h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 100%;
  margin-bottom: 16px;
}
.kontakt-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  border-radius: 0;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.kontakt-form select { color: rgba(255,255,255,0.35); }
.kontakt-form select option { background: var(--ink); color: var(--white); }
.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--green-sage);
}
.kontakt-form textarea { resize: none; }

/* Datei-Upload */
.upload-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px;
  border: 1px dashed rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.upload-dropzone:hover,
.upload-dropzone--active {
  border-color: var(--green-sage);
  background: rgba(123,170,122,0.08);
}
.upload-icon {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.upload-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
}
.upload-text-sub {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  margin-top: 2px;
}
.upload-filelist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.upload-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  font-size: 13px;
}
.upload-file-name {
  flex: 1;
  color: rgba(255,255,255,0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-file-size {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  white-space: nowrap;
}
.upload-file-error { color: #e08a8a; }
.upload-file-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
  transition: color .2s;
}
.upload-file-remove:hover { color: var(--white); }

.kontakt-form .btn-primary { margin-top: 4px; }
.form-success {
  background: rgba(47,94,78,0.2);
  border: 1px solid var(--green-sage);
  color: var(--green-sage);
  padding: 14px 16px;
  font-size: 14px;
  text-align: center;
}
.form-error {
  background: rgba(224,138,138,0.12);
  border: 1px solid #e08a8a;
  color: #e08a8a;
  padding: 14px 16px;
  font-size: 14px;
  text-align: center;
}
.upload-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-hint {
  font-size: 11.5px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
}
/* Contact bar below form */
.kontakt-footer-bar {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: clamp(28px, 4vw, 48px) var(--pad) 0;
}
.kontakt-adresse-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  font-style: normal;
}
.kad-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px 24px 0;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 28px;
  margin-right: 28px;
}
.kad-item:last-child {
  border-right: none;
  margin-right: 0;
}
.kad-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.kad-value {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
  line-height: 1.5;
}
a.kad-value:hover { color: var(--white); }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: clamp(28px, 4vw, 48px) 0 36px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.4;
}
.footer-brand small { font-size: 11px; color: rgba(255,255,255,0.3); display: block; }
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.75); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
  width: 100%;
  text-align: right;
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.vstep:nth-child(2) { transition-delay: .08s; }
.vstep:nth-child(3) { transition-delay: .16s; }
.vstep:nth-child(4) { transition-delay: .24s; }
/* leistung-card delays above */
.leistung-card:nth-child(2) { transition-delay: .07s; }
.leistung-card:nth-child(3) { transition-delay: .14s; }
.leistung-card:nth-child(4) { transition-delay: .21s; }

.foerd-card:nth-child(2) { transition-delay: .08s; }
.foerd-card:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-scroll { display: none; }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1100px) {
  .leistungen-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mess-arrow--prev { left: -12px; }
  .mess-arrow--next { right: -12px; }
  .mess-slide { flex: 0 0 calc(50% - 10px); }
  .foerd-grid {
    grid-template-columns: 1fr;
  }
  .foerd-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .haus-punkte-inner {
    grid-template-columns: 1fr;
  }
  .ueber-grid {
    grid-template-columns: 1fr;
  }
  .ueber-portrait { max-height: 60vw; }
  .ueber-portrait img { aspect-ratio: 3/2; object-position: center 10%; }
  .about-stat { right: 0; bottom: -20px; }
  .vorgehen-layout { grid-template-columns: 1fr; }
  .vorgehen-haus { position: static; }
  .kontakt-inner { grid-template-columns: 1fr; }
  .kontakt-adresse-bar { grid-template-columns: repeat(2, 1fr); }
  .kad-item { border-right: none !important; margin-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 16px; }
  .kad-item:nth-child(2n) { padding-left: 16px; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
    z-index: 99;
  }
  .site-nav a {
    padding: 18px var(--pad);
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .site-nav .nav-cta {
    margin: 16px var(--pad);
    border-radius: 2px;
    text-align: center;
    border-bottom: none;
  }
  .site-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: clamp(44px, 11vw, 70px); }
  .leistungen-grid-4 { grid-template-columns: 1fr; }
  /* vorgehen already single col */
  .mess-slide { flex: 0 0 calc(100% - 10px); }
  .mess-arrow { width: 40px; height: 40px; }
  .mess-arrow--prev { left: 0; }
  .mess-arrow--next { right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-copy { text-align: left; }
  .footer-nav { gap: 16px; }
  h2 { font-size: clamp(28px, 7vw, 40px); }
  .kontakt-adresse-bar { grid-template-columns: 1fr; }
  .kad-item:nth-child(2n) { padding-left: 0; }
  .foerd-rechner-rows { flex-direction: column; gap: 8px; }
  .fr-row { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .fr-row:last-child { border-bottom: none; }
}

/* =================================================================
   LEGAL PAGES – Impressum & Datenschutz
   ================================================================= */
.legal-page {
  padding: calc(68px + clamp(48px, 6vw, 96px)) 0 var(--section-pad);
  background: var(--white);
  min-height: 60vh;
}
.legal-wrap {
  max-width: 760px;
}
.legal-header {
  margin-bottom: clamp(32px, 5vw, 56px);
}
.legal-header h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.08;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: none;
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-content p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-content p strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-content ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-content li {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
}
.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(47,94,78,0.3);
  transition: color .2s, text-decoration-color .2s;
}
.legal-content a:hover {
  color: var(--green-deep);
  text-decoration-color: var(--green-deep);
}
.legal-source {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 720px) {
  .legal-page { padding-top: calc(68px + 40px); }
}
