/* ==========================================================================
   PZ Kfz Service GbR – Stylesheet
   ========================================================================== */

:root {
  --bg: #0e1216;
  --bg-alt: #141a20;
  --surface: #1a2129;
  --surface-2: #202935;
  --border: #2b3644;
  --text: #eef2f6;
  --text-muted: #9fadbc;
  --accent: #f28b1e;
  --accent-strong: #e07508;
  --accent-soft: rgba(242, 139, 30, 0.12);
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #16110a;
  box-shadow: 0 10px 28px rgba(242, 139, 30, 0.35);
}
.btn-primary:hover { background: var(--accent-strong); color: #16110a; }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light {
  background: #fff;
  color: #16110a;
}
.btn-light:hover { color: var(--accent-strong); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #062b16;
}
.btn-whatsapp:hover { background: #1fba58; color: #062b16; }

.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 18, 22, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  background: rgba(14, 18, 22, 0.92);
  border-color: var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-logo {
  height: 44px;
  width: auto;
  flex: none;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.4rem 0 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-switch > svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.35rem 1.15rem 0.35rem 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fadbc' 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.1rem center;
  background-size: 12px;
}
.lang-switch select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.lang-switch select option {
  background: var(--surface);
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 22, 0.55) 0%, rgba(14, 18, 22, 0.35) 45%, var(--bg) 100%),
    linear-gradient(100deg, rgba(14, 18, 22, 0.82) 0%, rgba(14, 18, 22, 0.25) 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 4rem) 0 6rem;
  max-width: 780px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 139, 30, 0.5);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 34em;
  margin: 1.2rem 0 2rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  padding: 0;
  margin: 2.6rem 0 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-badges svg { width: 17px; height: 17px; color: var(--accent); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  animation: float 2.4s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
.hero-scroll:hover { color: var(--accent); border-color: var(--accent); }

@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.section-kicker {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-sub { color: var(--text-muted); margin: 0.6rem 0 0; }

.section-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section-cta p { color: var(--text-muted); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 139, 30, 0.55);
  box-shadow: var(--shadow);
}

.service-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover .service-img img { transform: scale(1.05); }

.service-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; }
.service-body p { color: var(--text-muted); margin: 0 0 1rem; font-size: 0.97rem; }

.service-body ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  gap: 0.45rem;
}
.service-body li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
}
.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.95em;
  height: 0.95em;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Split sections (Über uns / Team)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.split-reverse .split-media { order: 2; }
.split-reverse .split-text { order: 1; }

.media-card {
  position: absolute;
  left: 1.2rem;
  bottom: -1.2rem;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1.4rem;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: #16110a;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(242, 139, 30, 0.35);
}
.media-card strong { font-size: 1.05rem; }
.media-card span { font-size: 0.85rem; font-weight: 600; opacity: 0.85; }

.split-text > p { color: var(--text-muted); }

blockquote {
  margin: 1.6rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.7rem;
}
.check-list li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15em;
  height: 1.15em;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

.lang-card {
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.lang-card h3 { margin-bottom: 0.8rem; }
.lang-card p { color: var(--text-muted); margin: 0.9rem 0 0; font-size: 0.95rem; }

.lang-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lang-badges span {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(242, 139, 30, 0.4);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    linear-gradient(100deg, rgba(224, 117, 8, 0.95), rgba(242, 139, 30, 0.88)),
    url("../assets/img/workshop-interior.jpg") center / cover no-repeat;
  color: #16110a;
}

.cta-band-inner {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}
.cta-band h2 { margin-bottom: 0.3rem; }
.cta-band p { margin: 0; font-weight: 600; opacity: 0.85; }

.cta-band-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1.4rem;
}
.contact-list li { display: flex; gap: 1rem; }
.contact-list strong { display: block; margin-bottom: 0.15rem; }
.contact-list p { margin: 0; color: var(--text-muted); }

.contact-hint { font-size: 0.88rem; margin-top: 0.35rem !important; }

.contact-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(242, 139, 30, 0.4);
  color: var(--accent);
}
.contact-icon svg { width: 22px; height: 22px; }

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--surface) url("../assets/img/workshop-interior.jpg") center / cover no-repeat;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.5rem;
  background: rgba(14, 18, 22, 0.82);
  backdrop-filter: blur(3px);
}
.map-consent p { margin: 0; color: var(--text-muted); font-size: 0.92rem; max-width: 30em; }
.map-link { font-size: 0.88rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   Formular
   -------------------------------------------------------------------------- */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}
.contact-form-wrap h3 { font-size: 1.45rem; }

.form-note { color: var(--text-muted); font-size: 0.93rem; margin: 0 0 1.4rem; }

.form-row { margin-bottom: 1.1rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
label span { color: var(--accent); }

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input.invalid, textarea.invalid { border-color: #e5484d; }
textarea { resize: vertical; min-height: 120px; }

select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239fadbc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.1em;
  padding-right: 2.8rem;
}

.form-hint { font-size: 0.83rem; color: var(--text-muted); margin: 0 0 1.3rem; }

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

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(242, 139, 30, 0.4);
  color: var(--text);
  font-size: 0.93rem;
}
.form-feedback.is-success {
  background: rgba(48, 164, 108, 0.12);
  border-color: rgba(48, 164, 108, 0.5);
}
.form-feedback.is-error {
  background: rgba(229, 72, 77, 0.1);
  border-color: rgba(229, 72, 77, 0.5);
}

/* Honeypot-Feld gegen Spam – für echte Besucher unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn[disabled] { opacity: 0.6; cursor: progress; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a0d11;
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.site-footer address { font-style: normal; color: var(--text-muted); }
.site-footer p { color: var(--text-muted); }

.footer-tagline { margin-top: 1rem; font-size: 0.95rem; }

.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer-nav a { color: var(--text-muted); font-weight: 600; }
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.4rem; }
.footer-bottom a { color: var(--text-muted); font-weight: 600; }
.footer-bottom a:hover { color: var(--accent); }
.footer-credit {
  margin: 0;
  padding: 0 0 1.4rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Cookie-/Datenschutzhinweis
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 95;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.3rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
  animation: cookieIn 0.35s ease both;
}
.cookie-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}
.cookie-title svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.cookie-text { margin: 0; color: var(--text-muted); }
.cookie-text a { color: var(--accent); font-weight: 600; }
.cookie-actions { display: flex; justify-content: flex-end; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .cookie-banner { left: 0.8rem; bottom: 0.8rem; max-width: calc(100vw - 6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* --------------------------------------------------------------------------
   Floating WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #062b16;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); color: #062b16; }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
}

/* --------------------------------------------------------------------------
   Legal pages (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.legal-page {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  max-width: 760px;
}
.legal-page h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal-page p, .legal-page li { color: var(--text-muted); }
.legal-page strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .header-phone span { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(14, 18, 22, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1.25rem 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .main-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .main-nav a {
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child { border-bottom: none; }

  .nav-toggle { display: flex; }

  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-reverse .split-text { order: 1; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-logo { height: 38px; }
  .header-actions .btn { display: none; }
  .header-actions { gap: 0.6rem; }
  .lang-switch { padding-left: 0.6rem; }
  .lang-switch > svg { display: none; }
  .hero-content { padding-top: calc(var(--header-h) + 2.5rem); }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .media-card { left: 0.8rem; }
}
