/* Footer-Sektion "Acquire": Partikel-Buehne, CTA, Linkspalten, Rechtszeile.
   Masse in --u: ein Pixel der 1200 px breiten Vorlage, waechst bis 1440 px mit. */

@font-face {
  font-family: "Geist Pixel Grid";
  src: url("fonts/GeistPixel-Grid.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
/* Lokal eingebundene Schriften, keine externen Aufrufe. Alle stehen unter der SIL Open Font
   License 1.1, die Lizenztexte liegen daneben in fonts/OFL-*.txt. */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/JetBrainsMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/JetBrainsMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/JetBrainsMono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/JetBrainsMono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Poppins-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Poppins-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Poppins-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Poppins-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Poppins-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.pf {
  /* Massstab. --w ist 1 px der 1200 px breiten Vorlage und waechst bis 1440 px mit.
     Inhalt (--u) und Buehne (--b) schrumpfen zusaetzlich mit der Fensterhoehe, damit
     Ueberschrift und Knopf ohne Scrollen zu sehen sind. Der Inhalt hoert bei 0.8 auf zu
     schrumpfen, sonst wird die Schrift in flachen Fenstern winzig. Die Buehne darf bis
     0.4 herunter, das braucht ein Handy im Querformat. */
  --w: min(1.2px, calc(100vw / 1200));
  --u: min(var(--w), max(.8px, calc(100vh / 980)));
  --b: min(var(--w), max(.4px, calc(100vh / 980)));
  /* Seitenrand in schmalen Fenstern, weicht der Kamera-Aussparung aus */
  --rand: max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  /* Abstand zweier gleich breiter Spalten. Impressum/Datenschutz und die Felder der
     Anfrage nutzen ihn beide, so beginnen ihre rechten Spalten an derselben Kante. */
  --spalt: clamp(32px, 8%, 96px);
  --bg: #0b0b0b;
  --ink: #f1efea;
  --akzent: #ff4a1c;
  --ink-2: #a5a29b;   /* zweitrangiger Text: Dauern, Rechtstexte */
  --muted: #5a5a5a;
  --label: #8a8a8a;   /* Etiketten und Kleingedrucktes, 5,7:1 auf dem Grund */
  --line: #333;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.pf *, .pf *::before, .pf *::after { box-sizing: border-box; }
.pf a, .pf button, .pf summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Filmkorn wie in der Vorlage, fest stehend */
.pf::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- Buehne */
.pf-scene {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(800 * var(--b));
  z-index: 0;
  pointer-events: none;
}
.pf-canvas {
  /* Ausblenden unten rechnet der Shader (billiger als eine CSS-Maske) */
  --pf-fade-from: .8;
  --pf-fade-to: 1;
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------------------- Kopf
   Liegt ueber der Buehne: Logo links, Hinweis rechts. Passt beides nicht nebeneinander,
   rutscht der Hinweis unter das Logo. */
.pf-kopf {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  width: min(calc(1000 * var(--u)), calc(100% - 2 * var(--rand)));
  margin: 0 auto;
  padding-top: calc(34 * var(--u));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
}
.pf-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
/* Logo: die offizielle Datei, unveraendert. Sie bringt rundum Schutzraum mit (28 von 204
   Einheiten). Der linke Schutzraum wird herausgerueckt, damit das Symbol buendig mit der
   Ueberschrift steht. Die Hoehe ist so gewaehlt, dass die Buchstaben 14 bis 20 px x-Hoehe haben. */
.pf-wortbild {
  --logo-h: clamp(33px, calc(38.5 * var(--u)), 46.75px);
  display: block;
  height: var(--logo-h);
  width: auto;
  margin-left: calc(var(--logo-h) * -.137);
}
.pf-logo:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.pf-marker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: max(11px, calc(12.1 * var(--u)));
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--label);
  white-space: nowrap;
}
.pf-marker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); }

/* ---------------------------------------------------------------- Inhalt */
.pf-inner {
  position: relative;
  z-index: 1;
  width: min(calc(1000 * var(--u)), calc(100% - 2 * var(--rand)));
  margin: 0 auto;
  padding: calc(717.6 * var(--b)) 0 calc(75.5 * var(--u));
}

.pf-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(40 * var(--u));
}

.pf-title {
  margin: 0;
  font-family: "Geist Pixel Grid", "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: max(28px, calc(45.8 * var(--u)));
  line-height: max(32px, calc(52 * var(--u)));
  letter-spacing: 0;
  color: var(--muted);
}
.pf-line { display: block; }
.pf-line:first-child { margin-bottom: calc(7 * var(--u)); }
.pf-title em { font-style: normal; color: var(--ink); }

.pf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Button mit rollendem Label */
.pf-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: max(40px, calc(42 * var(--u)));
  margin-top: calc(10.4 * var(--u));
  padding: 0 max(16px, calc(19 * var(--u)));
  background: var(--ink);
  color: var(--bg);
  font-size: max(14px, calc(14.4 * var(--u)));
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out);
}
.pf-btn:active { transform: scale(.97); }
.pf-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pf-btn-roll {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
}
.pf-btn-text {
  display: block;
  transition: transform 420ms var(--ease-out);
}
.pf-btn-text + .pf-btn-text { position: absolute; top: 100%; left: 0; }

/* ---------------------------------------------------------------- Ueberblick: Leistungen, Kontakt
   Zwei Bloecke in der Breite ihres Inhalts: Leistungen buendig links, Kontakt buendig
   rechts, wie Logo und Hinweis im Kopf. Die Leistungen laufen in Spalten zu je zwei
   Zeilen, so sind beide Bloecke gleich hoch. */
.pf-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(min-content, max-content));
  justify-content: space-between;
  column-gap: 24px;
  margin-top: calc(102.6 * var(--u));
}
.pf-label {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: max(11px, calc(12.1 * var(--u)));
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--label);
  white-space: nowrap;
}
.pf-list {
  list-style: none;
  margin: calc(17.1 * var(--u)) 0 0;
  padding: 0;
}
.pf-leistungen {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  column-gap: max(40px, calc(60 * var(--u)));
}
.pf-link,
.pf-text {
  display: inline-block;
  margin: 0;
  font-size: max(14px, calc(13.2 * var(--u)));
  line-height: max(28px, calc(30 * var(--u)));
  color: var(--ink);
  white-space: nowrap;
}
.pf-link { position: relative; text-decoration: none; transition: color 240ms var(--ease-out); }
.pf-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Kontakt: ein Satz, darunter die Adresse als einziger Link der Reihe */
.pf-satz { display: block; white-space: normal; text-wrap: balance; color: var(--ink-2); }
.pf-mail {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: max(15px, calc(14.4 * var(--u)));
  font-weight: 500;
}
.pf-mail__text {
  background: linear-gradient(currentColor, currentColor) no-repeat right calc(50% + .62em) / 0 1px;
  transition: background-size 360ms var(--ease-out);
}
.pf-pfeil { flex: none; width: 1em; height: 1em; transition: transform 200ms var(--ease-out); }

/* ---------------------------------------------------------------- Grosser Schriftzug
   Schliesst die Seite ab. Die offizielle Wortmarke als Maske, gefuellt mit einem Verlauf,
   der nach unten im Grund versinkt. Reine Zierde, deshalb aria-hidden im HTML. */
.pf-riese { margin-top: calc(104 * var(--u)); overflow: hidden; }
.pf-riese__marke {
  display: block;
  width: 100%;
  aspect-ratio: 772.8 / 116.89;
  background: linear-gradient(180deg, #3a3a3a 0%, #232323 62%, #151515 100%);
  -webkit-mask: url("netzkontur-wortmarke.svg?v=5e4fb61ce9") no-repeat center / 100% 100%;
  mask: url("netzkontur-wortmarke.svg?v=5e4fb61ce9") no-repeat center / 100% 100%;
}

/* ---------------------------------------------------------------- Impressum und Datenschutz
   Zum Aufklappen, auf breiten Bildschirmen nebeneinander. Die ganze Zeile ist die
   Trefferflaeche, nicht nur das Wort. */
.pf-rechtliches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: start;
  margin-top: calc(60 * var(--u));
}
.pf-rechtliches details {
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.pf-rechtliches summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: max(14px, calc(18 * var(--u))) 0;
  font-weight: 500;
  font-size: max(14px, calc(13.2 * var(--u)));
  color: var(--ink);
  transition: color 200ms var(--ease-out);
}
.pf-rechtliches summary::-webkit-details-marker { display: none; }
.pf-rechtliches summary::after {
  content: "+";
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: var(--label);
  transition: rotate 300ms var(--ease-out), color 200ms var(--ease-out);
}
.pf-rechtliches details[open] summary::after { rotate: 45deg; }
.pf-rechtliches summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.pf-inhalt {
  padding-bottom: max(18px, calc(22 * var(--u)));
  display: grid;
  gap: 10px;
  max-width: 70ch;
  color: var(--ink-2);
  font-size: max(13px, calc(13 * var(--u)));
  line-height: 1.6;
  overflow-wrap: break-word;
}
.pf-inhalt p, .pf-inhalt address { margin: 0; }
.pf-inhalt h4 { margin: 6px 0 0; font-size: inherit; font-weight: 600; color: var(--ink); }
.pf-inhalt address { font-style: normal; }
.pf-inhalt a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pf-inhalt a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------------------------------------------------------------- Rechtszeile
   Letzte Zeile der Seite. Ihre Linie schliesst die beiden Aufklapp-Zeilen nach unten ab. */
.pf-legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-top: calc(25 * var(--u));
}
.pf-rule {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
}
.pf-copy,
.pf-motion {
  margin: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: max(11px, calc(12 * var(--u)));
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--label);
}
/* Vor dem Copyright steht das Symbol, die Kurzform des Logos */
.pf-copy { display: inline-flex; align-items: center; gap: .75em; }
.pf-copy::before {
  content: "";
  flex: none;
  width: 1.35em;
  height: 1.35em;
  background: currentColor;
  -webkit-mask: url("netzkontur-symbol.svg?v=3e3b78c143") no-repeat center / contain;
  mask: url("netzkontur-symbol.svg?v=3e3b78c143") no-repeat center / contain;
}
.pf-motion {
  padding: 6px 0;
  margin: -6px 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: color 200ms var(--ease-out);
}
.pf-motion:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------------------------------------------------------------- Hover nur mit Maus */
@media (hover: hover) and (pointer: fine) {
  .pf-btn:hover .pf-btn-text { transform: translateY(-100%); }
  .pf-mail:hover .pf-mail__text { background-size: 100% 1px; background-position-x: left; }
  .pf-mail:hover .pf-pfeil { transform: translate(2px, -2px); }
  .pf-motion:hover { color: var(--ink); }
  .pf-rechtliches summary:hover::after { color: var(--ink); }
}
/* Ohne Maus gibt es kein Hover: Rueckmeldung beim Antippen */
@media (hover: none) {
  .pf-link:active,
  .pf-motion:active,
  .pf-rechtliches summary:active { color: var(--label); }
}

/* ---------------------------------------------------------------- Einblenden
   Nur mit JS versteckt. Keyframes statt transition-delay, damit Hover danach
   nicht verzoegert startet. */
.pf-js .pf-reveal { opacity: 0; }
.pf-js .pf-reveal.is-in {
  opacity: 1;
  animation: pf-rise 900ms var(--ease-out) var(--d, 0ms) backwards;
}
@keyframes pf-rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
}
.pf-js .pf-rule { transform: scaleX(0); }
.pf-js .pf-rule.is-in {
  transform: none;
  animation: pf-draw 1300ms var(--ease-in-out) var(--d, 0ms) backwards;
}
@keyframes pf-draw { from { transform: scaleX(0); } }
/* Der grosse Schriftzug steigt hinter einer Kante hoch (.pf-riese schneidet ab) */
.pf-js .pf-riese__marke {
  opacity: 0;
  transform: translateY(42%);
  transition: opacity 900ms var(--ease-out), transform 1300ms var(--ease-out);
}
.pf-js .pf-riese.is-in .pf-riese__marke { opacity: 1; transform: none; }

/* Testmodus (?t=...): Endzustand ohne Einblenden */
.pf-instant .pf-reveal.is-in,
.pf-instant .pf-rule.is-in { animation: none; }
.pf-instant .pf-ch,
.pf-instant .pf-riese__marke { transition: none; }

/* Scramble-Zeichen der Pixelschrift */
.pf-ch { transition: color 520ms var(--ease-out); }
.pf-js .pf-scramble .pf-ch { opacity: 0; }
.pf-js .pf-scramble .pf-ch.is-on { opacity: 1; }
.pf-ch.is-noise { opacity: .55 !important; }
.pf-js .pf-title em .pf-ch { color: var(--muted); }
.pf-js .pf-title em.is-lit .pf-ch { color: var(--ink); }

/* ---------------------------------------------------------------- Finger statt Maus
   Tablets nutzen das grosse Layout, werden aber getippt: alles Antippbare mindestens
   44 px hoch, Lesetext eine Stufe groesser. */
@media (pointer: coarse) {
  .pf-btn { min-height: 44px; }
  .pf-link, .pf-text { font-size: max(15px, calc(13.2 * var(--u))); }
  .pf-mail { font-size: max(16px, calc(14.4 * var(--u))); }
  /* Die Mail-Adresse behaelt ihre Zeilenhoehe, die Trefferflaeche waechst unsichtbar auf 44 px */
  .pf-mail::after { content: ""; position: absolute; inset: -8px 0; }
  .pf-motion { padding: 16px 0; margin: -16px 0; }
  .pf-logo::after { content: ""; position: absolute; inset: -6px 0; }
  .pf-rechtliches summary { min-height: 48px; font-size: max(15px, calc(13.2 * var(--u))); }
  .pf-inhalt { font-size: max(15px, calc(13 * var(--u))); }
}

/* ---------------------------------------------------------------- Mittlere Breite
   Unter 1280 px laufen die Leistungen in zwei Spalten zu je drei Zeilen, drei Spalten
   waeren neben dem Kontakt zu breit. */
@media (max-width: 1279px) {
  .pf-leistungen { grid-template-rows: repeat(3, auto); }
}

/* ---------------------------------------------------------------- Schmal: Handy und kleines Tablet
   Eigene feste Masse statt des Vorlagen-Massstabs. */
@media (max-width: 760px) {
  /* Buehnenhoehe aus der sichtbaren Hoehe: Ueberschrift und Knopf stehen auf dem ersten
     Bildschirm. svh bleibt gleich, wenn die Browserleiste ein- und ausfaehrt, die Buehne
     springt beim Scrollen also nicht. */
  .pf { --buehne: clamp(320px, 76vh, 600px); }
  @supports (height: 1svh) {
    .pf { --buehne: clamp(320px, 76svh, 600px); }
  }
  .pf-scene { height: var(--buehne); }
  .pf-canvas { --pf-fade-from: .56; --pf-fade-to: .8; }

  .pf-kopf { width: calc(100% - 2 * var(--rand)); padding-top: calc(18px + env(safe-area-inset-top, 0px)); column-gap: 12px; }
  .pf-wortbild { --logo-h: 34.4px; }
  .pf-logo::after { content: ""; position: absolute; inset: -6px 0; }

  .pf-inner {
    width: calc(100% - 2 * var(--rand));
    padding-top: calc(var(--buehne) * .753);
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }
  .pf-cta { flex-direction: column; gap: 28px; }
  .pf-title { font-size: clamp(26px, 7.9vw, 40px); line-height: 1.16; text-wrap: balance; }
  .pf-line:first-child { margin-bottom: 0; }
  .pf-btn { margin-top: 0; min-height: 48px; padding: 0 20px; font-size: 16px; }

  .pf-nav { margin-top: 64px; }
  .pf-label { font-size: 12px; }
  .pf-list { margin-top: 12px; }
  .pf-link, .pf-text { font-size: 16px; line-height: 1.35; }
  .pf-text { display: block; padding: 6px 0; }
  .pf-mail { padding: 6px 0; font-size: 16px; }
  .pf-mail::after { content: ""; position: absolute; inset: -5px 0; }

  .pf-riese { margin-top: 64px; }

  .pf-rechtliches { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .pf-rechtliches summary { padding: 14px 0; min-height: 52px; font-size: 16px; }
  .pf-inhalt { padding-bottom: 22px; font-size: 15px; }

  .pf-legal { padding-top: 20px; }
  .pf-copy, .pf-motion { font-size: 12px; }
  .pf-motion { padding: 16px 0; margin: -16px 0; }
}

/* ---------------------------------------------------------------- Handy
   Unter 700 px wird jede Gruppe eine Zeile: links das Etikett, rechts der Inhalt.
   So bleibt die Schrift gross und nichts bricht um. */
@media (max-width: 699px) {
  .pf-nav { display: block; }
  .pf-col { display: grid; grid-template-columns: 6rem minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
  .pf-col + .pf-col { margin-top: 28px; }
  .pf-list { margin-top: 0; }
  .pf-leistungen { display: block; }
  .pf-link, .pf-text { white-space: normal; }
}

/* ---------------------------------------------------------------- Schmales Handy
   Der Hinweis rueckt enger zusammen, damit er neben dem Logo Platz hat. Unter 360 px
   rutscht er darunter (flex-wrap im Kopf), das Logo behaelt seine Groesse. */
@media (max-width: 389px) {
  .pf-marker { letter-spacing: .06em; }
}

/* ---------------------------------------------------------------- Sehr schmal (unter 360 px)
   Der Pfeil faellt weg, damit die Adresse in eine Zeile passt. */
@media (max-width: 359px) {
  .pf-col { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .pf-link, .pf-text, .pf-mail { font-size: 15px; }
  .pf-pfeil { display: none; }
  .pf-mail::after { inset: -6px 0; }
}

/* ---------------------------------------------------------------- Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  .pf-js .pf-reveal.is-in { animation: pf-fade 400ms ease-out var(--d, 0ms) backwards; }
  .pf-js .pf-rule.is-in { animation: pf-fade 400ms ease-out var(--d, 0ms) backwards; }
  @keyframes pf-fade { from { opacity: 0; } }
  .pf-js .pf-riese__marke { transform: none; transition: opacity 400ms ease-out; }
  .pf-btn, .pf-btn-text, .pf-link, .pf-mail__text, .pf-pfeil, .pf-ch { transition-duration: 1ms; }
  .pf-btn:active { transform: none; }
}

/* ---------------------------------------------------------------- Anfrage
   Kontaktformular zwischen Kopf und Ueberblick. Oben das Etikett mit einem Satz,
   darunter die Felder ueber die ganze Inhaltsbreite: so stehen sie an denselben Kanten
   wie Ueberschrift, Ueberblick und Rechtszeile. Die zwei Feldspalten teilen die Breite
   wie Impressum und Datenschutz unten. Unterstriche statt Kaesten, dieselben Etiketten
   wie im Ueberblick, der Knopf wie oben. Fehler stehen am Feld, in der einzigen
   Signalfarbe der Seite, und immer als Text - nie nur als Farbe. */
.pf-anfrage {
  margin-top: calc(96 * var(--u));
  scroll-margin-top: 24px;
}
.pf-anfrage__satz {
  margin: calc(17.1 * var(--u)) 0 0;
  max-width: 36ch;
  font-size: max(14px, calc(13.2 * var(--u)));
  line-height: 1.6;
  color: var(--ink-2);
}
/* Zum Satz gut doppelt so viel Luft wie zwischen den Feldern, damit Einleitung und
   Felder als zwei Gruppen lesen */
.pf-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(26 * var(--u)) var(--spalt);
  margin-top: calc(52 * var(--u));
}
.pf-feld { display: grid; gap: 8px; align-content: start; min-width: 0; }
.pf-feld--breit { grid-column: 1 / -1; }
.pf-feld__label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: max(11px, calc(12.1 * var(--u)));
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--label);
  transition: color 200ms var(--ease-out);
}
.pf-feld__opt {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 12px;
  /* Ohne eigene Zeilenhoehe: sonst ist das Etikett 1 px hoeher als das des Nachbarfelds
     und die beiden Linien stehen versetzt */
  line-height: 0;
  letter-spacing: 0;
  text-transform: none;
}
.pf-feld__eingabe {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  caret-color: var(--ink);
  font: inherit;
  font-size: max(16px, calc(15.4 * var(--u)));
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.pf-feld__eingabe::placeholder { color: var(--label); opacity: 1; }
/* Fokus: die Linie wird weiss und doppelt so dick. Das ist der Fokusring dieser Felder. */
.pf-feld__eingabe:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.pf-feld:focus-within .pf-feld__label { color: var(--ink); }
.pf-feld.is-fehler .pf-feld__eingabe,
.pf-feld__eingabe[aria-invalid="true"] { border-bottom-color: var(--akzent); box-shadow: 0 1px 0 var(--akzent); }
/* Ausgefuellt vom Browser: kein gelbes Feld auf dunklem Grund */
.pf-feld__eingabe:-webkit-autofill,
.pf-feld__eingabe:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset, 0 1px 0 var(--ink);
  -webkit-text-fill-color: var(--ink);
  transition: background-color 9999s ease-out;
}
textarea.pf-feld__eingabe { resize: vertical; min-height: 7.5em; }
.pf-feld__auswahl { position: relative; display: block; }
.pf-feld__auswahl::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--label);
  border-bottom: 1.5px solid var(--label);
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}
select.pf-feld__eingabe { padding-right: 28px; cursor: pointer; }
select.pf-feld__eingabe option { background: #161616; color: var(--ink); }
.pf-feld__fehler { margin: 0; font-size: 13px; line-height: 1.45; color: var(--akzent); }
.pf-feld__fehler:empty { display: none; }
/* Honigtopf: ausserhalb des Bildes, nicht in der Tab-Reihe */
.pf-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Fusszeile im Raster der Felder: Knopf unter der linken Spalte, Hinweis unter der
   rechten. Eigenes Raster statt subgrid: Safari rechnet den Prozent-Abstand im subgrid
   falsch, der Hinweis stand dort 40 px zu weit links. */
.pf-form__fuss {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px var(--spalt);
  align-items: center;
  margin-top: calc(6 * var(--u));
}
.pf-form__senden { justify-self: start; margin-top: 0; border: 0; cursor: pointer; font-family: inherit; }
.pf-form__senden[disabled] { cursor: default; opacity: .6; }
.pf-form__senden[disabled]:active { transform: none; }
.pf-form__hinweis { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.pf-form__hinweis a,
.pf-form__meldung a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pf-form__hinweis a:focus-visible,
.pf-form__meldung a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pf-form__status { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.pf-form__status:empty { display: none; }
/* Meldung, wenn das Senden scheitert: per JS (is-da) oder ohne JS ueber die Sprungmarke */
.pf-form__meldung { display: none; margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.pf-form__meldung:target,
.pf-form__meldung.is-da { display: block; }
/* Bestaetigung: ersetzt das Formular, per JS oder ueber die Sprungmarke #gesendet */
.pf-anfrage__danke { display: none; margin-top: calc(17.1 * var(--u)); }
.pf-anfrage__danke:target,
.pf-anfrage__danke.is-da { display: block; }
/* Nach dem Senden weicht auch der Einleitungssatz: der Dank nennt die Frist schon */
.pf-anfrage:has(.pf-anfrage__danke:target) .pf-form,
.pf-anfrage:has(.pf-anfrage__danke:target) .pf-anfrage__satz,
.pf-anfrage.is-gesendet .pf-form,
.pf-anfrage.is-gesendet .pf-anfrage__satz { display: none; }
.pf-anfrage__danke:focus { outline: none; }
.pf-anfrage__danke-titel { margin: 0; font-weight: 500; font-size: max(16px, calc(16.5 * var(--u))); line-height: 1.4; color: var(--ink); }
.pf-anfrage__danke-text { margin: 8px 0 0; max-width: 50ch; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* Der Knopf im Kopf fuehrt zum Formular: sanft scrollen, wo Bewegung erwuenscht ist */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Finger: Felder und Knopf mindestens 44 px */
@media (pointer: coarse) {
  .pf-feld__eingabe { padding: 12px 0 13px; font-size: 16px; }
  .pf-form__senden { min-height: 48px; }
}
@media (max-width: 760px) {
  .pf-anfrage { margin-top: 64px; }
  .pf-anfrage__satz { margin-top: 12px; font-size: 16px; }
  .pf-form { row-gap: 22px; margin-top: 44px; }
  .pf-anfrage__danke { margin-top: 12px; }
  .pf-feld__label { font-size: 12px; }
  .pf-feld__eingabe { font-size: 16px; }
  .pf-form__senden { min-height: 48px; font-size: 16px; }
  .pf-form__hinweis { font-size: 14px; }
  .pf-anfrage__danke-text { font-size: 15px; }
}
/* Handy: ein Feld je Zeile, der Hinweis unter dem Knopf */
@media (max-width: 699px) {
  .pf-form, .pf-form__fuss { grid-template-columns: minmax(0, 1fr); }
  .pf-feld--breit { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-feld__eingabe, .pf-feld__label { transition-duration: 1ms; }
}
