
html, body { overflow-x: hidden !important; }

/* Local Inter Font - DSGVO-konform */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fileadmin/templates/assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fileadmin/templates/assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fileadmin/templates/assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fileadmin/templates/assets/fonts/inter-v20-latin-700.woff2') format('woff2');
}
/* Override TYPO3 theme section constraints */
.hero,
section.section,
.highlight-band,
.cta-section {
  max-width: none !important;
  width: 100% !important;
  border-radius: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Card styling on inner container for Teamkultur and CTA */
.teamkultur .container {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-radius: 16px;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
.cta-section .container {
  padding-top: 60px !important;
  padding-bottom: 0 !important;
}



/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0F2620;
  --green-800: #1B3C34;
  --green-700: #245C4F;
  --green-600: #2D7A68;
  --green-500: #38997F;
  --green-100: #E8F5F0;
  --green-50: #F3FAF7;
  --gray-950: #0A0A0B;
  --gray-800: #1F2937;
  --gray-600: #4B5563;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 clamp(24px, 5vw, 80px);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-800);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-logo span {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--green-800);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-800);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--green-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* === Hero === */
.hero {
  position: relative;
  left: 0 !important;
  right: 0 !important;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.97) 20%,
    rgba(255,255,255,0.85) 35%,
    rgba(255,255,255,0.3) 55%,
    rgba(255,255,255,0) 70%
  );
}

.hero > .container {
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 4vw, 80px);
  padding-right: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 460px;
  padding: 96px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-100);
  color: var(--green-700);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--gray-950);
  margin-bottom: 20px;
  max-width: 720px;
}

.hero h1 .accent {
  color: var(--green-700);
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-800);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green-800);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--green-800);
  background: var(--green-50);
  transform: translateY(-2px);
}

/* === Stats Bar === */


.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

/* === Section Headers === */
section.section {
  padding: 100px 0 !important;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--gray-950);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 640px;
}

/* === USP Cards === */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.usp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.usp-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.usp-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-600);
  opacity: 0;
  transition: opacity 0.3s;
}

.usp-card:hover::after {
  opacity: 1;
}

.usp-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-700);
}

.usp-card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--gray-950);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.usp-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* === Feature Split === */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

.feature-visual {
  position: relative;
}

.feature-img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.feature-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
}

.feature-img-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.feature-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gray-950);
  margin-bottom: 16px;
}

.feature-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.feature-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  margin-top: 1px;
}

/* === Highlight Band === */
section.highlight-band {
  background: linear-gradient(135deg, #1C3829 0%, #2D5E45 40%, #4A8B65 100%);
  color: var(--white);
  padding: 100px 0 !important;
  position: relative;
  overflow: hidden;
}

.highlight-band::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.highlight-band::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.highlight-inner {
  position: relative;
  z-index: 1;
}

.highlight-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.highlight-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight-stat-item {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.highlight-stat-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-stat-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.highlight-stat-text span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

.highlight-band h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.highlight-band p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 36px;
}

.highlight-band .btn-primary {
  background: var(--white);
  color: #1C3829;
}

.highlight-band .btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

/* === Benefit Chips === */
.benefit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* === Values Grid === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.value-card:hover {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green-700);
}

.value-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-950);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* === CTA Section === */
section.cta-section {
  padding: 100px 0 !important;
  padding-bottom: 120px !important;
  text-align: center;
  background: var(--white);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--gray-950);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.cta-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-decoration: none;
  transition: all 0.3s;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.cta-card:hover {
  border-color: var(--green-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cta-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}

.cta-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-950);
  margin-bottom: 6px;
}

.cta-card p {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* === Footer === */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
}

/* === Responsive === */
.hero + .section {
  padding-bottom: 60px !important;
}
section.section.teamkultur {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
.teamkultur + .section {
  padding-top: 60px !important;
}

@media (max-width: 1024px) {
  .hero { min-height: 400px; }
  .hero-bg::after {
    background: linear-gradient(
      to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.95) 35%,
      rgba(255,255,255,0.8) 60%,
      rgba(255,255,255,0.5) 100%
    ) !important;
  }
  .usp-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-cards { grid-template-columns: 1fr; max-width: 400px; }
  .highlight-split { grid-template-columns: 1fr; text-align: center; }
  .highlight-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}


@media (max-width: 768px) {
  .hero .container {
    padding-right: clamp(24px, 4vw, 80px) !important;
  }
  .hero-content {
    max-width: 100% !important;
    padding: 60px 0 60px !important;
  }
  .hero h1 {
    max-width: 100% !important;
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .hero-sub {
    max-width: 100% !important;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 360px; }
  .hero-content { padding: 60px 0 48px; }
  .hero-bg::after {
    background: rgba(255,255,255,0.85) !important;
  }
  .section { padding: 96px 0; }
}


/* Apple-style background */
body { background-color: #f5f5f7 !important; }
.frame-default, .frame-type-html { background-color: transparent !important; }
