:root {
  --brand-blue: #29a8e0;
  --brand-blue-dark: #0b6f9e;
  --brand-light-blue: #8dd6f7;
  --brand-gray: #6b7280;
  --brand-black: #1d2128;
  --brand-white: #ffffff;
  --brand-background: #f3f6f8;

  --font-sans:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card:
    0 1px 2px rgba(29, 33, 40, 0.04), 0 4px 16px rgba(29, 33, 40, 0.06);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--brand-black);
  background: var(--brand-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: var(--brand-blue-dark);
}

img,
svg {
  max-width: 100%;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brand-blue-dark);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-black);
  color: var(--brand-white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* Testbetrieb-Hinweis */
.notice-bar {
  background: #fff3cd;
  color: #6b5300;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  border-bottom: 1px solid #e8d68a;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e7ebee;
  padding-top: env(safe-area-inset-top);
}

.site-header .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 55vw;
}

@media (max-width: 480px) {
  .brand-logo img {
    height: 34px;
  }
}

.footer-logo-chip {
  display: inline-flex;
  background: var(--brand-white);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

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

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.wordmark .name {
  font-size: 1.3rem;
  font-weight: 700;
}

.wordmark .name .rollende {
  color: var(--brand-black);
}

.wordmark .name .helfer {
  color: var(--brand-blue);
}

.wordmark .tagline {
  margin-top: 0.15rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-gray);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  min-width: 0;
}

.main-nav a {
  color: var(--brand-black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--brand-blue-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Auf sehr schmalen Displays (iPhone-Breite) verdrängt der große Header-CTA
   das Logo und den Hamburger und bricht in Safari zweizeilig um. Dort lieber
   nur Logo + Hamburger zeigen; der CTA steht weiterhin prominent im Hero und
   im geoeffneten Mobile-Menü. */
@media (max-width: 600px) {
  .header-actions .header-cta {
    display: none;
  }
}

.nav-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid #e0e5e9;
  background: var(--brand-white);
  font: inherit;
  margin: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-black);
  position: relative;
  transition: transform 0.15s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid #e7ebee;
  background: var(--brand-white);
  padding: 0.5rem 1.5rem 1.25rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  color: var(--brand-black);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f0f2f4;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.mobile-nav .mobile-nav-cta {
  display: inline-flex;
  border-bottom: none;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #eef1f3;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Buttons — expliziter Reset gegen Safari-Standarddarstellung (kein appearance,
   keine implizite Höhe/Radius/Schrift aus dem UA-Stylesheet uebernehmen). */
.btn {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--brand-white);
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-blue-dark);
  color: var(--brand-white);
}

.btn-primary:hover {
  background: #095e86;
  color: var(--brand-white);
}

.btn-secondary {
  background: var(--brand-white);
  color: var(--brand-black);
  border-color: #d7dde2;
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue-dark);
}

/* Hero */
.hero {
  background: linear-gradient(
    180deg,
    var(--brand-background) 0%,
    var(--brand-white) 100%
  );
  padding: 4rem 0 3rem;
}

.hero .container {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  display: inline-block;
  color: var(--brand-blue-dark);
  background: rgba(41, 168, 224, 0.12);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--brand-gray);
  max-width: 46ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-visual {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hero-visual h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hero-visual ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--brand-gray);
  font-size: 0.95rem;
}

.hero-visual li + li {
  margin-top: 0.4rem;
}

/* Foto-Container mit festem Seitenverhältnis gegen Layout-Shift */
.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-background);
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* schmalerer Ausschnitt, Fokus nach rechts auf den Anhänger statt auf das Gebäude im Hintergrund */
.photo-frame--focus-right {
  aspect-ratio: 3 / 4;
}

.photo-frame--focus-right img {
  object-position: 100% center;
}

.hero-photo {
  border: 1px solid #e7ebee;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-white);
}

.hero-photo .photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.hero-photo figcaption {
  padding: 1rem 1.25rem 1.25rem;
  color: var(--brand-gray);
  font-size: 0.92rem;
}

.hero-photo figcaption strong {
  display: block;
  color: var(--brand-black);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

/* Galerie */
.gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

.gallery-card {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.gallery-card .photo-frame {
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.gallery-card figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  color: var(--brand-gray);
  min-height: calc(3 * 1.6em);
}

/* Einsatzbereiche */
.usecase-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.usecase-card {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  text-align: center;
}

.usecase-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: rgba(41, 168, 224, 0.12);
  color: var(--brand-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.usecase-card p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Motorrad-Abschnitt */
.moto-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .moto-block {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.moto-block .photo-frame {
  aspect-ratio: 4 / 3;
}

/* Kontakt: zwei Wege */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Section base */
section {
  padding: 3.5rem 0;
}

.section-heading {
  max-width: 60ch;
  margin: 0 0 2.25rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.75rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.6rem;
}

.section-heading p {
  color: var(--brand-gray);
  font-size: 1.05rem;
  margin: 0;
}

.section-alt {
  background: var(--brand-background);
}

/* Anhänger Showcase */
.showcase {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .showcase {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.showcase .photo-frame {
  border: 1px solid #e7ebee;
  box-shadow: var(--shadow-card);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
  margin-top: 0.5rem;
}

.feature-list strong {
  display: block;
}

.feature-list span.detail {
  color: var(--brand-gray);
  font-size: 0.95rem;
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.price-table caption {
  text-align: left;
  padding: 1.1rem 1.5rem 0;
  font-weight: 600;
  color: var(--brand-gray);
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.9rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #eef1f3;
  font-size: 1rem;
}

.price-table th:last-child,
.price-table td:last-child {
  text-align: right;
}

.price-table thead th {
  background: var(--brand-background);
  color: var(--brand-black);
  font-weight: 600;
}

.price-table td.price {
  font-weight: 700;
  color: var(--brand-blue-dark);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr.price-inquiry td {
  font-style: normal;
  color: var(--brand-black);
}

.price-note {
  margin-top: 1rem;
  color: var(--brand-gray);
  font-size: 0.92rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

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

.step-card {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--brand-white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.step-card p {
  margin: 0;
  color: var(--brand-gray);
  font-size: 0.95rem;
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trust-card {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(41, 168, 224, 0.12);
  color: var(--brand-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.trust-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.trust-card p {
  margin: 0;
  color: var(--brand-gray);
  font-size: 0.92rem;
}

/* Contact */
.contact-card {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.contact-card h2 {
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0;
  color: var(--brand-gray);
}

/* Footer */
.site-footer {
  background: var(--brand-black);
  color: #cfd6dc;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.footer-brand .name {
  color: var(--brand-white);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-brand .name .helfer {
  color: var(--brand-light-blue);
}

.footer-brand .tagline {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #97a2ac;
  font-weight: 600;
}

.footer-brand p.desc {
  margin-top: 1rem;
  max-width: 40ch;
  font-size: 0.92rem;
  color: #aeb6bd;
}

.footer-links {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(2, 1fr);
}

.footer-links h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #97a2ac;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: #dfe4e8;
  text-decoration: none;
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--brand-light-blue);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333941;
  font-size: 0.82rem;
  color: #8b949c;
}

/* Legal pages */
.legal-main {
  max-width: 68ch;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.legal-main h1 {
  margin-bottom: 0.5rem;
}

.legal-main .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--brand-gray);
  text-decoration: none;
}

.legal-main .back-link:hover {
  color: var(--brand-blue-dark);
}

.legal-block {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-card);
}

.legal-block h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.legal-block dt {
  font-weight: 600;
  margin-top: 1rem;
}

.legal-block dt:first-child {
  margin-top: 0;
}

.legal-block dd {
  margin: 0.15rem 0 0;
  color: var(--brand-black);
}

.pending-note {
  background: var(--brand-background);
  border: 1px solid #dfe6ea;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--brand-gray);
  font-size: 0.94rem;
}

/* Hero: kurze Vorteile unter den CTAs */
.hero-benefits {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-black);
}

.hero-benefits svg {
  flex-shrink: 0;
  color: var(--brand-blue-dark);
}

/* "So funktioniert's" — deutlich aufgewertet, weiter oben auf der Seite */
.section-ablauf {
  background: linear-gradient(
    180deg,
    rgba(41, 168, 224, 0.07) 0%,
    var(--brand-white) 100%
  );
}

.steps-4 {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1000px) {
  .steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(41, 168, 224, 0.12);
  color: var(--brand-blue-dark);
}

.step-card .step-number {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
  margin-bottom: 0;
  background: var(--brand-background);
  color: var(--brand-blue-dark);
}

/* Kalendertags-Hinweis — informativ, nicht alarmierend */
.day-note {
  margin-top: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(41, 168, 224, 0.08);
  border: 1px solid rgba(41, 168, 224, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--brand-black);
}

.day-note svg {
  flex-shrink: 0;
  color: var(--brand-blue-dark);
  margin-top: 0.15rem;
}

.day-note p {
  margin: 0;
  font-size: 0.95rem;
}

/* Lokales Einzugsgebiet */
.region-chips {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.region-chips li {
  background: var(--brand-background);
  border: 1px solid #e0e5e9;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brand-black);
}

/* Trust: kompakte Zweier-Variante */
.trust-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 640px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--brand-white);
  border: 1px solid #e7ebee;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--brand-black);
}

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

.faq-icon {
  flex-shrink: 0;
  color: var(--brand-gray);
  transition: transform 0.15s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0.85rem 0 0;
  color: var(--brand-gray);
  font-size: 0.96rem;
}
