/* ============================================================
   WURZELWERK – style.css
   Mobile First | Dark System Design
   ============================================================ */

/* ------------------------------------------------------------
   1. FONTS (lokal, DSGVO-konform)
   Alle 5 Dateien vorhanden in assets/fonts/
   ------------------------------------------------------------ */

/* Space Grotesk 400 – vorhanden */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-v22-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-v22-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/space-grotesk-v22-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Inter 400 – vorhanden */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   2. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  --color-deep-black:    #0B0F14;
  --color-dark-graphite: #12181F;
  --color-green:         #3BA55D;
  --color-green-light:   #6EDC8C;
  --color-blue:          #4DA6FF;
  --color-off-white:     #EAEFF5;
  --color-muted:         #6B7280;
  --color-border:        rgba(255, 255, 255, 0.08);
  --color-card-bg:       rgba(255, 255, 255, 0.04);

  --font-headline: 'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  --shadow-card: 0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
  --glow-green:  0 0 20px rgba(59, 165, 93, 0.3), 0 0 40px rgba(59, 165, 93, 0.1);

  --transition: 0.2s ease;

  --container-max: 1200px;
  --container-pad: 1.25rem;   /* Mobile */
}

@media (min-width: 768px) {
  :root { --container-pad: 2rem; }
}
@media (min-width: 1024px) {
  :root { --container-pad: 3rem; }
}

/* ------------------------------------------------------------
   3. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-deep-black);
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ------------------------------------------------------------
   4. UTILITIES
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.text--green  { color: var(--color-green); }
.text--muted  { color: var(--color-muted); }
.text--blue   { color: var(--color-blue); }

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-green);
  color: #fff;
  border: 1px solid var(--color-green);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-green-light);
  border-color: var(--color-green-light);
  box-shadow: var(--glow-green);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-off-white);
  border: 1px solid var(--color-border);
}
.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--color-green);
  color: var(--color-green);
  transform: translateY(-1px);
}

.btn--sm  { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg  { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn--full { width: 100%; }

/* Loading state */
.btn__loading { display: none; }
.btn.is-loading .btn__text { display: none; }
.btn.is-loading .btn__loading { display: inline; }

/* ------------------------------------------------------------
   6. SECTION SHARED
   ------------------------------------------------------------ */
.section__label {
  font-family: var(--font-headline);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-off-white);
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 560px;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__header .section__subtitle {
  margin-inline: auto;
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Card grids */
.card-grid {
  display: grid;
  gap: 1.25rem;
}
.card-grid--3 { grid-template-columns: 1fr; }
.card-grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------
   7. NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background-color var(--transition), backdrop-filter var(--transition), padding var(--transition);
}

.nav.scrolled {
  background-color: rgba(11, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo img {
  height: 110px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9375rem;
  color: var(--color-muted);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--color-off-white); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__logo img { height: 110px; }
}

/* ------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--color-deep-black);
  padding-top: 5rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* Mobile: Description → Portrait → Buttons */
.hero__content { order: 1; }
.hero__image   { order: 2; }
.hero__actions { order: 3; }

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(2.25rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-off-white);
  margin-bottom: 1.25rem;
}

.hero__subheadline {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__portrait {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 0 40px rgba(59, 165, 93, 0.2));
}

@media (max-width: 767px) {
  .hero { padding-top: 9rem; }
  .hero__inner {
    padding-top: 4rem;
    gap: 0;
  }
  .hero__actions { margin-top: 2.5rem; }
}

@media (min-width: 768px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: 100svh;
    align-items: start;
    align-content: center;
  }
  /* Desktop: Content links oben, Buttons links unten, Portrait rechts über beide Rows */
  .hero__content { grid-column: 1; grid-row: 1; order: unset; align-self: unset; padding-bottom: 1.5rem; }
  .hero__image   { grid-column: 2; grid-row: 1 / 3; order: unset; align-self: center; }
  .hero__actions { grid-column: 1; grid-row: 2; order: unset; justify-content: flex-start; align-self: unset; }
  .hero__portrait { max-width: 440px; }
}

@media (min-width: 1024px) {
  .hero__portrait { max-width: 500px; }
}

@media (min-width: 1440px) {
  .hero__inner {
    grid-template-columns: 1fr 1.1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2rem 4rem;
    padding-block: 8rem;
    min-height: unset;
  }
  .hero__content { align-self: unset; padding-bottom: 1rem; }
  .hero__image   { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .hero__actions { align-self: unset; }
  .hero__portrait { max-width: 580px; }
}

/* ------------------------------------------------------------
   9. PRESS / BEKANNT AUS
   ------------------------------------------------------------ */
.press {
  background-color: #ffffff;
  padding: 2.5rem 0;
  border-top: none;
  border-bottom: 1px solid #e5e7eb;
}

.press__label {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-green);
  text-align: center;
  margin-bottom: 1.5rem;
}

.press__logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 1.25rem 1rem;
}

.press__item {
  width: auto;
}

/* 5. Logo (letztes) zentriert in der 3. Zeile des 2-Spalten-Grids */
.press__item:last-child {
  grid-column: 1 / -1;
}

.press__logo {
  height: 72px;
  width: auto;
  opacity: 1;
  filter: none;
  transition: opacity var(--transition);
}

.press__item:hover .press__logo {
  opacity: 0.85;
  filter: none;
}

@media (min-width: 768px) {
  .press__logos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    overflow-x: auto;
  }
  .press__item { flex-shrink: 0; }
  .press__logo { height: 72px; }
}

@media (min-width: 1024px) {
  .press__logos { overflow-x: visible; }
}

/* ------------------------------------------------------------
   10. PROBLEM → LÖSUNG
   ------------------------------------------------------------ */
.problem-solution {
  background-color: var(--color-dark-graphite);
  padding: 5rem 0;
}

/* ps-wrapper: Mobile Slider / Desktop Grid */
.ps-wrapper {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 0.75rem;
  margin-inline: calc(-1 * var(--container-pad));
  padding-inline: 1.5rem;
  scroll-padding-left: 1.5rem;
  padding-bottom: 1rem;
  align-items: stretch;
}
.ps-wrapper::-webkit-scrollbar { display: none; }

.ps-pair {
  flex: 0 0 85vw;
  max-width: 380px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-card { flex: 1; }

@media (min-width: 1024px) {
  .ps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 1.25rem;
    row-gap: 0;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
  .ps-pair {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    flex: unset;
    max-width: none;
    gap: 0;
  }
}

/* Problem-Card */
.problem-card {
  background: #86888c;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition);
}

/* Solution-Card – grünes Design */
.solution-card {
  background: var(--color-green);
  border: none;
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

/* Connector zwischen Problem- und Solution-Card */
.ps-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.875rem 0;
  gap: 0.25rem;
}

.ps-connector__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-green);
}

.ps-connector__arrow {
  color: var(--color-green);
}

.problem-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #000000;
  margin-bottom: 1rem;
}

.solution-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.problem-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-off-white);
}

.solution-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.problem-card__text {
  font-size: 0.9375rem;
  color: #000000;
  line-height: 1.6;
}

.solution-card__text {
  font-size: 0.9375rem;
  color: #111827;
  line-height: 1.6;
}

/* Aufklapp-Animation */
.ps-solution {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.65s ease, opacity 0.5s ease 0.15s;
}

.ps-solution.is-open {
  max-height: 500px;
  opacity: 1;
}

/* ------------------------------------------------------------
   11. SERVICES / LEISTUNGEN
   ------------------------------------------------------------ */
.services {
  background-color: var(--color-deep-black);
  padding: 5rem 0;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: rgba(59, 165, 93, 0.5);
  box-shadow: 0 4px 24px rgba(59, 165, 93, 0.12);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.service-card__icon--blue { color: var(--color-blue); }

.service-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.875rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service-card__list li {
  font-size: 0.9rem;
  color: #4b5563;
  padding-left: 1rem;
  position: relative;
}

.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-size: 0.75rem;
  top: 0.05em;
}

/* Service-Cards Slider (Mobile) */
.services .card-grid--4 {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.75rem;
  padding-bottom: 1rem;
  /* Negative margin to extend past container padding and show card edge */
  margin-inline: calc(-1 * var(--container-pad));
  padding-inline: var(--container-pad);
  padding-inline-start: 1.5rem;
  scroll-padding-left: 1.5rem;
}
.services .card-grid--4::-webkit-scrollbar { display: none; }
.services .service-card {
  flex: 0 0 82vw;
  max-width: 340px;
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  .services .card-grid--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }
  .services .service-card {
    flex: unset;
    max-width: none;
  }
}

/* ------------------------------------------------------------
   12. REFERENCES / REFERENZEN
   ------------------------------------------------------------ */
.references {
  background-color: #ffffff;
  padding: 5rem 0;
}

.references .section__label { color: var(--color-green); }
.references .section__title,
.references .section__subtitle { color: #111827; }

/* Stat-Badge – wie Solution-Cards */
.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-green);
  border: none;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.stat-badge__value {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.stat-badge__label {
  font-size: 0.9375rem;
  color: rgba(0,0,0,0.65);
}

/* Reference Cards – schwarze Container */
.reference-card {
  background: #000000;
  border: 1px solid #1f2937;
  border-top: 2px solid var(--color-green);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.reference-card:hover {
  border-color: rgba(59,165,93,0.7);
  box-shadow: 0 4px 24px rgba(59,165,93,0.15);
  transform: translateY(-2px);
}

.reference-card--soon {
  opacity: 0.65;
}

.reference-card__category {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reference-card__title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0.25rem;
}

.reference-card__results {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.reference-card__results li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  padding-left: 1rem;
  position: relative;
}

.reference-card__results li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-size: 0.75rem;
}

.reference-card__tag {
  font-size: 0.8rem;
  color: var(--color-green);
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.reference-card__tag--soon {
  color: rgba(255,255,255,0.4);
}

.reference-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
  align-self: flex-start;
}
.reference-card__link:hover { color: #5dd98a; }
.reference-card__link--soon { color: rgba(255,255,255,0.4); }
.reference-card__link--soon:hover { color: rgba(255,255,255,0.4); }

/* References Mobile Slider */
@media (max-width: 1023px) {
  .references .card-grid--3 {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0.75rem;
    margin-inline: calc(-1 * var(--container-pad));
    padding-inline: 1.5rem;
    scroll-padding-left: 1.5rem;
    padding-bottom: 1rem;
  }
  .references .card-grid--3::-webkit-scrollbar { display: none; }
  .references .reference-card {
    flex: 0 0 82vw;
    max-width: 360px;
    scroll-snap-align: start;
  }
}

/* ------------------------------------------------------------
   13. WEBSITE CHECK
   ------------------------------------------------------------ */
.website-check {
  background-color: var(--color-deep-black);
  padding: 5rem 0;
}

.website-check__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  background: linear-gradient(135deg, rgba(59,165,93,0.06), transparent);
  border: 1px solid rgba(59,165,93,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

.website-check__text {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.website-check__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.website-check__benefits li {
  font-size: 0.9375rem;
  color: var(--color-off-white);
  padding-left: 1.25rem;
  position: relative;
}

.website-check__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
}

/* Form */
.check-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-size: 0;
}

.check-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .check-form__row { grid-template-columns: 1fr 1fr; }
}

.check-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-off-white);
  margin-bottom: 0.375rem;
}

.check-form__input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.625rem 0.875rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

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

.check-form__input:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(59,165,93,0.15);
}

.check-form__input:invalid:not(:placeholder-shown) {
  border-color: #EF4444;
}

.check-form__error {
  font-size: 0.875rem;
  color: #EF4444;
  min-height: 1.25rem;
}

.check-form__success {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-green);
  margin: 0 auto 1rem;
}

.check-form__success h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: 0.5rem;
}

.check-form__success p {
  color: var(--color-muted);
  font-size: 0.9375rem;
}

@media (min-width: 1024px) {
  .website-check__inner {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
  }
}

/* ------------------------------------------------------------
   14. ABOUT / ÜBER MICH
   ------------------------------------------------------------ */
.about {
  background-color: var(--color-dark-graphite);
  padding: 5rem 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about__portrait {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-md);
  margin-inline: auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
}

.about__intro {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.about__stations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about__stations li {
  padding-left: 1rem;
  border-left: 2px solid var(--color-green);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.about__station-company {
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-off-white);
}

.about__station-role {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.about__quote {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  color: var(--color-green-light);
  border-left: 2px solid var(--color-green);
  padding-left: 1rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .about__inner { grid-template-columns: 1fr 1.3fr; }
  .about__portrait { margin-inline: 0; max-width: none; }
}

/* ------------------------------------------------------------
   15. FINAL CTA
   ------------------------------------------------------------ */
.cta-final {
  background-color: var(--color-deep-black);
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.cta-final__inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-final__headline {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-off-white);
  margin-bottom: 1rem;
}

.cta-final__text {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--color-green);
  border-radius: var(--radius-md);
  color: var(--color-green);
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 1.0625rem;
  background: transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-top: 1rem;
  text-decoration: none;
}
.btn--phone:hover {
  background: var(--color-green);
  color: var(--color-deep-black);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   16. FOOTER
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-dark-graphite);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer__link {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--color-off-white); }

.footer__brand img {
  height: 110px;
  width: auto;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

/* ------------------------------------------------------------
   17. COOKIE BANNER (DSGVO-konform)
   ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: var(--color-dark-graphite);
  border-top: 1px solid var(--color-border);
  padding: 1.25rem var(--container-pad);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-banner__title {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-off-white);
  margin-bottom: 0.375rem;
}

.cookie-banner__desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.cookie-banner__link {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.cookie-banner__link:hover { color: var(--color-green-light); }

/* Kategorien */
.cookie-banner__categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cookie-banner__category {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.cookie-banner__category:last-child { border-bottom: none; }

.cookie-banner__cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.cookie-banner__cat-name {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-off-white);
}

.cookie-banner__cat-provider {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.cookie-banner__cat-desc {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.cookie-banner__badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-green);
  background: rgba(59, 165, 93, 0.12);
  border: 1px solid rgba(59, 165, 93, 0.3);
  border-radius: 20px;
  padding: 0.2rem 0.625rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle-Schalter */
.cookie-banner__toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-banner__checkbox {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-banner__toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  transition: background var(--transition);
}
.cookie-banner__toggle-track::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}
.cookie-banner__checkbox:checked + .cookie-banner__toggle-track {
  background: var(--color-green);
}
.cookie-banner__checkbox:checked + .cookie-banner__toggle-track::after {
  transform: translateX(20px);
}
.cookie-banner__checkbox:focus-visible + .cookie-banner__toggle-track {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

/* Mobile: Accept-Button oben, rechts */
.cookie-banner__accept-top {
  display: flex;
  justify-content: flex-end;
}

/* Aktions-Buttons */
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
}

/* Desktop-Accept ausblenden auf Mobile */
#cookieAcceptDesktop { display: none; }

.cookie-banner__btn-decline {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-banner__btn-decline:hover { color: var(--color-off-white); }

.cookie-banner__footer-links {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

@media (min-width: 1024px) {
  /* accept-top ausblenden, Desktop-Accept in Actions sichtbar */
  .cookie-banner__accept-top { display: none; }
  #cookieAcceptDesktop { display: inline-flex; }

  /* Inner: Spalte */
  .cookie-banner__inner {
    flex-direction: column;
    gap: 1rem;
  }
  .cookie-banner__header { flex: unset; }

  /* Buttons in einer Zeile, rechts */
  .cookie-banner__actions {
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: nowrap;
  }

  /* Categories als horizontale Zeile */
  .cookie-banner__categories {
    flex: unset;
    flex-direction: row;
    overflow: visible;
  }
  .cookie-banner__category {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--color-border);
  }
  .cookie-banner__category:last-child {
    border-right: none;
    border-bottom: none;
  }
}

/* ------------------------------------------------------------
   MOBILE ZENTRIERUNG (Cards & Labels)
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .problem-card,
  .solution-card {
    text-align: left;
  }
}

/* ------------------------------------------------------------
   MOBILE ANIMATION-BYPASS (Problem/Services/Referenzen)
   ------------------------------------------------------------ */
@media (max-width: 1023px) {
  .problem-solution .fade-in,
  .services .fade-in,
  .references .fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
  }
  .ps-solution {
    max-height: 500px !important;
    opacity: 1 !important;
    transition: none !important;
    flex: 1 !important;
  }
}

/* ------------------------------------------------------------
   MOBILE SWIPE-HINT (2. Card in Sliders pulsiert 2×)
   ------------------------------------------------------------ */
@keyframes swipe-hint {
  0%   { transform: translateX(0); }
  15%  { transform: translateX(-12px); }
  30%  { transform: translateX(0); }
  50%  { transform: translateX(-12px); }
  65%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

@media (max-width: 1023px) {
  .ps-wrapper .ps-pair:nth-child(2) > .problem-card.do-swipe-hint,
  .ps-wrapper .ps-pair:nth-child(2) > .solution-card.do-swipe-hint,
  .card-grid--4 .service-card:nth-child(2).do-swipe-hint,
  .references .card-grid--3 .reference-card:nth-child(2).do-swipe-hint {
    animation: swipe-hint 1.8s ease 0.1s 1 both;
  }
}

/* ------------------------------------------------------------
   18. SCROLL-TO-TOP & FOCUS STYLES
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Body padding for fixed nav */
body { padding-top: 0; }
.hero { padding-top: 5rem; }

@media (min-width: 768px) {
  .hero { padding-top: 6rem; }
}

/* ------------------------------------------------------------
   19. LEGAL PAGES (Impressum / Datenschutz)
   ------------------------------------------------------------ */
.legal-page {
  padding-top: 7rem;
  padding-bottom: 5rem;
  min-height: 80vh;
}

.legal-page__inner {
  max-width: 720px;
}

.legal-page__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-off-white);
  margin-bottom: 2.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-off-white);
  margin-bottom: 1rem;
  margin-top: 0.25rem;
}

.legal-section h3 {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-off-white);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section strong {
  color: var(--color-off-white);
  font-weight: 500;
}

.legal-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-list li { margin-bottom: 0.25rem; }
