/* ==========================================================================
   Faktor3 Baumanagement GmbH — main.css
   WolpersWeb | Version 1.0.0
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-bg:       #1F252B;
  --c-surface:  #252C33;
  --c-card:     #2C343C;
  --c-border:   #3A444D;
  --c-accent:   #2f6229;
  --c-accent2:  #3a7a33;
  --c-text:     #F7F6F3;
  --c-muted:    #5B6670;
  --c-white:    #ffffff;
  --ff-head:    'Bebas Neue', sans-serif;
  --ff-cond:    'Barlow Condensed', sans-serif;
  --ff-body:    'Barlow', sans-serif;
  --max-w:      1200px;
  --r:          4px;
  --trans: 0.35s cubic-bezier(0.4,0,0.2,1);
--topbar-h: 34px;  /* ← NEU */
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
  line-height: 1.65;
}

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

/* ─── TOPBAR ─── */
.topbar {
  background: #141A1F;
  color: #5B6670;
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 7px 0;
position: fixed;   /* ← NEU */
  top: 0;            /* ← NEU */
  left: 0; right: 0; /* ← NEU */
  z-index: 1001;     /* ← NEU */
transition: transform var(--trans); /* ← NEU */
}
.topbar.hidden {                      /* ← NEU (komplett) */
  transform: translateY(-100%);
}
.topbar .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar a { color: #F7F6F3; text-decoration: none; display:flex; align-items:center; gap:6px; }
.topbar a:hover { color: var(--c-accent); }

/* ─── NAV ─── */
#mainNav {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--trans), box-shadow var(--trans);
}
#mainNav.scrolled {
  background: rgba(17,18,20,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
Top:0;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ─── LOGO ─── */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 54px;
  width: auto;
  display: block;
}
.logo-img:hover {
  opacity: 0.85;
}

/* Scrolled-State: etwas kleiner */
#mainNav.scrolled .logo-img {
  height: 54px;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: 1.6rem;
  color: #F7F6F3;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.logo-text { line-height: 1.15; }
.logo-text strong {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-white);
  letter-spacing: 0.05em;
}
.logo-text span {
  font-family: var(--ff-cond);
  font-size: 0.7rem;
  color: var(--c-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFF;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--r);
  transition: color var(--trans), background var(--trans);
}
.nav-links a:hover { color: var(--c-white); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: #2f6229 !important;
  color: #F7F6F3 !important;
  padding: 8px 20px !important;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  border-radius: 0 !important;
}
.nav-cta:hover { background: #3a7a33 !important; }

/* ─── HERO ─── */

/* ─── HERO VIDEO ─── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* hero-bg bleibt — liefert die Overlay-Gradients über dem Video */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 1;  /* ← NEU: über dem Video */
  background:
    linear-gradient(135deg, rgba(47,98,41,0.15) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(17,18,20,0.45) 0%, rgba(17,18,20,0.88) 100%);
    /* ← kein url() mehr, Video übernimmt den Hintergrund */
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--c-bg) 38%, transparent 62%);
  z-index: 1;
}

/* Grid über allem außer Content */
.hero-grid { z-index: 2; }

/* Content bleibt auf z-index: 2 */
.hero-content { z-index: 3; }
.scroll-cue   { z-index: 3; }

/* Mobile: Video pausieren bei prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* Mobile: Video auf kleinen Geräten deaktivieren (Performance) */
@media (max-width: 600px) {
  .hero-video-wrap { display: none; }
  .hero-bg {
    background:
      linear-gradient(135deg, rgba(47,98,41,0.15) 0%, transparent 50%),
      linear-gradient(to bottom, rgba(17,18,20,0.45) 0%, rgba(17,18,20,0.88) 100%),
      url('<?= F3_URL ?>/assets/images/hero-home.jpg') center/cover no-repeat;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
padding-top: calc(var(--topbar-h) + 72px); /* ← war: 72px */
}
/* diagonal overlay */
.hero-bg::after {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(105deg, var(--c-bg) 38%, transparent 62%);
}
/* animated grid lines */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47,98,41,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,98,41,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { from { transform: translateY(0); } to { transform: translateY(60px); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 80px;
  max-width: 760px;
  margin-left: 24px;
}
@media (min-width: 900px) { .hero-content { margin-left: calc((100vw - var(--max-w)) / 2 + 24px); } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,98,41,0.15);
  border: 1px solid rgba(47,98,41,0.4);
  color: var(--c-accent);
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s ease both;
}
.hero-badge::before {
  content:''; width:6px; height:6px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

h1.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  color: var(--c-white);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s 0.15s ease both;
}
h1.hero-title em {
  color: var(--c-accent);
  font-style: normal;
  position: relative;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(232,233,234,0.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.45s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-accent);
  color: #F7F6F3;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background var(--trans), transform var(--trans);
}
.btn-primary:hover { background: var(--c-accent2); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--c-white);
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: border-color var(--trans), background var(--trans), transform var(--trans);
}
.btn-ghost:hover { border-color: var(--c-accent); background: rgba(47,98,41,0.08); transform: translateY(-2px); }

/* hero scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeIn 1.5s 1s ease both;
}
.scroll-cue span {
  font-family: var(--ff-cond);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--c-muted);
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
  animation: lineGrow 2s ease infinite;
}
@keyframes lineGrow { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ─── STATS BAR ─── */
.stats-bar {
  background: #2f6229;
  padding: 0;
  overflow: hidden;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.18);
  transition: background var(--trans);
  cursor: default;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(0,0,0,0.1); }
.stat-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  color: #F7F6F3;
  line-height: 1;
}
.stat-label {
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,246,243,0.65);
  margin-top: 4px;
  text-align: center;
}

/* ─── SECTION BASE ─── */
section { padding: 100px 0; }
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--c-accent);
}
h2.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--c-white);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ─── LIGHT SECTION OVERRIDES ─── */
.light-section {
  background: #F7F6F3 !important;
  --c-text:    #1F252B;
  --c-muted:   #5B6670;
  --c-white:   #1F252B;
  --c-border:  rgba(31,37,43,0.12);
  --c-card:    #ffffff;
  --c-surface: #eeecea;
  color: #1F252B;
}
.light-section .section-label { color: #2f6229; }
.light-section .section-label::before { background: #2f6229; }
.light-section h2.section-title { color: #1F252B; }
.light-section .section-desc { color: #5B6670; }
.light-section .service-card {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(31,37,43,0.07);
}
.light-section .service-card:hover { background: #f0ede9; }
.light-section .service-num { color: rgba(47,98,41,0.18); }
.light-section .service-card:hover .service-num { color: rgba(47,98,41,0.32); }
.light-section h3.service-title { color: #1F252B; }
.light-section .service-text { color: #5B6670; }
.light-section .process-step:hover { background: #eeecea; }
.light-section h4.step-title { color: #1F252B; }
.light-section .step-text { color: #5B6670; }
.light-section .step-dot { background: #F7F6F3; }
.light-section .process-grid::before { background: linear-gradient(90deg, transparent, rgba(31,37,43,0.12) 20%, rgba(31,37,43,0.12) 80%, transparent); }
.light-section input,
.light-section textarea,
.light-section select {
  background: #ffffff;
  border-color: rgba(31,37,43,0.2);
  color: #1F252B;
}
.light-section input::placeholder,
.light-section textarea::placeholder { color: #9aa0a6; }
.light-section input:focus,
.light-section textarea:focus,
.light-section select:focus { border-color: #2f6229; background: rgba(47,98,41,0.04); }
.light-section label { color: #5B6670; }
.light-section .kontakt-item { border-bottom-color: rgba(31,37,43,0.12); }
.light-section .kontakt-label { color: #5B6670; }
.light-section .kontakt-val { color: #1F252B; }
.light-section .kontakt-val a { color: #1F252B; }
.light-section .kontakt-val a:hover { color: #2f6229; }
.light-section .kontakt-icon { background: rgba(47,98,41,0.1); }
.light-section .privacy-note { color: #5B6670; }
.light-section .privacy-note a { color: #2f6229; }

/* ─── LEISTUNGEN ─── */
#leistungen { background: #F7F6F3; }
.leistungen-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}
.service-card {
  background: var(--c-card);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform var(--trans), background var(--trans);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--c-accent);
  transition: height 0.45s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { background: #262a2e; transform: translateY(-4px); }
.service-num {
  font-family: var(--ff-head);
  font-size: 3.5rem;
  color: rgba(47,98,41,0.12);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--trans);
}
.service-card:hover .service-num { color: rgba(47,98,41,0.25); }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(47,98,41,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background var(--trans);
}
.service-card:hover .service-icon { background: rgba(47,98,41,0.25); }
.service-icon svg { width:22px; height:22px; stroke: var(--c-accent); fill:none; stroke-width:1.8; }
h3.service-title {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 12px;
}
.service-text {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.7;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.tag {
  font-family: var(--ff-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid rgba(47,98,41,0.3);
  padding: 3px 9px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent2);
  text-decoration: none;
  transition: gap var(--trans), color var(--trans);
}
.service-link svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--trans);
}
.service-link:hover {
  color: var(--c-text);
  gap: 14px;
}
.service-link:hover svg {
  transform: translateX(3px);
}

/* ─── ABOUT / ÜBER UNS ─── */
#ueber-uns { background: var(--c-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--c-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--c-muted);
  font-family: var(--ff-cond);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.about-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: 
    url('https://www.wolpersweb.de/projekte/faktor3/assets/images/baumanagement-team.jpeg') center/cover;
  opacity: 0.25;
}
.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--c-accent);
  padding: 24px 28px;
  color: #F7F6F3;
}
.about-accent-box strong {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  display: block;
  line-height: 1;
  color: #F7F6F3;
}
.about-accent-box span {
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,246,243,0.75);
}
.about-list {
  list-style: none;
  margin: 28px 0;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
  color: var(--c-muted);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--c-accent);
  clip-path: polygon(3px 0%, 100% 0%, calc(100% - 3px) 100%, 0% 100%);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-list li strong { color: var(--c-white); }

/* ─── PROCESS ─── */
#vorgehen { background: #F7F6F3; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 48px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border) 20%, var(--c-border) 80%, transparent);
}
.process-step {
  padding: 40px 28px;
  position: relative;
  transition: background var(--trans);
}
.process-step:hover { background: var(--c-card); }
.step-num {
  font-family: var(--ff-head);
  font-size: 1rem;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step-dot {
  width: 16px; height: 16px;
  border: 2px solid var(--c-accent);
  background: var(--c-surface);
  border-radius: 50%;
  position: absolute;
  top: 40px; left: 28px;
  transform: translateY(-50%);
  z-index: 1;
}
.step-dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
}
h4.step-title {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 10px;
  margin-top: 24px;
}
.step-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ─── PROJEKTE ─── */
#projekte { background: var(--c-bg); }
.projekt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
  margin-top: 60px;
}
.projekt-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--c-card);
  cursor: pointer;
}
.projekt-card:first-child {
  grid-row: span 2;
  aspect-ratio: unset;
}
.projekt-bg {
  position: absolute; inset: 0;
  background: var(--c-card);
  transition: transform 0.6s ease;
}
.projekt-card:hover .projekt-bg { transform: scale(1.04); }
.projekt-bg-1 { background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=800&auto=format&fit=crop&q=70') center/cover; }
.projekt-bg-2 { background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=800&auto=format&fit=crop&q=70') center/cover; }
.projekt-bg-3 { background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=800&auto=format&fit=crop&q=70') center/cover; }
.projekt-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,18,20,0.9) 0%, rgba(17,18,20,0.2) 60%, transparent 100%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.projekt-cat {
  font-family: var(--ff-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 6px;
}
h4.projekt-name {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
}

/* ─── KONTAKT ─── */
#kontakt { background: #F7F6F3; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt-info { }
.kontakt-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
}
.kontakt-item:last-child { border-bottom: none; }
.kontakt-icon {
  width: 40px; height: 40px;
  background: rgba(47,98,41,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}
.kontakt-icon svg { width:18px; height:18px; stroke:var(--c-accent); fill:none; stroke-width:1.8; }
.kontakt-label {
  font-family: var(--ff-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.kontakt-val {
  font-size: 0.95rem;
  color: var(--c-text);
}
.kontakt-val a { color: var(--c-text); text-decoration: none; }
.kontakt-val a:hover { color: var(--c-accent); }

/* FORM */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label {
  display: block;
  font-family: var(--ff-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 6px;
}
input, textarea, select {
  width: 100%;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--trans), background var(--trans);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--c-accent);
  background: rgba(47,98,41,0.05);
}
textarea { resize: vertical; min-height: 130px; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-accent);
  color: #F7F6F3;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background var(--trans), transform var(--trans);
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.form-submit:hover { background: var(--c-accent2); transform: translateY(-2px); }
.privacy-note {
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-top: 10px;
  line-height: 1.5;
}
.privacy-note a { color: var(--c-accent); }

/* ─── FOOTER ─── */
footer {
  background: #141A1F;
  padding: 60px 0 0;
  border-top: 1px solid var(--c-border);
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-border);
}
.footer-brand p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
h5.footer-head {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.95rem;   /* etwas größer */
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--trans);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
/* NEU ergänzen: */
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--c-muted);
  line-height: 1.5;
}
.footer-contact svg {
  width: 15px; height: 15px;
  stroke: var(--c-accent); fill: none;
  stroke-width: 1.8; flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--trans);
}
.footer-contact a:hover { color: var(--c-accent); }

.footer-bottom p { font-size: 0.82rem; color: var(--c-muted); }
.footer-bottom a { color: var(--c-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-accent); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── KARRIERE SEKTION ─── */
.karriere-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
/* ─── STELLEN GRID ─── */
.stellen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.stellen-card {
  background: var(--c-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;   /* ← vertikal statt horizontal */
  gap: 20px;
  transition: background var(--trans);
}
.stellen-card:hover { background: #2a3038; }

.stellen-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stellen-icon {
  width: 44px; height: 44px;
  background: rgba(47,98,41,0.1);
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(6px 0%,100% 0%,calc(100% - 6px) 100%,0% 100%);
  flex-shrink: 0;
}
.stellen-icon svg {
  width: 20px; height: 20px;
  stroke: var(--c-accent); fill: none; stroke-width: 1.8;
}

.stellen-info { flex: 1; }
.stellen-typ {
  font-family: var(--ff-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent2);
  margin-bottom: 6px;
}
.stellen-titel {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--c-white);
  line-height: 1.25;
}

.stellen-btn {
  align-self: flex-start;   /* ← Button links, nicht gestreckt */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.stellen-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform var(--trans);
}
.stellen-btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}
.stellen-btn:hover svg { transform: translateX(3px); }

@media (max-width: 700px) {
  .stellen-grid { grid-template-columns: 1fr; }
}
/* ─── PARTNER SLIDER ─── */
.partner-section {
  padding: 72px 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.partner-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 24px;
}
.partner-header .section-label {
  justify-content: center;
  margin-bottom: 10px;
}
.partner-header p {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--c-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Track-Wrapper: maskiert die Ränder weich */
.partner-track-wrap {
  position: relative;
  overflow: hidden;
  /* Sanftes Ausblenden an den Rändern */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* Endlos-Scroll via CSS-Animation */
.partner-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: partnerScroll 28s linear infinite;
}
.partner-track:hover {
  animation-play-state: paused;
}

@keyframes partnerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% weil Inhalt doppelt */
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  height: 80px;
  border-right: 1px solid var(--c-border);
  flex-shrink: 0;
  min-width: 180px;
}
.partner-item:last-child { border-right: none; }

/* Mit Logo */
.partner-logo {
  height: auto;
  max-width: 100px;
  width: auto;
  object-fit: contain;
  /* Logos sind oft dunkel → auf dunklem BG invertieren */
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--trans), filter var(--trans);
}
.partner-item:hover .partner-logo {
  opacity: 1;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(85deg);
  /* Hover: grün einfärben passend zu --c-accent */
}

/* Ohne Logo → Text-Fallback */
.partner-name-text {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--trans);
}
.partner-item:hover .partner-name-text {
  color: var(--c-accent2);
}

@media (max-width: 600px) {
  .partner-track { animation-duration: 18s; }
  .partner-item  { padding: 0 32px; min-width: 140px; }
}
/* ─── FOOTER TRUST STREIFEN ─── */
.footer-trust {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 28px 0;
  background: rgba(0,0,0,0.15);
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 40px;
  flex-shrink: 0;
}
.trust-item svg {
  width: 28px; height: 28px;
  stroke: var(--c-accent); fill: none;
  stroke-width: 1.5; flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
  line-height: 1.2;
}
.trust-item span {
  font-family: var(--ff-cond);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border);
  flex-shrink: 0;
}

/* HWK Logo (wenn Datei vorhanden) */
.trust-hwk-logo {
  max-height: 44px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--trans);
}
.trust-item--hwk:hover .trust-hwk-logo { opacity: 1; }

/* ─── ABOUT TRUST BADGES ─── */
.about-trust-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(47,98,41,0.08);
  border: 1px solid rgba(47,98,41,0.2);
  padding: 7px 14px;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent2);
}
.about-badge svg {
  width: 13px; height: 13px;
  stroke: var(--c-accent); fill: none;
  stroke-width: 2.2; flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-inner    { gap: 0; }
  .trust-item     { padding: 10px 20px; }
  .trust-divider  { display: none; }
}

/* ─── FÖRDERUNGEN ─── */
.foerder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.foerder-card {
  background: var(--c-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background var(--trans);
  position: relative;
}
.foerder-card:hover { background: #2a3038; }

/* Farbiger Akzent oben */
.foerder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.foerder-card:hover::before { transform: scaleX(1); }

.foerder-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--ff-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(47,98,41,0.12);
  color: var(--c-accent2);
  border: 1px solid rgba(47,98,41,0.2);
  margin-bottom: 20px;
}
.foerder-badge--kredit {
  background: rgba(60,100,170,0.1);
  color: #6fa3e0;
  border-color: rgba(60,100,170,0.2);
}
.foerder-badge--nrw {
  background: rgba(180,120,40,0.1);
  color: #c89a55;
  border-color: rgba(180,120,40,0.2);
}

.foerder-logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.foerder-kuerzel {
  font-family: var(--ff-head);
  font-size: 2rem;
  color: var(--c-white);
  line-height: 1;
  letter-spacing: 0.04em;
}
.foerder-prog {
  font-family: var(--ff-cond);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-accent2);
  letter-spacing: 0.06em;
}

.foerder-titel {
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--c-white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.foerder-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.foerder-facts {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-border);
}
.foerder-facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.foerder-facts strong {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--c-accent2);
  flex-shrink: 0;
  min-width: 64px;
  line-height: 1;
}
.foerder-facts span {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.4;
}

.foerder-hinweis {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  margin-top: auto;
  padding-top: 16px;
}
.foerder-hinweis svg {
  width: 14px; height: 14px;
  stroke: var(--c-muted); fill: none;
  stroke-width: 1.8; flex-shrink: 0;
  margin-top: 1px;
}
.foerder-hinweis strong { color: var(--c-text); font-weight: 600; }

.foerder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent2);
  text-decoration: none;
  transition: gap var(--trans), color var(--trans);
}
.foerder-link svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform var(--trans);
}
.foerder-link:hover { color: var(--c-text); gap: 10px; }
.foerder-link:hover svg { transform: translateX(2px); }

/* ─── FÖRDER-CTA ─── */
.foerder-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 2px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  padding: 28px 32px;
  flex-wrap: wrap;
}
.foerder-cta-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 260px;
}
.foerder-cta-text svg {
  width: 24px; height: 24px;
  stroke: var(--c-accent); fill: none;
  stroke-width: 1.5; flex-shrink: 0;
  margin-top: 2px;
}
.foerder-cta-text strong {
  display: block;
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--c-white);
  margin-bottom: 4px;
}
.foerder-cta-text span {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--c-muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .foerder-grid { grid-template-columns: 1fr; }
  .foerder-cta  { flex-direction: column; align-items: flex-start; }
}
/* ─── BEWERBUNGS-MODAL ─── */
.bew-overlay {
  position: fixed; inset: 0;
  background: rgba(10,12,14,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.bew-modal {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-accent);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
.bew-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.bew-overlay.open .bew-modal { transform: translateY(0); }
.bew-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--c-muted);
  transition: color var(--trans);
}
.bew-close:hover { color: var(--c-text); }
.bew-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.bew-modal-header { margin-bottom: 28px; }
.bew-modal-header h3 {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  color: var(--c-white);
  line-height: 1.1;
  margin-top: 8px;
}
.bew-modal-header h3 span { color: var(--c-accent); }

/* Upload Area */
.upload-area {
  position: relative;
  border: 1.5px dashed var(--c-border);
  border-radius: var(--r);
  transition: border-color var(--trans), background var(--trans);
  cursor: pointer;
}
.upload-area:hover, .upload-area:focus-within {
  border-color: var(--c-accent);
  background: rgba(47,98,41,0.04);
}
.upload-area input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  text-align: center;
  color: var(--c-muted);
  font-size: 0.88rem;
  pointer-events: none;
}
.upload-placeholder svg {
  width: 28px; height: 28px;
  stroke: var(--c-accent); fill: none; stroke-width: 1.5;
}
.upload-selected {
  padding: 12px 16px;
  font-family: var(--ff-cond);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-accent2);
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 600px) {
  .stellen-card { flex-wrap: wrap; }
  .stellen-btn  { width: 100%; justify-content: center; }
  .bew-modal    { padding: 28px 20px; }
}
/* ─── ANIMATIONS ─── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { opacity:0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity:1; transform: translateX(0); }
.reveal-right { opacity:0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity:1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ─── MOBILE MENU ─── */
/* ─── BURGER ─── */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  transition: border-color var(--trans), background var(--trans);
}
.burger:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--trans);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(15, 18, 21, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 36px 32px 48px;
  gap: 0;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Top-Trennlinie */
.mobile-menu::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  margin-bottom: 32px;
  flex-shrink: 0;
}

/* Normale Links */
.mobile-menu > a {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--trans), padding-left var(--trans);
  line-height: 1.1;
}
.mobile-menu > a:hover {
  color: var(--c-accent2);
  padding-left: 8px;
}
.mobile-menu > a.active {
  color: var(--c-accent);
}

/* CTA-Link */
.mobile-menu > a[href*="kontakt"] {
  margin-top: 24px;
  border: none;
  background: var(--c-accent);
  color: var(--c-white) !important;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--r);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  transition: background var(--trans), transform var(--trans);
}
.mobile-menu > a[href*="kontakt"]:hover {
  background: var(--c-accent2);
  padding-left: 24px; /* override generic hover */
  transform: translateY(-1px);
}

/* ─── LEISTUNGEN ACCORDION ─── */
.mob-leistungen-btn {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
  text-align: left;
  padding: 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.1;
  transition: color var(--trans);
}
.mob-leistungen-btn:hover,
.mob-leistungen-btn[aria-expanded="true"] {
  color: var(--c-accent2);
}
.mob-leistungen-btn .chev {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform var(--trans);
}
.mob-leistungen-btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

/* Accordion-Liste */
.mob-leistungen-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  margin: 2px 0 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mob-leistungen-list.open { max-height: 400px; }
/* Pflicht-Wrapper für grid-trick */
.mob-leistungen-list > * {
  overflow: hidden;
}
.mob-leistungen-list a {
  font-family: var(--ff-cond);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-decoration: none;
  display: block;
  padding: 9px 0 9px 20px;
  border-left: 2px solid var(--c-border);
  transition: color var(--trans), border-color var(--trans), padding-left var(--trans);
  line-height: 1.2;
}
.mob-leistungen-list a:first-child { margin-top: 8px; }
.mob-leistungen-list a:last-child  { margin-bottom: 12px; }
.mob-leistungen-list a:hover,
.mob-leistungen-list a.active {
  color: var(--c-text);
  border-left-color: var(--c-accent);
  padding-left: 28px;
}
.mob-leistungen-list a.active {
  color: var(--c-accent2);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-accent-box { right: 0; bottom: 0; }
  .projekt-grid { grid-template-columns: 1fr; }
  .projekt-card:first-child { grid-row: auto; aspect-ratio: 16/10; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .topbar{display:none;}
  #mainNav{top:0;}
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .hero-content { padding: 60px 12px; }
  section { padding: 72px 0; }
}

/* ─── ACCENT LINE decoration ─── */
.accent-line {
  display: inline-block;
  width: 48px; height: 3px;
  background: var(--c-accent);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .footer-trust { padding: 20px 0; }

  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0 20px;
  }

  /* Divider verstecken — Grid übernimmt Trennung */
  .trust-divider { display: none; }

  .trust-item {
    padding: 16px 12px;
    gap: 10px;
  }

  /* Jedes rechte Item bekommt eine linke Trennlinie */


  /* Letzte zwei Items — keine untere Linie */
  .trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .trust-item svg {
    width: 22px; height: 22px;
    flex-shrink: 0;
  }

  .trust-item strong {
    font-size: 0.85rem;
  }

  .trust-item span {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 400px) {
  .trust-inner {
    grid-template-columns: 1fr;
  }
  .trust-item:nth-child(odd) {
    border-right: none;
  }
  .trust-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--c-border);
  }
  .trust-item:last-child {
    border-bottom: none;
  }
}