@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --background: hsl(220, 20%, 7%);
  --foreground: hsl(0, 0%, 95%);
  --card: hsl(220, 18%, 10%);
  --card-foreground: hsl(0, 0%, 95%);
  --primary: #d30a2c;
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 15%, 15%);
  --secondary-foreground: hsl(0, 0%, 90%);
  --muted: hsl(220, 15%, 15%);
  --muted-foreground: hsl(220, 10%, 55%);
  --accent: #d30a2c;
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(220, 15%, 18%);
  --input: hsl(220, 15%, 18%);
  --ring: #d30a2c;
  --radius: 0.75rem;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;

  --gradient-hero: linear-gradient(135deg, hsl(220, 20%, 7%) 0%, hsl(220, 25%, 12%) 100%);
  --gradient-card: linear-gradient(180deg, hsl(220, 18%, 12%) 0%, hsl(220, 18%, 8%) 100%);
  --gradient-accent: linear-gradient(135deg, #d30a2c 0%, #e63350 100%);
  --shadow-card: 0 8px 32px -8px hsla(0, 0%, 0%, 0.4);
  --shadow-glow: 0 0 40px -10px rgba(211, 10, 44, 0.3);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

input, textarea {
  font-family: inherit;
}

/* ── Utilities ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background-image: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Screen reader only */
.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;
}

/* Honeypot – Anti-Spam-Feld, von Menschen unsichtbar, von Bots ausfüllbar */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.glass-card {
  background: var(--gradient-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.glow-accent {
  box-shadow: var(--shadow-glow);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to   { opacity: 1; max-height: 500px; }
}

@keyframes slideUp {
  from { opacity: 1; max-height: 500px; }
  to   { opacity: 0; max-height: 0; }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
}

.anim-fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.anim-fade-in-left {
  opacity: 0;
  animation: fadeInLeft 0.6s ease-out forwards;
}

.anim-fade-in-right {
  opacity: 0;
  animation: fadeInRight 0.6s ease-out forwards;
}

/* Scroll-triggered: hidden by default, animated when .is-visible */
.scroll-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-anim-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-anim-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-anim-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-anim-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for children */
.stagger-1 { transition-delay: 0.0s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.2s; }
.stagger-4 { transition-delay: 0.3s; }
.stagger-5 { transition-delay: 0.4s; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsla(220, 15%, 18%, 0.5);
  background-color: #000;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 40px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--foreground);
}

.navbar-cta {
  display: inline-block;
  border-radius: 0.5rem;
  background-color: var(--primary);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-foreground) !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px -4px rgba(211, 10, 44, 0.5);
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px -4px rgba(211, 10, 44, 0.6);
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  color: var(--foreground);
  background: none;
  border: none;
  padding: 0.25rem;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background-color: var(--background);
  overflow: hidden;
}

.mobile-menu.open {
  display: flex;
  animation: slideDown 0.3s ease-out forwards;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--foreground);
}

.mobile-menu .mobile-cta {
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--background), hsla(220, 20%, 7%, 0.9), hsla(220, 20%, 7%, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 1400px;
}

.hero-subtitle {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  animation: fadeUp 0.5s ease-out forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  opacity: 0;
  animation: fadeUp 0.6s ease-out 0.1s forwards;
}

.hero-description {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted-foreground);
  opacity: 0;
  animation: fadeUp 0.5s ease-out 0.25s forwards;
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.5s ease-out 0.4s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary-foreground);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -4px rgba(211, 10, 44, 0.5);
}

.btn-primary svg {
  transition: transform 0.2s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: background-color 0.2s;
}

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

.hero-pills {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 0.5s ease-out 0.6s forwards;
}

.hero-pill {
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.hero-pill h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.hero-pill p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-pills {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* ── Services Section ── */
.services-section {
  padding: 7rem 0;
}

.services-section .section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.section-title {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s;
}

.service-card:hover {
  border-color: rgba(211, 10, 44, 0.3);
}

.service-icon {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(211, 10, 44, 0.1);
  color: var(--primary);
  transition: background-color 0.3s, color 0.3s;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ── Vehicle Section ── */
.vehicles-section {
  padding: 7rem 0;
}

.vehicles-section .section-header {
  margin-bottom: 4rem;
  text-align: center;
}

/* Filters */
.vehicle-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  align-items: center;
}

.filter-group select,
.filter-group input {
  width: 100%;
  min-width: 160px;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--primary);
}

.filter-group select option {
  background-color: var(--secondary);
  color: var(--foreground);
}

.filter-group input::placeholder {
  color: var(--muted-foreground);
}

.filter-reset {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.filter-reset:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

.vehicle-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--muted-foreground);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .vehicle-filters {
    flex-direction: column;
  }
  .filter-group {
    width: 100%;
  }
  .filter-group select,
  .filter-group input {
    width: 100%;
  }
  .filter-reset {
    width: 100%;
  }
}

.vehicle-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .vehicle-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.vehicle-item {
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.vehicle-item:hover {
  border-color: rgba(211, 10, 44, 0.3);
  transform: translateY(-4px);
}

.vehicle-item .main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--secondary);
}

.vehicle-item .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.vehicle-item:hover .main-image img {
  transform: scale(1.05);
}

.vehicle-item .thumbnails {
  display: flex;
  gap: 0.375rem;
  padding: 0.5rem 1rem 0;
  overflow-x: auto;
}

.vehicle-item .thumbnail {
  flex-shrink: 0;
  width: 3.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.vehicle-item .thumbnail.active,
.vehicle-item .thumbnail:hover {
  opacity: 1;
  border-color: var(--primary);
}

.vehicle-item .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-info {
  padding: 1.25rem;
}

.vehicle-info h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-price {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.vehicle-details {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.vehicle-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.vehicle-details svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.vehicle-cta {
  margin-top: 3rem;
  text-align: center;
}

.btn-load-more {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 2rem auto 0;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-load-more:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
}

.vehicle-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.vehicle-item {
  position: relative;
}

.vehicle-error {
  text-align: center;
  padding: 3rem;
  color: var(--muted-foreground);
}

.vehicle-error p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

/* Modal features */
.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.feature-tag {
  display: inline-block;
  padding: 0.3rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  background-color: var(--secondary);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.modal-mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.modal-mobile-link:hover {
  opacity: 0.8;
}

.vehicle-loading {
  text-align: center;
  padding: 3rem;
  color: var(--muted-foreground);
}

/* ── Vehicle Detail Modal ── */
.vehicle-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: hsla(220, 20%, 4%, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.vehicle-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.vehicle-modal {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.3s ease-out;
}

.vehicle-modal-overlay.open .vehicle-modal {
  transform: translateY(0) scale(1);
}

.vehicle-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsla(220, 20%, 7%, 0.7);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.vehicle-modal-close:hover {
  background-color: var(--secondary);
}

.vehicle-modal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Gallery */
.modal-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--secondary);
  overflow: hidden;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsla(220, 20%, 7%, 0.7);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modal-gallery-nav:hover {
  background-color: var(--secondary);
}

.modal-gallery-prev {
  left: 0.75rem;
}

.modal-gallery-next {
  right: 0.75rem;
}

.modal-gallery-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: hsla(220, 20%, 7%, 0.7);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Thumbnails row in modal */
.modal-thumbnails {
  display: flex;
  gap: 0.375rem;
  padding: 0.75rem 1.5rem;
  overflow-x: auto;
  background: var(--gradient-card);
}

.modal-thumbnail {
  flex-shrink: 0;
  width: 4.5rem;
  height: 3rem;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
}

.modal-thumbnail.active,
.modal-thumbnail:hover {
  opacity: 1;
  border-color: var(--primary);
}

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal content */
.modal-content {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .modal-content {
    padding: 2rem;
  }
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
}

.modal-price {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.modal-specs {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

.modal-spec {
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
}

.modal-spec-label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.modal-spec-value {
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Description */
.modal-description {
  margin-top: 1.5rem;
}

.modal-description h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.modal-description p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Modal actions */
.modal-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-actions .btn-primary {
  flex: 1;
  min-width: 200px;
  justify-content: center;
  padding: 0.875rem 1.5rem;
}

.modal-actions .btn-secondary {
  flex: 1;
  min-width: 200px;
  justify-content: center;
  padding: 0.875rem 1.5rem;
}

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ── About Section ── */
.about-section {
  padding: 7rem 0;
}

.about-grid {
  display: grid;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  overflow: hidden;
  border-radius: 1rem;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-video {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
}

.about-video video {
  width: 100%;
  border-radius: 1rem;
  display: block;
}

.about-text .section-label {
  display: block;
}

.about-text .section-title {
  text-align: left;
}

.about-text p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.about-text p + p {
  margin-top: 1rem;
}

.stats-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ── Contact Section ── */
.contact-section {
  padding: 7rem 0;
}

.contact-section .section-header {
  max-width: 48rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.contact-section .section-description {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.contact-cards {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s;
}

.contact-card:hover {
  border-color: rgba(211, 10, 44, 0.3);
}

.contact-card-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: rgba(211, 10, 44, 0.1);
  color: var(--primary);
  transition: background-color 0.3s, color 0.3s;
}

.contact-card:hover .contact-card-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.contact-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-cta {
  margin-top: 3rem;
  text-align: center;
}

.contact-cta .btn-primary {
  padding: 1rem 2rem;
}

/* ── Contact Form (Kontakt page) ── */
.contact-form-wrapper {
  max-width: 42rem;
  margin: 0 auto;
  border-radius: 1rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

.contact-form-wrapper h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: hsla(220, 20%, 7%, 0.5);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.btn-submit {
  width: 100%;
  border-radius: 0.5rem;
  background-color: var(--primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
}

/* ── Toast Notification ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  min-width: 300px;
  max-width: 420px;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px -10px hsla(0, 0%, 0%, 0.5);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.destructive {
  border-color: hsl(0, 84%, 60%);
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.toast-description {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ── CTA Box (shared across pages) ── */
.cta-box {
  max-width: 48rem;
  margin: 0 auto;
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.cta-box p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.cta-box .btn-primary {
  margin-top: 1.5rem;
}

/* ── Page Headers (Services, About, Contact) ── */
.page-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}

.page-header .section-title {
  font-size: 3rem;
}

@media (min-width: 768px) {
  .page-header .section-title {
    font-size: 3.75rem;
  }
}

.page-header .page-description {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background-color: #000;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-brand {
  display: inline-block;
}

.footer-logo {
  height: 45px;
  width: auto;
}

.footer-tagline {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ── Legal Pages ── */
.legal-section {
  padding: 0 0 5rem;
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  border-radius: 1rem;
  padding: 2.5rem;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

.legal-content ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-content li {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--foreground);
}

.legal-source {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ── WhatsApp Button ── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ── 404 Page ── */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--muted);
  text-align: center;
}

.not-found h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

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

.not-found a:hover {
  color: hsla(355, 85%, 50%, 0.9);
}

/* ── Services Page specific ── */
.services-page-box {
  max-width: 48rem;
  margin: 0 auto;
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}

.services-page-box h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.services-page-box p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.services-page-box .btn-primary {
  margin-top: 1.5rem;
}

/* ── About Page Services Grid ── */
.about-services-section {
  padding: 4rem 0;
}

.about-services-section .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: #111318;
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.cookie-text p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

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

.cookie-buttons {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  border: none;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px -4px rgba(211, 10, 44, 0.4);
}

.cookie-btn-reject {
  background-color: transparent;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.cookie-btn-reject:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

.cookie-btn-settings {
  background-color: transparent;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.cookie-btn-settings:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  background-color: hsla(220, 20%, 4%, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 1rem;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.3s ease-out;
}

.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0);
}

.cookie-modal h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.cookie-modal > p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.cookie-category {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-category-header span {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
}

.cookie-category p {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background-color: var(--secondary);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid var(--border);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--muted-foreground);
  transition: transform 0.2s, background-color 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: rgba(211, 10, 44, 0.2);
  border-color: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateY(-50%) translateX(20px);
  background-color: var(--primary);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.cookie-modal-actions .cookie-btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

/* Cookie reopen button */
.cookie-reopen {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 90;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cookie-reopen:hover {
  color: var(--foreground);
  border-color: var(--foreground);
  transform: scale(1.05);
}

.cookie-reopen.visible {
  display: flex;
}

.cookie-reopen svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .cookie-buttons {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

/* ── Partner Section ── */
.partner-section {
  padding: 5rem 0;
}

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

.partner-image-col {
  overflow: hidden;
  border-radius: 1rem;
}

.partner-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}

.partner-text-col .section-label {
  margin-bottom: 0.5rem;
}

.partner-text-col .section-title {
  text-align: left;
}

.partner-text-col p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.partner-text-col .btn-primary {
  margin-top: 1.5rem;
}

/* Offizieller Partner Badge */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(211, 10, 44, 0.12);
  border: 1px solid rgba(211, 10, 44, 0.35);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Highlight-Absatz "Wir kaufen Ihr Auto" */
.partner-highlight {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: rgba(211, 10, 44, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--foreground) !important;
}

.partner-highlight strong {
  color: var(--foreground);
}

/* Button-Gruppe in Partner-Section (linksbündig statt zentriert) */
.partner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.partner-buttons .btn-primary {
  cursor: pointer;
  border: none;
  font-family: inherit;
  margin-top: 0;
}

/* Sekundärer mobile.de-Link */
.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s, gap 0.2s;
}

.partner-link:hover {
  color: var(--accent);
  gap: 0.6rem;
}

@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .partner-text-col .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .partner-buttons {
    flex-direction: column;
  }

  .partner-buttons .btn-primary,
  .partner-buttons .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* ── FAQ Section ── */
.faq-section {
  padding: 5rem 0;
}

.faq-section .section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 0.75rem;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

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

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ── WhatsApp Button (verwendet in Partner-Section) ── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background-color: #25D366;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -4px rgba(37, 211, 102, 0.5);
}

/* ── Ankauf Modal ── */
.ankauf-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: hsla(220, 20%, 4%, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.ankauf-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ankauf-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.3s ease-out;
}

.ankauf-modal-overlay.open .ankauf-modal {
  transform: translateY(0) scale(1);
}

.ankauf-modal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.5rem 2rem 2rem;
}

@media (min-width: 768px) {
  .ankauf-modal-body {
    padding: 3rem 2.5rem 2.5rem;
  }
}

.ankauf-modal-header {
  margin-bottom: 1.75rem;
}

.ankauf-modal-title {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .ankauf-modal-title {
    font-size: 2rem;
  }
}

.ankauf-modal-intro {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.ankauf-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 540px) {
  .ankauf-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.ankauf-form input[type="file"] {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px dashed var(--border);
  background-color: hsla(220, 20%, 7%, 0.5);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.ankauf-form input[type="file"]:hover {
  border-color: var(--primary);
  color: var(--foreground);
}

.ankauf-form input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ankauf-form input[type="file"]::file-selector-button:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.form-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.form-hint a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.form-hint a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Datenschutz-Link in Checkbox */
.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

.checkbox-group a:hover {
  opacity: 0.8;
}

/* Body-Scroll-Lock wenn Modal offen */
body.modal-open {
  overflow: hidden;
}
