/* aja-systems.de — Startseite. Welt „Seitenwand eines Firmenwagens“ (Mockup 01./02.11.2026).
   Rechtsseiten und Vorschau-Sperre nutzen weiter assets/site.css. */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --grund: #F6F8FB;
  --tafelblau: #2B6595;
  --signal: #469CDB;
  --weiss: #FFFFFF;
  --tinte: #17283A;
  --tinte-leise: #4A5B6C;
  --linie: #D3DDE7;
  --auf-blau-leise: #D9E8F5;
  --platzhalter: #FFF3D6;
  --platzhalter-rand: #B7791F;
  --platzhalter-text: #5C3B00;

  --text: "Barlow", system-ui, sans-serif;
  --schild: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --rand: clamp(16px, 4.5vw, 56px);
  --breite: 78rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #9DB3C8 var(--weiss); }
body { margin: 0; background: var(--weiss); color: var(--tinte); font: 400 1.125rem/1.6 var(--text); }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--tafelblau); color: var(--weiss); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
a { color: var(--tafelblau); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.huelle { max-width: var(--breite); margin: 0 auto; padding-inline: var(--rand); }

/* ---------- Seitenwand: die erste Ansicht ---------- */
.wand { background: var(--tafelblau); color: var(--weiss); padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem); }
.wand-kopf { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: 1rem; color: var(--auf-blau-leise); }
.reiter-leiste { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.reiter { display: inline-block; padding: 0.45rem 1rem; border: 2px solid var(--weiss); border-radius: 6px; color: var(--weiss); font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.reiter:active { transform: scale(0.97); }
@media (hover: hover) { .reiter:hover { background: var(--weiss); color: var(--tafelblau); } }
.wand h1 { margin-top: clamp(1.75rem, 6vw, 4.5rem); font-weight: inherit; }
.name {
  display: block;
  font: 700 clamp(4.1rem, 11.5vw, 10rem)/0.82 var(--schild);
  letter-spacing: -0.02em;
  margin-left: -0.04em; /* optischer Randausgleich des „a“ */
  padding-bottom: 0.2em; /* Platz für die Unterlängen von j und y */
}
.name span { color: var(--signal); }
.leistungszeile {
  display: block;
  margin-top: 0;
  max-width: 34ch;
  font: 600 clamp(1.45rem, 3.6vw, 2.9rem)/1.12 var(--schild);
  text-wrap: balance;
}

.kontakt { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.75rem 1rem; margin-top: clamp(1.5rem, 3.5vw, 2.5rem); }
.knopf {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 3.5rem; padding: 0.55rem 1.25rem 0.6rem;
  border-radius: 3px; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.knopf:active { transform: scale(0.97); }
.knopf-zweck { font-size: 0.95rem; font-weight: 500; line-height: 1.2; }
.knopf-wert { font: 700 clamp(1.6rem, 3.6vw, 2.3rem)/1.05 var(--schild); }
.knopf-anruf { background: var(--weiss); color: var(--tafelblau); }
.knopf-mail { border: 2px solid var(--weiss); color: var(--weiss); }
.knopf-mail .knopf-wert { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
@media (hover: hover) and (pointer: fine) {
  .knopf-anruf:hover { background: var(--auf-blau-leise); }
  .knopf-mail:hover { background: rgba(255,255,255,0.12); }
}
.ist-platzhalter { background: var(--platzhalter); color: var(--platzhalter-text); outline: 2px dashed var(--platzhalter-rand); outline-offset: -2px; position: relative; }
.ist-platzhalter::after { content: "Platzhalter"; position: absolute; top: -0.7rem; right: 0.5rem; background: var(--platzhalter-rand); color: var(--weiss); font: 600 0.75rem/1 var(--text); padding: 0.2rem 0.4rem; border-radius: 2px; }
.antwort { margin-top: 0.9rem; font-size: 1rem; color: var(--auf-blau-leise); }

/* Zierstreifen: die Wand endet schräg, darunter der hellblaue Streifen wie eine Fahrzeugbeschriftung */
.livree { position: relative; height: clamp(56px, 9vw, 132px); margin-top: -1px; background: var(--weiss); }
.livree::before, .livree::after { content: ""; position: absolute; inset: 0; }
.livree::before { background: var(--tafelblau); clip-path: polygon(0 0, 100% 0, 100% 8%, 0 62%); }
.livree::after  { background: var(--signal);    clip-path: polygon(0 72%, 100% 18%, 100% 40%, 0 94%); }

/* ---------- Leistungen ---------- */
.abschnitt { padding-block: clamp(2rem, 5vw, 4rem); }
.abschnitt h2 { font: 700 clamp(1.9rem, 4vw, 3rem)/1.05 var(--schild); color: var(--tinte); text-wrap: balance; }
.leistungen { margin-top: clamp(1.25rem, 3vw, 2rem); border-top: 2px solid var(--tafelblau); }
.leistungen li { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 0.25rem 2rem; align-items: center; padding-block: clamp(0.9rem, 2vw, 1.4rem); border-bottom: 1px solid var(--linie); }
.leistungen h3 { font: 700 clamp(2.1rem, 5vw, 3.6rem)/1 var(--schild); color: var(--tafelblau); letter-spacing: -0.01em; }
.leistungen p { max-width: 52ch; color: var(--tinte); }
.preise { margin-top: clamp(1rem, 2.5vw, 1.5rem); font: 600 clamp(1.15rem, 2vw, 1.35rem)/1.35 var(--text); color: var(--tafelblau); }

/* ---------- Belege ---------- */
.belege { background: var(--grund); }
.beleg-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(1.25rem, 3vw, 2rem); align-items: end; }
.beleg img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 28px -12px rgba(23, 40, 58, 0.35); }
.beleg-text { margin-top: 0.9rem; }
.beleg h3 { font: 700 1.5rem/1.1 var(--schild); }
.vorher { color: var(--tinte-leise); }
.vorher del { text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.jetzt { font-weight: 600; }
.beleg-hinweis { margin-top: 0.15rem; font-size: 0.85rem; color: var(--tinte-leise); }
.beleg-ohne-bild { margin-top: clamp(1.25rem, 3vw, 2rem); padding-top: 1rem; border-top: 1px solid var(--linie); }

/* ---------- Person ---------- */
.person p { margin-top: 1rem; max-width: 62ch; }

/* ---------- Zettel und Excel ---------- */
.zettel-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.zettel-kopf p { margin-top: 1rem; max-width: 34ch; }
.zettel-kopf .zettel-mail { display: inline-block; margin-top: 1.25rem; padding: 0.7rem 1.25rem; border-radius: 6px; background: var(--tafelblau); color: var(--weiss); font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.zettel-kopf .zettel-mail:active { transform: scale(0.97); }
@media (hover: hover) { .zettel-kopf .zettel-mail:hover { background: #245580; } }
.zettel-liste { border-top: 2px solid var(--tafelblau); }
.zettel-liste li { padding-block: clamp(0.9rem, 2vw, 1.25rem); border-bottom: 1px solid var(--linie); }
.zettel-liste h3 { font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--schild); color: var(--tafelblau); }
.zettel-liste p { margin-top: 0.25rem; max-width: 52ch; }
@media (max-width: 760px) { .zettel-raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Heck: Fuß wie die Rückseite des Wagens ---------- */
.heck-livree { height: clamp(40px, 6vw, 88px); position: relative; }
.heck-livree::before, .heck-livree::after { content: ""; position: absolute; inset: 0; }
.heck-livree::before { background: var(--signal); clip-path: polygon(0 60%, 100% 6%, 100% 28%, 0 82%); }
.heck-livree::after  { background: var(--tafelblau); clip-path: polygon(0 92%, 100% 38%, 100% 100%, 0 100%); }
.heck { background: var(--tafelblau); color: var(--weiss); padding-block: 1.5rem 2rem; }
.heck-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: baseline; }
.heck-name { font: 700 2rem/1 var(--schild); }
.heck a { color: var(--weiss); text-decoration-color: var(--signal); }
.heck ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.heck small { display: block; margin-top: 1rem; font-size: 0.9rem; color: var(--auf-blau-leise); }

/* ---------- Geräte in der ersten Ansicht (nur ab 1000 px) ---------- */
.wand-raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.geraete { position: relative; margin: 0; padding: 1.5rem 0 0 3rem; }
.buehne { position: relative; perspective: 2200px; }
.buehne-innen { position: relative; transform: rotateY(-13deg) rotateX(5deg); transform-style: preserve-3d; }
/* Bodenschatten, auf dem beide Geräte stehen */
.buehne-innen::after { content: ""; position: absolute; left: 4%; right: -2%; bottom: -5%; height: 9%; background: rgba(6, 16, 28, 0.55); border-radius: 50%; filter: blur(18px); transform: translateZ(-40px); z-index: -1; }

/* Laptop: Deckel, Displayrand, Bildschirm, Unterteil mit Griffmulde */
.laptop { position: relative; width: 100%; }
.laptop-deckel { position: relative; background: #0E141C; border-radius: 16px 16px 4px 4px; padding: 3.1% 3.1% 3.6%;
  box-shadow: 0 0 0 1.5px #A9B3BF, 0 0 0 2.5px #5E6874, 18px 26px 40px -10px rgba(4, 12, 22, 0.55); }
.laptop-deckel::before { content: ""; position: absolute; top: 1.35%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #26303C; box-shadow: inset 0 0 0 1.5px #3A4654; }
.bildschirm { position: relative; overflow: hidden; background: #E4E9F0; }
.laptop .bildschirm { aspect-ratio: 16 / 10; border-radius: 3px; }
.bildschirm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
/* Glanz auf dem Glas, von links oben */
.bildschirm::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(118deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 28%, rgba(255,255,255,0) 46%); }
/* Unterteil bündig mit dem Deckel (-2.5px = äußerer Rahmen des Deckels) und dunkel wie der Deckel */
.laptop-unterteil { position: relative; height: 0; padding-bottom: 2.6%; margin: 0 -2.5px; border-radius: 2px 2px 12px 12px / 2px 2px 60% 60%;
  background: linear-gradient(180deg, #6A7480 0%, #3A434E 45%, #1C232C 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 14px 22px 26px -8px rgba(4, 12, 22, 0.5); }
.laptop-unterteil::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%);
  background: linear-gradient(180deg, #2A323C, #3E4752); border-radius: 0 0 10px 10px; }

/* Handy: Metallrand, schwarzer Rand, Kamera-Insel, Seitentasten */
.handy { position: absolute; left: -10%; bottom: -9%; width: 27%; transform: translateZ(80px); padding: 2.4%;
  background: #0B0F15; border-radius: 15% / 7.2%;
  box-shadow: 0 0 0 1.5px #B5BEC9, 0 0 0 3px #6A7480, 16px 26px 34px -8px rgba(4, 12, 22, 0.6), 4px 6px 10px rgba(4, 12, 22, 0.25); }
.handy::before { content: ""; position: absolute; top: 3.6%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 4; }
.handy-tasten::before, .handy-tasten::after { content: ""; position: absolute; width: 3px; background: #8A949F; border-radius: 2px; }
.handy-tasten::before { left: -4.5px; top: 20%; height: 9%; box-shadow: 0 32px 0 #8A949F; }
.handy-tasten::after { right: -4.5px; top: 27%; height: 14%; }
.handy .bildschirm { aspect-ratio: 390 / 844; border-radius: 12% / 5.6%; }


.geraete figcaption { text-align: right; margin-top: clamp(2.5rem, 4vw, 3.5rem); font-size: 0.85rem; color: var(--auf-blau-leise); }
@media (max-width: 999px) {
  .wand-raster { grid-template-columns: minmax(0, 1fr); }
  .geraete { display: none; }
}
@media (min-width: 1000px) {
  .name { font-size: clamp(3.6rem, 8.6vw, 8.6rem); white-space: nowrap; }
}

@media (max-width: 760px) {
  .leistungen li { grid-template-columns: minmax(0, 1fr); }
  .beleg-raster { grid-template-columns: minmax(0, 1fr); }
  .beleg-handy img { width: 54%; }
  .knopf { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .knopf { transition: none; } }

/* ---------- Knöpfe der ersten Ansicht ---------- */
button.knopf { font: inherit; border: 0; cursor: pointer; text-align: left; }
.knopf-anfrage { background: var(--weiss); color: var(--tafelblau); }
@media (hover: hover) and (pointer: fine) { .knopf-anfrage:hover { background: var(--auf-blau-leise); } }
.antwort + .antwort { margin-top: 0.15rem; }

/* ---------- Geführte Anfrage ---------- */
.anfrage { width: min(36rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 0; border-radius: 6px; color: var(--tinte); background: var(--weiss);
  box-shadow: 0 30px 60px -20px rgba(6, 16, 28, 0.55), 0 8px 18px rgba(6, 16, 28, 0.18); }
.anfrage::backdrop { background: rgba(12, 28, 44, 0.6); }
.anfrage[open] { animation: anfrage-auf 220ms var(--ease-out); }
@keyframes anfrage-auf { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.anfrage-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem 0; }
.fortschritt[hidden] { display: none; }
.fortschritt { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--tinte-leise); }
.fortschritt ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fortschritt li { width: 2.25rem; height: 5px; border-radius: 3px; background: var(--linie); transition: background-color 200ms ease; }
.fortschritt li.ist-erreicht { background: var(--tafelblau); }
.schliessen { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--grund); color: var(--tinte); cursor: pointer; }
.schliessen svg { width: 18px; height: 18px; }
.anfrage form { padding: 1rem 1.5rem 1.5rem; }
.schritt[hidden] { display: none; }
.schritt h2 { font: 700 clamp(1.7rem, 4vw, 2.1rem)/1.1 var(--schild); color: var(--tinte); }
.schritt .hinweis { margin-top: 0.3rem; font-size: 0.95rem; color: var(--tinte-leise); }
.wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.1rem; }
.wahl-breit { grid-template-columns: minmax(0, 1fr); }
.wahl button { display: flex; align-items: center; gap: 0.65rem; min-height: 3.4rem; padding: 0.7rem 0.9rem; text-align: left;
  font: 600 1.02rem/1.25 var(--text); color: var(--tinte); background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 4px; cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 160ms var(--ease-out); }
.wahl button:active { transform: scale(0.97); }
.wahl button .haken { flex: none; width: 1.3rem; height: 1.3rem; border-radius: 3px; border: 1.5px solid #9DB3C8; display: grid; place-items: center; background: var(--weiss); }
.wahl button .haken svg { width: 0.85rem; height: 0.85rem; opacity: 0; color: var(--weiss); }
.wahl button[aria-pressed="true"] { border-color: var(--tafelblau); background: #EEF4FA; }
.wahl button[aria-pressed="true"] .haken { background: var(--tafelblau); border-color: var(--tafelblau); }
.wahl button[aria-pressed="true"] .haken svg { opacity: 1; }
.wahl-einzeln button .haken { border-radius: 50%; }
@media (hover: hover) and (pointer: fine) { .wahl button:hover { border-color: var(--signal); } }
.umschalter { display: inline-flex; margin-top: 1.1rem; padding: 4px; border-radius: 6px; background: var(--grund); }
.umschalter button { min-height: 44px; padding: 0 1.1rem; font: 600 1rem var(--text); color: var(--tinte-leise); background: none; border: 0; border-radius: 4px; cursor: pointer; }
.umschalter button[aria-pressed="true"] { background: var(--weiss); color: var(--tafelblau); box-shadow: 0 1px 3px rgba(23, 40, 58, 0.18); }
.feld { margin-top: 1rem; }
.feld label { display: block; font-weight: 600; font-size: 0.95rem; }
.feld input { display: block; width: 100%; margin-top: 0.35rem; min-height: 3.2rem; padding: 0 0.9rem; font: 500 1.1rem var(--text); color: var(--tinte);
  border: 1.5px solid #9DB3C8; border-radius: 4px; background: var(--weiss); }
.feld input:focus { outline: 3px solid var(--signal); outline-offset: 1px; border-color: var(--tafelblau); }
.feld .fehler { margin-top: 0.3rem; font-size: 0.9rem; color: #A3271F; }
.wann[hidden] { display: none; }
.wann .wahl { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0.4rem; }
.wann .wahl button { justify-content: center; min-height: 3rem; padding-inline: 0.4rem; }
.wann .haken { display: none !important; }
.wann .wahl button[aria-pressed="true"] { background: var(--tafelblau); color: var(--weiss); }
.unten { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.zurueck { min-height: 44px; padding: 0 0.4rem; font: 600 1rem var(--text); color: var(--tinte-leise); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
.weiter { min-height: 3.2rem; padding: 0 1.5rem; font: 700 1.25rem var(--schild); color: var(--weiss); background: var(--tafelblau); border: 0; border-radius: 3px; cursor: pointer; transition: transform 160ms var(--ease-out), opacity 150ms ease; }
.weiter:active { transform: scale(0.97); }
.weiter:disabled { opacity: 0.4; cursor: not-allowed; }
.datenschutz-hinweis { margin-top: 1rem; font-size: 0.85rem; color: var(--tinte-leise); }
.fertig { text-align: left; }
.fertig p { margin-top: 0.5rem; }
/* Häkchen nach dem Absenden: Kreis zieht sich (340 ms), dann der Haken (220 ms), nur einmal. Bei reduzierter Bewegung sofort fertig. */
.fertig-haken { display: block; width: 3.5rem; height: 3.5rem; margin-bottom: 0.9rem; color: var(--tafelblau); }
.fertig-haken circle { transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.fertig-haken circle, .fertig-haken path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .fertig-haken.zeichnet circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: haken-zeichnen 340ms var(--ease-out) forwards; }
  .fertig-haken.zeichnet path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: haken-zeichnen 220ms var(--ease-out) 300ms forwards; }
}
@keyframes haken-zeichnen { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) {
  .anfrage { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; }
  .anfrage form { padding-inline: 1rem; }
  .anfrage-kopf { padding-inline: 1rem; }
  .wahl { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .anfrage[open] { animation: none; } .wahl button, .weiter { transition: none; } }

/* ---------- Ergänzungen für den echten Versand ---------- */
.label-text { display: block; font-weight: 600; font-size: 0.95rem; }
/* Fallenfeld für Bots: für Menschen unsichtbar, für Screenreader ausgeblendet */
.falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.senden-fehler { margin-top: 1rem; padding: 0.75rem 0.9rem; border: 1px solid #E2B4B0; border-radius: 4px; background: #FBEDEC; color: #6E1A14; font-size: 0.95rem; }
.senden-fehler[hidden] { display: none; }
.senden-fehler a { color: inherit; }
.weiter[aria-busy="true"] { opacity: 0.7; cursor: progress; }


/* ---------- Stempel „Paket Rundum“ bei den Webseiten (ab 761 px; Handy: Textzeile) ---------- */
.mit-stempel { position: relative; }
.empfehlung-handy { display: none; }
.empfehlung-handy a { white-space: nowrap; }
.stempel {
  --neigung: -5deg;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.1rem;
  justify-self: start; grid-column: 2; margin-top: 0.4rem;
  padding: 0.45rem 1.1rem 0.5rem;
  color: var(--tafelblau); text-decoration: none;
  border: 3px solid currentColor; border-radius: 3px;
  outline: 1.5px solid currentColor; outline-offset: 3px;
  background: var(--weiss);
  transform: rotate(var(--neigung));
  transition: transform 160ms var(--ease-out), color 160ms var(--ease-out);
}
.stempel-name { font: 700 clamp(1.7rem, 3.2vw, 2.3rem)/1 var(--schild); letter-spacing: 0.01em; }
.stempel-zusatz { font: 600 1.05rem/1.1 var(--schild); letter-spacing: 0.02em; padding-top: 0.2rem; border-top: 1.5px solid currentColor; align-self: stretch; text-align: center; }
@media (hover: hover) and (pointer: fine) { .stempel:hover { color: var(--signal); } }
.stempel:active { transform: rotate(var(--neigung)) scale(0.97); }
@media (min-width: 1000px) {
  .leistungen .mit-stempel { padding-block: 1.9rem; }
  .stempel { position: absolute; right: 1.5rem; top: 50%; margin: 0; --neigung: -6deg; translate: 0 -50%; }
}
@media (max-width: 760px) {
  .stempel { display: none; }
  .empfehlung-handy { display: inline; }
}
@media (prefers-reduced-motion: no-preference) {
  .stempel.vorab { opacity: 0; transform: rotate(-14deg) scale(1.35); transition: none; }
  .stempel.schlaegt-ein { animation: einschlag 300ms var(--ease-out) both; }
}
@keyframes einschlag {
  0%   { opacity: 0; transform: rotate(-14deg) scale(1.35); }
  70%  { opacity: 1; transform: rotate(var(--neigung)) scale(0.97); }
  100% { opacity: 1; transform: rotate(var(--neigung)) scale(1); }
}

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

/* Kopfzeile auf Handys (bis 480 px): Ort in einer eigenen Zeile, beide Reiter nebeneinander darunter (14.11.2026) */
@media (max-width: 480px) {
  .wand-kopf { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .wand-kopf .reiter-leiste { flex-wrap: nowrap; }
}
