/* ==========================================================================
   WOP World-of-Printing GmbH — Stylesheet
   Farben aus dem Firmenlogo (Prozessfarben Magenta / Gelb / Cyan).
   Ein Token-Block, danach Bausteine in der Reihenfolge ihres Auftretens.
   ========================================================================== */

/* --- Schriften (selbst gehostet, kein externer Aufruf) ------------------- */

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

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+2020, U+20A0-20AB,
                 U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+1E00-1E9F, U+2020, U+20A0-20AB,
                 U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens ------------------------------------------------------------- */

:root {
  --paper: #ffffff;
  --tint: #f5f9fb;
  --tint-warm: #fff7fa;
  --line: #e3eaef;

  --ink: #16202b;
  --ink-soft: #57697a;

  --cyan: #1ec4ff;
  --cyan-deep: #0089c7;
  --cyan-darker: #006e9f;
  --magenta: #ff0066;
  --magenta-deep: #d2004f;
  --magenta-darker: #aa003f;
  --yellow: #e7e109;

  --error: #c0173a;

  --font-ui: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 32, 43, 0.04), 0 8px 24px rgba(22, 32, 43, 0.06);
  --shadow-lift: 0 2px 4px rgba(22, 32, 43, 0.05), 0 14px 34px rgba(22, 32, 43, 0.09);

  --section-y: clamp(3rem, 6vw, 4.5rem);
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  /* rem statt px: die Schriftgröße des Browsers bleibt wirksam. Alle Abstände
     sind ebenfalls in rem/em, damit größerer Text das Layout nicht sprengt. */
  font-size: 1.1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Laufweite und Zeilenhöhe sind größenabhängig: große Schrift wirkt zu locker
   gesetzt und wird enger, kleine Schrift braucht mehr Luft. Ein einziger Wert
   für alle Größen wäre irgendwo immer falsch. */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  line-height: 1.05;
  letter-spacing: -0.032em;
}

h2 {
  letter-spacing: -0.022em;
}

h3 {
  line-height: 1.25;
  letter-spacing: -0.012em;
}

p {
  margin: 0;
}

a {
  color: var(--cyan-deep);
}

img {
  max-width: 100%;
}

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

.wrap {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.wrap-narrow {
  width: min(760px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--font-ui);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.eyebrow-magenta {
  color: var(--magenta-deep);
}

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  /* Kein grauer Kasten beim Antippen auf Mobilgeräten — die Rückmeldung
     kommt stattdessen sofort aus :active. */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s cubic-bezier(0.32, 0.72, 0, 1),
              background-color 0.15s ease, border-color 0.15s ease,
              color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Rückmeldung im Moment des Drückens, nicht erst beim Loslassen.
   Kurz und ohne Überschwingen — es ist ein Knopf, kein geworfenes Objekt. */
.btn:active {
  transform: scale(0.97);
  transition-duration: 0.06s;
}

.btn-primary {
  background: var(--cyan-deep);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cyan-darker);
}

.btn-magenta {
  background: var(--magenta-deep);
  color: #fff;
}

.btn-magenta:hover {
  background: var(--magenta-darker);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan-deep);
}

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

/* Fußnote zu Verweisen, die auf einen fremden Anbieter führen. Sie steht
   direkt unter der Schaltfläche, damit der Hinweis vor dem Klick gelesen
   wird und nicht erst danach. */
.hinweis-extern {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* --- Kopfzeile ---------------------------------------------------------- */

/* Die Kopfzeile ist eine durchscheinende Schicht, unter der der Inhalt
   hindurchläuft. Die Trennlinie erscheint erst, wenn tatsächlich Inhalt
   darunter liegt — am Seitenanfang trennt sie nichts und fehlt deshalb. */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

/* Der Farbkontrollstreifen, wie er am Rand eines Druckbogens mitläuft: an
   ihm prüft die Druckerei die Farbführung. Rein dekorativ — er trägt keine
   Aussage, die vorgelesen werden müsste, und deshalb auch kein Markup.
   Reihenfolge und Anteile folgen dem Logo: Magenta, Gelb, Cyan. */
.top::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--magenta) 0 33.34%,
    var(--yellow) 33.34% 66.67%,
    var(--cyan) 66.67% 100%
  );
}

.top.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 80px;
}

.logo {
  display: block;
  flex: none;
}

.logo img {
  display: block;
  height: 46px;
  width: auto;
}

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

.nav-main a {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-main a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.tel-link {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tel-link:hover {
  color: var(--cyan-deep);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.15s ease;
}

.nav-toggle:active {
  transform: scale(0.96);
  transition-duration: 0.06s;
}

/* --- Hero --------------------------------------------------------------- */

.hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(30, 196, 255, 0.13), transparent 70%),
    radial-gradient(45% 80% at 12% 10%, rgba(255, 0, 102, 0.07), transparent 70%);
}

.hero-inner {
  max-width: 44rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  margin-block: 0.9rem 1.2rem;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40ch;
}

.page-head {
  padding-block: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.2rem);
  background: radial-gradient(70% 100% at 85% 0%, rgba(30, 196, 255, 0.1), transparent 70%);
}

.page-head h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-block: 0.8rem 1rem;
}

.page-head .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 55ch;
}

/* --- Zusagenleiste ------------------------------------------------------ */

.assurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.assurance span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.assurance svg {
  flex: none;
  color: var(--cyan-deep);
}


/* --- Karten ------------------------------------------------------------- */

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

.section-tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-block: 0.7rem 0.6rem;
}

.section .intro {
  color: var(--ink-soft);
  max-width: 58ch;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card h2,
.card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.card p {
  color: var(--ink-soft);
}

.card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-cyan {
  background: rgba(30, 196, 255, 0.16);
  color: #00668f;
}

.badge-magenta {
  background: rgba(255, 0, 102, 0.1);
  color: var(--magenta-deep);
}

/* Hakenliste */
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.ticks li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.55rem;
  align-items: start;
  font-size: 1rem;
}

.ticks li svg {
  margin-top: 0.35rem;
  color: var(--cyan-deep);
}

.ticks-magenta li svg {
  color: var(--magenta-deep);
}

/* --- Schritte ----------------------------------------------------------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
  counter-reset: step;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--cyan-deep);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.step-grid-magenta .step::before {
  background: var(--magenta-deep);
}

.step h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* --- Hersteller --------------------------------------------------------- */

.brands {
  text-align: center;
}

.brands .intro {
  margin-inline: auto;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.brand-row span {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  background: var(--paper);
}

/* --- Kontaktband -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  display: grid;
  gap: 1.2rem;
}

.contact-item {
  display: grid;
  gap: 0.1rem;
}

.contact-item .label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-item .value {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.contact-item .value-small {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-item a.value:hover {
  color: var(--cyan-deep);
}

/* --- Formulare ---------------------------------------------------------- */

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}

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

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Rückmeldung des Servers über dem Formular. Rot gerahmt statt rot gefüllt:
   die Meldung soll auffallen, ohne die Seite zu übertönen. */
.form-meldung {
  margin: 0 0 1.6rem;
  padding: 0.95rem 1.1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink);
  background: rgba(210, 0, 79, 0.05);
  border: 1.5px solid var(--magenta-deep);
  border-radius: var(--radius-sm);
}

.field .hint {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field .error {
  font-size: 0.9rem;
  color: var(--error);
  min-height: 0;
}

.field-check {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.field-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.3rem;
}

.field-check label {
  font-weight: 400;
  font-family: var(--font-text);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.required-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  margin-top: 1.4rem;
}

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

.faq {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.1rem 0;
  font-family: var(--font-ui);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

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

/* Das Zeichen zeigt in die Richtung, in die sich der Eintrag bewegt:
   nach unten zum Aufklappen, nach oben zum Schließen. */
.faq-item summary::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-right: 2px solid var(--cyan-deep);
  border-bottom: 2px solid var(--cyan-deep);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

.faq-item[open] summary::before {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--cyan-deep);
}

.faq-antwort {
  padding: 0 0 1.3rem 1.45rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* --- Fließtextseiten ---------------------------------------------------- */

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

.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-top: 2.6rem;
  margin-bottom: 0.7rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1rem;
  max-width: 68ch;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose address {
  font-style: normal;
  line-height: 1.8;
}

.legal-text {
  font-size: 1rem;
  color: var(--ink-soft);
}

.legal-text h2,
.legal-text h3 {
  color: var(--ink);
}

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

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: 3rem 2rem;
  font-size: 0.98rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}

.foot-grid img {
  height: 42px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer h2 {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.site-footer address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.75;
}

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

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan-deep);
}

.legal {
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* --- Umbrüche ----------------------------------------------------------- */

@media (max-width: 900px) {
  /* Das Menü klappt aus der Kopfzeile heraus und wieder dorthin zurück —
     derselbe Weg in beide Richtungen. Es bleibt im Layout und wird nur
     ein- und ausgeblendet, damit der Übergang jederzeit umkehrbar ist:
     ein erneuter Klick während der Bewegung setzt beim aktuellen Zustand an,
     statt auf das Ende zu warten. */
  .nav-main {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem) scale(0.98);
    transition: opacity 0.22s ease,
                transform 0.22s cubic-bezier(0.32, 0.72, 0, 1),
                visibility 0s linear 0.22s;
  }

  .nav-main.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .nav-main a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .top-bar {
    position: relative;
  }

  .card-grid-2,
  .step-grid,
  .contact-grid,
  .foot-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {

  .tel-link {
    display: none;
  }

  .logo img {
    height: 38px;
  }

  .top-actions .btn-primary {
    display: none;
  }
}

/* --- Anpassungen an Systemeinstellungen -------------------------------- */

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

  /* Keine Bewegung, aber die Rückmeldung bleibt: Ein- und Ausblenden
     ersetzt das Verschieben, damit weiterhin erkennbar ist, dass etwas
     passiert. */
  *,
  *::before,
  *::after {
    animation: none !important;
  }

  .btn,
  .nav-toggle,
  .card,
  .nav-main {
    transition: opacity 0.2s ease, background-color 0.2s ease,
                border-color 0.2s ease, color 0.2s ease;
  }

  .btn:hover,
  .btn:active,
  .nav-toggle:active,
  .card:hover,
  .nav-main {
    transform: none;
  }
}

/* Durchscheinende Flächen werden undurchsichtig, wenn der Nutzer
   Transparenz reduziert hat. */
@media (prefers-reduced-transparency: reduce) {
  .top {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--line);
  }
}

/* Bei erhöhtem Kontrastbedarf bekommen Flächen feste Ränder und
   Nebentext wird dunkler. */
@media (prefers-contrast: more) {
  :root {
    --ink-soft: #3b4a58;
    --line: #9aa9b6;
  }

  .top {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--line);
  }

  .card,
  .step,
  .form-card,
  .contact-card,
  .brand-row span {
    border-width: 2px;
  }

  .btn-outline {
    border-color: var(--ink);
  }
}
