:root {
  --green: #22c581;
  --green-dark: #1ba971;
  --green-soft: #e8f9f1;
  --gray-dark: #3f3f3f;
  --gray-mid: #6b6b6b;
  --gray-light: #e5e7e7;
  --bg-soft: #f7f9f9;
  --white: #ffffff;
  --ink: #1f1f1f;
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--white); }
a { text-decoration: none; color: inherit; }

/* =========== NAVIGATION =========== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-light);
  transition: padding 0.3s ease;
}

nav.scrolled {
  padding: 0.6rem 3rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

nav.scrolled .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-dark);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.7rem 1.5rem !important;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--green-dark); }
.nav-cta::after { display: none !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-dark);
}

/* =========== BUTTONS =========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(34, 197, 129, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn svg {
  width: 16px; height: 16px;
  transition: transform 0.2s;
}

.btn:hover svg { transform: translateX(3px); }

/* =========== HERO (home) =========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 35, 28, 0.88) 0%, rgba(20, 50, 38, 0.85) 50%, rgba(10, 40, 30, 0.92) 100%),
    linear-gradient(45deg, #1a3d30 0%, #0f2820 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(34, 197, 129, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(34, 197, 129, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 197, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 129, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(34, 197, 129, 0.4);
  border-radius: 2px;
  opacity: 0;
  animation: fadeDown 0.8s ease 0.2s forwards;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.35s forwards;
}

.hero h1 .accent { color: var(--green); }

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 1s ease 0.55s forwards;
}

.hero-subtitle .asterisk {
  color: var(--green);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 0.75s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero-scroll svg {
  display: block;
  margin: 0.5rem auto 0;
  width: 20px;
}

/* =========== PAGE HEADER (subpages) =========== */
.page-header {
  position: relative;
  padding: 12rem 2rem 5rem;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 35, 28, 0.9) 0%, rgba(20, 50, 38, 0.88) 100%),
    linear-gradient(45deg, #1a3d30 0%, #0f2820 100%);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(34, 197, 129, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(34, 197, 129, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(34, 197, 129, 0.4);
  border-radius: 2px;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.page-header h1 .accent { color: var(--green); }

.page-header p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =========== STATS =========== */
.stats {
  background: var(--white);
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-bottom: 1px solid var(--gray-light);
}

.stat {
  text-align: center;
  padding: 1rem;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--gray-light);
}

.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

.stat-number .plus {
  font-size: 0.7em;
  vertical-align: top;
  margin-left: 0.1em;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 0.02em;
}

/* =========== PHILOSOPHY =========== */
.philosophy {
  background: var(--bg-soft);
  padding: 8rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 129, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.philosophy-word {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800;
  color: var(--gray-dark);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.philosophy-word .accent { color: var(--green); }

.philosophy-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--gray-mid);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* =========== CARDS =========== */
.cards {
  padding: 6rem 3rem;
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  position: relative;
  height: 420px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.15);
}

.card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.card:hover .card-bg { transform: scale(1.05); }

.card-1 .card-bg {
  background:
    linear-gradient(180deg, rgba(30, 50, 42, 0.3) 0%, rgba(15, 35, 28, 0.85) 100%),
    linear-gradient(135deg, #4a6b5f 0%, #2a4d40 100%);
}
.card-2 .card-bg {
  background:
    linear-gradient(180deg, rgba(34, 197, 129, 0.2) 0%, rgba(15, 80, 55, 0.9) 100%),
    linear-gradient(135deg, #5a8a76 0%, #1ba971 100%);
}
.card-3 .card-bg {
  background:
    linear-gradient(180deg, rgba(60, 60, 60, 0.3) 0%, rgba(30, 30, 30, 0.9) 100%),
    linear-gradient(135deg, #6b6b6b 0%, #2a2a2a 100%);
}

.card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.card-content {
  position: absolute;
  inset: 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  z-index: 2;
}

.card-icon {
  width: 56px; height: 56px;
  background: rgba(34, 197, 129, 0.15);
  border: 1px solid rgba(34, 197, 129, 0.4);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 28px; height: 28px;
  color: var(--green);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.card-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-link svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}

.card:hover .card-link svg { transform: translateX(4px); }

/* =========== LEISTUNGEN =========== */
.leistungen {
  background: var(--bg-soft);
  padding: 8rem 3rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-title .accent { color: var(--green); }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.leistung {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 6px;
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.leistung::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--green);
  transition: width 0.4s ease;
}

.leistung:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
}

.leistung:hover::before { width: 100%; }

.leistung-icon {
  width: 52px; height: 52px;
  background: var(--green-soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.leistung:hover .leistung-icon { background: var(--green); }

.leistung-icon svg {
  width: 26px; height: 26px;
  color: var(--green);
  transition: color 0.3s;
}

.leistung:hover .leistung-icon svg { color: var(--white); }

.leistung h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.leistung p {
  font-size: 0.95rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* =========== UNTERNEHMEN =========== */
.unternehmen {
  padding: 8rem 3rem;
  background: var(--white);
}

.unternehmen-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.unternehmen-text .section-eyebrow { text-align: left; }

.unternehmen-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.unternehmen-text h2 .accent { color: var(--green); }

.unternehmen-text p {
  font-size: 1.05rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.unternehmen-features {
  list-style: none;
  margin-top: 2rem;
}

.unternehmen-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.unternehmen-features li:last-child { border-bottom: none; }

.feature-check {
  width: 24px; height: 24px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.feature-check svg {
  width: 12px; height: 12px;
  color: var(--white);
}

.feature-text strong {
  display: block;
  color: var(--gray-dark);
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.feature-text span {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.unternehmen-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 35, 28, 0.2) 0%, rgba(15, 35, 28, 0.7) 100%),
    linear-gradient(135deg, #3a5a4e 0%, #1a3d30 100%);
}

.unternehmen-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.visual-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem; right: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2);
}

.visual-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.visual-badge-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* =========== CTA BANNER =========== */
.cta-banner {
  background: var(--gray-dark);
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 129, 0.15) 0%, transparent 70%);
}

.cta-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-content h2 .accent { color: var(--green); }

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-phone {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.cta-phone svg {
  width: 20px; height: 20px;
  color: var(--green);
}

.cta-phone-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* =========== KONTAKT SEITE =========== */
.kontakt-section {
  padding: 6rem 3rem;
  background: var(--bg-soft);
}

.kontakt-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.kontakt-info {
  position: sticky;
  top: 7rem;
}

.kontakt-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.kontakt-info h2 .accent { color: var(--green); }

.kontakt-info > p {
  font-size: 1.05rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.kontakt-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid var(--gray-light);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.kontakt-card:hover {
  border-color: var(--green);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
}

.kontakt-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.kontakt-card-icon {
  width: 44px; height: 44px;
  background: var(--green-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt-card-icon svg {
  width: 20px; height: 20px;
  color: var(--green);
}

.kontakt-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kontakt-card-value {
  font-size: 1.1rem;
  color: var(--gray-dark);
  font-weight: 600;
  line-height: 1.4;
}

.kontakt-card-value a {
  color: var(--gray-dark);
  transition: color 0.2s;
}

.kontakt-card-value a:hover { color: var(--green); }

/* Form */
.form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 6px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.08);
}

.form-container h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.form-container > p {
  color: var(--gray-mid);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.form-group {
  margin-bottom: 1.2rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--green);
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(34, 197, 129, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath d='M1 1l5 5 5-5' stroke='%233f3f3f' fill='none' stroke-width='1.5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
}

.form-checkbox input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--green);
  cursor: pointer;
}

.form-checkbox label {
  color: var(--gray-mid);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 600;
}

.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.form-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(34, 197, 129, 0.5);
}

.form-submit svg {
  width: 16px; height: 16px;
}

/* =========== IMPRESSUM / LEGAL PAGES =========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--green);
  display: inline-block;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}

.legal-content h2:first-of-type { margin-top: 2rem; }

.legal-content p {
  font-size: 1rem;
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.legal-content strong {
  color: var(--gray-dark);
  font-weight: 600;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 500;
}

.legal-content a:hover { color: var(--green-dark); }

/* =========== FOOTER =========== */
footer {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 3rem 2rem;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Text-logo (used in footer for clean dark-background version) */
.logo-text {
  display: flex;
  align-items: baseline;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.logo-text .logo-re { color: var(--white); }
.logo-text .logo-nova { color: var(--green); }
.logo-text .logo-plus {
  color: var(--green);
  font-size: 1rem;
  margin-left: 2px;
  position: relative;
  top: -0.9rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
  max-width: 340px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--green); }

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-top: 1rem;
}

.footer-contact a { color: rgba(255, 255, 255, 0.65); }
.footer-contact a:hover { color: var(--green); }

.footer-fineprint {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 1.8rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--green);
  border-radius: 0 4px 4px 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-fineprint .asterisk {
  color: var(--green);
  font-weight: 700;
  margin-right: 0.3em;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--green); }

/* =========== ANIMATIONS =========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1024px) {
  nav { padding: 0.8rem 1.5rem; }
  nav.scrolled { padding: 0.6rem 1.5rem; }
  .logo img { height: 42px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  .menu-toggle { display: block; }

  .cards-grid,
  .leistungen-grid { grid-template-columns: 1fr 1fr; }

  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat:not(:last-child)::after {
    right: 20%; left: 20%;
    top: auto; bottom: -1rem;
    width: auto; height: 1px;
  }
  .stat { padding: 2rem 1rem; }

  .unternehmen-grid,
  .cta-content,
  .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }

  .kontakt-info { position: static; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0.7rem 1rem; }
  .logo img { height: 36px; }

  section, .stats, .philosophy, .cards, .leistungen, .unternehmen,
  .cta-banner, footer, .kontakt-section { padding-left: 1.2rem; padding-right: 1.2rem; }

  .hero { padding: 6rem 1.2rem 4rem; }
  .page-header { padding: 10rem 1.2rem 4rem; }
  .philosophy, .leistungen, .unternehmen, .cards, .kontakt-section {
    padding-top: 5rem; padding-bottom: 5rem;
  }

  .cards-grid,
  .leistungen-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }

  .form-container { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .legal-content { padding: 8rem 1.2rem 4rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
