/* ==========================================================================
   Ihr Raumausstatter – Stylesheet
   Farben, Schriften und Abstände zentral über die Variablen in :root ändern.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Yeseva One";
  src: url("../fonts/yeseva-one.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben (aus dem Logo und der alten Webseite) */
  --red: #b82025;
  --red-dark: #8e161b;
  --red-soft: #fbeced;
  --ink: #15191c;          /* Überschriften */
  --text: #454e55;         /* Fließtext – dunkler als früher, für bessere Lesbarkeit */
  --muted: #687279;        /* Grau der alten Seite für Nebentexte */
  --line: #e5e3df;
  --sand: #f6f5f2;         /* heller, warmer Abschnittshintergrund */
  --panel: #ebeae7;        /* Grau des Einsatzgebiete-Blocks */
  --footer: #111518;
  --white: #fff;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Yeseva One", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 21, 24, .05), 0 12px 32px -12px rgba(17, 21, 24, .18);
  --shadow-lg: 0 2px 4px rgba(17, 21, 24, .06), 0 24px 48px -16px rgba(17, 21, 24, .28);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: .005em; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.section-head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head .eyebrow::after { content: ""; width: 2rem; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .8rem 1.6rem;
  font: 700 .95rem/1.2 var(--font-body); letter-spacing: .02em;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { --bg: var(--red-dark); --bd: var(--red-dark); color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(184, 32, 37, .55); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .7); }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--red); --bd: #fff; }
.btn--white:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .92rem; color: var(--red); text-decoration: none;
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(17, 21, 24, .35); }
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
}
.nav { display: flex; gap: .4rem; }
.nav--left { justify-content: flex-end; }
.nav--right { justify-content: flex-start; }
.nav a {
  position: relative; padding: .55rem .9rem;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red); }
.brand { display: block; line-height: 0; }
.brand img { height: 76px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.header-right { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  color: var(--ink); text-decoration: none; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--red-soft); color: var(--red); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }
.header-call { display: none; }
.menu-toggle {
  display: none; border: 0; background: var(--ink); color: #fff; border-radius: 50%;
  width: 2.75rem; height: 2.75rem; place-items: center; cursor: pointer;
}
.menu-toggle svg { width: 1.3rem; height: 1.3rem; }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: auto 1fr; gap: 1rem; }
  .nav, .header-actions .social { display: none; }
  .brand { order: -1; }
  .brand img { height: 52px; }
  .header-right { justify-content: flex-end; }
  .header-call {
    display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem;
    border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none;
  }
  .header-call:hover { background: var(--red-dark); color: #fff; }
  .header-call svg { width: 1rem; height: 1rem; }
  .menu-toggle { display: inline-grid; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: #fff; padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
  .mobile-nav li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); text-decoration: none;
  }
  .mobile-nav li a svg { width: 1.25rem; height: 1.25rem; color: var(--red); flex: none; }
  .mobile-nav li a[aria-current="page"] { color: var(--red); }
  .mobile-nav .btn { width: 100%; margin-bottom: .75rem; }
  .mobile-nav .social-row { display: flex; gap: .5rem; margin-top: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .header-call span { display: none; }
  .header-call { padding: .6rem; }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  min-height: min(88vh, 820px); display: grid; align-items: center;
  padding-block: clamp(5rem, 12vw, 8rem);
}
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 21, 24, .55) 0%, rgba(17, 21, 24, .45) 45%, rgba(17, 21, 24, .72) 100%);
}
.hero__content { max-width: 52rem; margin-inline: auto; }
.hero .eyebrow { color: #fff; display: block; letter-spacing: .14em; line-height: 1.6; }
.hero .eyebrow::before { display: block; width: 3rem; height: 3px; margin: 0 auto 1.1rem; background: var(--red); border-radius: 2px; }
.hero h1 { color: #fff; margin-bottom: .4em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero p { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 38rem; margin: 0 auto 2.2rem; color: rgba(255, 255, 255, .92); }
.hero .btn-row { justify-content: center; }

.facts { background: var(--ink); color: #fff; }
.facts ul {
  list-style: none; margin: 0 auto; padding: 1.4rem var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 3rem;
  font-weight: 600; font-size: .95rem;
}
.facts li { display: inline-flex; align-items: center; gap: .6rem; }
.facts svg { width: 1.2rem; height: 1.2rem; color: #ff5a4f; flex: none; }

/* ---------- Leistungs-Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
  grid-column: span 2;
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem 1.75rem 1.9rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cards .card:nth-child(4) { grid-column: 2 / span 2; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon { height: 88px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.card__icon img { max-height: 80px; width: auto; max-width: 140px; transition: transform .35s var(--ease); }
.card:hover .card__icon img { transform: scale(1.06); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .97rem; color: var(--muted); flex: 1; }
.card .link-arrow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* ganze Karte klickbar */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .cards .card:nth-child(4) { grid-column: auto; }
  .cards .card:last-child { grid-column: 1 / -1; max-width: calc(50% - .75rem); justify-self: center; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { max-width: none; }
}

/* ---------- Einsatzgebiete (Split) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1.1fr;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--panel);
}
.split__media { min-height: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: clamp(2rem, 5vw, 4rem); }
.split__body h2 { color: var(--red); }
.split__body h3 { margin-top: 1.6rem; }
.split__body p { color: var(--text); }
.split__body .btn { margin-top: .75rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 3; }
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.gallery button {
  position: relative; padding: 0; border: 0; background: var(--panel); cursor: zoom-in;
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1700 / 832;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button::after {
  content: ""; position: absolute; inset: 0; background: rgba(17, 21, 24, 0); transition: background .4s;
}
.gallery button:hover img { transform: scale(1.04); }
.gallery button:hover::after { background: rgba(17, 21, 24, .12); }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

.lightbox {
  padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(10, 12, 14, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s;
}
.lightbox button:hover { background: var(--red); }
.lightbox button svg { width: 1.3rem; height: 1.3rem; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: .9rem; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5rem);
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17, 21, 24, .82), rgba(17, 21, 24, .5)); }
.page-hero--plain { background: var(--ink); }
.page-hero--plain::before { display: none; }
.page-hero h1 { color: #fff; margin: 0; }
.breadcrumb { margin-bottom: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.breadcrumb ol { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: rgba(255, 255, 255, .5); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Leistungs-Abschnitte ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: .75rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-block; white-space: nowrap; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.subnav a:hover, .subnav a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.service { scroll-margin-top: 4.5rem; }
.service + .service { margin-top: clamp(4rem, 9vw, 7rem); }
.service:nth-child(even) .service__media { order: 2; }
.service__media { position: relative; }
.service__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.service__media .badge {
  position: absolute; left: -1rem; bottom: -1rem; display: grid; place-items: center;
  width: 6.5rem; height: 6.5rem; padding: 1rem; background: #fff; border-radius: 50%; box-shadow: var(--shadow);
}
.service:nth-child(even) .service__media .badge { left: auto; right: -1rem; }
.service__media .badge img { box-shadow: none; border-radius: 0; max-height: 3.4rem; width: auto; }
.service__num { font-family: var(--font-head); font-size: 1rem; color: var(--red); margin-bottom: .5rem; display: block; }
.tags { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .4rem .9rem; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.1em; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat;
}
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__media { order: 0; }
  .service__media .badge { width: 5rem; height: 5rem; left: 1rem; bottom: -1.5rem; }
  .service:nth-child(even) .service__media .badge { right: 1rem; }
  .service__media .badge img { max-height: 2.6rem; }
  .service__media { margin-bottom: 1rem; }
}

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about__images img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__images img:last-child { margin-top: 3rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; }
.stat dt { font-family: var(--font-head); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); color: var(--red); line-height: 1.1; }
.stat dd { margin: .5rem 0 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.founding { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) {
  .about, .founding { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem;
}
.info-item__icon { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.info-item__icon svg { width: 1.2rem; height: 1.2rem; }
.info-item h2 { font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2rem; }
.info-item p { margin: 0; color: var(--ink); font-weight: 600; }
.info-item a { color: var(--ink); text-decoration: none; }
.info-item a:hover { color: var(--red); }
.info-item .small-link { display: inline-block; margin-top: .3rem; font-size: .88rem; font-weight: 700; color: var(--red); }

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--sand);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(184, 32, 37, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--text); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--red); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-ok { display: block; background: #e8f5ec; color: #17602f; }
.form-status.is-error { display: block; background: var(--red-soft); color: var(--red-dark); }
.form-card .btn { margin-top: .5rem; }
.form-card .btn[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 2.2em; }
.prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-top: 1.6em; }
.prose dl { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: .9rem 1.5rem; margin: 0; }
.prose dt { font-weight: 700; color: var(--ink); }
.prose dd { margin: 0; }
@media (max-width: 620px) { .prose dl { grid-template-columns: 1fr; gap: .2rem; } .prose dd { margin-bottom: .9rem; } }

/* ---------- CTA-Band ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: var(--red) linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  padding-block: clamp(3rem, 7vw, 4.5rem);
}
.cta::after {
  content: ""; position: absolute; right: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .06);
}
.cta__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.cta h2 { color: #fff; margin: 0 0 .3rem; }
.cta p { margin: 0; color: rgba(255, 255, 255, .9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #a9b1b7; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; padding-block: clamp(3.5rem, 7vw, 5rem); }
.site-footer h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: #fff; margin: 0 0 1.1rem; }
.site-footer a { color: #d6dbde; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 1.25rem; background: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.footer-brand em { display: block; color: #fff; font-family: var(--font-head); font-style: normal; font-size: 1.25rem; margin-bottom: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.footer-contact li { display: flex; gap: .8rem; align-items: flex-start; }
.footer-contact svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .3rem; color: #ff5a4f; }
.footer-contact span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #7f888e; }
.social-row { display: flex; gap: .5rem; }
.social-row a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.social-row a:hover { background: var(--red); transform: translateY(-2px); text-decoration: none; }
.social-row svg { width: 1.1rem; height: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.5rem; font-size: .85rem; color: #7f888e; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; }
.mobile-nav .social-row a, .contact .social-row a { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.contact .social-row a:hover { background: var(--red); color: #fff; border-color: var(--red); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }

/* Schwebender Anruf-Button (nur Handy) */
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 1.2rem; height: 1.2rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(5rem, 14vw, 9rem); }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); color: var(--red); line-height: 1; margin-bottom: 1rem; }
.notfound .btn-row { justify-content: center; }

/* ---------- Dezente Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-nav, .cta, .to-top, .subnav { display: none !important; }
  .page-hero { color: #000; padding: 1rem 0; } .page-hero::before, .page-hero__img { display: none; } .page-hero h1 { color: #000; }
}
