/* Modernes, responsives, animiertes CSS für Autoankauf-Seite */
:root {
  --maincolor: #22335b;
  --accent: #ffe066;
  --bg: #f7f9fc;
  --text: #22335b;
  --white: #fff;
  --shadow: 0 2px 16px #22335b22;
  --radius: 14px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --header-height: 92px;
}
html {
  box-sizing: border-box;
  font-size: 18px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(34,51,91,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px #22335b22;
  height: var(--header-height);
  min-height: 92px;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  min-height: 92px;
}
.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 78px;
  max-height: 90px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px #22335b22;
}
.main-nav {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.08em;
  padding: 0.3em 0.7em;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a.cta {
  background: var(--accent);
  color: var(--maincolor);
  font-weight: 700;
  box-shadow: 0 2px 8px #ffe06644;
}
.main-nav a:hover, .main-nav a:focus {
  background: #fff2;
  color: var(--accent);
}
.main-nav a.cta:hover {
  background: #fffbe6;
  color: var(--maincolor);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}
.burger span {
  display: block;
  width: 28px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22335b;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 110;
  opacity: 1;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  padding-top: 80px;
}
.mobile-nav.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-nav a {
  color: #ffe066;
  font-size: 1.5em;
  font-weight: 700;
  text-decoration: none;
  padding: 1em 2em;
  border-radius: 8px;
  margin: 0.2em 0;
  transition: background 0.2s, color 0.2s;
  display: block;
  text-align: center;
}
.mobile-nav a:hover {
  background: #fff2;
  color: #fff;
}
.close-nav {
  position: absolute;
  top: 1.2em;
  right: 1.5em;
  font-size: 2.5em;
  background: none;
  border: none;
  color: #ffe066;
  cursor: pointer;
  z-index: 120;
}
.nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 100;
}
.nav-overlay.open { display: block; }
@media (min-width: 901px) {
  .burger { display: none !important; }
  .mobile-nav { display: none !important; }
  .main-nav { display: flex !important; }
}
@media (max-width: 900px) {
  .main-nav { display: none !important; }
  .burger { display: flex !important; }
  .mobile-nav { display: flex !important; }
}
/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--maincolor);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.7);
  min-height: 400px;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(34,51,91,0.2) 0%,rgba(34,51,91,0.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  padding: 4.5rem 0 2.5rem 0;
  gap: 2.5rem;
}
.hero-text {
  max-width: 520px;
}
.hero-text h1 {
  font-size: 2.5em;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.5em 0;
  letter-spacing: -1px;
  line-height: 1.1;
}
.hero-text h1 span {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8em;
}
.hero-text p {
  color: #fffbe6;
  font-size: 1.2em;
  margin-bottom: 1.5em;
}
.cta, .cta.big, #ankaufForm button.cta {
  background: var(--accent);
  color: var(--maincolor);
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.7em 2.2em;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px #ffe06644;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cta.big { font-size: 1.25em; padding: 1em 2.8em; }
.cta:hover, .cta:focus, .cta.big:hover, #ankaufForm button.cta:hover {
  background: #fffbe6;
  color: var(--maincolor);
  box-shadow: 0 4px 16px #ffe06666;
}
.contact-box {
  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(12px) !important;
  color: var(--maincolor);
  border-radius: var(--radius);
  box-shadow: none;
  border: none;
  padding: 1.2em 2em;
  min-width: 220px;
  text-align: center;
  align-self: flex-end;
  font-size: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  animation-delay: 0.2s;
}
.contact-box .phone-label {
  font-weight: 600;
  color: var(--maincolor);
  font-size: 1em;
}
.contact-box .phone {
  color: var(--accent);
  font-size: 1.3em;
  font-weight: 700;
  text-decoration: none;
}
.contact-box .phone:hover { text-decoration: underline; }

/* Markenlogos Bar */
/* Entfernt: .brands-bar und .brands-bar img */

/* About */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5em;
  align-items: center;
  padding: 4em 0 2em 0;
}
.about-text { flex: 2; min-width: 260px; }
.about-map { flex: 1; min-width: 180px; text-align: center; }
.about-map svg { max-width: 100%; height: auto; }
.about-map img {
  filter: brightness(2.5);
}

/* USP / Vorteile */
.usp-content {
  padding: 2.5em 0 2em 0;
  text-align: center;
}
.usp-list {
  list-style: none;
  padding: 0;
  margin: 2em auto 0 auto;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  font-size: 1.15em;
}
.usp-list li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1em 1.5em;
  display: flex;
  align-items: center;
  gap: 1em;
  color: var(--maincolor);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: box-shadow 0.3s;
}
.usp-list li span {
  color: var(--accent);
  font-size: 1.3em;
  font-weight: 700;
}
.usp-list li:hover {
  box-shadow: 0 4px 24px #22335b33;
}

/* Video Section */
.video-section {
  padding: 2em 0 2em 0;
  text-align: center;
}
.video-content video {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  display: block;
  margin: 0 auto;
}

/* Formular */
/* --- Modernes, cooles Autoankauf-Formular-Design --- */
.form-section {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 8px 40px #88888833, 0 1.5px 8px #88888822;
  max-width: 520px;
  margin: 3.5em auto 2em auto;
  padding: 2.8em 2.2em 2.2em 2.2em;
  position: relative;
  overflow: visible;
  animation: fadein 0.7s cubic-bezier(.4,0,.2,1);
  box-shadow: none !important;
}
.form-content h2 {
  text-align: center;
  color: var(--maincolor);
  font-size: 2.1em;
  font-weight: 800;
  margin-bottom: 1.5em;
  letter-spacing: -1px;
}
#ankaufForm {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.form-row {
  display: flex;
  gap: 1.2em;
  flex-wrap: wrap;
  width: 100%;
}
@media (max-width: 600px) {
  .form-section {
    padding: 1.2em 0.5em 1em 0.5em;
    max-width: 98vw;
  }
  .form-content h2 {
    font-size: 1.3em;
  }
  .form-row {
    flex-direction: column;
    gap: 0.7em;
  }
}
#ankaufForm input,
#ankaufForm select,
#ankaufForm textarea {
  height: 48px;
  padding: 0 1.1em;
  border-radius: 14px;
  border: 1.5px solid #d3d8e0;
  background: #f7f9fc;
  color: var(--maincolor);
  font-size: 1.08em;
  font-family: inherit;
  box-shadow: 0 1.5px 8px #22335b11;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  margin-bottom: 0;
}
#ankaufForm input:focus,
#ankaufForm select:focus,
#ankaufForm textarea:focus {
  border-color: var(--accent);
  background: #fffbe6;
  box-shadow: 0 2px 16px #ffe06644;
}
#ankaufForm select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%2322335b" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1.1em center;
  background-size: 1.2em;
  cursor: pointer;
}
.input-suffix-group {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.input-suffix-group input {
  width: 100%;
  padding-right: 2.5em;
}
.input-suffix {
  position: absolute;
  right: 1.1em;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  height: 48px;
  color: #bfc8e6;
  font-size: 1.1em;
  pointer-events: none;
}
#ankaufForm button.cta {
  background: linear-gradient(90deg, var(--accent) 60%, #ffe066cc 100%);
  color: var(--maincolor);
  font-weight: 800;
  font-size: 1.15em;
  border-radius: 14px;
  border: none;
  box-shadow: 0 2px 16px #ffe06644;
  padding: 1em 0;
  margin-top: 1.5em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  letter-spacing: 0.02em;
}
#ankaufForm button.cta:hover,
#ankaufForm button.cta:focus {
  background: var(--maincolor);
  color: var(--accent);
  box-shadow: 0 4px 24px #22335b33;
  transform: translateY(-2px) scale(1.03);
}
/* Floating Label Animation */
#ankaufForm input:not(:placeholder-shown):not([type="color"]),
#ankaufForm input:focus:not([type="color"]),
#ankaufForm select:focus,
#ankaufForm select:not([value=""]),
#ankaufForm textarea:focus,
#ankaufForm textarea:not(:placeholder-shown) {
  background: #fffbe6;
  border-color: var(--accent);
}
/* Card-Shadow Animation */
.form-section:hover {
  box-shadow: none !important;
  transition: box-shadow 0.3s;
}
.form-info {
  margin-top: 1.5em;
  font-size: 1em;
  color: var(--maincolor);
  text-align: left;
}
.form-info ol {
  margin: 0 0 0.5em 1.2em;
  padding: 0;
}
.form-hint {
  margin-top: 1em;
  font-size: 0.98em;
  color: var(--maincolor);
}

/* Testimonials */
.testimonials-content {
  padding: 3em 0 2em 0;
  text-align: center;
}
.testimonials-list {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2em;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2em 1.5em;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  text-align: left;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px #22335b33;
  transform: translateY(-4px) scale(1.03);
}
.testimonial-name {
  font-weight: 700;
  color: var(--maincolor);
  margin-bottom: 0.3em;
}
.testimonial-stars {
  color: #ffe066 !important;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.testimonial-text {
  color: #22335b;
  font-size: 1em;
}

/* FAQ */
.faq-content {
  padding: 3em 0 2em 0;
  max-width: 700px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item.open { box-shadow: 0 6px 32px #22335b33; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--maincolor);
  font-size: 1.1em;
  font-weight: 700;
  padding: 1.1em 1.5em;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.faq-question:hover, .faq-question:focus {
  background: #f7f9fc;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f7f9fc;
  color: #22335b;
  font-size: 1em;
  padding: 0 1.5em;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.4s;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 1em 1.5em 1.5em 1.5em;
}

/* Footer */
.site-footer {
  background: var(--maincolor);
  color: var(--white);
  padding: 2.5em 0 1.2em 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -2px 12px #22335b22;
  margin-top: 3em;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col {
  min-width: 180px;
  flex: 1 1 180px;
}
.footer-col h4 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1.1em;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 0 0;
}
.footer-col ul li {
  margin-bottom: 0.5em;
}
.footer-col a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  color: #bfc8e6;
  margin-top: 2em;
  font-size: 0.98em;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(34,51,91,0.85);
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: #fff;
  color: var(--maincolor);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5em 2em 2em 2em;
  max-width: 420px;
  width: 90vw;
  position: relative;
  animation: fadein 0.3s;
}
.modal-close {
  position: absolute;
  top: 1.2em;
  right: 1.2em;
  background: none;
  border: none;
  color: var(--maincolor);
  font-size: 2em;
  cursor: pointer;
}

@keyframes fadein {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Animationen für Scroll-In */
.animate-fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.animate-fadein.visible {
  opacity: 1;
  transform: none;
}
.animate-slidein {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.animate-slidein.visible {
  opacity: 1;
  transform: none;
}
.no-js .animate-fadein,
.no-js .animate-slidein {
  opacity: 1 !important;
  transform: none !important;
}

/* Responsiv */
@media (max-width: 900px) {
  html { font-size: 17px; }
  .container { padding: 0 0.7rem; }
  .site-header { height: 62px; }
  .nav { height: 62px; }
  .logo-img { height: 40px; }
  .main-nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(34,51,91,0.98); z-index: 110; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav a { color: var(--accent); font-size: 1.3em; font-weight: 700; text-decoration: none; padding: 0.7em 1.2em; border-radius: 8px; transition: background var(--transition), color var(--transition); }
  .mobile-nav a:hover { background: #fff2; color: var(--white); }
  .close-nav { position: absolute; top: 1.2em; right: 1.5em; font-size: 2.5em; background: none; border: none; color: var(--accent); cursor: pointer; z-index: 120; }
  .nav-overlay { display: block; }
  .hero-content { flex-direction: column; align-items: center; text-align: center; gap: 1.2em; padding: 1.5rem 0 1.2rem 0; }
  .hero-text { max-width: 100%; margin: 0 auto; text-align: center; }
  .hero-text h1 { font-size: 1.5em; line-height: 1.15; }
  .hero-text p { font-size: 1.1em; margin-bottom: 1em; }
  .hero-img { min-height: 180px; max-height: 260px; width: 100vw; object-fit: cover; border-radius: 0; }
  .cta, .cta.big { font-size: 1em; padding: 0.7em 1.2em; }
  .contact-box { padding: 1em 1em; min-width: 0; font-size: 1em; }
  .about-content { flex-direction: column; gap: 1.2em; padding: 1.5em 0 1em 0; }
  .about-map { margin-top: 1em; }
  .usp-content { padding: 1.2em 0 1em 0; }
  .usp-list { gap: 0.7em; font-size: 1em; }
  .usp-list li { padding: 0.7em 1em; }
  .video-section { padding: 0.7em 0 0.7em 0; }
  .video-content video { border-radius: 10px; }
  .form-section { padding: 1em 0.2em 0.7em 0.2em; margin: 2em auto 1em auto; }
  .form-content h2 { font-size: 1.2em; }
  #ankaufForm { gap: 0.7em; }
  .form-row { flex-direction: column; gap: 0.5em; }
  #ankaufForm input, #ankaufForm select { font-size: 1em; padding: 0.6em 0.8em; }
  #ankaufForm button.cta { font-size: 1em; }
  .testimonials-content { padding: 1.2em 0 1em 0; }
  .testimonials-list { flex-direction: column; gap: 0.7em; }
  .testimonial-card { min-width: 0; max-width: 100%; padding: 1em 1em; font-size: 1em; }
  .faq-content { padding: 1.2em 0 1em 0; }
  .faq-list { gap: 0.7em; }
  .faq-item { font-size: 1em; }
  .footer-content { flex-direction: column; gap: 1.2em; padding: 0.7em 0.2em; }
  .footer-col { min-width: 0; }
  .site-footer { padding: 1.2em 0 0.7em 0; margin-top: 1.2em; }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  .container { padding: 0 0.3rem; }
  .site-header { height: 54px; }
  .nav { height: 54px; }
  .logo-img { height: 32px; }
  .main-nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(34,51,91,0.98); z-index: 110; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .mobile-nav.open { opacity: 1; pointer-events: auto; }
  .mobile-nav a { color: var(--accent); font-size: 1.1em; font-weight: 700; text-decoration: none; padding: 0.7em 1.2em; border-radius: 8px; transition: background var(--transition), color var(--transition); }
  .mobile-nav a:hover { background: #fff2; color: var(--white); }
  .close-nav { position: absolute; top: 1.2em; right: 1.5em; font-size: 2.5em; background: none; border: none; color: var(--accent); cursor: pointer; z-index: 120; }
  .nav-overlay { display: block; }
  .hero-content { gap: 0.7em; padding: 0.7rem 0 0.7rem 0; }
  .hero-text h1 { font-size: 1.1em; }
  .hero-img { min-height: 120px; max-height: 180px; }
  .cta, .cta.big { font-size: 0.98em; padding: 0.6em 0.7em; }
  .contact-box { padding: 0.7em 0.7em; font-size: 0.98em; }
  .about-content { padding: 1em 0 0.5em 0; gap: 0.7em; }
  .about-map { margin-top: 0.5em; }
  .usp-content { padding: 0.7em 0 0.5em 0; }
  .usp-list { gap: 0.4em; font-size: 0.98em; }
  .usp-list li { padding: 0.5em 0.7em; }
  .video-section { padding: 0.3em 0 0.3em 0; }
  .video-content video { border-radius: 7px; }
  .form-section { padding: 0.7em 0.1em 0.5em 0.1em; margin: 1em auto 0.5em auto; }
  .form-content h2 { font-size: 1em; }
  #ankaufForm { gap: 0.4em; }
  .form-row { gap: 0.3em; }
  #ankaufForm input, #ankaufForm select { font-size: 0.98em; padding: 0.5em 0.5em; }
  #ankaufForm button.cta { font-size: 0.98em; }
  .testimonials-content { padding: 0.7em 0 0.5em 0; }
  .testimonials-list { gap: 0.4em; }
  .testimonial-card { padding: 0.7em 0.7em; font-size: 0.98em; }
  .faq-content { padding: 0.7em 0 0.5em 0; }
  .faq-list { gap: 0.3em; }
  .faq-item { font-size: 1em; }
  .footer-content { gap: 0.7em; padding: 0.3em 0.1em; }
  .site-footer { padding: 0.7em 0 0.3em 0; margin-top: 0.7em; }
  .cookie-banner__content { padding: 0.7em 0.7em 0.7em 0.7em; margin: 0.2em; font-size: 0.95em; }
}

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}
.cookie-banner__content {
  background: rgba(34,51,91,0.85);
  color: #fff;
  backdrop-filter: blur(8px);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 16px #22335b44;
  padding: 1.2em 2em 1.2em 2em;
  margin: 1.2em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2em;
  font-size: 1em;
  pointer-events: auto;
  max-width: 600px;
}
.cookie-banner__content a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-banner__content a:hover { color: #fffbe6; }
.cookie-banner__content .cta.small {
  font-size: 1em;
  padding: 0.5em 1.5em;
  border-radius: 8px;
  margin-left: 1em;
}
@media (max-width: 600px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    padding: 1em 1em 1em 1em;
    margin: 0.5em;
    font-size: 0.98em;
  }
  .cookie-banner__content .cta.small {
    margin-left: 0;
    margin-top: 0.7em;
  }
}

/* FAQ mobile spacing */
@media (max-width: 900px) {
  .faq-list { gap: 0.5em; }
  .faq-item { margin-bottom: 0.2em; }
  .faq-question { padding: 0.8em 1em; font-size: 1em; }
  .faq-answer { padding: 0 1em; font-size: 0.98em; }
}
@media (max-width: 600px) {
  .faq-list { gap: 0.2em; }
  .faq-item { margin-bottom: 0.1em; }
  .faq-question { padding: 0.7em 0.7em; font-size: 0.98em; }
  .faq-answer { padding: 0 0.7em; font-size: 0.96em; }
}

/* Burger-Menü Fix */
.burger {
  background: transparent !important;
  box-shadow: none !important;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.burger span {
  width: 28px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  margin: 3px 0;
  display: block;
}

/* Burger Menü Slide-In */
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22335b;
  z-index: 110;
  opacity: 1;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  padding-top: 80px;
}
.mobile-nav.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-nav a {
  color: #ffe066;
  font-size: 1.5em;
  font-weight: 700;
  text-decoration: none;
  padding: 1em 2em;
  border-radius: 8px;
  margin: 0.2em 0;
  transition: background 0.2s, color 0.2s;
  display: block;
  text-align: center;
}
.mobile-nav a:hover {
  background: #fff2;
  color: #fff;
}
.close-nav {
  position: absolute;
  top: 1.2em;
  right: 1.5em;
  font-size: 2.5em;
  background: none;
  border: none;
  color: #ffe066;
  cursor: pointer;
  z-index: 120;
}

/* CTA Button gelb */
.cta, .cta.big, #ankaufForm button.cta {
  background: #ffe066 !important;
  color: #22335b !important;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px #ffe06644;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta:hover, .cta.big:hover, #ankaufForm button.cta:hover {
  background: #fffbe6 !important;
  color: #22335b !important;
  box-shadow: 0 4px 16px #ffe06666;
}

/* Testimonials: Sterne gelb */
.testimonial-stars {
  color: #ffe066 !important;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}

/* Hero Mobile: Text unter Bild, kein Überlappen */
@media (max-width: 900px) {
  .hero {
    min-height: unset;
    padding: 0;
  }
  .hero-bg {
    position: relative;
    width: 100vw;
    height: 220px;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
  }
  .hero-img {
    width: 100vw;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 0 0 18px 18px;
    min-height: unset;
    max-height: unset;
  }
  .hero-gradient {
    display: none;
  }
  .hero-content {
    position: static;
    background: #fff;
    border-radius: 18px;
    margin: -40px 1.2em 0 1.2em;
    box-shadow: 0 4px 24px #22335b22;
    padding: 1.2em 1em 1.2em 1em;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
  }
  .hero-text {
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 1.3em;
    line-height: 1.15;
    margin-bottom: 0.5em;
  }
  .hero-text p {
    font-size: 1.05em;
    margin-bottom: 1em;
  }
  .contact-box {
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
  }
}
@media (max-width: 600px) {
  .hero-bg, .hero-img {
    height: 140px;
    border-radius: 0 0 12px 12px;
  }
  .hero-content {
    margin: -18px 0.5em 0 0.5em;
    border-radius: 12px;
    padding: 0.7em 0.5em 0.7em 0.5em;
  }
  .hero-text h1 {
    font-size: 1em;
  }
}

/* Cards für Über uns, Testimonials, FAQ */
@media (max-width: 900px) {
  .about-content, .testimonials-content, .faq-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #22335b22;
    margin: 1.2em 1.2em 0 1.2em;
    padding: 1.2em 1em 1.2em 1em;
    flex-direction: column;
    gap: 1em;
  }
  .about-text, .testimonials-list, .faq-list {
    text-align: left;
    font-size: 1em;
  }
}
@media (max-width: 600px) {
  .about-content, .testimonials-content, .faq-content {
    border-radius: 12px;
    margin: 0.7em 0.5em 0 0.5em;
    padding: 0.7em 0.5em 0.7em 0.5em;
  }
}

/* Allgemein: Keine weißen Flächen am Rand */
body {
  background: #f7f9fc;
}
@media (max-width: 900px) {
  body {
    background: #f7f9fc;
  }
}

@media (max-width: 900px), (max-width: 600px), (max-width: 768px) {
  .contact-box {
    background: rgba(255,255,255,0.18) !important;
    backdrop-filter: blur(12px) !important;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }
  .site-header, .nav {
    height: var(--header-height);
    min-height: 72px;
  }
  .logo-img {
    height: 54px;
    max-height: 62px;
  }
}
@media (max-width: 600px) {
  :root {
    --header-height: 58px;
  }
  .site-header, .nav {
    height: var(--header-height);
    min-height: 58px;
  }
  .logo-img {
    height: 38px;
    max-height: 44px;
  }
}

@media (max-width: 900px) {
  .container.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1em;
    height: 60px;
  }
  .logo-link {
    justify-content: flex-start;
    align-items: center;
    margin-left: 8px;
    margin-right: 0;
    display: flex;
  }
  .logo-img {
    height: 48px;
    width: auto;
    margin: 0;
    display: block;
  }
  .burger {
    display: flex !important;
    margin-left: auto;
    margin-right: 0;
    align-self: center;
    background: transparent !important;
    box-shadow: none !important;
    border: none;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 120;
    position: static;
  }
  .mobile-nav {
    background: #22335b !important;
    color: #fff !important;
    box-shadow: 0 2px 24px #22335b44;
    padding-top: 80px;
    z-index: 9999;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    min-height: 100vh;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .mobile-nav a {
    color: #fff !important;
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: none;
    padding: 1em 2em;
    border-radius: 8px;
    margin: 0.2em 0;
    transition: background 0.2s, color 0.2s;
    display: block;
    text-align: center;
  }
  .mobile-nav a:hover {
    background: #fff2;
    color: #ffe066 !important;
  }
  .close-nav {
    color: #ffe066;
    position: absolute;
    top: 1.2em;
    right: 1.5em;
    font-size: 2.5em;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding: 0.7em 0 0.3em 0;
    margin-top: 0.7em;
    margin-left: 4px !important;
    margin-right: 4px !important;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7em;
    display: flex;
    flex-direction: column;
  }
  .footer-col h4, .footer-col ul, .footer-col ul li, .footer-col a, .footer-bottom {
    text-align: center !important;
  }
}
@media (max-width: 600px) {
  .site-footer {
    padding: 0.7em 0 0.3em 0;
    margin-top: 0.7em;
    margin-left: 4px !important;
    margin-right: 4px !important;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7em;
    display: flex;
    flex-direction: column;
  }
  .footer-col h4, .footer-col ul, .footer-col ul li, .footer-col a, .footer-bottom {
    text-align: center !important;
  }
}

@media (max-width: 900px) {
  .form-section {
    padding: 1em 0.2em 0.7em 0.2em;
    margin: 2em auto 1em auto;
    border-radius: 16px;
  }
  .form-content h2 {
    font-size: 1.2em;
    text-align: center;
  }
  #ankaufForm {
    gap: 0.7em;
    width: 100%;
  }
  .form-row {
    flex-direction: column;
    gap: 0.7em;
    width: 100%;
  }
  #ankaufForm input, #ankaufForm select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: block;
  }
  #ankaufForm input:focus, #ankaufForm select:focus {
    border-color: var(--maincolor);
    box-shadow: 0 2px 8px #22335b22;
  }
  .input-suffix-group {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    position: relative;
  }
  .input-suffix {
    right: 1em;
    font-size: 1em;
  }
  #ankaufForm button.cta {
    margin-top: 1.2em;
    width: 100%;
    font-size: 1.1em;
    padding: 1em 0;
    border-radius: 10px;
  }
}
@media (max-width: 600px) {
  #ankaufForm input,
  #ankaufForm select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: block;
  }
  .form-row {
    flex-direction: column;
    gap: 0.3em;
    width: 100%;
  }
  .input-suffix-group {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    position: relative;
  }
  .input-suffix {
    right: 0.7em;
    font-size: 0.98em;
  }
}

#ankaufForm input,
#ankaufForm select,
#ankaufForm textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}
.input-suffix-group {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
}
.input-suffix {
  right: 1em;
  font-size: 1em;
}

/* Globale Vereinheitlichung: Alle Formularfelder exakt 48px hoch */
#ankaufForm input,
#ankaufForm select,
#ankaufForm textarea,
.input-suffix-group input {
  height: 48px !important;
  padding: 0 1em !important;
  box-sizing: border-box !important;
  line-height: normal !important;
}
.input-suffix {
  position: absolute;
  right: 1em;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  height: 48px !important;
  line-height: 48px !important;
  pointer-events: none;
}
/* Entferne alle height-/padding-/line-height-Regeln für Inputs/Selects/Textareas in Media Queries */
@media (max-width: 900px), (max-width: 600px) {
  #ankaufForm input,
  #ankaufForm select,
  #ankaufForm textarea,
  .input-suffix-group input {
    height: 48px !important;
    padding: 0 1em !important;
    box-sizing: border-box !important;
    line-height: normal !important;
  }
  .input-suffix {
    height: 48px !important;
    line-height: 48px !important;
  }
}

input,
textarea,
select,
button {
  height: 48px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  input,
  textarea,
  select,
  button {
    height: 48px !important;
  }
}

.burger {
  width: 32px;
  height: 32px;
  gap: 4px;
  padding: 0;
  background: none !important;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 120;
  transition: background 0.2s;
}
.burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 900px) {
  .burger {
    width: 32px;
    height: 32px;
    gap: 4px;
  }
  .burger span {
    width: 22px;
    height: 2.5px;
  }
}
@media (max-width: 600px) {
  .burger {
    width: 28px;
    height: 28px;
    gap: 3px;
  }
  .burger span {
    width: 18px;
    height: 2px;
  }
}

