/* --- reset.css --- */
/* ===========================================
   RESET.CSS – Kirda Solutions
   Baseline reset for consistent cross-browser rendering.
   =========================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  line-height: 1.2;
}

p {
  overflow-wrap: break-word;
}

/* Remove default focus styles, we add our own */
:focus {
  outline: none;
}

/* Accessible focus-visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--brand-petrol, #1A786E);
  outline-offset: 2px;
}

/* Prevent iOS zoom on inputs */
@media (max-width: 768px) {
  input, textarea, select {
    font-size: 16px;
  }
}


/* --- tokens.css --- */
/* ===========================================
   TOKENS.CSS – Kirda Solutions Design Tokens
   Single source of truth for all design values.
   Source: Brandbook Kirda Solutions (14.04.2024)
   =========================================== */

/* -----------------------------------------
   @font-face – Self-hosted fonts
   ----------------------------------------- */

/* Nunito – Variable font (contains weights 500 & 700) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/nunito-500.woff2') format('woff2');
}

/* Nunito Italic – Medium (500) */
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/nunito-500i.woff2') format('woff2'),
       url('../assets/fonts/nunito-500i.woff') format('woff');
}

/* Nunito Sans – Variable font (contains weights 400, 500, 600, 800) */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/nunito-sans-variable.woff2') format('woff2');
}

/* -----------------------------------------
   CSS Custom Properties
   ----------------------------------------- */

:root {
  /* === BRAND COLORS === */
  --brand-dunkelblau:   #1C344D;
  --brand-petrol:       #1A786E;
  --brand-dunkelgruen:  #124D4A;
  --brand-pfirsich:     #F3B36F;
  --brand-hellgruen:    #ABCF61;
  --brand-weissgrau:    #F0F3F5;
  --brand-white:        #FFFFFF;

  /* === SEMANTIC COLORS === */
  --color-text-primary:    var(--brand-dunkelblau);
  --color-text-secondary:  #4A637C;
  --color-text-muted:      #849FB8;
  --color-text-inverse:    var(--brand-weissgrau);
  --color-bg-primary:      var(--brand-white);
  --color-bg-secondary:    var(--brand-weissgrau);
  --color-bg-dark:         var(--brand-dunkelblau);
  --color-border:          #D3DDE6;
  --color-link:            var(--brand-petrol);
  --color-link-hover:      var(--brand-dunkelgruen);
  --color-accent:          var(--brand-pfirsich);
  --color-success:         #10B981;
  --color-error:           #EF4444;

  /* === TYPOGRAPHY === */
  --font-headline:  'Nunito', sans-serif;
  --font-body:      'Nunito Sans', sans-serif;
  --font-mono:      'Courier New', Courier, monospace;

  /* === V1 THEME MAPPING (aliases for grid system) === */
  --c-cream:     var(--brand-weissgrau);
  --c-blue:      var(--brand-petrol);
  --c-black:     var(--brand-dunkelblau);
  --c-deep-gray: #4A637C;
  --c-muted:     #849FB8;
  --c-border:    #D3DDE6;

  /* Font sizes – Mobile-first (scaled up via media queries) */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   2rem;       /* 32px */
  --text-3xl:   2.5rem;     /* 40px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.5rem;     /* 56px */

  /* === SPACING === */
  --space-1:  0.25rem;  /* 4px */
  --space-2:  0.5rem;   /* 8px */
  --space-3:  0.75rem;  /* 12px */
  --space-4:  1rem;     /* 16px */
  --space-5:  1.25rem;  /* 20px */
  --space-6:  1.5rem;   /* 24px */
  --space-8:  2rem;     /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* === BORDER RADIUS === */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --radius-full:  9999px;

  /* === LAYOUT === */
  --content-max-width: 1200px;
  --navbar-height:     72px;

  /* === TRANSITIONS === */
  --transition-fast:   0.2s ease;
  --transition-base:   0.3s ease;
  --transition-slow:   0.5s ease;

  /* === SHADOWS === */
  --shadow-sm:  0 1px 2px rgba(28, 52, 77, 0.06);
  --shadow-md:  0 4px 12px rgba(28, 52, 77, 0.08);
  --shadow-lg:  0 8px 24px rgba(28, 52, 77, 0.12);

  /* === Z-INDEX === */
  --z-base:     1;
  --z-dropdown: 10;
  --z-sticky:   50;
  --z-navbar:   100;
  --z-overlay:  99;
  --z-modal:    200;
}

/* -----------------------------------------
   BASE STYLES
   ----------------------------------------- */

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
}

h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

a {
  color: var(--color-link);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

/* -----------------------------------------
   RESPONSIVE SCALING
   ----------------------------------------- */

@media (min-width: 768px) {
  :root {
    --navbar-height: 80px;
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}

@media (min-width: 1024px) {
  :root {
    --navbar-height: 88px;
  }

  h1 { font-size: var(--text-5xl); }
  h2 { font-size: var(--text-4xl); }
}


/* --- components.css --- */
/* ===========================================
   COMPONENTS.CSS – Kirda Solutions
   Design-Fusion: v1 Grid-Structure + v2 Branding
   =========================================== */

/* -------------------------------------
   12-COLUMN GRID SYSTEM (from v1)
   ------------------------------------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
}

/* -------------------------------------
   NAVBAR (v1 3-column grid layout)
   ------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: rgba(240, 243, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  z-index: 102;
  display: grid;
  grid-template-columns: 10% 1fr;
  align-items: center;
  transition: background-color 0.3s linear, border-color 0.3s linear;
}

.navbar__logo-col {
  grid-column: 1 / -1;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
}

.navbar__logo-img {
  width: 200px;
  height: auto;
  display: block;
  transition: filter 0.3s linear;
}

.navbar__empty-col {
  display: none;
}

.navbar__burger-col {
  padding-right: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Navbar overlay-open state */
.navbar.is-overlay-open {
  background-color: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navbar.is-overlay-open .navbar__empty-col {
  border-left-color: transparent !important;
  border-right-color: transparent !important;
}

.navbar.is-overlay-open .navbar__logo-img {
  filter: brightness(0) invert(1);
}

.navbar.is-overlay-open .burger__line {
  background-color: var(--brand-weissgrau);
}

/* Navbar scroll state */
.navbar.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* -------------------------------------
   BURGER BUTTON (v1 2-line style)
   ------------------------------------- */
.burger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 102;
}

.burger__line {
  display: block;
  width: 32px;
  height: 3px;
  background-color: var(--c-black);
  transition: transform 0.3s linear, opacity 0.3s linear, background-color 0.3s linear;
}

.burger.is-active .burger__line:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg) translateX(6px);
}

.burger.is-active .burger__line:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg) translateX(6px);
}

.burger.is-active:hover .burger__line {
  background-color: var(--brand-pfirsich) !important;
}

/* -------------------------------------
   MAIN LAYOUT GRID
   ------------------------------------- */
.site-main {
  display: grid;
  grid-template-columns: 10% 1fr;
  width: 100%;
  position: sticky;
  top: calc(65vh - var(--main-height, 4000px));
  z-index: 1;
}

.section {
  grid-column: 2 / -1;
  border-bottom: 1px solid var(--c-border);
  min-width: 0; /* Stoppt CSS Grid Blowouts für alle Sektionen */
}

.sidebar-col {
  grid-column: 1 / 2;
  border-right: 1px solid var(--c-border);
  padding: 1rem 1rem;
  position: relative;
}

.content-col {
  /* content column styling */
}

.sidebar-col {
  grid-column: 1 / 2;
  border-right: 1px solid var(--c-border);
  padding: 1rem 1rem;
  position: relative;
}

.content-col {
  grid-column: 2 / -1;
  min-width: 0; /* Verhindert Grid Blowout durch breite Child-Elemente */
}

/* Sticky sidebar labels (v1 signature element) – base reset */

/* Black square icon (v1 decorative element) */
.black-square {
  width: 16px;
  height: 16px;
  background-color: var(--c-black);
  border-radius: var(--radius-sm);
}

/* -------------------------------------
   LABELS (v2 style with v1 typography)
   ------------------------------------- */
.label, .nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-muted);
}

.nav-label {
  color: var(--c-black);
}

.label--accent {
  color: var(--brand-petrol);
}

.label--preserve-case {
  text-transform: none;
  letter-spacing: 0.05em;
}

.label--light {
  color: rgba(240, 243, 245, 0.6);
}

/* Mono-Index (v1 numbering system) */
.mono-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--c-muted);
}

/* -------------------------------------
   TYPOGRAPHY – HEADLINES (v1 massive scale)
   ------------------------------------- */
.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--c-black);
}

.hero-headline .accent {
  color: var(--brand-petrol);
}

.section-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 6vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--c-black);
}

.body-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-deep-gray);
}

/* -------------------------------------
   STANDARD SECTION HEADER LAYOUT
   (As requested: adopted from Start page for global use)
   ------------------------------------- */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 100px;
  }
  
  .section-header__left {
    flex: 0 1 auto;
    max-width: 55%;
  }
  
  .section-header__right {
    flex: 0 0 40%;
    max-width: 40%;
    padding-top: 1rem;
  }
}

.section-header__subtext {
  font-family: var(--font-body);
  font-size: 1.375rem; /* 22px */
  line-height: 1.7;
  color: var(--c-deep-gray);
  margin: 0;
}

/* -------------------------------------
   GRID UTILITIES
   ------------------------------------- */
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* -------------------------------------
   CARD WITH PATTERN BACKGROUND
   ------------------------------------- */
.card-with-pattern {
  position: relative;
  background-color: #D6E7B0;
  border-radius: 1rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow: hidden;
  z-index: 1;
}

.card-with-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/mm/Hintergrund-marken-muster-kontur-neu.webp') no-repeat center center;
  background-size: cover;
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}

/* -------------------------------------
   CUSTOM UNORDERED LISTS (Arrow & Check)
   ------------------------------------- */
ul.ul-arrow, ul.ul-check {
  list-style: none;
  padding-left: 0;
}

ul.ul-arrow li, ul.ul-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

ul.ul-arrow li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-dunkelgruen);
}

ul.ul-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-dunkelgruen);
}

/* -------------------------------------
   HORIZONTAL STICKY TIMELINE (SCROLLYTELLING)
   ------------------------------------- */

.coaching-scrolly-section {
  height: 300vh; /* Sorgt für vertikalen Scroll-Spielraum */
}

.coaching-sticky-viewport {
  position: sticky;
  top: 10vh;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.timeline-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 2rem;
  padding-top: 1rem;
  scroll-snap-type: x mandatory;
  width: 100%;
  max-width: 100%;
}

.timeline-scroll-container::after {
  content: "";
  flex: 0 0 50vw; /* Spacer am Ende für volles Durchscrollen */
}

.timeline-scroll-container::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroll-container::-webkit-scrollbar-track {
  background: transparent; 
}
.timeline-scroll-container::-webkit-scrollbar-thumb {
  background: var(--c-border); 
  border-radius: 4px;
}

.timeline-card {
  flex: 0 0 80vw;
  max-width: 500px;
  position: sticky;
  left: calc(var(--card-index) * 80px);
  background: var(--brand-white);
  border: 1px solid var(--c-border);
  border-radius: 1.5rem;
  padding: 2.5rem 2.5rem 2.5rem 90px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  scroll-snap-align: start;
}

.timeline-badge {
  position: absolute;
  left: 20px;
  top: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brand-hellgruen);
  color: var(--brand-dunkelblau);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
}

.timeline-step {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--brand-petrol);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-title {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-dunkelblau);
  margin: 0 0 1rem 0;
}

.timeline-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--brand-dunkelgruen);
  line-height: 1.5;
  margin: 0;
}

/* TABLET & MOBILE - Vertikales Layout */
@media (max-width: 992px) {
  .coaching-scrolly-section {
    height: auto; /* Kein künstlicher Scroll-Raum mehr */
  }
  
  .coaching-sticky-viewport {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    overflow: visible;
  }
  
  .timeline-scroll-container {
    flex-direction: column;
    overflow-x: visible;
    gap: 0;
    padding-bottom: 0;
  }
  
  .timeline-scroll-container::after {
    display: none; /* Spacer entfernen */
  }

  .timeline-card {
    flex: auto;
    max-width: 100%;
    width: 100%;
    /* Horizontal Sticky auflösen, normales Scrollen auf Mobile */
    left: auto !important;
    position: relative;
    top: auto; 
    margin-bottom: 2rem; 
    padding: 2rem 1.5rem 2rem 70px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Normaler Schatten */
  }
  
  /* Letzte Karte braucht keinen extremen margin-bottom */
  .timeline-card:last-child {
    margin-bottom: 0;
  }

  .timeline-badge {
    left: 15px;
    top: 30px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-title {
    font-size: 2rem;
  }
}

/* -------------------------------------
   BUTTONS (v2 Kirda branding with border-radius)
   ------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid currentColor;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: var(--brand-petrol);
}

.btn--primary:hover {
  color: var(--brand-dunkelgruen);
}

.btn--secondary {
  color: var(--c-black);
}

.btn--secondary:hover {
  color: var(--c-deep-gray);
}

.btn--light {
  color: var(--brand-weissgrau);
}

.btn--light:hover {
  color: #fff;
}

.btn--dark {
  color: var(--brand-dunkelblau);
}

.btn--dark:hover {
  color: var(--brand-petrol);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Text links */
.text-link {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  font-family: var(--font-body);
  color: var(--c-black);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s linear;
}

.text-link:hover {
  color: var(--brand-petrol);
}

/* -------------------------------------
   FEATURE CELLS (v1 grid + v2 color accents)
   ------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-grow: 1;
}

.feature-cell {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--c-border);
  transition: background-color 0.3s linear;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.feature-cell:last-child {
  border-right: none;
}

.feature-cell:hover {
  background-color: rgba(26, 120, 110, 0.04);
}

.feature-cell__kicker {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-cell__kicker .mono-index {
  font-size: 0.85rem;
}

.feature-cell__accent-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.feature-cell__accent-dot--petrol { background-color: var(--brand-petrol); }
.feature-cell__accent-dot--pfirsich { background-color: var(--brand-pfirsich); }
.feature-cell__accent-dot--hellgruen { background-color: var(--brand-hellgruen); }

.feature-cell h3 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.feature-cell p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-deep-gray);
}

.feature-cell__link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-petrol);
  margin-top: auto;
  transition: color 0.3s linear;
}

.feature-cell:hover .feature-cell__link {
  color: var(--brand-dunkelgruen);
}

/* ===========================================
   HERO SERVICE CARDS (SCROLL ANIMATED)
   =========================================== */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: var(--content-max-width, 1200px);
}

@media (max-width: 1024px) {
  .hero-cards {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
}

.hero-card {
  display: flex;
  flex-direction: column;
  background-color: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity 0.8s ease;
  opacity: 0;
  transform: translateY(30px);
}

.hero-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hero-card.is-visible:hover {
  transform: translateY(-5px);
}

.hero-card__identifier {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: lowercase;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hero-card__kicker {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--c-deep-gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-deep-gray);
  margin-bottom: 2rem;
}

.hero-card__link {
  display: inline-block;
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  transition: color var(--transition-fast);
}

.hero-card:hover .hero-card__link {
  color: var(--brand-petrol) !important;
}

/* -------------------------------------
   LIST ITEMS (v1 comparison list style)
   ------------------------------------- */
.list-section {
  display: flex;
  flex-direction: column;
}

.list-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-height: 120px;
  border-bottom: 1px solid var(--c-border);
  padding: 2rem;
  transition: background-color 0.3s linear;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background-color: rgba(26, 120, 110, 0.03);
}

.list-item .mono-index {
  width: 80px;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.list-item__content {
  flex: 1;
}

.list-item__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  transition: color 0.3s linear;
  margin-bottom: 0.5rem;
}

.list-item:hover .list-item__title {
  color: var(--brand-petrol);
}

.list-item__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-deep-gray);
  max-width: 640px;
}

/* -------------------------------------
   CTA BAND (v2 dark section + v1 access style)
   ------------------------------------- */
.cta-section {
  background-color: var(--brand-dunkelblau);
  color: var(--brand-weissgrau);
  min-height: 50vh;
  position: relative;
  overflow: hidden;
}

.cta-section .sidebar-col {
  border-right-color: rgba(240, 243, 245, 0.1);
}

.cta-section .content-col {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.cta-section .section-headline {
  color: var(--brand-weissgrau);
}

.cta-section .body-text {
  color: rgba(240, 243, 245, 0.7);
}

.cta__bg-pattern {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40vw;
  height: 40vh;
  background-image: url('../assets/images/stil-element-weisse-kontur-unten-rechts.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.08;
  pointer-events: none;
}

.cta__actions {
  margin-top: 3rem;
}

/* -------------------------------------
   NAV OVERLAY (v1 layout + v2 branding)
   ------------------------------------- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--brand-dunkelblau);
  z-index: 101;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s linear;
}

.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* K-Kontur background element (v1 signature) */
.nav-overlay__bg-element {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50vw;
  height: 50vh;
  background-image: url('../assets/images/stil-element-weisse-kontur-unten-rechts.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.nav-overlay__inner {
  position: relative;
  z-index: 1;
  padding-top: 25vh;
  width: 100%;
  height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.nav-overlay__primary {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-overlay__secondary {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  align-self: end;
  padding-bottom: 4rem;
  gap: 2rem;
}

/* Overlay links (v1 massive style) */
.nav-overlay__link {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 700;
  color: var(--brand-weissgrau);
  text-transform: lowercase;
  text-decoration: none;
  letter-spacing: -0.03em;
  transition: color 0.3s linear;
  position: relative;
  display: inline-block;
  width: fit-content;
}

/* Petrol square indicator on hover (v1 signature) */
.nav-overlay__link::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--brand-pfirsich);
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay__link:hover {
  color: var(--brand-pfirsich);
}

.nav-overlay__link:hover::before {
  opacity: 1;
}

/* Sublinks (v1 mono style) */
.nav-overlay__sublinks {
  display: flex;
  flex-direction: column;
  padding-left: 2rem;
  gap: 15px;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.nav-overlay__sublink {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.3s linear;
}

.nav-overlay__sublink:hover {
  color: var(--brand-pfirsich);
}

/* Meta groups in overlay */
.nav-overlay__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.nav-overlay__meta a {
  color: var(--brand-weissgrau);
  text-decoration: none;
  transition: color 0.3s linear;
}

.nav-overlay__meta a:hover {
  color: var(--brand-pfirsich);
}

.nav-overlay__meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.2em;
  color: rgba(240, 243, 245, 0.5);
  margin-bottom: 0.25rem;
}

/* -------------------------------------
   FOOTER (v2 – did not exist in v1)
   ------------------------------------- */
.footer {
  grid-column: 1 / -1;
  background-color: var(--brand-dunkelblau);
  color: var(--brand-weissgrau);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
  z-index: 100; /* Ensure footer overlays content */
}

.footer__bg-element {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35vw;
  height: 50%;
  background-image: url('../assets/images/stil-element-weisse-kontur-unten-rechts.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.06;
  pointer-events: none;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(240, 243, 245, 0.1);
}

.footer__logo {
  width: 160px;
  height: auto;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(240, 243, 245, 0.6);
  max-width: 280px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(240, 243, 245, 0.5);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__link {
  color: rgba(240, 243, 245, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s linear;
}

.footer__link:hover {
  color: var(--brand-pfirsich);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(240, 243, 245, 0.4);
}

/* Utility: No scroll when overlay is open */
body.no-scroll {
  overflow: hidden;
}

/* -------------------------------------
   SCROLL TO TOP BUTTON
   ------------------------------------- */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: var(--brand-petrol);
  color: var(--brand-weissgrau);
  border: none;
  border-radius: var(--radius-8, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--brand-dunkelblau);
  color: var(--brand-weissgrau);
}

/* -------------------------------------
   RESPONSIVE: TABLET (max 1024px)
   ------------------------------------- */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-cell {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .nav-overlay__inner {
    grid-template-columns: 1fr;
    padding-top: 15vh;
  }

  .footer {
    display: block !important;
  }

  .footer__inner {
    padding-top: 40px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .footer__links {
    flex-direction: row !important;
    flex-wrap: wrap;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
  }


  .nav-overlay__primary {
    grid-column: 1 / -1;
  }

  .nav-overlay__secondary {
    grid-column: 1 / -1;
    padding-bottom: 2rem;
  }
}

/* -------------------------------------
   RESPONSIVE: MOBILE (max 768px)
   ------------------------------------- */
@media (max-width: 768px) {
  .section {
    /* no margin-left on mobile */
  }

  .footer {
    /* no margin-left on mobile */
  }

  .site-main {
    display: flex;
    flex-direction: column;
    position: relative;
    top: auto; /* Deaktiviert Parallax-Footer auf Mobile */
  }

  .sidebar-col {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 1.5rem;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 12px 1rem;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .navbar__empty-col {
    display: none;
  }

  .navbar__logo-col {
    padding-left: 0;
    width: 100%;
  }

  .navbar__burger-col {
    padding-right: 0;
  }

  .navbar__logo-img {
    width: 140px;
  }

  .sticky-label {
    position: relative;
    top: 0;
  }

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

  .section-headline {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .list-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .list-item .mono-index {
    width: auto;
  }

  .nav-overlay__link {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .nav-overlay__sublinks {
    padding-left: 1rem;
    gap: 12px;
  }

  .nav-overlay__sublink {
    font-size: 16px;
  }

  .nav-overlay__secondary {
    flex-direction: column;
    gap: 1.5rem;
  }


  .footer__bg-element {
    width: 100%;
    height: 100%;
    background-size: 70%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Ausrichtung Footer Inhalte */
  .footer__brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__grid > div:not(.footer__brand) {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__cta {
    text-align: center;
  }

  .footer__cta > div {
    justify-content: center !important;
  }

  .footer__grid .footer__links {
    width: 100%;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .footer__grid .footer__link {
    display: flex;
    align-items: center;
  }

  .footer__grid .footer__link:not(:last-child)::after {
    content: "·";
    margin-left: 0.75rem;
    color: rgba(240, 243, 245, 0.4);
    font-size: 1.2rem;
  }

  .footer__bottom {
    flex-direction: column-reverse;
    gap: var(--space-4);
    text-align: center;
  }

  /* Alle CTAs / Buttons auf Mobile zentrieren */
  .btn {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    width: max-content !important;
  }
  
  .cta__actions {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .navbar__logo-col {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* --- pages.css --- */
/* ===========================================
   PAGES.CSS – Kirda Solutions
   Page-specific layouts for the fused design.
   =========================================== */

/* -------------------------------------
   SECTIONS – Full viewport height
   ------------------------------------- */
.section {
  padding-bottom: 2rem; /* Add spacing at the bottom of the section */
}

/* -------------------------------------
   SIDEBAR LABELS – Sticky behavior
   Each sidebar label sticks at the top
   when its section is in view.
   ------------------------------------- */
.sticky-label {
  position: sticky;
  top: 80px; /* matches navbar height */
  display: block;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* -------------------------------------
   HERO – Image contained in content-col
   ------------------------------------- */
.hero {
  margin-top: 0;
  padding: 0;
  border-bottom: 1px solid var(--c-border);
}

.hero {
  min-height: 100vh;
}

/* Hero sidebar: same as other sections */
.hero-sidebar {
  display: flex;
  align-items: flex-start;
  padding-top: 100px;
}

/* Hero image area: content-col with relative positioning */
.hero__image-area {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
}

/* Background image – covers the content-col area only */
.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
}

/* Gradient overlay: left-side white fade for text readability */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.85) 25%,
    rgba(255, 255, 255, 0.50) 50%,
    rgba(255, 255, 255, 0.10) 70%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Texture/Pattern overlay: Kirda brand structure overlapping the image */
.hero__struktur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/home/kirda_struktur.png');
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: bottom right;
  z-index: 1; /* Behind cards (z: 20) and text (z: 2) */
  pointer-events: none;
  opacity: 0.8;
}

@media (min-resolution: 2dppx) {
  .hero__struktur-overlay {
    background-image: url('../assets/images/home/kirda_struktur@2x.png');
  }
}

/* Content positioned bottom-left within the content-col */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 40vw;
  padding: 8rem 2rem 6rem 2rem;
}

/* Hero headline */
.hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-black);
  margin-bottom: 1.5rem;
}

.hero__headline .accent {
  color: var(--brand-petrol);
}

.hero__subtext {
  font-size: 1.375rem; /* 22px */
  line-height: 1.7;
  color: var(--c-deep-gray);
  margin-bottom: 2rem;
  max-width: 100%;
}

.hero__subtext-highlight {
  font-family: var(--font-headline);
  font-weight: 800;
  text-transform: lowercase;
}

.hero__cta-cluster {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Scroll-down chevron at bottom-center of content area */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--c-muted);
  transition: color 0.3s ease, transform 0.3s ease;
  animation: hero-bounce 2s ease-in-out infinite;
}

.hero__scroll-hint:hover {
  color: var(--brand-petrol);
}

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

/* -------------------------------------
   SECTION CONTENT PADDING
   ------------------------------------- */
.section-content-padded {
  padding: 8rem 2rem;
}

.section-body {
  margin-top: 2rem;
  max-width: 680px;
}

/* -------------------------------------
   CTA SECTION CONTENT
   ------------------------------------- */
.cta-section__content {
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50vh;
}

/* -------------------------------------
   RESPONSIVE: TABLET (max 1024px)
   ------------------------------------- */
@media (max-width: 1024px) {
  .hero__content {
    max-width: 500px;
  }

  .hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .hero__subtext br {
    display: none;
  }

  .hero__cta-cluster {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* -------------------------------------
   RESPONSIVE: MOBILE (max 768px)
   ------------------------------------- */
@media (max-width: 768px) {
  .section {
    min-height: auto;
  }

  .hero .section-inner {
    min-height: 100svh;
  }

  .hero__image-area {
    min-height: 100svh;
  }

  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 40%,
      rgba(255, 255, 255, 0.3) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .hero__content {
    padding: 0 1.5rem 5vh 1.5rem;
    max-width: 100%;
  }

  .hero__headline {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero__subtext {
    font-size: 1rem;
  }

  .hero__subtext br {
    display: none;
  }

  .section-content-padded {
    padding: 2rem 1.5rem;
  }

  .cta-section__content {
    padding: 2rem 1.5rem;
    min-height: 40vh;
  }
}

/* ===========================================
   PROCESS SECTION (WIE WIR ARBEITEN)
   =========================================== */
.process-section {
  background-color: var(--color-bg-primary);
}

.process-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .process-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 100px;
  }
  
  .process-header__left {
    flex: 0 1 auto;
    max-width: 50%;
  }
  
  .process-header__right {
    flex: 0 0 40%;
    max-width: 40%;
    padding-top: 1rem; /* Align slightly with the headline */
  }
}

.process-header__subtext {
  font-size: 1.375rem; /* 22px */
  line-height: 1.7;
  color: var(--c-deep-gray);
}

.process-header__headline {
  color: var(--brand-dunkelgruen);
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

@media (min-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }
}

@media (min-width: 600px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.process-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step__number-row {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1; /* Keep above the continuous grid line */
}

.process-step__number {
  font-family: var(--font-headline);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-right: 1.5rem;
  background-color: var(--color-bg-primary); /* Masks the continuous line */
  padding-right: 0.5rem;
}

/* Colors for the numbers as per design */
.process-step:nth-child(1) .process-step__number { color: var(--brand-petrol); }
.process-step:nth-child(2) .process-step__number { color: var(--brand-hellgruen); }
.process-step:nth-child(3) .process-step__number { color: var(--brand-dunkelblau); }
.process-step:nth-child(4) .process-step__number { color: var(--brand-pfirsich); }

.process-step__line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--c-border);
  position: relative;
}

.process-step__line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

/* Dots get the same color as the numbers */
.process-step:nth-child(1) .process-step__line::after { background-color: var(--brand-petrol); }
.process-step:nth-child(2) .process-step__line::after { background-color: var(--brand-hellgruen); }
.process-step:nth-child(3) .process-step__line::after { background-color: var(--brand-dunkelblau); }
.process-step:nth-child(4) .process-step__line::after { background-color: var(--brand-pfirsich); }

.process-step__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-dunkelgruen);
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.process-step__text {
  color: var(--c-deep-gray);
  line-height: 1.6;
}

/* ===========================================
   TEAM SECTION (WER WIR SIND)
   =========================================== */
.team-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.team-layout__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl, 16px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.team-layout__image img.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .team-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 5%;
  }
  
  .team-layout__image {
    flex: 0 0 40%;
    max-width: 40%;
  }
  
  .team-layout__content {
    flex: 0 0 55%;
    max-width: 55%;
  }

/* ===========================================
   KONTAKT SECTION (Formular)
   =========================================== */
.contact-section {
  background-color: var(--brand-dunkelblau);
  color: var(--brand-weissgrau);
  position: relative;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.contact-headline {
  color: var(--brand-weissgrau);
  margin-bottom: 2rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-size: var(--text-sm);
  color: rgba(240, 243, 245, 0.8);
}

.contact-info a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info a:hover {
  color: var(--brand-hellgruen);
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form__input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md, 8px);
  border: none;
  background-color: #f8f9fa; /* slightly offwhite or white */
  color: var(--c-black);
  font-family: var(--font-body);
  font-size: var(--text-base);
}

.contact-form__input::placeholder {
  color: var(--c-muted);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234A637C%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 1.25rem top 50%;
  background-size: 0.65rem auto;
}

.contact-form__footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: flex-start;
}

.contact-form__submit {
  background: transparent;
  color: var(--brand-weissgrau);
  border: 1px solid var(--brand-weissgrau);
  padding: 0.75rem 2.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.contact-form__submit:hover {
  background: var(--brand-weissgrau);
  color: var(--brand-dunkelblau);
}

.contact-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(240, 243, 245, 0.7);
  line-height: 1.4;
  cursor: pointer;
}

.contact-form__privacy input {
  margin-top: 0.2rem;
  cursor: pointer;
}

.contact-form__privacy a {
  color: var(--brand-hellgruen);
  text-decoration: underline;
}

.contact-layout__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl, 16px);
  object-fit: cover;
}

@media (min-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-form__row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .contact-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
  }
  
  .contact-layout__form-area {
    flex: 0 0 55%;
    max-width: 55%;
  }
  
  .contact-layout__image-area {
    flex: 0 0 35%;
    max-width: 35%;
  }
  
  .contact-form__footer {
    flex-direction: row;
    align-items: center;
  }
  
  .contact-form__privacy {
    max-width: 400px;
  }
  
  /* Make the image taller to match screenshot aspect ratio */
  .contact-layout__image {
    aspect-ratio: 3 / 4;
    border-radius: 40px; /* larger radius as per screenshot */
  }
}

/* ===========================================
   TEAM CARDS GRID (Kontaktseite)
   =========================================== */
.team-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0;
}

@media (min-width: 768px) {
  .team-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  background-color: var(--brand-dunkelblau); /* Panel background */
  overflow: hidden;
  align-self: start;
}

.team-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.team-card__header {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-card__toggle {
  width: 50px;
  height: 50px;
  background-color: var(--brand-pfirsich);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: transform 0.3s ease;
}

.team-card__toggle--static {
  cursor: default;
}

.team-card__arrow {
  transition: transform 0.3s ease;
}

.team-card.is-open .team-card__arrow {
  transform: rotate(90deg);
}

.team-card__name {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

.team-card__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.team-card.is-open .team-card__content {
  grid-template-rows: 1fr;
}

.team-card__details {
  overflow: hidden;
  padding: 0 1.5rem; 
  color: var(--brand-weissgrau);
  font-size: var(--text-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: padding 0.3s ease;
}

.team-card.is-open .team-card__details {
  padding: 1.5rem;
}

.team-card__details a {
  color: var(--brand-hellgruen);
  text-decoration: none;
}}

/* =========================================
   LEGAL PAGES (Impressum & Datenschutz)
   ========================================= */
.legal-text {
  color: var(--brand-dunkelblau);
  font-size: 1.125rem;
}
.legal-text h2 {
  font-size: 1.75rem;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--brand-dunkelblau);
  font-weight: 600;
}
.legal-text h3 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--brand-dunkelblau);
  font-weight: 500;
}
.legal-text h4 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--brand-dunkelblau);
  font-weight: 500;
}
.legal-text p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.legal-text a {
  color: var(--brand-dunkelblau);
  text-decoration: underline;
  transition: color 0.3s ease;
}
.legal-text a:hover {
  color: var(--brand-gruen);
}
.legal-text ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.legal-text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}


