﻿:root {
  /* Farben */
  --color-primary:    #D62828;
  --color-dark:       #111111;
  --color-surface:    #1C1C1C;
  --color-surface-2:  #2A2A2A;
  --color-text:       #F4F1EE;
  --color-muted:      #A8A8A8;
  --color-gold:       #E8A020;
  --color-accent:     #FF4040;

  /* Typografie */
  --font-display:  'Bebas Neue', Impact, sans-serif;
  --font-body:     'DM Sans', Arial, sans-serif;
  --font-mono:     'DM Mono', 'Courier New', monospace;

  /* Abstaende */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  32px;
  --space-xl:  64px;
  --space-2xl: 96px;

  /* Layout */
  --container-max: 1200px;
  --radius:        6px;
  --radius-lg:     12px;

  /* Schatten */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-text);
  min-height: 100%;
  line-height: 1.6;
}

main {
  background: #242424;
}

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

ul {
  list-style: none;
  padding-left: 0;
}

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

.container {
  width: min(calc(100% - 2 * var(--space-lg)), var(--container-max));
  margin: 0 auto;
}

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

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--color-muted);
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-surface-2);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-2);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  z-index: 300;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.cookie-banner a {
  color: var(--color-primary);
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

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

.btn-inline {
  color: var(--color-primary);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.4);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand .logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-logo .logo-img {
  height: 112px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-toggle {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 14px;
}

.nav-links a,
.nav-links button {
  color: var(--color-text);
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links .btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.nav-links .btn-primary:hover {
  color: #fff;
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-surface);
  padding: var(--space-sm);
  min-width: 210px;
  border: 1px solid var(--color-surface-2);
  border-radius: var(--radius);
  display: none;
  box-shadow: var(--shadow-card);
}

.dropdown a {
  display: block;
  padding: 8px 12px;
  color: var(--color-text);
  border-radius: var(--radius);
}

.dropdown a:hover {
  background: var(--color-surface-2);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  display: block;
}

.hero {
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(10, 10, 10, 0.65) 0%, rgba(26, 5, 5, 0.55) 50%, rgba(10, 10, 10, 0.65) 100%),
    url('../img/Hero_getriebeklinikmoers.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 60px
  );
  opacity: 0.3;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero p {
  color: var(--color-muted);
  font-size: 18px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.stat-box {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-surface-2);
  box-shadow: var(--shadow-card);
}

.stat-box h3 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: var(--space-sm);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--color-surface-2);
  font-size: 13px;
}

.usp-bar {
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-md) 0;
}

.usp-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  text-align: center;
  font-weight: 600;
}

.cards-grid {
  display: grid;
  gap: var(--space-lg);
}

.card {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(214, 40, 40, 0.2);
}

.card-icon {
  font-size: 28px;
  margin-bottom: var(--space-md);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 20px;
}

.card p {
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.split {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.info-box {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-surface-2);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.pill-list a {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-surface-2);
  font-size: 13px;
}

.pill-list li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-surface-2);
  font-size: 13px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.check-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
}

.logo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.logo-badges span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-surface-2);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.reviews-grid {
  display: grid;
  gap: var(--space-lg);
}

.review-card {
  background: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-surface-2);
}

.review-stars {
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.review-meta {
  color: var(--color-muted);
  font-size: 13px;
  margin-top: var(--space-sm);
}

.review-cta {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.faq details {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-surface-2);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin-top: var(--space-sm);
  color: var(--color-muted);
}

.cta-band {
  background: #0a0a0a;
  border-top: 3px solid var(--color-primary);
  padding: var(--space-xl) 0;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.form-grid {
  display: grid;
  gap: var(--space-md);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--color-surface-2);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--color-surface-2);
}

.data-table th {
  color: var(--color-muted);
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius);
  background: var(--color-surface-2);
  font-size: 13px;
  font-weight: 600;
}

.site-footer {
  background: #0a0a0a;
  border-top: 3px solid var(--color-primary);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  display: block;
  color: var(--color-muted);
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-cta {
  margin-top: var(--space-md);
}

.nap {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: var(--space-md);
}

.footer-bottom {
  border-top: 1px solid var(--color-surface-2);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--color-muted);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.breadcrumb {
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .cta-band .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 900px) {
  .nav-links {
    gap: var(--space-sm);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-surface-2);
    color: transparent;
    padding: 0;
    width: 44px;
    height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0;
    position: relative;
  }

  .nav-toggle::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 12px;
    height: 2px;
    background: var(--color-text);
    box-shadow: 0 7px 0 var(--color-text), 0 14px 0 var(--color-text);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-md);
    transition: right 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.nav-open .nav-links {
    right: 0;
  }

  body.nav-open {
    overflow: hidden;
  }

  .dropdown {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding-left: var(--space-md);
  }

  .dropdown a {
    padding-left: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn-primary,
  .cookie-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll,
  .animate-on-scroll.visible {
    transition: none;
  }
}

