/* ==========================================================================
   MARC OLIVER KAISER — Landing Page Stylesheet
   Production CSS | Mobile-first | DSGVO-compliant local fonts
   Selectors match index.html class names exactly.
   ========================================================================== */

/* ==========================================================================
   1. FONTS (Local — no external CDN, DSGVO)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. CUSTOM PROPERTIES
   ========================================================================== */

:root {
  --color-navy: #1a365d;
  --color-navy-light: #234681;
  --color-orange: #e67e22;
  --color-orange-hover: #d35400;
  --color-white: #ffffff;
  --color-gray-light: #f7f8fa;
  --color-gray-border: #e2e8f0;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-anthracite: #1a202c;
  --color-red: #e53e3e;
  --color-green: #38a169;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --section-padding-mobile: 3rem 0;
  --section-padding-desktop: 5rem 0;

  --shadow-card: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 2px 20px rgba(0, 0, 0, 0.15);
  --shadow-cta: 0 4px 15px rgba(230, 126, 34, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* Section backgrounds */
.section-hero    { background-color: var(--color-navy); color: var(--color-white); }
.section-trust   { background-color: var(--color-white); border-bottom: 1px solid var(--color-gray-border); padding: 2.5rem 0; }
.section-ergebnisse      { background-color: var(--color-white); }
.section-herausforderung { background-color: var(--color-navy); color: var(--color-white); }
.section-leistungen      { background-color: var(--color-white); }
.section-prozess    { background-color: var(--color-gray-light); }
.section-ueber-mich { background-color: var(--color-white); }
.section-faq        { background-color: var(--color-gray-light); }
.section-cta-final  { background-color: var(--color-navy); color: var(--color-white); text-align: center; }

/* Section headings */
.section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-herausforderung h2 {
  color: var(--color-white);
}

/* ==========================================================================
   5. CTA BUTTON
   ========================================================================== */

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: center;
  line-height: 1.4;
}

.btn-cta {
  display: inline-block;
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: background-color 0.3s ease, transform 0.2s ease;
  line-height: 1.4;
}

.btn-cta:hover {
  background-color: var(--color-orange-hover);
  transform: scale(1.02);
}

.btn-cta:active {
  transform: scale(0.98);
}

/* Centered section CTA */
.section > .container > .btn-cta {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 0;
}

/* ==========================================================================
   6. HEADER (.site-header)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-navy);
  transition: box-shadow 0.3s ease;
}

.site-header.header-scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}

/* Desktop nav — hidden on mobile */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-white);
}

.nav-list a.active {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  margin: -0.35rem -0.75rem;
}

/* Header CTA — hidden on mobile */
.header-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger active (X) */
.site-header.nav-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 2rem;
}

.site-header.nav-open .mobile-menu {
  display: block;
}

.mobile-nav-list a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}

.mobile-nav-list a:hover {
  color: var(--color-white);
}

.mobile-nav-list li:last-child a {
  border-bottom: none;
}

.mobile-nav-list .btn-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  border-bottom: none;
  padding: 1rem 2rem;
}

/* ==========================================================================
   7. HERO (.section-hero)
   ========================================================================== */

.section-hero {
  padding: 2rem 0 2.5rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-text {
  order: 1;
}

.hero-image {
  order: 2;
}

.section-hero h1 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.hero-image img {
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  transform: translateX(8%);
}

/* Mobile hero reorder: H1 → Subtitle → Mockup → CTA */
@media (max-width: 1023px) {
  .hero-text {
    display: contents;
  }
  .section-hero h1 { order: 1; }
  .hero-subtitle { order: 2; }
  .hero-image { order: 3; }
  .hero-text .btn { order: 4; }
}

/* Image placeholders */
.img-placeholder {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.section-ergebnisse .img-placeholder,
.section-vergleich .img-placeholder {
  background-color: var(--color-gray-light);
  border-color: var(--color-gray-border);
  min-height: 300px;
}

.img-placeholder-circle {
  width: 80px;
  height: 80px;
  min-height: 80px;
  border-radius: 50%;
  background-color: var(--color-gray-light);
  border: 2px dashed var(--color-gray-border);
}

.img-placeholder-portrait {
  width: 200px;
  height: 200px;
  min-height: 200px;
  border-radius: 50%;
  background-color: var(--color-gray-light);
  border: 2px dashed var(--color-gray-border);
}

/* ==========================================================================
   8. TRUST BAR (.section-trust)
   ========================================================================== */

.trust-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-item .icon-check {
  color: var(--color-navy);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.trust-item span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
}

/* ==========================================================================
   9. HERAUSFORDERUNG (.section-herausforderung)
   ========================================================================== */

.herausforderung-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.herausforderung-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 3rem;
}

.herausforderung-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.herausforderung-icon {
  margin-bottom: 1rem;
}

.herausforderung-card h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.herausforderung-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.herausforderung-resultat {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 2rem;
}

.herausforderung-resultat h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.herausforderung-resultat p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.herausforderung-bold {
  font-weight: 600;
  color: var(--color-white);
}

/* ==========================================================================
   10. ERGEBNISSE (.section-ergebnisse)
   ========================================================================== */

.ergebnisse-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.ergebnisse-slider-block {
  margin-bottom: 3rem;
}

.ergebnisse-slider-block h2 {
  margin-bottom: 2rem;
}

.comparison-timeframe {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

/* Comparison Slider */
.comparison-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  background-color: var(--color-gray-light);
}

.comparison-before,
.comparison-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-before {
  z-index: 1;
}

.comparison-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

.comparison-before img,
.comparison-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-before .img-placeholder,
.comparison-after .img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
}

.comparison-label {
  position: absolute;
  bottom: 12px;
  padding: 0.375rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  z-index: 4;
  pointer-events: none;
}

.comparison-label-before {
  left: 12px;
}

.comparison-label-after {
  right: 12px;
}

/* Slider divider line */
.comparison-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 3px;
  background: var(--color-white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  z-index: 4;
  pointer-events: none;
  transform: translateX(-50%);
}

/* Slider handle */
.comparison-slider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: var(--slider-pos, 50%);
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 4;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='M6 10l-4 0M14 10l4 0M6 7l-3 3 3 3M14 7l3 3-3 3' stroke='%231a365d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.comparison-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
}

/* Ergebnisse Grid (50/50 layout) */
.ergebnisse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 0;
}

.ergebnis-case {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ergebnis-case .comparison-slider {
  max-width: 100%;
}

/* Testimonials */
.testimonials-block {
  margin-top: 3rem;
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-white);
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.testimonial-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.testimonial-photo .img-placeholder-circle {
  width: 80px;
  height: 80px;
}

.testimonial-photo-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

/* Portrait image (Über mich) */
.portrait-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.testimonial-role a {
  color: var(--color-navy);
  text-decoration: underline;
}

/* Testimonial inner layout */
.testimonial-text {
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Mobile: Name + Rolle über dem Portrait */
@media (max-width: 767px) {
  .testimonial-name {
    order: -2;
    margin-bottom: 0;
  }
  .testimonial-role {
    order: -1;
    margin-bottom: 1rem;
  }
  .ergebnis-case + .ergebnis-case {
    border-top: 1px solid var(--color-gray-border);
    padding-top: 2.5rem;
  }
}

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

.testimonial-proof .comparison-timeframe {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* KPI bar inside testimonial card */
.testimonial-kpis {
  display: flex;
  justify-content: space-evenly;
  margin-top: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--color-gray-border);
  border-bottom: 1px solid var(--color-gray-border);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-kpis {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.testimonial-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ==========================================================================
   12. LEISTUNGEN (.section-leistungen)
   ========================================================================== */

.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}

.leistung-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.leistung-icon {
  margin-bottom: 1.25rem;
  color: var(--color-orange);
}

.leistung-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.leistung-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ==========================================================================
   12b. BEWERTUNGEN (.section-bewertungen)
   ========================================================================== */

.section-bewertungen {
  background-color: var(--color-gray-light);
}

.bewertungen-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.bewertungen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1060px;
  margin: 0 auto;
}

.bewertung-card {
  transition: transform 0.2s ease;
}

.bewertung-card img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.bewertung-caption {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   13. KI-EMPFEHLUNG (.section-ki-empfehlung)
   ========================================================================== */

.section-ki-empfehlung {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-ki-empfehlung h2 {
  color: var(--color-white);
}

.ki-empfehlung-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.ki-empfehlung-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.ki-empfehlung-card img {
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ki-empfehlung-caption {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 0.75rem;
}

/* ==========================================================================
   15. PROZESS (.section-prozess)
   ========================================================================== */

.section-prozess h2 {
  margin-bottom: 2.5rem;
}

.prozess-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.prozess-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.prozess-icon {
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.prozess-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.prozess-step h3 {
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.prozess-step p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 300px;
}

.prozess-connector {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.prozess-connector svg {
  transform: rotate(90deg);
}

/* ==========================================================================
   16. UEBER MICH (.section-ueber-mich)
   ========================================================================== */

.ueber-mich-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.ueber-mich-headline {
  margin-bottom: 0;
}

.ueber-mich-photo {
  flex-shrink: 0;
  text-align: center;
}

.ueber-mich-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 0.75rem;
}

.ueber-mich-lead {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.ueber-mich-text p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Competence icons */
.kompetenz-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.kompetenz-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
}

.kompetenz-icon {
  color: var(--color-navy);
}

/* ==========================================================================
   17. FAQ (.section-faq)
   ========================================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-border);
}

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

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

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq-icon::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

/* Plus to minus rotation */
.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

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

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ==========================================================================
   18. ABSCHLUSS CTA (.section-cta-final)
   ========================================================================== */

.cta-final-content h2 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-final-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ==========================================================================
   19. FOOTER (.site-footer)
   ========================================================================== */

.site-footer {
  background-color: var(--color-anthracite);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   20. SCROLL ANIMATIONS
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================================================
   21. UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   22. RESPONSIVE — TABLET (min-width: 768px)
   ========================================================================== */

@media (min-width: 768px) {

  .container {
    padding: 0 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  /* Hero */
  .section-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  /* Trust */
  .trust-inner {
    flex-direction: row;
    justify-content: center;
    gap: 2.5rem;
  }

  /* Leistungen */
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Herausforderung — 3 Karten nebeneinander ab Tablet */
  .herausforderung-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Bewertungen — Zickzack ab Tablet */
  .bewertungen-grid {
    max-width: 800px;
  }

  .bewertung-card {
    width: 66%;
  }

  .bewertung-card:nth-child(odd) {
    justify-self: start;
    transform: rotate(-1deg);
  }

  .bewertung-card:nth-child(even) {
    justify-self: end;
    transform: rotate(1deg);
  }

  /* KI-Empfehlung — 2 Spalten ab Tablet */
  .ki-empfehlung-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Ergebnisse */
  .ergebnisse-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Testimonial-Card: Kasten + Grid-Layout ab Tablet */
  .testimonial-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.75rem 2rem;
  }

  .testimonial-text {
    grid-column: 1;
    grid-row: 2;
  }

  .testimonial-proof {
    display: contents;
  }

  .testimonial-proof .comparison-timeframe {
    grid-column: 2;
    grid-row: 1;
  }

  .testimonial-proof .comparison-slider {
    grid-column: 2;
    grid-row: 2;
  }

  /* Testimonials */
  .testimonial-grid {
    flex-direction: row;
  }

  .testimonial-card {
    flex: 1;
  }

  /* Ueber mich */
  .ueber-mich-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    text-align: left;
    align-items: start;
    gap: 0 3rem;
  }

  .ueber-mich-headline {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }

  .ueber-mich-photo {
    grid-column: 1;
    grid-row: 2;
  }

  .ueber-mich-text {
    grid-column: 2;
    grid-row: 2;
  }

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

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   23. RESPONSIVE — DESKTOP (min-width: 1024px)
   ========================================================================== */

@media (min-width: 1024px) {

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

  .section h2 {
    font-size: 2.25rem;
  }

  /* Header desktop nav */
  .hamburger {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .header-cta {
    display: inline-block;
  }

  .mobile-menu {
    display: none !important;
  }

  /* Hero */
  .section-hero {
    display: flex;
    align-items: center;
    padding: 4rem 0 5rem;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 0 0 65%;
    order: 1;
    padding-right: 3rem;
  }

  .hero-image {
    flex: 0 0 35%;
    order: 2;
  }

  .hero-image img {
    max-width: 100%;
    transform: none;
  }

  .section-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  /* Leistungen (2x2 grid with 4 cards) */
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Prozess horizontal */
  .prozess-timeline {
    flex-direction: row;
    align-items: flex-start;
    max-width: 100%;
  }

  .prozess-connector {
    display: flex;
    align-items: center;
    padding: 0;
    margin-top: 3rem;
  }

  .prozess-connector svg {
    transform: none;
  }

  .prozess-step {
    flex: 1;
  }

  /* Abschluss CTA */
  .cta-final-content h2 {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   24. REDUCED MOTION (Accessibility)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
