/* ==========================================================================
   Schliffwerk – Stylesheet
   Welt: Schleifpapier-Sortiment. Jeder Abschnitt ist ein Bogen mit fester
   Körnung und Farbe, das Korn wird nach unten feiner bis zum Spiegelstahl.
   Alle Ressourcen kommen vom eigenen Server (keine externen Anfragen).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --schrift: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --huelle: 1240px;
  --rand: clamp(16px, 4vw, 48px);
  --abstand: clamp(80px, 9vw, 140px);
  --kopf-hoehe: 64px;
  --h2: clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
  --graphit: #1c1d20;
  --stahl: #e4e6e8;
  --tinte: #17181a;
  --zirkon: #233f8c;
  --korund: #8a3519;

  /* Korn je Körnung (generiert): grob oben, fein unten */
  --korn-p40: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.16' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4'/%3E%3CfeDiffuseLighting surfaceScale='3.2' diffuseConstant='0.82' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='38'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23g)'/%3E%3C/svg%3E");
  --korn-p80: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.24' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4.1'/%3E%3CfeDiffuseLighting surfaceScale='2.6' diffuseConstant='0.82' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='38'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23g)'/%3E%3C/svg%3E");
  --korn-p180: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.36' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4.2'/%3E%3CfeDiffuseLighting surfaceScale='2' diffuseConstant='0.82' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='38'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23g)'/%3E%3C/svg%3E");
  --korn-p400: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4.3'/%3E%3CfeDiffuseLighting surfaceScale='1.4' diffuseConstant='0.82' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='38'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23g)'/%3E%3C/svg%3E");
  --korn-p800: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4.3'/%3E%3CfeDiffuseLighting surfaceScale='1.2' diffuseConstant='0.82' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='38'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23g)'/%3E%3C/svg%3E");
  --korn-p1500: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4.4'/%3E%3CfeDiffuseLighting surfaceScale='0.9' diffuseConstant='0.82' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='225' elevation='38'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23g)'/%3E%3C/svg%3E");

  /* Rauheitsprofile und Fokus außerhalb der Bögen */
  --fokus: var(--zirkon);
}

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: #4a4d53 #d9dcdf;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  font-stretch: 100%;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--graphit);
  font-kerning: normal;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 760;
  font-stretch: 106%;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  hyphens: auto;
}

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

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

::selection {
  background: var(--zirkon);
  color: #ffffff;
}

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

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

input,
textarea {
  caret-color: #7e3420;
}

[hidden] {
  display: none !important;
}

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

.huelle {
  width: min(100% - 2 * var(--rand), var(--huelle));
  margin-inline: auto;
}

.sprung {
  position: absolute;
  left: var(--rand);
  top: -120px;
  z-index: 40;
  padding: 0.7em 1.1em;
  background: var(--stahl);
  color: var(--tinte);
  font-weight: 650;
}

.sprung:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   Bögen: Farbe, Korn und Text je Körnung
   -------------------------------------------------------------------------- */

.blatt--p40 {
  --blatt: #232226;
  --korn: var(--korn-p400);
  --text: #f4f2ef;
  --text-leise: #c9c5bf;
  --ziffer: rgba(255, 255, 255, 0.05);
  --linie-feld: rgba(255, 255, 255, 0.18);
  --fokus: #ffffff;
  --auswahl: #f2f3f4;
  --auswahl-text: #17181a;
}

.blatt--p80 {
  --blatt: #eeeae4;
  --korn: var(--korn-p180);
  --text: #1d1c1a;
  --text-leise: #57524c;
  --ziffer: rgba(29, 28, 26, 0.06);
  --linie-feld: rgba(29, 28, 26, 0.16);
  --fokus: #233f8c;
  --auswahl: #233f8c;
  --auswahl-text: #ffffff;
}

.blatt--p180 {
  --blatt: #233f8c;
  --korn: var(--korn-p180);
  --text: #f2f4fa;
  --text-leise: #c9d3f2;
  --ziffer: rgba(214, 224, 255, 0.09);
  --linie-feld: rgba(214, 224, 255, 0.26);
  --fokus: #ffffff;
  --auswahl: #f2f3f4;
  --auswahl-text: #17181a;
}

.blatt--p400 {
  --blatt: #e1e4e8;
  --korn: var(--korn-p400);
  --text: #17181a;
  --text-leise: #4a4d53;
  --ziffer: rgba(23, 24, 26, 0.06);
  --linie-feld: rgba(23, 24, 26, 0.18);
  --fokus: #233f8c;
  --auswahl: #233f8c;
  --auswahl-text: #ffffff;
}

.blatt--p800 {
  --blatt: #26282c;
  --korn: var(--korn-p800);
  --text: #f2f2f0;
  --text-leise: #b9bbc0;
  --ziffer: rgba(255, 255, 255, 0.055);
  --linie-feld: rgba(255, 255, 255, 0.18);
  --fokus: #ffffff;
  --auswahl: #f2f3f4;
  --auswahl-text: #17181a;
}

.blatt--p1500 {
  --blatt: #575b62;
  --korn: var(--korn-p1500);
  --text: #ffffff;
  --text-leise: #e3e5e8;
  --ziffer: rgba(255, 255, 255, 0.08);
  --linie-feld: rgba(255, 255, 255, 0.28);
  --fokus: #ffffff;
  --auswahl: #f2f3f4;
  --auswahl-text: #17181a;
}

.blatt--p3000 {
  --blatt: #e4e6e8;
  --korn: none;
  --text: #17181a;
  --text-leise: #4b4d52;
  --ziffer: rgba(23, 24, 26, 0.065);
  --linie-feld: rgba(23, 24, 26, 0.2);
  --fokus: #233f8c;
  --auswahl: #233f8c;
  --auswahl-text: #ffffff;
}

.blatt--fuss {
  --blatt: #1c1d20;
  --korn: none;
  --text: #f2f2f0;
  --text-leise: #b0b2b7;
  --linie-feld: rgba(255, 255, 255, 0.16);
  --fokus: #ffffff;
  --auswahl: #f2f3f4;
  --auswahl-text: #17181a;
}

.blatt {
  position: relative;
  overflow: hidden;
  overflow: clip;
  background-color: var(--blatt);
  background-image: var(--korn);
  background-blend-mode: soft-light;
  color: var(--text);
}

.blatt ::selection {
  background: var(--auswahl);
  color: var(--auswahl-text);
}

.blatt > .huelle {
  position: relative;
  z-index: 1;
}

.abschnitt {
  padding-block: var(--abstand);
}

/* Spiegelstahl: kein Korn mehr, nur Glanz, der beim Scrollen wandert */
.blatt--p3000.blatt {
  background-image:
    linear-gradient(104deg, rgba(255, 255, 255, 0) 8%, rgba(255, 255, 255, 0.7) 20%, rgba(255, 255, 255, 0) 33%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.45) 69%, rgba(255, 255, 255, 0) 80%),
    linear-gradient(180deg, #eceef0, #dadde1);
  background-size: 240% 100%, 100% 100%;
  background-position: 75% 0, 0 0;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .blatt--p3000.blatt {
      animation: glanz linear both;
      animation-timeline: view();
    }
  }
}

@keyframes glanz {
  from {
    background-position: 100% 0, 0 0;
  }
  to {
    background-position: 0% 0, 0 0;
  }
}

/* Große Körnungsziffer im Rückseitendruck */
.ziffer {
  position: absolute;
  right: -0.03em;
  bottom: -0.16em;
  z-index: 0;
  color: var(--ziffer);
  font-size: clamp(6rem, 17vw, 14rem);
  font-weight: 860;
  font-stretch: 125%;
  line-height: 0.8;
  letter-spacing: -0.045em;
  pointer-events: none;
  user-select: none;
  transition:
    transform 1.3s var(--ease),
    opacity 1.3s var(--ease);
}

.js .ziffer {
  opacity: 0;
  transform: translateX(7%);
}

.js .ziffer.ist-da {
  opacity: 1;
  transform: none;
}

/* Rauheitsprofil an der Oberkante eines Bogens (per Skript gezeichnet) */
.profil {
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 26px;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Knöpfe und Felder
   -------------------------------------------------------------------------- */

.knopf {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75em 1.35em;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  font-weight: 680;
  font-stretch: 104%;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.15s var(--ease);
}

/* Polierstreifen, der beim Überfahren in Schleifrichtung wandert */
.knopf::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.knopf:hover::after {
  transform: translateX(120%);
}

.knopf:active {
  transform: translateY(1px);
}

.knopf--hell {
  background: #f2f3f4;
  color: var(--tinte);
}

.knopf--hell:hover {
  background: #ffffff;
}

.knopf--dunkel {
  background: var(--graphit);
  color: #f2f2f0;
}

.knopf--dunkel:hover {
  background: #000000;
}

.knopf--klein {
  min-height: 44px;
  padding: 0.55em 1em;
  font-size: 0.9375rem;
}

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

.schnellanfrage input,
.anfrage input,
.anfrage textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7em 0.85em;
  border: 1px solid rgba(23, 24, 26, 0.45);
  border-radius: 2px;
  background: #fbfbfa;
  color: var(--tinte);
  transition: border-color 0.2s var(--ease);
}

.schnellanfrage input:hover,
.anfrage input:hover,
.anfrage textarea:hover {
  border-color: var(--tinte);
}

.schnellanfrage input:focus,
.anfrage input:focus,
.anfrage textarea:focus {
  outline: 2px solid var(--fokus);
  outline-offset: 2px;
}

input::placeholder,
textarea::placeholder {
  color: #67686d;
  opacity: 1;
}

[aria-invalid="true"] {
  border-color: #a8321a !important;
  box-shadow: inset 0 0 0 1px #a8321a;
}

/* --------------------------------------------------------------------------
   Kopfzeile und Körnungsskala
   -------------------------------------------------------------------------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--graphit);
  color: #f2f2f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  --fokus: #ffffff;
}

.kopf__innen {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--kopf-hoehe);
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  font-stretch: 112%;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.marke__zeichen {
  width: 24px;
  height: 24px;
  flex: none;
}

.kopf__stufe {
  padding: 3px 8px;
  border-radius: 2px;
  background-color: var(--blatt, #7e3420);
  color: var(--text, #f7f1ec);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-weight: 760;
  font-stretch: 125%;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  transition:
    background-color 0.5s var(--ease),
    color 0.5s var(--ease);
}

.kopf__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.kopf__nav a {
  color: #c4c6cb;
  font-weight: 540;
  text-decoration: none;
}

.kopf__nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.koernung {
  position: fixed;
  right: 10px;
  top: 50%;
  z-index: 25;
  transform: translateY(-50%);
}

.koernung .blatt--p40,
.kopf__stufe.blatt--p40 {
  --blatt: var(--korund);
  --korn: var(--korn-p40);
  --text: #f7f1ec;
}

.koernung ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.koernung a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 46px;
  height: 30px;
  margin-left: auto;
  padding: 0 6px;
  background-color: var(--blatt);
  background-image: var(--korn);
  background-blend-mode: soft-light;
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  font-weight: 760;
  font-stretch: 112%;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: transform 0.45s var(--ease);
}

.koernung a[aria-current="true"] {
  transform: translateX(-14px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    14px 0 0 0 var(--blatt);
}

.koernung__name {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  padding: 4px 9px;
  background: var(--graphit);
  color: #f2f2f0;
  font-size: 0.8125rem;
  font-weight: 600;
  font-stretch: 100%;
  white-space: nowrap;
  opacity: 0;
  transform: translate(6px, -50%);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
  pointer-events: none;
}

.koernung a:hover .koernung__name,
.koernung a:focus-visible .koernung__name {
  opacity: 1;
  transform: translate(0, -50%);
}

/* --------------------------------------------------------------------------
   Kopfbereich P40 mit der alten Seite als Schleiffläche
   -------------------------------------------------------------------------- */

.held {
  --band: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--kopf-hoehe));
  padding-block: clamp(48px, 7vw, 96px) calc(var(--band) + clamp(64px, 7vw, 104px));
  touch-action: pan-y;
}

/* Studiolicht von oben links auf dem Graphit */
.held::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(85% 75% at 10% 0%, rgba(255, 255, 255, 0.15), transparent 62%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.22));
}

/* Grobes Korund-Schleifband P40 mit Rückseitendruck */
.held__band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  height: var(--band);
  background-color: var(--korund);
  background-image: var(--korn-p40);
  background-blend-mode: soft-light;
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.16),
    0 -20px 34px -14px rgba(0, 0, 0, 0.55);
  color: rgba(255, 238, 228, 0.86);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.held__band .huelle {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.held__band span:first-child {
  font-weight: 760;
  font-stretch: 125%;
}

.held__raster {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px);
  row-gap: clamp(28px, 4vw, 56px);
  align-items: end;
}

.held h1 {
  grid-column: 1 / span 11;
  font-size: clamp(2.4rem, 1rem + 4.6vw, 5.75rem);
  font-weight: 780;
  font-stretch: 108%;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.held__angebot {
  grid-column: 6 / span 7;
  display: grid;
  gap: 28px;
}

.held__angebot > p {
  max-width: 56ch;
  color: var(--text-leise);
}


.schnellanfrage label {
  display: block;
  margin-bottom: 10px;
  font-weight: 680;
}

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

.schnellanfrage__zeile input {
  flex: 1 1 220px;
  min-width: 0;
}

.schnellanfrage__zeile .knopf {
  flex: 1 0 auto;
}

.schnellanfrage__hinweis {
  margin-top: 10px;
  color: var(--text-leise);
}

/* Alte Seite: nur mit JavaScript sichtbar, wird zur Schleiffläche */
.held__altseite {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  overflow: hidden;
  background: #dfe4ee;
  pointer-events: none;
}

.js .held__altseite {
  display: block;
  animation: altseite-weg 0.6s ease 9s forwards;
}

.held__altseite img {
  display: block;
  width: 100%;
  height: auto;
}

.held__altseite canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.js .held__altseite.ist-uebernommen {
  background: transparent;
  animation: none;
}

.js .held__altseite.ist-fertig {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s var(--ease),
    visibility 0s linear 0.8s;
}

@keyframes altseite-weg {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.held__staub {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.held__staub.ist-weg {
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.2s;
}

.held__hinweis {
  position: absolute;
  left: var(--rand);
  bottom: calc(var(--band) + 16px);
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  max-width: min(600px, 100% - 2 * var(--rand));
  padding: 12px 12px 12px 16px;
  background: rgba(28, 29, 32, 0.95);
  color: #f2f2f0;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
  --fokus: #ffffff;
}

.held__hinweis p {
  flex: 1 1 260px;
}

.nur-touch {
  display: none;
}

@media (hover: none), (pointer: coarse) {
  .nur-maus {
    display: none;
  }

  .nur-touch {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   P80 Befund: angezeichnete raue Stellen
   -------------------------------------------------------------------------- */

.befund__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.befund h2,
.leistungen h2,
.ablauf h2,
.offen h2,
.fragen h2,
.kontakt h2 {
  font-size: var(--h2);
}

.abschnitt__einstieg {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--text-leise);
}

.befunde {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linie-feld);
}

.befunde li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 16px;
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--linie-feld);
  transition: background-color 0.3s var(--ease);
}

.befunde li.ist-aktiv {
  background: linear-gradient(90deg, rgba(138, 53, 25, 0.08), transparent 85%);
}

.befunde__nr {
  color: var(--korund);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-weight: 760;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.befunde__text {
  color: var(--text-leise);
}

.befunde__text strong {
  display: block;
  color: var(--text);
  font-weight: 720;
}

.befund__schluss {
  margin-top: 24px;
  font-weight: 720;
}

.anriss {
  margin: 0;
}

.anriss svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(40, 30, 20, 0.18));
}

.anriss__stift {
  stroke: #343436;
  stroke-width: 1.7;
}

.anriss__stift g {
  opacity: 0.8;
  transition: opacity 0.35s var(--ease);
}

.anriss__stift circle {
  fill: #fffdf8;
}

.anriss__stift text {
  fill: #343436;
  stroke: none;
  font-family: var(--schrift);
  font-weight: 760;
  font-size: 13px;
  text-anchor: middle;
}

.anriss.hat-aktiv .anriss__stift g {
  opacity: 0.2;
}

.anriss.hat-aktiv .anriss__stift g.ist-aktiv {
  opacity: 1;
}

.anriss figcaption {
  margin-top: 14px;
  color: var(--text-leise);
}

/* --------------------------------------------------------------------------
   P180 Leistungen
   -------------------------------------------------------------------------- */

.leistungen h2 {
  max-width: 18ch;
}

.massnahmen {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--linie-feld);
}

.massnahme {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px clamp(24px, 5vw, 80px);
  padding-block: clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--linie-feld);
}

.massnahme h3 {
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
}

.massnahme__kurz {
  max-width: 36ch;
  margin-top: 10px;
  color: var(--text-leise);
}

.massnahme__eignung {
  max-width: 40ch;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--linie-feld);
  font-weight: 650;
  font-stretch: 112%;
}

.massnahme ul {
  display: grid;
  gap: 12px;
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.massnahme li {
  position: relative;
  padding-left: 26px;
}

.massnahme li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--text);
}

/* --------------------------------------------------------------------------
   P400 Ablauf
   -------------------------------------------------------------------------- */

.schritte {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.schritt {
  padding-top: 18px;
  border-top: 2px solid var(--text);
}

.schritt__nr {
  color: var(--korund);
  display: block;
  font-size: clamp(2.8rem, 2rem + 2vw, 4rem);
  font-weight: 860;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.schritt h3 {
  margin-top: 16px;
  font-size: 1.375rem;
}

.schritt p {
  margin-top: 10px;
  color: var(--text-leise);
}

/* --------------------------------------------------------------------------
   P800 Offene Karten und Messprotokoll
   -------------------------------------------------------------------------- */

.offen__raster {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.offen h2 {
  max-width: 16ch;
}

.grundsaetze {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-leise);
}

.grundsaetze li {
  padding-top: 16px;
  border-top: 1px solid var(--linie-feld);
}

.grundsaetze strong {
  display: block;
  color: var(--text);
  font-weight: 720;
}

.messprotokoll {
  margin: 0;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--linie-feld);
  background: rgba(255, 255, 255, 0.03);
}

.messprotokoll figcaption {
  font-weight: 720;
  font-stretch: 112%;
}

.messprotokoll table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
}

.messprotokoll th,
.messprotokoll td {
  padding: 14px 0;
  border-top: 1px solid var(--linie-feld);
  text-align: left;
  vertical-align: baseline;
}

.messprotokoll th {
  padding-right: 16px;
  font-weight: 450;
  color: var(--text-leise);
}

.messprotokoll td {
  font-size: 1.5rem;
  font-weight: 760;
  font-stretch: 112%;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.messprotokoll__fuss {
  margin-top: 14px;
  color: var(--text-leise);
}

/* --------------------------------------------------------------------------
   P1500 Häufige Fragen
   -------------------------------------------------------------------------- */

.fragen__raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.fragen h2 {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 40px);
}

.fragen__liste {
  border-top: 1px solid var(--linie-feld);
}

.fragen details {
  border-bottom: 1px solid var(--linie-feld);
}

.fragen summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.fragen summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.35em;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: background-size 0.3s var(--ease);
}

.fragen details[open] summary::after {
  background-size: 14px 2px, 2px 0;
}

.fragen summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.fragen details p {
  max-width: 64ch;
  padding: 0 0 22px;
  color: var(--text-leise);
}

/* --------------------------------------------------------------------------
   P3000 Kontakt auf Spiegelstahl
   -------------------------------------------------------------------------- */

.kontakt__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.kontakt__direkt {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}

.kontakt__direkt div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  padding-top: 12px;
  border-top: 1px solid var(--linie-feld);
}

.kontakt__direkt dt {
  color: var(--text-leise);
}

.kontakt__direkt dd {
  margin: 0;
  font-weight: 650;
}

.anfrage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 16px;
}

.feldgruppe--breit {
  grid-column: 1 / -1;
}

.feldgruppe label {
  display: block;
  margin-bottom: 8px;
  font-weight: 680;
}

.optional {
  font-weight: 450;
  color: var(--text-leise);
}

.anfrage input,
.anfrage textarea {
  background: #ffffff;
}

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

.feld__fehler {
  margin-top: 6px;
  color: #a8321a;
  font-weight: 600;
}

.falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.anfrage__datenschutz {
  color: var(--text-leise);
}

.anfrage__meldung {
  padding: 12px 14px;
  background: #f6dfd8;
  color: #7a2316;
  font-weight: 600;
}

.anfrage__erfolg {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  padding-block: 8px;
}

.anfrage__erfolg:focus {
  outline: none;
}

.anfrage__erfolg svg {
  width: 44px;
  height: 44px;
}

.anfrage__erfolg h3 {
  font-size: 1.75rem;
}

.anfrage__erfolg p {
  color: var(--text-leise);
}

.platzhalter {
  padding: 0 0.25em;
  border-radius: 2px;
  background: #ffe58a;
  color: #3d2f00;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */

.fuss {
  padding-block: 64px 40px;
}

.fuss__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
}

.fuss__raster > div > p {
  margin-top: 10px;
  color: var(--text-leise);
}

.fuss__nav {
  display: flex;
  gap: 24px;
}

.fuss__nav a {
  font-weight: 650;
  text-decoration: none;
}

.fuss__nav a:hover {
  text-decoration: underline;
}

.fuss__klein {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--linie-feld);
  color: var(--text-leise);
}

/* --------------------------------------------------------------------------
   Rechtsseiten, Danke-Seite, Fehlerseite
   -------------------------------------------------------------------------- */

.recht {
  padding-block: clamp(56px, 7vw, 104px) var(--abstand);
}

.recht__inhalt {
  max-width: 72ch;
}

.recht h1 {
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.recht h2 {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--linie-feld);
  font-size: 1.5rem;
}

.recht h3 {
  margin-top: 28px;
  font-size: 1.1875rem;
}

.recht p,
.recht ul {
  margin-top: 12px;
}

.recht ul {
  padding-left: 1.2em;
}

.recht li + li {
  margin-top: 6px;
}

.recht__stand {
  margin-top: 14px;
  color: var(--text-leise);
}

.recht__kurz {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--linie-feld);
  background: rgba(255, 255, 255, 0.55);
}

.recht__kurz ul {
  margin-top: 8px;
}

.einfach {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--kopf-hoehe));
}

.einfach .huelle {
  max-width: 720px;
  margin-inline: var(--rand) auto;
  padding-block: clamp(64px, 10vh, 120px);
}

@media (min-width: 900px) {
  .einfach .huelle {
    margin-left: calc((100% - min(100% - 2 * var(--rand), var(--huelle))) / 2);
  }
}

.einfach h1 {
  font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.einfach p,
.einfach ul {
  margin-top: 18px;
  color: var(--text-leise);
}

.einfach .knopf {
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1099px) {
  .koernung {
    display: none;
  }
}

/* Platz für die Körnungsskala am rechten Rand */
@media (min-width: 1100px) {
  :root {
    --rand: 84px;
  }
}

@media (max-width: 1023px) {
  .held h1 {
    grid-column: 1 / -1;
  }

  .held__angebot {
    grid-column: 1 / -1;
  }

  .befund__raster,
  .offen__raster,
  .kontakt__raster,
  .fragen__raster,
  .massnahme {
    grid-template-columns: minmax(0, 1fr);
  }

  .fragen h2 {
    position: static;
  }

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

@media (max-width: 759px) {
  :root {
    --kopf-hoehe: 56px;
  }

  .kopf__nav {
    display: none;
  }

  .kopf .knopf {
    margin-left: auto;
  }
}

@media (max-width: 639px) {
  body {
    font-size: 1rem;
  }

  .held {
    justify-content: flex-start;
    padding-top: 40px;
  }

  .held {
    --band: 64px;
  }

  .held__hinweis {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: 32px var(--rand) 0;
  }

  .held__band span:last-child {
    display: none;
  }

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

  .messprotokoll td {
    font-size: 1.25rem;
  }

  .kopf__innen {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js .ziffer {
    opacity: 1;
    transform: none;
  }
}
