/* ═══════════════════════════════════════════════════════════════
   SOLARBIBER — DESIGN SYSTEM  (SolShine-inspired)
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  /* Colors */
  --accent:       #F5A623;
  --accent-hover: #D6421A;
  --accent-gradient: linear-gradient(135deg, #E8533E 0%, #F0883A 50%, #F5A623 100%);
  --dark:         #0a0a0a;
  --dark-card:    #141414;
  --dark-border:  #2a2a2a;
  --light-bg:     #f5f5f0;
  --white:        #ffffff;
  --text-dark:    #111111;
  --text-light:   #ffffff;
  --text-muted:   #777777;
  --text-muted-dark: #999999;
  --border-light: #e0e0e0;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad:     120px 0;
  --container-width: 1200px;
  --container-pad:   0 40px;
  --gap-sm:    8px;
  --gap-md:    16px;
  --gap-lg:    24px;
  --gap-xl:    40px;
  --gap-2xl:   64px;

  /* Radii — EDGY */
  --radius-card:   8px;
  --radius-pill:   4px;
  --radius-sm:     4px;
  --radius-md:     6px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.1);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  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.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(36px, 4.5vw, 56px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
h4 { font-size: clamp(20px, 2.5vw, 24px); }

p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.text-accent { 
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.text-light  { color: var(--text-light); }
.text-muted  { color: var(--text-muted); }

/* ── Section Label (⚡ UPPERCASE) ───────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* section-label — no icon prefix */

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-pad);
}

.container--wide {
  max-width: 1400px;
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: var(--section-pad);
}

.section--dark {
  background: var(--dark);
  color: var(--text-light);
}

.section--dark p { color: var(--text-muted-dark); }

.section--lime {
  background: var(--light-bg);
  color: var(--text-dark);
}

.section--lime p { color: var(--text-muted); }

.section--light {
  background: var(--light-bg);
}

.section--white {
  background: var(--white);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  transition: var(--transition);
  line-height: 1;
}

/* Primary: orange gradient bg, white text/arrow */
.btn--primary {
  background: var(--accent-gradient);
  color: var(--text-light);
}
.btn--primary .btn-arrow {
  color: var(--text-light);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 83, 62, 0.35);
}

/* Accent: lime bg, black text/arrow */
.btn--accent {
  background: var(--accent-gradient);
  color: var(--text-light);
}
.btn--accent .btn-arrow {
  color: var(--text-light);
}
.btn--accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 83, 62, 0.35);
}

/* Outline: transparent, border */
.btn--outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Ghost on light bg */
.btn--ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-light);
}
.btn--ghost .btn-arrow {
  color: var(--text-dark);
}
.btn--ghost:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav.scrolled .nav__logo-text,
.nav.scrolled .nav__links a { color: var(--text-dark); }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.nav__logo img {
  height: 52px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-light);
  transition: var(--transition);
}

.nav__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px;
  border: none;
  transition: var(--transition);
}

.nav.scrolled .nav__center {
  border-color: transparent;
}

.nav__links {
  display: flex;
  gap: 4px;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 0;
  transition: var(--transition);
  position: relative;
  background: transparent;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__links a:hover,
.nav__links a.active {
  background: transparent;
}

.nav.scrolled .nav__links a:hover,
.nav.scrolled .nav__links a.active {
  background: transparent;
}

.nav.scrolled .nav__links a::after {
  background: var(--accent);
}

.nav__cta .btn {
  font-size: 14px;
  padding: 10px 20px;
}

.nav__cta .btn .btn-arrow {
  font-size: 18px;
}

/* Mobile Menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

.nav.scrolled .nav__hamburger span {
  background: var(--text-dark);
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-menu a {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-light);
}

.nav__mobile-menu a:hover {
  color: var(--accent);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 40px 120px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 25% 50%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 70%),
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.6) 0%,
      rgba(0,0,0,0.3) 30%,
      rgba(0,0,0,0.55) 70%,
      rgba(0,0,0,0.95) 100%
    );
  z-index: 1;
}

@keyframes heroDropIn {
  from {
    opacity: 0;
    transform: translateY(-32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.hero__text {
  max-width: 760px;
}

/* Eyebrow pill — sets context, brand, location */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 32px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: heroDropIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__eyebrow i {
  color: var(--accent);
  font-size: 14px;
}

.hero__eyebrow--plain {
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Headline */
.hero__text h1 {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  animation: heroDropIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

/* Subtitle — replaces inline-styled paragraph */
.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  animation: heroDropIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* CTA row — primary + outline */
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  animation: heroDropIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* Inline value commitments below CTAs */
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  animation: heroDropIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.hero__features li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
}

.hero__features i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.18);
  color: var(--accent);
  font-size: 11px;
}

/* Scroll cue — anchors the bottom of the hero */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
  animation: heroDropIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

.hero__scroll:hover {
  color: var(--accent);
}

.hero__scroll-icon {
  font-size: 18px;
  line-height: 1;
  animation: scrollBob 2s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ── Cards (SolShine style) ─────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 40px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__icon i {
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  display: inline-block;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  font-size: 16px;
  transition: var(--transition);
}

.card:hover .card__arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-45deg);
}

/* Dark card */
.card--dark {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: var(--text-light);
}

.card--dark .card__title { color: var(--text-light); }
.card--dark .card__desc  { color: var(--text-muted-dark); }
.card--dark .card__arrow { border-color: var(--dark-border); color: var(--text-light); }

/* Image card (classic split checkout: top image, bottom content) */
.card--image {
  padding: 0; /* Remove padding so top-image hits edges */
}

.card--image img {
  position: relative;
  width: 100%;
  height: 260px; /* Fixed height for image half */
  object-fit: cover;
  object-position: center; /* Natural framing */
}

.card--image::after {
  display: none;
}

.card--image .card__content {
  position: relative;
  z-index: 2;
  padding: 32px; /* Restore padding for the inner text */
  margin: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  flex: 1; /* Allow to expand */
  display: flex;
  flex-direction: column;
}

.card--image .card__title {
  font-size: 24px;
}

/* ── Grid layouts ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-lg); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap-md); }
.grid-5 .card { padding: 28px; }

/* ── Stats ──────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  text-align: center;
  padding: 28px 24px;
  border-right: 1px solid var(--border-light);
}

.stat:last-child { border-right: none; }

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Marquee ────────────────────────────────────────────────── */
.marquee-container {
  overflow: hidden;
  padding: 32px 0;
}

.marquee-row {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-row--reverse {
  animation-direction: reverse;
}

.marquee-row span {
  font-family: var(--font-heading);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.marquee-row span::after {
  content: '✦';
  font-size: 10px;
  opacity: 0.5;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  position: relative;
  text-align: center;
  padding: 100px 40px;
}

.cta-section h2 { margin-bottom: 24px; }
.cta-section p  { max-width: 560px; margin: 0 auto 40px; font-size: 18px; }

.cta-section--photo {
  background-image: url('assets/referenz_project_1.jpg');
  background-size: cover;
  background-position: center;
}

.cta-section--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  z-index: 1;
}

.cta-section--photo > .reveal {
  position: relative;
  z-index: 2;
}

.section--dark-photo {
  position: relative;
  background-image: url('assets/referenz_project_2.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-muted-dark);
}

.section--dark-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  z-index: 1;
}

.section--dark-photo > * {
  position: relative;
  z-index: 2;
}

/* ── About / Profile ────────────────────────────────────────── */
.profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-2xl);
  align-items: center;
}

.profile__image {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--light-bg);
}

.profile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__info h3 { margin-bottom: 8px; }
.profile__info .profile__role {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.profile__info p { margin-bottom: 16px; }

/* USP / values bullet list */
.profile__values {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--border-light);
}

.profile__values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dark);
  letter-spacing: 0.005em;
}

.profile__values li > span {
  flex: 1;
}

.profile__values li strong {
  font-weight: 600;
  color: var(--text-dark);
}

.profile__values i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.15);
  color: var(--accent);
  font-size: 11px;
}

/* ── Process Steps ──────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-lg);
  align-items: stretch;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Arrow connector between cards */
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  z-index: 5;
}

.process-step:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.process-step__icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__icon img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Accent celebration variant (Step 05) */
.process-step--accent {
  background: var(--accent-gradient);
  border-color: var(--accent);
  color: var(--text-light);
}

.process-step--accent .process-step__icon { color: var(--text-light); }
.process-step--accent .process-step__number { color: var(--text-light); }
.process-step--accent .process-step__title { color: var(--text-light); }
.process-step--accent .process-step__desc { color: rgba(255,255,255,0.85); }

.process-step--accent:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232, 83, 62, 0.35);
}

/* ── Case Study ─────────────────────────────────────────────── */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-2xl);
  align-items: center;
}

.case-study__image {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.case-study__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
  margin-top: 32px;
}

.case-study__stat {
  background: var(--light-bg);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  cursor: default;
}

.case-study__stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-color: #F0883A;
}

.case-study__stat-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-study__stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Map Section ────────────────────────────────────────────── */
.map-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-card);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--text-muted-dark);
  padding: 80px 40px 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap-xl);
  margin-bottom: 60px;
}

.footer__brand p {
  color: var(--text-muted-dark);
  font-size: 14px;
  margin-top: 16px;
  max-width: 300px;
}

.footer__col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted-dark);
  padding: 6px 0;
}

.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
  font-size: 13px;
  color: var(--text-muted-dark);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted-dark);
  transition: var(--transition);
}

.footer__social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Scroll Animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Contact Form ───────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 146, 46, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 4px 0;
}

.form-group .checkbox-group .checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  user-select: none;
  margin: 0;
}

.form-group .checkbox-group .checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
  padding: 0;
  margin: 0;
}

.form-group .checkbox-group .checkbox input[type="checkbox"]:hover {
  border-color: var(--accent);
}

.form-group .checkbox-group .checkbox input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.form-group .checkbox-group .checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-group .checkbox-group .checkbox input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 146, 46, 0.2);
}

/* ── Subpage Header ─────────────────────────────────────────── */
.page-header {
  position: relative;
  padding: 160px 40px 80px;
  background-image: url('assets/referenz_project_1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  z-index: 1;
}

.page-header > * {
  position: relative;
  z-index: 2;
}

.page-header p {
  color: var(--text-muted-dark);
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 18px;
}

/* ── Legal Pages ────────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
}

.legal-content h3 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  margin-bottom: 16px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px 0;
    --container-pad: 0 20px;
  }

  .nav { padding: 12px 20px; }
  .nav__center { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero {
    padding: 120px 20px 90px;
    min-height: 88vh;
  }

  .hero__eyebrow {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 24px;
  }

  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hero__actions {
    margin-bottom: 32px;
  }

  .hero__features {
    gap: 10px 20px;
  }

  .hero__features li {
    font-size: 13px;
  }

  .hero__scroll {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border-light); }
  .stat:last-child { border-bottom: none; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }

  .profile { grid-template-columns: 1fr; }
  .profile__image { aspect-ratio: 1; max-width: 360px; }

  .case-study { grid-template-columns: 1fr; }
  .map-section { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .case-study__stats { grid-template-columns: 1fr; }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}


/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  transition: transform 0.35s ease;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
