/* ============================================
   GIPSER MEIER GMBH - Design System
   Farben: Schiefergrau + Kalkweiss + Moosgrün
   ============================================ */

:root {
  /* Primary - Schiefergrau */
  --primary: #3D4F5F;
  --primary-light: #506678;
  --primary-dark: #2A3742;

  /* Accent - Warmes Moosgrün */
  --accent: #5B7F6E;
  --accent-light: #7A9D8C;
  --accent-dark: #456356;

  /* Neutral - Kalkweiss Palette */
  --white: #FFFFFF;
  --off-white: #F5F2ED;
  --light-gray: #E8E4DE;
  --medium-gray: #A9A49D;
  --dark-gray: #6B665F;
  --text: #2D2A26;

  /* Success / Info */
  --success: #5B7F6E;
  --info: #5888A6;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-width: 1200px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(61, 79, 95, 0.06);
  --shadow-md: 0 4px 20px rgba(61, 79, 95, 0.1);
  --shadow-lg: 0 8px 40px rgba(61, 79, 95, 0.15);
  --shadow-xl: 0 16px 64px rgba(61, 79, 95, 0.2);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--dark-gray);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
}

.section--gray {
  background-color: var(--off-white);
}

.section--dark {
  background-color: var(--primary);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

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

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

.btn--primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn--small {
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  text-decoration: none;
}

.header__logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--primary);
  background-color: var(--off-white);
}

.header__cta {
  margin-left: 1rem;
}

.header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary);
}

.header__mobile-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    z-index: 999;
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav a {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .header__cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .header__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .header__mobile-toggle {
    display: block;
    z-index: 1001;
  }
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='800' height='800' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Crect x='0' y='0' width='30' height='30' fill='rgba(255,255,255,0.02)'/%3E%3Crect x='30' y='30' width='30' height='30' fill='rgba(255,255,255,0.02)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='800' height='800' fill='url(%23p)'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__text {
  color: var(--white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(91, 127, 110, 0.25);
  border: 1px solid rgba(91, 127, 110, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
}

.hero__title span {
  color: var(--accent-light);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.hero__visual {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(91, 127, 110, 0.15), rgba(91, 127, 110, 0.05));
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  gap: 1rem;
}

.hero__image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.3;
}

.hero__floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__floating-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.hero__floating-text {
  font-size: 0.85rem;
  color: var(--dark-gray);
}

.hero__floating-text strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

@media (max-width: 992px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero__subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__floating-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1rem;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .hero__stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}

/* ============================================
   SERVICES CARDS
   ============================================ */

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--off-white);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.service-card__link:hover {
  gap: 0.625rem;
  color: var(--accent-dark);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
}

.service-detail__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--off-white), var(--light-gray));
  color: var(--medium-gray);
  font-size: 0.85rem;
  gap: 0.75rem;
}

.service-detail__image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.service-detail__content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-detail__content p {
  margin-bottom: 1.5rem;
}

.service-detail__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-detail__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.service-detail__feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(91, 127, 110, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.service-detail__feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail--reverse {
    direction: ltr;
  }
}

/* ============================================
   ABOUT / TEAM
   ============================================ */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro__image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
}

.about-intro__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--off-white), var(--light-gray));
  color: var(--medium-gray);
  font-size: 0.85rem;
  gap: 0.75rem;
}

.about-intro__image-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card h4 {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REFERENCES / PROJECTS
   ============================================ */

.project-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

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

.project-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-gray);
}

.project-card__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--off-white), var(--light-gray));
  color: var(--medium-gray);
  font-size: 0.8rem;
  gap: 0.5rem;
}

.project-card__image-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

.project-card__content {
  padding: 1.5rem;
}

.project-card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.project-card__content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-card__content p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--light-gray);
  position: relative;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #D4A843;
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-card__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--medium-gray);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info__text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info__text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-info__text a {
  color: var(--accent);
  font-weight: 500;
}

.contact-info__text a:hover {
  color: var(--accent-dark);
}

.contact-form {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 127, 110, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

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

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 127, 110, 0.2), transparent);
  border-radius: 50%;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  position: relative;
}

.cta .btn {
  position: relative;
}

@media (max-width: 576px) {
  .cta {
    padding: 3rem 1.5rem;
  }
}

/* ============================================
   PROCESS / TIMELINE
   ============================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--light-gray);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: 100%;
  }

  .process-step {
    text-align: left;
    padding-left: 4.5rem;
  }

  .process-step__number {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 127, 110, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--medium-gray);
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer__inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--dark-gray);
}

/* ============================================
   MAP
   ============================================ */

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--light-gray);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer__logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}

.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a,
.footer__links span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ============================================
   PAGE HEADER (Subpages)
   ============================================ */

.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}

.page-header--gray::after {
  background: linear-gradient(to top, var(--off-white), transparent);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a:hover {
  color: var(--accent-light);
}

/* ============================================
   STAT CARDS (Used on various pages)
   ============================================ */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--light-gray);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--dark-gray);
}

@media (max-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TIMELINE (Referenzen, Geschichte)
   ============================================ */

.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-gray);
}

.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
  transform: translateX(-50%);
  left: calc(-3rem + 1px);
}

.timeline__year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline__item h4 {
  margin-bottom: 0.5rem;
}

.timeline__item p {
  font-size: 0.92rem;
}

/* ============================================
   CHECKLIST
   ============================================ */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.checklist__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(91, 127, 110, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.checklist__icon svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

/* ============================================
   MISCELLANEOUS
   ============================================ */

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   PARTNER LOGOS
   ============================================ */
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: var(--transition);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-gray);
}

.partner-logo:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

/* ============================================
   GALLERY GRID
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
