/* ============================================================
   KiKo Stadtführer — style.css
   ============================================================ */

/* --- 1. FONTS (Inter, self-hosted) --- */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- 2. CSS CUSTOM PROPERTIES --- */
:root {
  --color-primary: #001e78;
  --color-white: #ffffff;
  --color-accent: #ff5f03;
  --color-accent-hover: #e65500;
  --color-secondary-blue: #e5f1f7;
  --color-secondary-gray: #f1f1f1;
  --color-bg: #ffffff;
  --color-text: #0a1d56;
  --color-text-light: #2d4a7a;
  --color-border: #d1d5db;

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  --container-max: 1200px;
  --text-max: 680px;

  --section-pad-desktop: 100px;
  --section-pad-mobile: 56px;

  /* Future dark mode: CSS Custom Properties are ready — DO NOT implement yet */
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: underline;
}

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

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

/* --- 4. SKIP NAVIGATION --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}

.skip-nav:focus {
  top: 0;
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- 5. CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --- 6. TYPOGRAPHY --- */
.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

h2 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --- 7. BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  font-family: var(--font-family);
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: scale(1.02);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-primary);
  padding: 14px 30px;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  font-family: var(--font-family);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: all 0.2s ease;
}

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

.btn-secondary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* --- 8. PLACEHOLDER IMAGES --- */
.placeholder-img {
  background: var(--color-secondary-gray);
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.875rem;
  font-weight: 500;
  gap: 8px;
  text-align: center;
  padding: 24px;
}

.placeholder-img::before {
  content: '📷';
  font-size: 2rem;
}

/* --- 9. SCROLL ANIMATION --- */
.fade-in {
  opacity: 0;
  transform: translateY(23px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

/* --- 10. HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 48px;
  width: auto;
}

/* Logo-Platzhalter wenn SVG noch nicht vorhanden */
.logo-placeholder {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.site-nav a:hover {
  color: var(--color-primary);
  background: var(--color-secondary-blue);
}

.site-nav a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.site-nav .nav-cta {
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 8px;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- 11. SECTION STRUCTURE --- */
.section {
  padding-block: var(--section-pad-desktop);
}

.section--bg-blue {
  background-color: var(--color-secondary-blue);
}

.section--bg-gray {
  background-color: var(--color-secondary-gray);
}

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

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__header h2 {
  margin-top: 8px;
}

/* --- 12. SPLIT LAYOUT (Text + Image) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--text-right .split__text {
  order: 2;
}

.split--text-right .split__media {
  order: 1;
}

.split__text {
  max-width: 600px;
}

.split__media img,
.features-media img,
.contact-intro img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 30, 120, 0.15);
  width: 100%;
}

.split__text h2 {
  margin-bottom: 24px;
}

.split__text p {
  color: var(--color-text-light);
}

.split__text .btn-primary,
.split__text .btn-secondary {
  margin-top: 16px;
}

/* --- 13. HERO SECTION --- */
#hero {
  background: var(--color-white);
  padding-block: 80px 100px;
}

#hero .split {
  grid-template-columns: 6fr 4fr;
  gap: 64px;
}

#hero .split__text h1 {
  margin-bottom: 20px;
}

#hero .split__text .subheadline {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
  max-width: var(--text-max);
}

#hero .split__media .placeholder-img {
  min-height: 480px;
}

/* --- 14. PROBLEM SECTION --- */
#problem .split {
  grid-template-columns: 4fr 6fr;
}

#problem .split__text h2 {
  margin-bottom: 20px;
}

#problem .split__text p:has(+ .pain-points) {
  margin-bottom: 4px;
}

#problem .pain-points {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#problem .pain-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-light);
}

#problem .pain-point::before {
  content: '•';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

#problem .split__media .placeholder-img {
  min-height: 420px;
}

/* --- 15. SOLUTION SECTION --- */
#solution .split {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

#solution .split__text h2 {
  margin-bottom: 24px;
}

#solution .split__media {
  display: flex;
  align-items: stretch;
}

/* Browser-Chrome-Rahmen */
.browser-mockup {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d0d0d0;
  box-shadow: 0 8px 32px rgba(0, 0, 30, 0.12);
}

.browser-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ececec;
  border-bottom: 1px solid #d0d0d0;
  flex-shrink: 0;
}

.browser-mockup__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-mockup__dot--red    { background: #ff5f57; }
.browser-mockup__dot--yellow { background: #febc2e; }
.browser-mockup__dot--green  { background: #28c840; }

.browser-mockup__url {
  flex: 1;
  height: 20px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 11px;
  color: #666;
  display: flex;
  align-items: center;
  font-family: var(--font-family);
}

.video-wrapper {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  background: #000;
}

#solution .solution-video {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.video-play-btn svg circle {
  transition: fill 0.2s ease;
}

.video-play-btn:hover svg circle,
.video-play-btn:focus-visible svg circle {
  fill: rgba(0,0,0,0.75);
}

.video-play-btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.video-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --- 16. SOCIAL PROOF SECTION --- */
#references .logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  margin-bottom: 72px;
}

#references .logo-row .municipality-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.2s, opacity 0.2s;
}

#references .logo-row .municipality-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

#references .logo-placeholder-item {
  background: var(--color-border);
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-light);
  height: 56px;
  display: flex;
  align-items: center;
}

/* Key Figures */
.key-figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.key-figure {
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 30, 120, 0.08);
}

.key-figure__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.key-figure__label {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

/* Reference Projects */
.reference-projects {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.reference-item {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 48px;
  align-items: center;
}

.reference-item:nth-child(even) {
  grid-template-columns: 4fr 6fr;
}

.reference-item:nth-child(even) .reference-item__text {
  order: 2;
}

.reference-item:nth-child(even) .reference-item__media {
  order: 1;
}

.reference-item__media .placeholder-img {
  min-height: 320px;
}

.reference-item__media img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 30, 120, 0.15);
}

.reference-item__text h3 {
  margin-bottom: 12px;
}

.reference-item__text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.reference-link {
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.reference-link:hover {
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.trust-signal {
  margin-top: 56px;
  padding: 24px 32px;
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  color: var(--color-text-light);
  font-style: normal;
}

/* --- 17. HOW IT WORKS SECTION --- */
#process .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Verbindungslinie zwischen Steps */
#process .steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: linear-gradient(to right, var(--color-secondary-blue), var(--color-accent), var(--color-secondary-blue));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: var(--color-secondary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__icon svg {
  width: 48px;
  height: 48px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 1rem;
  color: var(--color-text-light);
}

/* --- 18. FEATURES SECTION --- */
#features .features-block {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

#features .features-block:last-child {
  margin-bottom: 0;
}

#features .features-block--reversed {
  grid-template-columns: 4fr 6fr;
}

#features .features-block--reversed .features-list {
  order: 2;
}

#features .features-block--reversed .features-media {
  order: 1;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.features-media .placeholder-img {
  min-height: 380px;
}

/* --- 19. PRICING SECTION --- */
#pricing {
  text-align: center;
}

#pricing .pricing-content {
  max-width: var(--text-max);
  margin-inline: auto;
}

#pricing h2 {
  margin-bottom: 24px;
}

#pricing p {
  color: var(--color-text-light);
  margin-bottom: 36px;
}

/* --- 20. FAQ SECTION --- */
#faq .faq-list {
  max-width: 860px;
  margin-inline: auto;
}

#faq details {
  border-bottom: 1px solid var(--color-border);
}

#faq details:first-child {
  border-top: 1px solid var(--color-border);
}

#faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

#faq summary:hover {
  color: var(--color-primary);
}

#faq summary .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
}

#faq details[open] summary .faq-icon {
  background: var(--color-accent);
  transform: rotate(45deg);
}

#faq .faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-primary);
}

#faq details[open] .faq-icon svg {
  stroke: var(--color-white);
}

#faq .faq-answer {
  padding: 0 0 20px 0;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 720px;
}

/* --- 21. CONTACT SECTION --- */
#contact {
  background: var(--color-white);
}

#contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

#contact .contact-intro h2 {
  margin-bottom: 16px;
}

#contact .contact-intro p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.contact-intro .placeholder-img {
  min-height: 260px;
  margin-top: 32px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group label .required-marker {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 30, 120, 0.12);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #dc2626;
}

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

.form-group .field-error {
  font-size: 0.875rem;
  color: #dc2626;
  display: none;
}

.form-group .field-error.is-visible {
  display: block;
}

/* CTA-Button in Contact Section: nur auf Mobile sichtbar */
.contact-cta-mobile {
  display: none;
}

@media (max-width: 767px) {
  .contact-cta-mobile {
    display: inline-flex;
  }
}

/* Privacy note */
.form-privacy-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--color-primary);
  font-weight: 500;
}

/* Honeypot (spam protection) — visually hidden */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  tab-index: -1;
}

/* Form messages */
.form-message {
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message--success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message--error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* --- 22. FOOTER --- */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding-block: 48px;
}

.site-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer .footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

.site-footer .footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.site-footer .footer-links a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer .footer-meta {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 8px;
}

.site-footer .footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-copyright a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

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

.site-footer .footer-ai-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* --- 23. REDUCED MOTION --- */
@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;
    transition: none;
  }
}

/* --- 24. RESPONSIVE: TABLET (768px–1024px) --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .split {
    gap: 40px;
  }

  #hero .split {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

  #features .features-block {
    gap: 40px;
  }

  #contact .contact-grid {
    gap: 48px;
  }
}

/* --- 25. RESPONSIVE: MOBILE (<768px) --- */
@media (max-width: 767px) {
  :root {
    --section-pad-desktop: var(--section-pad-mobile);
  }

  body {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .btn-primary,
  .btn-secondary {
    font-size: 1rem;
    padding: 14px 24px;
    width: 100%;
  }

  /* Header Mobile */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: flex;
  }

  /* Splits zu Single Column */
  .split,
  #hero .split,
  #problem .split,
  #solution .split,
  #features .features-block,
  .reference-item,
  .reference-item:nth-child(even),
  #contact .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Reihenfolge zurücksetzen */
  .split--text-right .split__text,
  .split--text-right .split__media,
  #features .features-block--reversed .features-list,
  #features .features-block--reversed .features-media,
  .reference-item:nth-child(even) .reference-item__text,
  .reference-item:nth-child(even) .reference-item__media {
    order: unset;
  }

  #hero {
    padding-block: 56px 64px;
  }

  #hero .split__media .placeholder-img {
    min-height: 260px;
  }

  /* Process steps: vertical */
  #process .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #process .steps::before {
    display: none;
  }

  .key-figures {
    grid-template-columns: 1fr 1fr;
  }

  .key-figure__number {
    font-size: 2rem;
  }

  #references .logo-row {
    gap: 20px 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
