/* ==========================================================================
   KFZ-Meisterbetrieb Kharoub — Redesign
   Design-System & Basis-Stylesheet (keine Abhängigkeiten, keine Build-Tools)
   --------------------------------------------------------------------------
   Inhalt
   01. Design-Tokens
   02. Reset & Basis
   03. Typografie
   04. Layout-Helfer
   05. Buttons
   06. Header & Navigation
   07. Hero
   08. Fakten-Leiste
   09. Sektionen & Abschnittsköpfe
   10. Karten, Services, Splits
   11. Öffnungszeiten, Kontakt, Formular
   12. Galerie
   13. Prosa (Rechtsseiten)
   14. Footer
   15. Cookie-Hinweis & Hilfselemente
   16. Animationen
   17. Responsive
   18. Print & Reduced Motion
   ========================================================================== */

/* ==========================================================================
   01. Design-Tokens
   ========================================================================== */

:root {
  /* Farbwelt */
  --ink: #0b0e13;
  --ink-2: #141a24;
  --ink-3: #1e2733;
  --steel: #5b6675;
  --steel-light: #8a94a3;
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --paper-3: #eceef1;
  --line: #e0e4e9;
  --line-dark: rgba(255, 255, 255, 0.12);

  --brand: #ff5a1f;
  --brand-dark: #d9430c;
  --brand-soft: #fff2ec;
  --amber: #ffb020;
  --success: #1f9d55;

  /* Text */
  --text: #131a24;
  --text-muted: #5b6675;
  --text-on-dark: #f2f4f7;
  --text-on-dark-muted: #a3adbb;

  /* Typografie */
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.15vw, 1.05rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.75vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.5rem + 3vw, 3.9rem);

  /* Ränder, Schatten, Radien */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow: 0 4px 12px rgba(16, 24, 40, 0.07), 0 12px 28px -12px rgba(16, 24, 40, 0.14);
  --shadow-lg: 0 18px 48px -18px rgba(11, 14, 19, 0.35);
  --shadow-brand: 0 10px 26px -10px rgba(255, 90, 31, 0.55);

  /* Abstände */
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --content-max: 1180px;
  --prose-max: 74ch;

  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   02. Reset & Basis
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   03. Typografie
   ========================================================================== */

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
  font-weight: 800;
}

h2 {
  font-size: var(--step-3);
  font-weight: 750;
}

h3 {
  font-size: var(--step-2);
  font-weight: 700;
}

h4 {
  font-size: var(--step-1);
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 62ch;
}

.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4,
.on-dark strong {
  color: var(--text-on-dark);
}

.on-dark,
.on-dark p {
  color: var(--text-on-dark-muted);
}

.on-dark .lede {
  color: var(--text-on-dark-muted);
}

.on-dark .eyebrow {
  color: var(--amber);
}

/* ==========================================================================
   04. Layout-Helfer
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

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

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark-muted);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
}

/* ==========================================================================
   05. Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  color: var(--btn-fg);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  --btn-bg: var(--brand);
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  --btn-bg: var(--brand-dark);
}

.btn--dark {
  --btn-bg: var(--ink);
}

.btn--dark:hover {
  --btn-bg: var(--ink-3);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--line);
}

.btn--ghost:hover {
  --btn-bg: var(--paper-2);
  --btn-fg: var(--ink);
  --btn-border: var(--steel-light);
}

.btn--light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.4);
}

.btn--light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-border: #fff;
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--white:hover {
  --btn-bg: var(--paper-2);
}

.btn--sm {
  padding: 0.62rem 1.1rem;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

/* Textlink mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--brand-dark);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   06. Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11, 14, 19, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

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

.brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--brand);
}

.brand__mark svg {
  width: 24px;
  height: 24px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand__sub {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}

.brand:hover {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav__link:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background-color 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

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

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

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   07. Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(255, 90, 31, 0.28), transparent 62%),
    radial-gradient(800px 420px at 8% 105%, rgba(255, 176, 32, 0.14), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 58%, #101722 100%);
  color: var(--text-on-dark-muted);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(700px 420px at 78% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(700px 420px at 78% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: var(--step-4);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero__claim {
  font-size: var(--step-2);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.hero__claim span {
  color: var(--amber);
}

.hero .lede {
  max-width: 54ch;
  color: #c6cedb;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-dark);
}

.hero__badge {
  position: absolute;
  left: -14px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero__badge svg {
  width: 30px;
  height: 30px;
  color: var(--brand);
  flex: none;
}

.hero__badge small {
  display: block;
  font-weight: 600;
  color: var(--steel);
  font-size: 0.76rem;
}

/* ==========================================================================
   08. Fakten-Leiste
   ========================================================================== */

.facts {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.facts__item {
  background: var(--paper);
  padding: clamp(1.15rem, 3vw, 1.75rem) clamp(0.9rem, 2vw, 1.4rem);
}

.facts__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--steel-light);
  margin-bottom: 0.3rem;
}

.facts__value {
  display: block;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

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

.facts__value a:hover {
  color: var(--brand-dark);
}

/* ==========================================================================
   09. Sektionen & Abschnittsköpfe
   ========================================================================== */

.section-head {
  max-width: 66ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .lede {
  margin-inline: auto;
}

.section-head p:last-child {
  margin-bottom: 0;
}

/* Breadcrumb für Unterseiten */
.page-head {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--text-on-dark-muted);
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
}

.page-head h1 {
  font-size: var(--step-3);
  margin-bottom: 0.6rem;
}

.page-head .lede {
  color: #c6cedb;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--steel-light);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb a {
  color: #c6cedb;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
}

/* ==========================================================================
   10. Karten, Services, Splits
   ========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.card h3,
.card h4 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__footer {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

/* Nummerierte Vorteilskarten */
.value-card {
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border: 1px solid transparent;
  transition: background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.value-card:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateY(-4px);
}

.value-card__num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.value-card h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Dienstleistungs-Liste */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.service {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding: clamp(1.3rem, 2.5vw, 1.7rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.28s var(--ease);
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.service:hover::before {
  transform: scaleY(1);
}

.service__icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--amber);
}

.service__icon svg {
  width: 24px;
  height: 24px;
}

.service h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.service p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Split-Layout (Bild + Text) */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--flip .split__media {
  order: 2;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split__media--offset {
  position: relative;
}

.split__quote {
  margin: 1.6rem 0 0;
  padding: 1.3rem 1.5rem;
  background: var(--paper-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem;
  color: var(--ink);
}

.split__quote footer {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--steel);
}

/* Checkliste */
.checklist {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--brand-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9430c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.72rem no-repeat;
}

.checklist strong {
  color: var(--ink);
}

/* Prozess-Schritte */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 3.2rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 54px;
  right: -1.6rem;
  height: 1px;
  background: var(--line);
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Aufklappbare Fragen (FAQ) */
.faq {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq details[open] {
  border-color: var(--steel-light);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.22s var(--ease);
}

.faq details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}

.faq summary:hover {
  color: var(--brand-dark);
}

.faq__body {
  padding: 0 1.35rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.faq__body p:last-child {
  margin-bottom: 0;
}

/* CTA-Band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--text-on-dark-muted);
  padding: clamp(2.2rem, 5vw, 3.6rem);
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.4), transparent 68%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 1.75rem;
  align-items: center;
}

.cta-band h2 {
  font-size: var(--step-2);
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin: 0;
  color: #c6cedb;
  max-width: 52ch;
}

/* ==========================================================================
   11. Öffnungszeiten, Kontakt, Formular
   ========================================================================== */

.hours {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  background: #fff;
  font-size: 0.96rem;
}

.hours li + li {
  border-top: 1px solid var(--line);
}

.hours li.is-today {
  background: var(--brand-soft);
  font-weight: 700;
  color: var(--ink);
}

.hours__day {
  color: var(--text-muted);
  font-weight: 600;
}

.hours li.is-today .hours__day {
  color: var(--brand-dark);
}

.hours__time {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--ink);
}

.hours__time--closed {
  color: var(--steel-light);
  font-weight: 600;
}

.badge-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(31, 157, 85, 0.12);
  color: #157a41;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge-open::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(31, 157, 85, 0.2);
}

.badge-open.is-closed {
  background: rgba(91, 102, 117, 0.12);
  color: var(--steel);
}

.badge-open.is-closed::before {
  background: var(--steel-light);
  box-shadow: none;
}

/* Kontaktkarten */
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-list__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--brand-dark);
}

.contact-list__icon svg {
  width: 20px;
  height: 20px;
}

.contact-list__label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--steel-light);
}

.contact-list__value {
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}

a.contact-list__value:hover {
  color: var(--brand-dark);
}

/* Formular */
.form {
  display: grid;
  gap: 1.15rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
}

.field .req {
  color: var(--brand-dark);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.96rem;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--steel-light);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.16);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--steel);
}

.field__error {
  font-size: 0.8rem;
  font-weight: 650;
  color: #c62828;
  min-height: 0;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #c62828;
}

.checkbox {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.1em;
  accent-color: var(--brand);
}

/* Honeypot – für Menschen unsichtbar */
.hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form__status {
  display: none;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  background: rgba(31, 157, 85, 0.12);
  color: #157a41;
}

.form__status--err {
  background: rgba(198, 40, 40, 0.1);
  color: #a21f1f;
}

/* Karten-Platzhalter / Karte */
.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.map__consent svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.9rem;
  color: var(--brand);
}

.map__consent p {
  max-width: 44ch;
  margin-inline: auto;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   12. Galerie
   ========================================================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(0.75rem, 2vw, 1.15rem);
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(11, 14, 19, 0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 650;
  text-align: left;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 2rem;
  background: rgba(11, 14, 19, 0.92);
  backdrop-filter: blur(4px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1000px);
  max-height: 84vh;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: #fff;
  color: var(--ink);
}

/* ==========================================================================
   13. Prosa (Rechtsseiten)
   ========================================================================== */

.prose {
  max-width: var(--prose-max);
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: 2rem;
}

.prose h4 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.prose li::marker {
  color: var(--brand);
}

.prose a {
  word-break: break-word;
}

.prose blockquote {
  margin: 1.6rem 0;
  padding: 1.1rem 1.4rem;
  background: var(--paper-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* Adressblock / Infobox in Rechtsseiten */
.legal-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.legal-card h2,
.legal-card h3 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-card address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-card address strong {
  color: var(--ink);
}

/* Inhaltsverzeichnis */
.toc {
  padding: clamp(1.2rem, 3vw, 1.75rem);
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.toc h2 {
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel) !important;
  margin: 0 0 0.9rem;
  border: 0;
  padding: 0;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.9rem;
}

.toc a {
  color: var(--text);
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Hinweis-Box */
.notice {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  background: #fffaf0;
  border: 1px solid #f3e2c0;
  font-size: 0.92rem;
  color: #7a5a17;
  margin: 0 0 2rem;
}

.notice svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
}

.notice p {
  margin: 0;
  color: inherit;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.94rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 700;
}

.site-footer p {
  color: #9aa5b4;
}

.site-footer a {
  color: #c8d0db;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #fff;
  text-decoration: none;
}

.footer__brand:hover {
  color: #fff;
}

.footer__brand .brand__mark {
  background: var(--brand);
  color: #fff;
}

.footer__brand .brand__sub {
  color: var(--steel-light);
}

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

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

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

.footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-variant-numeric: tabular-nums;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
  color: #7f8b9b;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   15. Cookie-Hinweis & Hilfselemente
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  padding: var(--gutter);
  display: none;
  pointer-events: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  pointer-events: auto;
  max-width: var(--content-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(11, 14, 19, 0.97);
  color: #c6cedb;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-dark);
  font-size: 0.9rem;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner strong {
  color: #fff;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 120;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease), background-color 0.2s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--brand);
}

/* Mobiles Menü-Panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  padding: var(--gutter);
  background: #fff;
  overflow-y: auto;
  display: none;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav a::after {
  content: "→";
  color: var(--brand);
}

.mobile-nav a[aria-current="page"] {
  color: var(--brand-dark);
}

/* ==========================================================================
   16. Animationen
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav,
  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .hero__media {
    order: -1;
  }

  .hero__badge {
    left: 12px;
  }

  .facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--flip .split__media {
    order: 0;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps li::after {
    display: none;
  }

  .toc ol {
    columns: 1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .form__row,
  .facts__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-banner__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn-row .btn {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service {
    flex-direction: column;
    gap: 0.9rem;
  }
}

/* ==========================================================================
   18. Print & Reduced Motion
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .to-top,
  .mobile-nav,
  .btn,
  .lightbox {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
  }

  .hero,
  .page-head,
  .cta-band {
    background: none !important;
    color: #000 !important;
    padding-block: 1rem;
  }

  .hero h1,
  .hero__claim,
  .cta-band h2 {
    color: #000 !important;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}
