/* ============================================================
   Popal Logistik – Stylesheet
   Farbwelt abgeleitet aus dem Firmenlogo (Navy / Blau / Grau)
   ============================================================ */

:root {
  --navy-dark: #060e22;
  --navy: #0d1b3d;
  --navy-light: #16265a;
  --blue: #1e56f0;
  --blue-light: #4f7dff;
  --grey: #7d8694;
  --grey-light: #eef1f5;
  --grey-mid: #c7ccd4;
  --white: #ffffff;
  --off-white: #f7f8fa;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(6, 14, 34, 0.14);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.lead {
  font-size: 1.1rem;
  color: var(--grey);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(30, 86, 240, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30, 86, 240, 0.45); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--grey-mid);
}
.btn-outline-navy:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(6, 14, 34, 0.72);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), height var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 14, 34, 0.96);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height var(--transition);
}

.site-header.scrolled .container { height: 68px; }
.site-header.scrolled .logo { height: 38px; }

.main-nav a { position: relative; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  transition: width var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { opacity: 1; color: var(--blue-light); }

.logo { height: 52px; width: auto; display: block; }

/* Logo ist dunkel/navy gezeichnet für hellen Hintergrund -> auf dem dunklen Header/Footer
   bekommt er eine helle "Badge"-Fläche, damit er nicht mit dem Hintergrund verschmilzt */
.logo-badge {
  background: var(--white);
  border-radius: 10px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: padding var(--transition);
}
.site-header.scrolled .logo-badge { padding: 4px 12px; }
.site-header.scrolled .logo-badge .logo { height: 40px; }

.footer-logo-badge {
  background: var(--white);
  border-radius: 10px;
  padding: 10px 18px;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo { height: 58px; width: auto; margin-bottom: 0; display: block; }

.main-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.main-nav a:hover { opacity: 1; color: var(--blue-light); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.header-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 180px 0 120px;
  background:
    linear-gradient(120deg, rgba(6,14,34,0.94) 0%, rgba(13,27,61,0.92) 45%, rgba(22,38,90,0.85) 100%),
    url("images/hero-truck.jpg") center 62% / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 2px, transparent 2px, transparent 90px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  color: var(--white);
  margin-bottom: 22px;
}

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

.hero p.lead { color: var(--grey-mid); max-width: 520px; margin-bottom: 34px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats .stat-num { font-size: 1.9rem; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.hero-stats .stat-label { font-size: 0.85rem; color: var(--grey-mid); }

.hero-art {
  position: relative;
  aspect-ratio: 4/3;
  background: rgba(6, 14, 34, 0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.hero-art .truck-group { animation: truckFloat 3.4s ease-in-out infinite; transform-origin: center; }
.hero-art .wheel { animation: wheelSpin 1.1s linear infinite; transform-box: fill-box; transform-origin: center; }
.hero-art .road-dash { animation: roadMove 1.1s linear infinite; }
.hero-art .speed-line { animation: speedSlide 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
.hero-art .speed-line:nth-child(2) { animation-delay: 0.15s; }
.hero-art .speed-line:nth-child(3) { animation-delay: 0.3s; }

@keyframes truckFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes wheelSpin {
  to { transform: rotate(360deg); }
}
@keyframes roadMove {
  to { stroke-dashoffset: -64; }
}
@keyframes speedSlide {
  0% { transform: translateX(0) scaleX(1); opacity: 0.75; }
  50% { transform: translateX(14px) scaleX(1.08); opacity: 1; }
  100% { transform: translateX(0) scaleX(1); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .truck-group, .hero-art .wheel, .hero-art .road-dash, .hero-art .speed-line { animation: none !important; }
}

/* ---------- Trust bar ---------- */

.trust-bar {
  background: var(--off-white);
  padding: 30px 0;
  border-bottom: 1px solid var(--grey-light);
  overflow: hidden;
}
.trust-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: trustScroll 26s linear infinite;
}
.trust-bar:hover .trust-track { animation-play-state: paused; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}
.trust-item svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }

@keyframes trustScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}

.map-pulse { animation: mapPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mapPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.8); opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pulse { animation: none; }
}

/* ---------- Services ---------- */

.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--grey-light);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition), background var(--transition);
}
.service-icon svg { width: 28px; height: 28px; color: var(--blue-light); transition: transform var(--transition); }
.service-card:hover .service-icon { background: var(--blue); transform: rotate(-6deg) scale(1.08); }
.service-card:hover .service-icon svg { transform: scale(1.1); }

.service-card p { color: var(--grey); font-size: 0.95rem; }

/* ---------- Über uns ---------- */

.about { background: var(--navy); color: var(--white); }
.about .section-head h2, .about .section-head .eyebrow { color: var(--white); }
.about .eyebrow { color: var(--blue-light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p { color: var(--grey-mid); margin-bottom: 18px; }

.about-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.about-cta .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
}
.about-cta .name { font-weight: 700; }
.about-cta .role { font-size: 0.85rem; color: var(--grey-mid); }

.about-list { display: grid; gap: 18px; }
.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.about-list svg { width: 22px; height: 22px; color: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.about-list strong { display: block; margin-bottom: 3px; }
.about-list span.sub { color: var(--grey-mid); font-size: 0.9rem; }

/* ---------- Für unsere Fahrer / Karriere ---------- */

.drivers { background: var(--white); }

.drivers-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.driver-art { position: relative; }

.photo-stack { position: relative; }
.photo-main {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow);
}
.photo-badge {
  position: absolute;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  border: 5px solid var(--white);
  box-shadow: 0 16px 32px rgba(6,14,34,0.28);
  bottom: -26px;
  right: -22px;
  transition: transform var(--transition);
}
.photo-stack:hover .photo-badge { transform: translateY(-6px) rotate(-2deg); }

.photo-caption {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(6,14,34,0.85);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.about-photo img { width: 100%; height: 230px; object-fit: cover; display: block; }

.feature-list { display: grid; gap: 16px; margin-top: 8px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-list svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.feature-list strong { display: block; margin-bottom: 3px; color: var(--navy); }
.feature-list span.sub { color: var(--grey); font-size: 0.9rem; }

/* ---------- Coverage / Deutschlandweit ---------- */

.coverage { background: var(--off-white); }
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.coverage-map {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 680 / 460;
  border-radius: 8px;
  overflow: hidden;
  background: var(--grey-light);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}
.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  animation: pinGlow 2.2s ease-in-out infinite;
}
.map-pin.pin-strong .pin-dot { background: #ff5a3c; }
.map-pin.label-above { flex-direction: column-reverse; }
@keyframes pinGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,86,240,0.55), 0 2px 6px rgba(0,0,0,0.35); }
  50% { box-shadow: 0 0 0 11px rgba(30,86,240,0), 0 2px 6px rgba(0,0,0,0.35); }
}
.pin-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255,255,255,0.94);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
@media (prefers-reduced-motion: reduce) {
  .pin-dot { animation: none; }
}

.coverage-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.coverage-points .point {
  text-align: center;
  padding: 14px 8px;
  background: var(--grey-light);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}
.coverage-points .point.point-highlight {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Contact ---------- */

.contact { background: var(--navy-dark); color: var(--white); }
.contact .eyebrow { color: var(--blue-light); }
.contact h2 { color: var(--white); }
.contact p.lead { color: var(--grey-mid); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info svg { width: 22px; height: 22px; color: var(--blue-light); flex-shrink: 0; margin-top: 3px; }
.contact-info strong { display: block; margin-bottom: 2px; }
.contact-info span.sub { color: var(--grey-mid); font-size: 0.92rem; }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; color: var(--grey-mid); }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-note { font-size: 0.8rem; color: var(--grey-mid); margin-top: 12px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: var(--grey-mid);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 40px; margin-bottom: 16px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal pages / Modal content ---------- */

.legal-page {
  padding: 180px 0 100px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-page h1 { margin-bottom: 28px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 38px; margin-bottom: 12px; }
.legal-page p, .legal-page li { color: var(--grey); margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.placeholder,
.placeholder-text {
  background: #fff3d6;
  color: #7a5b00;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 34, 0.78);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 40px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 760px;
  max-height: 82vh;
  overflow-y: auto;
  border-radius: var(--radius);
  padding: 44px 44px 36px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--grey-light);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.modal-close:hover { background: var(--blue); color: var(--white); transform: rotate(90deg); }

.modal-box h1 { font-size: 1.6rem; margin-bottom: 20px; }
.modal-box h2 { font-size: 1.1rem; margin-top: 30px; margin-bottom: 10px; }
.modal-box p, .modal-box li { color: var(--grey); font-size: 0.95rem; margin-bottom: 10px; }
.modal-box ul { padding-left: 20px; list-style: disc; }

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid, .about-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .site-header.open .main-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  section { padding: 64px 0; }
  .hero { padding: 140px 0 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar .container { justify-content: flex-start; }
}

/* Google Maps: Zwei-Klick-Loesung (Karte laedt erst nach Einwilligung) */
.map-consent {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(140deg, var(--navy-light) 0%, var(--navy) 100%);
  color: var(--white);
}
.map-consent-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.map-consent-text {
  margin: 0;
  max-width: 44ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.map-consent-text a {
  color: var(--white);
  text-decoration: underline;
}
.map-consent-btn {
  margin-top: 4px;
  padding: 11px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--transition);
}
.map-consent-btn:hover {
  filter: brightness(1.1);
}
/* Marker erst einblenden, wenn die Karte tatsaechlich geladen ist */
.map-frame:not(.map-loaded) .map-pin {
  display: none;
}

/* Honeypot: muss fuer Menschen unsichtbar sein, aber fuer Bots im DOM stehen.
   Kein display:none -- manche Bots ueberspringen versteckte Felder gezielt. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 14px 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-status.is-ok {
  color: #1a7f4b;
}
.form-status.is-error {
  color: #c0342b;
}
