/* =========================================================
   PromoID.de – Stylesheet
   Mobile First. Alle Farben, Abstaende und Radien liegen als
   Custom Properties in :root und lassen sich zentral aendern.
   ========================================================= */

:root {
  /* Farben */
  --c-accent:        #009ee2;
  --c-accent-dark:   #0089c4;
  --c-ink:           #292929;
  --c-ink-soft:      rgba(41, 41, 41, 0.72);
  --c-surface:       #ffffff;
  --c-surface-alt:   #f0f3f5;
  --c-border:        #dddddd;
  --c-border-soft:   rgba(0, 0, 0, 0.08);
  --c-accent-soft:   rgba(0, 158, 226, 0.35);
  --c-accent-faint:  rgba(0, 158, 226, 0.08);
  --c-danger:        #c62828;
  --c-success:       #2e7d32;
  --c-on-dark:       #ffffff;

  /* Typografie */
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;

  /* Layout */
  --header-h:   62px;
  --container:  1300px;
  --radius:     6px;
  --radius-lg:  12px;
  --gap:        12px;

  /* Produktkarte im Slider */
  --card-w: min(74vw, 260px);

  /* Schatten */
  --shadow-sm: rgba(50, 50, 93, 0.10) 0 2px 5px -2px, rgba(0, 0, 0, 0.12) 0 1px 3px -2px;
  --shadow-md: rgba(50, 50, 93, 0.16) 0 2px 5px -1px, rgba(0, 0, 0, 0.20) 0 1px 3px -1px;
  --shadow-lg: rgba(50, 50, 93, 0.18) 0 18px 40px -16px, rgba(0, 0, 0, 0.22) 0 10px 24px -18px;
}

/* =========================================================
   RESET / GLOBAL
   ========================================================= */

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-surface-alt);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

p { margin: 0; padding: 0; }
img, svg, video { max-width: 100%; height: auto; vertical-align: top; }
a { color: var(--c-ink); }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Sichtbarer Fokus fuer Tastaturbedienung */
:focus-visible {
  outline: 3px solid var(--c-accent-soft);
  outline-offset: 2px;
  border-radius: 3px;
}

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   LAYOUT
   ========================================================= */

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

.p_section {
  background: var(--c-surface);
  padding: 48px 0;
}

.p_section--alt { background: var(--c-surface-alt); }

.p_section__head { margin-bottom: 24px; }

.p_section__note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  max-width: 78ch;
}

.p_section__meta {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--c-ink-soft);
}

.p_section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin-top: 24px;
}

.p_rule {
  height: 1px;
  border: 0;
  background: var(--c-border-soft);
  margin: 32px 0;
}

.p_content { margin-top: var(--header-h); }

/* Typografie-Bausteine */

.p_eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 8px;
}

.p_h1 { font-size: clamp(26px, 5vw, 32px); line-height: 1.18; margin-bottom: 10px; }
.p_h2 { font-size: clamp(21px, 4vw, 26px); line-height: 1.22; margin-bottom: 10px; }
.p_h3 { font-size: 18px; line-height: 1.33; margin-bottom: 8px; }

.p_lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 78ch;
}

.p_lead--small { font-size: 14px; line-height: 1.55; }

.p_link {
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.p_link:hover { color: var(--c-accent); }

/* Fliesstext aus dem Adminbereich */
.p_prose > * + * { margin-top: 12px; }
.p_prose p { line-height: 1.6; }
.p_prose ul, .p_prose ol { margin: 0; padding-left: 20px; }
.p_prose li { margin-bottom: 6px; line-height: 1.55; }
.p_prose li::marker { color: var(--c-accent); font-weight: 700; }
.p_prose a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.p_prose strong, .p_prose b { font-weight: 700; }
.p_prose h3, .p_prose h4 { margin-top: 18px; }
.p_prose code {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border-soft);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.94em;
}
.p_prose blockquote {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--c-accent);
  background: var(--c-surface-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.p_prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.p_prose th, .p_prose td {
  border: 1px solid var(--c-border);
  padding: 8px 10px;
  text-align: left;
}
.p_prose th { background: var(--c-surface-alt); }

/* =========================================================
   SKIPLINK
   ========================================================= */

.p_skiplink {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10000;
  background: var(--c-accent);
  color: var(--c-on-dark);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}
.p_skiplink:focus { left: 8px; }

/* =========================================================
   BUTTONS
   ========================================================= */

.p_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter .2s ease, border-color .2s ease, background-color .2s ease;
}

.p_btn--primary { background: var(--c-accent); color: var(--c-on-dark); }
.p_btn--dark    { background: var(--c-ink);    color: var(--c-on-dark); }
.p_btn--light   { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-border); }

.p_btn--primary:hover { filter: brightness(0.94); }
.p_btn--dark:hover    { filter: brightness(1.35); }
.p_btn--light:hover   { border-color: var(--c-accent); color: var(--c-accent); }

.p_btn[disabled], .p_btn.is-busy { opacity: .65; cursor: progress; }

/* =========================================================
   HEADER + HAUPTNAVIGATION
   ========================================================= */

.p_header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 900;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.p_header__inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.p_logo { display: flex; align-items: center; }
.p_logo img { height: 42px; width: auto; display: block; }

.p_nav { display: none; }

.p_nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.p_nav__item { position: relative; }

.p_nav__item > a {
  display: block;
  padding: 20px 18px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}

.p_nav__item > a:hover,
.p_nav__item:focus-within > a,
.p_nav__item.is-active > a {
  background: var(--c-ink);
  color: var(--c-on-dark);
}

.p_nav__sub {
  position: absolute;
  top: 100%;
  right: -1px;
  min-width: 284px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--c-ink);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 10;
}

.p_nav__item--has-sub:hover > .p_nav__sub,
.p_nav__item--has-sub:focus-within > .p_nav__sub { display: block; }

.p_nav__sub .p_nav__item > a {
  padding: 12px 20px;
  font-weight: 500;
  color: var(--c-on-dark);
  white-space: normal;
}

.p_nav__sub .p_nav__item:not(:last-child) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.p_nav__sub .p_nav__item > a:hover { background: var(--c-accent); }
.p_nav__item--all > a { font-weight: 800; color: var(--c-accent) !important; }
.p_nav__item--all > a:hover { color: var(--c-on-dark) !important; }

/* =========================================================
   BREADCRUMBS
   ========================================================= */

.p_breadcrumbs { margin-bottom: 18px; }

.p_breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--c-ink-soft);
}

.p_breadcrumbs__item { display: flex; align-items: center; gap: 6px; }
.p_breadcrumbs__item a { color: var(--c-ink-soft); text-decoration: none; }
.p_breadcrumbs__item a:hover { color: var(--c-accent); text-decoration: underline; }
.p_breadcrumbs__sep { color: var(--c-border); }
.p_breadcrumbs__item [aria-current] { color: var(--c-ink); font-weight: 600; }

/* =========================================================
   HERO (Startseite)
   ========================================================= */

.p_hero {
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border-soft);
  padding: 56px 0;
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
}

.p_hero__lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 70ch;
  margin-bottom: 6px;
}

.p_hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin-top: 18px;
}

.p_hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 150px;
  flex: 1 1 150px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease, border-color .2s ease;
}

.p_hero__btn--primary { background: var(--c-accent); color: var(--c-on-dark); }
.p_hero__btn--dark    { background: var(--c-ink);    color: var(--c-on-dark); }
.p_hero__btn--light   { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-border); }

.p_hero__btn--primary:hover { filter: brightness(0.94); }
.p_hero__btn--dark:hover    { filter: brightness(1.35); }
.p_hero__btn--light:hover   { border-color: var(--c-accent); color: var(--c-accent); }

/* =========================================================
   SEITEN-HERO (Leistungen, Kontakt, FAQ, Rechtstexte)
   ========================================================= */

.p_page_hero {
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border-soft);
  padding: 40px 0;
}

.p_page_hero__head { margin-bottom: 22px; }

.p_page_hero__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.p_page_hero__media img {
  width: 100%;
  display: block;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius);
  background: var(--c-surface);
}

/* =========================================================
   PRODUKTKARTE
   ========================================================= */

.p_card {
  height: 100%;
  display: flex;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: border-color .2s ease, transform .2s ease;
}

.p_card__link {
  width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--c-ink);
  text-decoration: none;
  min-width: 0;
}

.p_card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--c-surface-alt);
  overflow: hidden;
}

.p_card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.p_card__flag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-on-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.p_card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.p_card__head {
  padding: 14px 14px 10px;
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border);
}

.p_card__title {
  font-size: 16px;
  line-height: 1.32;
  font-weight: 800;
  /* Zwei Zeilen statt Abschneiden – lange Produktnamen bleiben lesbar */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
  transition: color .2s ease;
}

.p_card__action {
  margin: auto 14px 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--c-accent);
  color: var(--c-on-dark);
  font-weight: 800;
  text-align: center;
  transition: filter .2s ease;
}

.p_card:hover { border-color: var(--c-accent-soft); }
.p_card:hover .p_card__media img { transform: scale(1.05); }
.p_card:hover .p_card__title { color: var(--c-accent); }
.p_card:hover .p_card__action { filter: brightness(0.94); }
.p_card__link:focus-visible { outline-offset: -3px; }

/* Badge + Meta-Liste (auch auf der Produktseite verwendet) */

.p_badge {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-accent);
}

.p_meta_list {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.p_meta_list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  line-height: 1.35;
}

.p_meta_list li span { color: var(--c-ink-soft); }
.p_meta_list li b { font-weight: 800; text-align: right; }
.p_meta_list--large li { font-size: 13px; line-height: 1.45; }

.p_tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--c-accent-faint);
  color: var(--c-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* =========================================================
   HORIZONTALER SLIDER (Rail)
   Bewusstes Gestaltungselement: Produkte werden horizontal
   durchgeschoben statt in einem endlosen Grid gestapelt.
   ========================================================= */

.p_rail { position: relative; }

.p_rail__track {
  list-style: none;
  margin: 0;
  padding: 6px 6px 14px;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 6px;
  /* Natives Touch-Scrollen, kein JS noetig */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-accent-soft) transparent;
}

.p_rail__track::-webkit-scrollbar { height: 8px; }
.p_rail__track::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); border-radius: 999px; }
.p_rail__track::-webkit-scrollbar-thumb { background: var(--c-accent-soft); border-radius: 999px; }

.p_rail__track:focus-visible { outline-offset: -3px; }

.p_rail__item {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  scroll-snap-align: start;
  display: flex;
}

.p_rail__item--wide { --card-w: min(84vw, 340px); }

/* Pfeile: nur sichtbar, wenn ueberhaupt gescrollt werden kann */
.p_rail__nav {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.p_rail__nav:hover { background: var(--c-accent); color: var(--c-on-dark); border-color: var(--c-accent); }
.p_rail__nav--prev { left: -6px; }
.p_rail__nav--next { right: -6px; }
.p_rail__nav[disabled] { opacity: .3; cursor: default; }

.p_rail__empty {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border: 1px dashed var(--c-accent-soft);
  border-radius: var(--radius);
  background: var(--c-accent-faint);
  color: var(--c-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.p_rail__empty-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--c-surface);
  color: var(--c-accent);
  font-weight: 800;
}

/* =========================================================
   CHIPS (Kategorien, FAQ-Filter)
   ========================================================= */

.p_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.p_chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-surface-alt);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}

.p_chip:hover { border-color: var(--c-accent-soft); color: var(--c-accent); background: var(--c-surface); }
.p_chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }

/* =========================================================
   ACCORDION / TOGGLE
   ========================================================= */

.p_toggle { display: grid; gap: 10px; }

.p_toggle__item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.p_toggle__heading { margin: 0; font-size: inherit; }

.p_toggle__button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 0;
  background: var(--c-surface-alt);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.p_toggle__label { flex: 1; min-width: 0; }

.p_toggle__hint {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink-soft);
  white-space: nowrap;
}

.p_toggle__button:hover { background: var(--c-ink); color: var(--c-on-dark); }
.p_toggle__button:hover .p_toggle__hint { color: rgba(255, 255, 255, 0.75); }

.p_toggle__icon {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}

.p_toggle__item.is-open .p_toggle__icon { transform: rotate(225deg) translate(-2px, -2px); }
.p_toggle__panel { background: var(--c-surface); }
.p_toggle__inner { padding: 14px 10px 8px; }
.p_toggle--faq .p_toggle__inner { padding: 16px; }

.p_toggle__more { padding: 0 8px 10px; font-size: 14px; }

/* =========================================================
   FEATURES / PAKETE / SCHRITTE / KPIs
   ========================================================= */

.p_features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.p_feature {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.p_feature--accent { border-color: var(--c-accent-soft); }
.p_feature__title { font-size: 16px; line-height: 1.35; margin-bottom: 8px; }
.p_feature__text { font-size: 14px; line-height: 1.5; color: var(--c-ink-soft); }

.p_feature__cta {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.p_feature__cta:hover { color: var(--c-ink); }

.p_package {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.p_package__head {
  padding: 18px;
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border);
}

.p_package__title { font-size: 18px; line-height: 1.3; margin-bottom: 6px; }
.p_package__price { font-weight: 800; }
.p_package__price span { font-weight: 600; color: var(--c-ink-soft); }

.p_package__list {
  list-style: none;
  margin: 0;
  padding: 18px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.p_package__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
}

.p_package__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-accent);
}

.p_package__cta {
  margin: 0 18px 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--c-accent);
  color: var(--c-on-dark);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.p_package__cta:hover { filter: brightness(0.94); }

.p_package__note { margin: 0 18px 18px; font-size: 12px; color: var(--c-ink-soft); }

.p_package--featured { border-color: rgba(0, 158, 226, 0.55); }
.p_package--featured .p_package__head { background: var(--c-ink); color: var(--c-on-dark); }
.p_package--featured .p_badge { color: var(--c-on-dark); }
.p_package--featured .p_package__price span { color: rgba(255, 255, 255, 0.8); }
.p_package--service .p_package__head { background: var(--c-surface); }
.p_package--service.p_package--featured .p_package__head { background: var(--c-ink); }

.p_steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.p_step {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.p_step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-on-dark);
  font-weight: 800;
}

.p_step__title { font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.p_step__text { font-size: 13px; line-height: 1.5; color: var(--c-ink-soft); }

.p_kpis {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.p_kpi {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

.p_kpi b { display: block; margin-bottom: 4px; font-size: 14px; }
.p_kpi span { display: block; font-size: 12px; line-height: 1.4; color: var(--c-ink-soft); }

.p_checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.p_checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.p_checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-accent);
  font-weight: 800;
}

/* =========================================================
   HINWEIS-BOX / CTA / SPLIT
   ========================================================= */

.p_note_box {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--c-ink);
  color: var(--c-on-dark);
}

.p_note_box p + p { margin-top: 12px; }
.p_note_box a { color: var(--c-on-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.p_cta {
  padding: 20px;
  border: 1px solid rgba(0, 158, 226, 0.25);
  border-radius: var(--radius);
  background: var(--c-surface-alt);
}

.p_cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin-top: 16px;
}

.p_split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 6px;
}

.p_split__media img {
  width: 100%;
  display: block;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius);
}

.p_split__text > * + * { margin-top: 12px; }
.p_split__links { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   PRODUKTSEITE
   ========================================================= */

.p_product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.p_product__image {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface-alt);
  box-shadow: var(--shadow-sm);
}

.p_product__image img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.p_product__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-accent-soft) transparent;
}

.p_product__thumbs::-webkit-scrollbar { height: 8px; }
.p_product__thumbs::-webkit-scrollbar-thumb { background: var(--c-accent-soft); border-radius: 999px; }

.p_thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
  cursor: pointer;
}

.p_thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.p_thumb.is-active {
  border-color: rgba(0, 158, 226, 0.55);
  box-shadow: 0 0 0 3px var(--c-accent-faint);
}

.p_product__box {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  align-self: start;
}

.p_product__box-head {
  padding: 14px 14px 10px;
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border);
}

.p_product__desc {
  padding: 14px;
  border-top: 1px solid var(--c-border-soft);
  font-size: 15px;
}

.p_product__cta {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  border-top: 1px solid var(--c-border-soft);
}

.p_product__cta .p_btn { flex: 1 1 180px; }

.p_product__hint {
  padding: 0 14px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-ink-soft);
}

/* Produktdaten-Tabelle */

.p_specs {
  margin: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
}

.p_specs__row {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--c-border-soft);
}

.p_specs__row:first-child { border-top: 0; }

.p_specs__key {
  padding: 12px 14px;
  background: var(--c-surface-alt);
  font-weight: 800;
  border-bottom: 1px solid var(--c-border-soft);
}

.p_specs__value { margin: 0; padding: 12px 14px; }

/* Tabs */

.p_tabs {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
}

.p_tabs__nav {
  display: flex;
  overflow-x: auto;
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border);
}

.p_tab {
  flex: 1 1 auto;
  min-width: 120px;
  min-height: 48px;
  padding: 14px 12px;
  border: 0;
  border-right: 1px solid var(--c-border-soft);
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--c-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.p_tab:last-child { border-right: 0; }
.p_tab:hover { background: var(--c-ink); color: var(--c-on-dark); }
.p_tab.is-active { background: var(--c-accent); color: var(--c-on-dark); }
.p_tabs__panels { padding: 16px; }
.p_tab_panel:focus-visible { outline-offset: 4px; }

/* =========================================================
   INFO-BOX (Kontakt, FAQ, Danke)
   ========================================================= */

.p_info_box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.p_info_box__head { margin-bottom: 16px; }
.p_info_box__group { display: grid; gap: 14px; }

.p_info_box__item {
  padding-top: 14px;
  border-top: 1px solid var(--c-border-soft);
}

.p_info_box__item:first-child { padding-top: 0; border-top: 0; }
.p_info_box__item p { font-size: 14px; line-height: 1.55; color: var(--c-ink-soft); }
.p_info_box__item a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

.p_info_box__label {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* =========================================================
   FORMULARE
   ========================================================= */

.p_form_wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.p_form__group {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.p_form__legend {
  padding: 0;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
}

.p_form__row { display: grid; grid-template-columns: 1fr; gap: 0; }

.p_field { margin-bottom: 16px; }

.p_field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

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

.p_field__control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d6dadd;
  border-radius: var(--radius);
  background: var(--c-surface);
  font-family: var(--font-body);
  font-size: 16px; /* verhindert Auto-Zoom auf iOS */
  line-height: 1.45;
  color: var(--c-ink);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

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

select.p_field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23292929' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.p_field__control:focus {
  border-color: rgba(0, 158, 226, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 158, 226, 0.12);
}

.p_field__hint { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--c-ink-soft); }

.p_field__error {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-danger);
}

.p_field.has-error .p_field__control { border-color: var(--c-danger); }

.p_check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface-alt);
}

.p_check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.p_check label { font-size: 14px; line-height: 1.5; cursor: pointer; }
.p_check label a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.p_check--privacy { background: var(--c-surface); }
.p_check.has-error { border-color: var(--c-danger); }

.p_form__address {
  margin-bottom: 8px;
  padding: 16px 14px 2px;
  border: 1px solid var(--c-border-soft);
  border-left: 3px solid var(--c-accent-soft);
  border-radius: var(--radius);
  background: var(--c-surface-alt);
}

.p_form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.p_form__submit { min-width: 200px; }
.p_form__note { font-size: 12px; color: var(--c-ink-soft); }

/* Honeypot: fuer Menschen unsichtbar, fuer Bots im DOM vorhanden */
.p_honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   MELDUNGEN
   ========================================================= */

.p_messages { padding-top: 20px; display: grid; gap: 10px; }

.p_message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.p_message__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--c-on-dark);
  font-weight: 800;
  font-size: 13px;
}

.p_message--success { border-color: rgba(46, 125, 50, 0.4); }
.p_message--success .p_message__icon { background: var(--c-success); }
.p_message--danger { border-color: rgba(198, 40, 40, 0.4); }
.p_message--danger .p_message__icon { background: var(--c-danger); }
.p_message--info { border-color: var(--c-accent-soft); }
.p_message--info .p_message__icon { background: var(--c-accent); }

/* =========================================================
   FAQ-WERKZEUGE
   ========================================================= */

.p_faq_tools {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.p_faq_tools__head { margin-bottom: 18px; }
.p_faq_tools__bar { display: grid; gap: 14px; }
.p_faq_search { max-width: 520px; }
.p_faq_tools__meta { margin-top: 16px; font-size: 13px; color: var(--c-ink-soft); }
.p_faq_tools .p_chips { margin-top: 0; }

.p_faq_empty {
  margin-top: 18px;
  padding: 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   RECHTSTEXTE
   ========================================================= */

.p_page_hero--legal { padding-bottom: 32px; }
.p_legal__meta { margin-top: 10px; font-size: 13px; color: var(--c-ink-soft); }

.p_legal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.p_legal__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.p_legal__nav { padding: 18px; }
.p_legal__nav .p_h3 { margin-bottom: 12px; }

.p_legal__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  counter-reset: legal;
}

.p_legal__nav-list a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius);
  background: var(--c-surface-alt);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: all .2s ease;
}

.p_legal__nav-list a:hover,
.p_legal__nav-list a.is-active {
  background: var(--c-surface);
  border-color: var(--c-accent-soft);
  color: var(--c-accent);
}

.p_legal__section { padding: 22px 20px 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.p_legal__section--last { padding-bottom: 22px; }

.p_legal__section + .p_legal__section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--c-border-soft);
}

.p_legal__section .p_h2 { margin-bottom: 14px; }
.p_legal__cta { margin-top: 24px; }

/* =========================================================
   FEHLERSEITEN
   ========================================================= */

.p_error { max-width: 720px; }
.p_error .p_cta__buttons { margin-top: 22px; }

/* =========================================================
   FOOTER
   ========================================================= */

.p_footer {
  background: var(--c-ink);
  color: var(--c-on-dark);
  padding: 44px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.p_footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

.p_footer__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: .2px;
}

.p_footer a { color: var(--c-on-dark); text-decoration: none; }
.p_footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.p_footer__brand-col { display: grid; gap: 14px; }
.p_footer__brand { display: inline-flex; width: fit-content; }
.p_footer__logo { height: 34px; width: auto; display: block; }

.p_footer__quicklinks { display: flex; flex-wrap: wrap; gap: 8px; }

.p_footer__quicklinks a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.p_footer__quicklinks a:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }

.p_footer__psi {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 1.4;
}

.p_footer__psi-logo {
  height: 24px;
  width: auto;
  display: block;
  padding: 4px;
  border-radius: 4px;
  background: var(--c-surface);
}

.p_footer__col p { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.86); margin-bottom: 4px; }

.p_footer__contact {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.p_footer__contact span { color: rgba(255, 255, 255, 0.7); }

.p_footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.p_footer__nav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.p_footer__nav a:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }

.p_footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.p_footer__consent-link {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-on-dark);
  font-size: 13px;
  cursor: pointer;
}

.p_footer__consent-link:hover { background: rgba(255, 255, 255, 0.1); }

/* =========================================================
   SMARTNAVIGATION
   ========================================================= */

.p_smartnav__trigger {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 880;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-on-dark);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: rgba(50, 50, 93, 0.22) 0 8px 24px -8px, rgba(0, 0, 0, 0.26) 0 6px 16px -10px;
  transition: transform .2s ease, background-color .2s ease;
}

.p_smartnav__trigger:hover { background: var(--c-accent); transform: translateY(-2px); }
.p_smartnav__trigger[aria-expanded="true"] { background: var(--c-accent); }

/* Burger-Symbol aus drei Linien */
.p_smartnav__trigger-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.p_smartnav__trigger-icon::before,
.p_smartnav__trigger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.p_smartnav__trigger-icon::before { top: -6px; }
.p_smartnav__trigger-icon::after { top: 6px; }

.p_smartnav {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.p_smartnav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 41, 41, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.p_smartnav__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: calc(100svh - 32px);
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.p_smartnav__header {
  padding: 16px 18px;
  background: var(--c-surface-alt);
  border-bottom: 1px solid var(--c-border);
}

.p_smartnav__logo { height: 40px; width: auto; display: block; }

.p_smartnav__title {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-accent);
}

.p_smartnav__main {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  overscroll-behavior: contain;
}

.p_smartnav__list, .p_smartnav__sub {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.p_smartnav__sub { margin: 6px 0 0; padding-left: 12px; }

.p_smartnav__item > a {
  display: block;
  padding: 13px 15px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
  transition: all .2s ease;
}

.p_smartnav__item > a:hover {
  background: var(--c-surface-alt);
  border-color: var(--c-accent-soft);
  color: var(--c-accent);
}

.p_smartnav__item.is-active > a {
  background: var(--c-accent-faint);
  border-color: var(--c-accent-soft);
  color: var(--c-accent);
}

.p_smartnav__sub .p_smartnav__item > a {
  padding: 11px 14px;
  background: var(--c-surface-alt);
  border-color: var(--c-border-soft);
  font-weight: 600;
  font-size: 14px;
}

.p_smartnav__note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--c-surface-alt);
  border-top: 1px solid var(--c-border);
  font-size: 14px;
  font-weight: 600;
}

.p_smartnav__note img { height: 32px; width: auto; flex: 0 0 auto; }
.p_smartnav__note b { color: var(--c-accent); font-weight: 800; }

.p_smartnav__footer { border-top: 1px solid var(--c-border); }

.p_smartnav__close {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px;
  border: 0;
  background: var(--c-surface);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.p_smartnav__close:hover { background: var(--c-ink); color: var(--c-on-dark); }

/* =========================================================
   COOKIE-CONSENT
   ========================================================= */

.p_consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 990;
  padding: 12px;
  background: rgba(41, 41, 41, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.p_consent__box {
  max-width: 720px;
  margin: 0 auto;
  max-height: calc(100svh - 24px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
}

.p_consent__title { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.p_consent__text { font-size: 14px; line-height: 1.55; color: var(--c-ink-soft); }
.p_consent__text a { font-weight: 700; text-underline-offset: 3px; }

.p_consent__options {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.p_consent__actions { display: grid; gap: 10px; }
.p_consent__actions .p_btn { width: 100%; }

/* Schalter */
.p_switch {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface-alt);
  cursor: pointer;
}

.p_switch input { position: absolute; opacity: 0; width: 0; height: 0; }

.p_switch__track {
  flex: 0 0 auto;
  position: relative;
  width: 42px;
  height: 24px;
  margin-top: 2px;
  border-radius: 999px;
  background: #c3c9cd;
  transition: background-color .2s ease;
}

.p_switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--c-surface);
  transition: transform .2s ease;
}

.p_switch input:checked + .p_switch__track { background: var(--c-accent); }
.p_switch input:checked + .p_switch__track::after { transform: translateX(18px); }
.p_switch input:disabled + .p_switch__track { background: var(--c-accent); opacity: .5; }
.p_switch input:focus-visible + .p_switch__track { outline: 3px solid var(--c-accent-soft); outline-offset: 2px; }
.p_switch:has(input:disabled) { cursor: default; }

.p_switch__label b { display: block; font-size: 14px; }
.p_switch__label small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; color: var(--c-ink-soft); }

/* =========================================================
   BREAKPOINTS
   ========================================================= */

@media (min-width: 560px) {
  .p_form__row { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .p_form__row--zip { grid-template-columns: 140px 1fr; }
  .p_consent__actions { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .p_kpis { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .p_specs__row { grid-template-columns: minmax(160px, 1fr) 2fr; }
  .p_specs__key { border-bottom: 0; }
}

@media (min-width: 768px) {
  :root { --card-w: 250px; }

  .p_container { padding: 0 20px; }
  .p_section { padding: 60px 0; }
  .p_page_hero { padding: 48px 0; }
  .p_hero { padding: 64px 0; }

  .p_features { grid-template-columns: repeat(2, 1fr); }
  .p_steps { grid-template-columns: repeat(2, 1fr); }
  .p_split { grid-template-columns: 1fr 1fr; gap: 28px; }
  .p_footer__grid { grid-template-columns: 1.2fr 1fr; }
  .p_footer__brand-col { grid-column: 1 / -1; }
  .p_hero__btn { flex: 0 0 164px; }
  .p_faq_tools { padding: 24px; }
  .p_faq_tools__bar { grid-template-columns: 1fr auto; align-items: end; }
  .p_form_wrap { padding: 28px; }
  .p_rail__item--wide { --card-w: 340px; }
  .p_toggle__inner { padding: 16px 12px 8px; }
}

@media (min-width: 1024px) {
  .p_header__inner { justify-content: space-between; }
  .p_nav { display: flex; align-items: center; }
  .p_logo img { height: 46px; }

  .p_section { padding: 72px 0; }
  .p_page_hero { padding: 56px 0; }

  .p_page_hero__wrap { grid-template-columns: 42fr 56fr; gap: 28px; }
  .p_product { grid-template-columns: 1fr 1fr; gap: 24px; }
  .p_features { grid-template-columns: repeat(3, 1fr); }
  .p_steps { grid-template-columns: repeat(4, 1fr); }
  .p_footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .p_footer__brand-col { grid-column: auto; }

  .p_legal { grid-template-columns: 300px 1fr; }
  .p_legal__sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
  .p_legal__section { padding: 24px 24px 0; }
  .p_legal__section--last { padding-bottom: 24px; }

  /* Pfeile nur dort einblenden, wo eine Maus zur Verfuegung steht */
  .p_rail__nav { display: flex; }
  .p_rail { padding: 0 6px; }
  .p_rail__nav--prev { left: -14px; }
  .p_rail__nav--next { right: -14px; }

  .p_consent { padding: 20px; }
  .p_consent__box { padding: 26px; }

  .p_smartnav__trigger { right: 20px; bottom: 20px; }
}

@media (min-width: 1200px) {
  .p_toggle__inner { padding: 18px 14px 10px; }
}

/* Bei Geraeten ohne praezisen Zeiger keine Pfeile – dort wird gewischt */
@media (hover: none) {
  .p_rail__nav { display: none !important; }
}

/* Druckansicht */
@media print {
  .p_header, .p_footer, .p_smartnav, .p_smartnav__trigger, .p_consent,
  .p_rail__nav, .p_breadcrumbs, .p_cta, .p_note_box { display: none !important; }
  .p_content { margin-top: 0; }
  body { background: #fff; }
  .p_toggle__panel { display: block !important; }
}
