/* ==========================================================================
   MOTORWERK Meisterwerkstatt – Demo-Website
   Heller technischer Stil · Barlow Condensed + Inter · Mobile-first
   ========================================================================== */

/* ---------- Fonts (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #1b1e23;
  --ink-soft: #4a4f57;
  --line: #dcdfe4;
  --red: #d5342b;
  --red-dark: #b32a22;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(27, 30, 35, 0.08);
  --shadow-md: 0 6px 20px rgba(27, 30, 35, 0.1);
  --shadow-lg: 0 14px 36px rgba(27, 30, 35, 0.14);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --notdienst-h: 42px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--red);
  color: #fff;
}

section {
  scroll-margin-top: calc(var(--header-h) + var(--notdienst-h) + 8px);
}

.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.85rem 1.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Ukośny pasek serwisowy / Section-Tag ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-tag::before {
  content: "";
  width: 34px;
  height: 12px;
  background: var(--red);
  transform: skewX(-12deg);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head p {
  color: var(--ink-soft);
}

/* ---------- Notdienst-Leiste ---------- */
.notdienst {
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  min-height: var(--notdienst-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 60;
}
.notdienst .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
}
.notdienst-label {
  color: #c9cdd4;
}
.notdienst-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.notdienst-phone svg {
  color: var(--red);
  flex-shrink: 0;
}
.notdienst-phone:hover {
  text-decoration: underline;
}

.notdienst-label .label-short {
  display: none;
}
@media (max-width: 640px) {
  .notdienst-label .label-long {
    display: none;
  }
  .notdienst-label .label-short {
    display: inline;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: var(--notdienst-h);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.site-header.is-scrolled {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-mark {
  width: 14px;
  height: 30px;
  background: var(--red);
  transform: skewX(-12deg);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}
.logo-text span {
  color: var(--red);
}

/* Desktop-Navigation: zentriertes Logo, Menü links/rechts aufgeteilt */
.desktop-nav {
  display: none;
}
.nav-left ul,
.nav-right ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.85rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-left a:not(.btn),
.nav-right a:not(.btn),
.main-nav a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-left a:not(.btn):hover,
.nav-right a:not(.btn):hover,
.main-nav a:not(.btn):hover {
  color: var(--red);
  border-color: var(--red);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav .btn {
  font-size: 1rem;
  padding: 0.6rem 1.3rem;
}

/* Pulsierender CTA-Button im Header */
.btn-pulse {
  animation: ctaPulse 2.6s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(213, 52, 43, 0.38); }
  50% { box-shadow: 0 0 0 9px rgba(213, 52, 43, 0); }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.55rem;
  cursor: pointer;
  z-index: 80;
}
.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  display: none;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    z-index: 70;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-nav a:not(.btn) {
    font-size: 1.7rem;
  }
  .main-nav .btn {
    font-size: 1.25rem;
    padding: 0.85rem 2rem;
  }
}

@media (min-width: 1101px) {
  .logo-mobile {
    display: none;
  }
  .desktop-nav {
    --nav-gap: clamp(1.35rem, 2vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--nav-gap);
    width: 100%;
  }
  .desktop-nav .logo {
    transition: transform 0.2s;
  }
  .desktop-nav .logo:hover {
    transform: scale(1.04);
  }
  .desktop-nav .logo-mark {
    width: 16px;
    height: 34px;
  }
  .desktop-nav .logo-text {
    font-size: 1.9rem;
  }
  .nav-right .btn-pulse {
    font-size: 1.2rem;
    padding: 0.95rem 2.1rem;
    white-space: nowrap;
  }
  .nav-left ul,
  .nav-right ul {
    gap: var(--nav-gap);
  }
  .nav-right {
    gap: var(--nav-gap);
  }
}

@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-left a:not(.btn),
  .nav-right a:not(.btn) {
    font-size: 1rem;
  }
  .desktop-nav .logo-text {
    font-size: 1.7rem;
  }
  .nav-right .btn-pulse {
    font-size: 1.05rem;
    padding: 0.8rem 1.6rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: min(85svh, 860px);
  display: flex;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin-bottom: 0.35em;
}
.hero h1 .accent {
  color: var(--red);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 34rem;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin: 0.75rem 0 1.5rem;
}
.hero-rating .star {
  color: var(--red);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.hero-note .check {
  color: var(--red);
  font-weight: 600;
}

.hero-media {
  position: relative;
}
.hero-media::after {
  content: "";
  position: absolute;
  top: -18px;
  right: 26px;
  width: 34px;
  height: 120px;
  background: var(--red);
  transform: skewX(-12deg);
}
.hero-photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  animation: kenburns 25s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

/* Intro-Animation beim Laden */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.6s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.35s; }
.fade-up:nth-child(4) { animation-delay: 0.5s; }
.fade-up:nth-child(5) { animation-delay: 0.65s; }
.hero-media.fade-up { animation-delay: 0.55s; }
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Trust-Bar ---------- */
.trustbar {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(1.75rem, 4vw, 2.5rem);
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 760px) {
  .trustbar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1;
}
.trust-value .star {
  color: var(--red);
}
.trust-label {
  font-size: 0.9rem;
  color: #c9cdd4;
  margin-top: 0.35rem;
}

/* ---------- Sektionen (naprzemienne tła) ---------- */
.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

/* ---------- Referenz-Streifen ---------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.ref-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.section-alt .ref-card {
  background: var(--bg);
}
.ref-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ref-card figure {
  margin: 0;
  overflow: hidden;
}
.ref-card img {
  width: 100%;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  transition: transform 0.35s;
}
.ref-card:hover img {
  transform: scale(1.04);
}
.ref-card figcaption {
  padding: 0.9rem 1rem 1.1rem;
  font-size: 0.95rem;
}
.ref-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.ref-card .ref-meta {
  color: var(--ink-soft);
}
.ref-card .ref-meta b {
  color: var(--red);
  font-weight: 600;
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.service-card h3 {
  margin: 0.35rem 0 0;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
  flex-grow: 1;
}
.service-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--red);
  letter-spacing: 0.03em;
}
.service-price small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0;
}

/* ---------- Typische Probleme ---------- */
.problems-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.problem-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 0.6rem;
}
.problem-card .problem-cta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red);
}

/* ---------- Prozess ---------- */
.process-grid {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 820px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.process-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}
.process-note {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  font-weight: 500;
}
.process-note .badge {
  flex-shrink: 0;
  width: 12px;
  height: 28px;
  background: var(--red);
  transform: skewX(-12deg);
}

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  max-width: 380px;
}
.about-photo img {
  width: 100%;
  transition: transform 0.35s;
}
.about-photo:hover img {
  transform: scale(1.04);
}
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}
.about-facts li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

/* ---------- Bewertungen ---------- */
.reviews-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-stars {
  color: var(--red);
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 0.99rem;
  flex-grow: 1;
}
.review-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
}
.review-card cite span {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--red);
  transition: transform 0.25s;
}
.faq-question .faq-icon::before {
  width: 16px;
  height: 2.5px;
}
.faq-question .faq-icon::after {
  width: 2.5px;
  height: 16px;
}
.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-answer > div {
  overflow: hidden;
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer p {
  padding: 0 1.3rem 1.2rem;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info h3 {
  margin-top: 1.6rem;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.contact-line svg {
  flex-shrink: 0;
  color: var(--red);
}
.contact-line a {
  font-weight: 600;
  text-decoration: none;
}
.contact-line a:hover {
  color: var(--red);
}
.hours-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 320px;
  font-size: 0.97rem;
}
.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.map-placeholder {
  margin-top: 1.5rem;
  border: 1px dashed var(--ink-soft);
  border-radius: var(--radius);
  background: var(--bg);
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
}
.map-placeholder p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

/* Formular */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}
.form-intro {
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 560px) {
  .form-row.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213, 52, 43, 0.15);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0.85rem 0 0;
}
.form-success {
  display: none;
  background: #eaf6ec;
  border: 1px solid #3e8e4e;
  color: #24552d;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  font-weight: 500;
}
.form-success.is-visible {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9cdd4;
  padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.5rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
.site-footer .logo-text {
  color: #fff;
}
.site-footer h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.45rem;
}
.site-footer a {
  color: #c9cdd4;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #33373e;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: #c9cdd4;
}

/* ---------- Sticky Mobile CTA ---------- */
.mobile-cta {
  display: none;
}
@media (max-width: 760px) {
  body {
    padding-bottom: 64px;
  }
  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 64px;
    box-shadow: 0 -4px 16px rgba(27, 30, 35, 0.18);
  }
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
  }
  .mobile-cta .cta-call {
    background: var(--ink);
    color: #fff;
  }
  .mobile-cta .cta-book {
    background: var(--red);
    color: #fff;
  }
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 54;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
@media (max-width: 760px) {
  .whatsapp-float {
    bottom: 78px;
  }
}

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 460px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.4rem;
  z-index: 100;
  display: none;
}
.cookie-banner.is-visible {
  display: block;
}
@media (min-width: 760px) {
  .cookie-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
  }
}
.cookie-banner p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.cookie-banner p a {
  color: var(--ink);
}
.cookie-actions {
  display: flex;
  gap: 0.6rem;
}
.cookie-actions .btn {
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  flex: 1;
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Unterseiten (Impressum / Datenschutz / 404) ---------- */
.legal-page {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  max-width: 780px;
}
.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
}
.legal-page h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}
.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}
.demo-notice {
  background: #fdeeed;
  border: 1px solid var(--red);
  border-left-width: 5px;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 2rem;
  color: var(--ink);
  font-weight: 500;
}

.error-page {
  min-height: 70svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 3rem;
}
.error-code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(6rem, 20vw, 11rem);
  line-height: 1;
  color: var(--ink);
}
.error-code span {
  color: var(--red);
}
.error-page .hero-cta {
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-photo img {
    animation: none;
  }
  .fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn-pulse {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
