/* ==========================================================================
   Haustechdaten AG – Website 2026/27
   Gestaltung: freundlich und bewegt, mit Masslinien und Planraster als Motiv.
   Farben aus dem Logo (Gold, Tinte) und dem VHTA-Logo (Blau, Orange).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  /* Farben */
  --tinte: #1d1d1b;          /* Schrift im Logo */
  --tinte-2: #4a4b47;        /* Fliesstext sekundär */
  --tinte-3: #6b6c66;        /* Hinweise */
  --gold: #9e986d;           /* Logo-Gold, Masslinien */
  --gold-text: #6e6943;      /* Gold für Text auf Hell (AA) */
  --gold-hell: #eceade;
  --blau: #1c58c4;           /* Leitungsblau / VHTA – Links und Aktionen */
  --blau-dunkel: #15449a;
  --blau-hell: #e9f0fc;
  --rot: #d4452f;            /* Warmwasser, nur Illustration */
  --gruen: #2b8a5a;          /* Bestätigung */
  --papier: #ffffff;
  --plan: #f6f4ee;           /* warmes Planpapier für Flächen */
  --orange: #e5732d;         /* VHTA-Orange, kleine Akzente */
  --orange-hell: #fdeee3;
  --linie: #dcded6;          /* Raster und Rahmen */
  --linie-stark: #c4c7bc;

  /* Schrift */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fs-0: 0.8125rem;   /* 13 */
  --fs-1: 0.9375rem;   /* 15 */
  --fs-2: 1.0625rem;   /* 17 – Fliesstext */
  --fs-3: 1.25rem;     /* 20 */
  --fs-4: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-5: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-6: clamp(2rem, 1.45rem + 2.1vw, 3.25rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.2vw, 4.25rem);
  --fs-7: clamp(2.6rem, 1.6rem + 4.2vw, 5rem);

  /* Raster */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --radius: 12px;
  --radius-l: 20px;
  --shadow-1: 0 1px 2px rgba(29,29,27,.05), 0 10px 28px -16px rgba(29,29,27,.22);
  --shadow-2: 0 2px 4px rgba(29,29,27,.05), 0 22px 44px -20px rgba(29,29,27,.32);
  --header-h: 78px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-2);
  line-height: 1.6;
  font-stretch: 100%;
  color: var(--tinte);
  background: var(--papier);
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Überschriften: schmal und kräftig, wie Beschriftungen auf Plänen */
h1, h2, h3, h4 { font-stretch: 84%; font-weight: 690; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-7); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-6); }
h3 { font-size: var(--fs-4); line-height: 1.15; }
h4 { font-size: var(--fs-3); line-height: 1.2; }
h2.h3 { font-size: var(--fs-4); line-height: 1.15; }
.lead { font-size: var(--fs-3); line-height: 1.5; color: var(--tinte-2); max-width: 62ch; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-5); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.muted { color: var(--tinte-3); }
.small { font-size: var(--fs-1); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--sec); }
.section--plan { background: var(--plan); }
.section--tight { padding-block: calc(var(--sec) * .6); }
.section:not(.section--plan) + .section:not(.section--plan) { padding-top: 0; }
.section--plan + .section--plan { padding-top: 0; }

/* Skip-Link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tinte); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- Masslinie
   Kennzeichen der Seite: Überschriften werden «vermasst».
   <span class="dim"><i></i></span>                                          */
.dim {
  position: relative; display: block; height: 14px; width: min(100%, var(--dim-w, 220px));
  margin: -0.15em 0 1.1em; color: var(--gold);
}
.dim::before { /* Masslinie */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor;
  transform-origin: left center; transform: scaleX(var(--dim-s, 1)); transition: transform .9s var(--ease);
}
.dim::after, .dim i { /* Masspfeile als Schrägstriche */
  content: ""; position: absolute; top: 1px; width: 1.5px; height: 12px; background: currentColor;
  transform: rotate(45deg); opacity: var(--dim-o, 1); transition: opacity .3s ease .7s;
}
.dim::after { left: 0; }
.dim i { right: 0; }
.dim--center { margin-inline: auto; }
.js .dim:not(.is-in) { --dim-s: 0; --dim-o: 0; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --b-bg: var(--blau); --b-fg: #fff; --b-bd: var(--blau);
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.25em;
  font: inherit; font-size: var(--fs-1); font-weight: 620; font-stretch: 92%; line-height: 1.2;
  color: var(--b-fg); background: var(--b-bg); border: 1.5px solid var(--b-bd); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.btn:hover { --b-bg: var(--blau-dunkel); --b-bd: var(--blau-dunkel); color: var(--b-fg); }
.btn:active { transform: translateY(1px); }
.btn--line { --b-bg: #fff; --b-fg: var(--tinte); --b-bd: var(--linie-stark); }
.btn--line:hover { --b-bg: var(--papier); --b-fg: var(--blau); --b-bd: var(--blau); }
.btn--small { min-height: 40px; padding: .5em .95em; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Externe Links bekommen ein Symbol, kein Pfeil im Text */
.ext::after {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .3em; vertical-align: .05em;
  background: currentColor; -webkit-mask: var(--ext-icon) center / contain no-repeat; mask: var(--ext-icon) center / contain no-repeat;
  --ext-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 4.5 7.5M8.5 11H1V3.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- Kopfzeile */
.topbar { background: var(--plan); color: var(--tinte-2); font-size: var(--fs-0); border-bottom: 1px solid var(--linie); }
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 22px; min-height: 36px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--blau); text-decoration: underline; }
.topbar .topbar__hours { margin-right: auto; color: var(--tinte-3); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--linie); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(29,29,27,.45); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .25s var(--ease); }
.header.is-scrolled .wrap { height: 64px; }
.brand { flex: none; display: block; width: clamp(210px, 22vw, 268px); }
.brand img { width: 100%; height: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: var(--fs-1); font-weight: 560; font-stretch: 90%; color: var(--tinte); text-decoration: none; border-radius: var(--radius);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--blau); }
.nav__link[aria-current="page"], .nav__link.is-active { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav__caret { width: 10px; height: 10px; transition: transform .2s; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 270px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgba(29,29,27,.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.nav__list > .nav__item:nth-last-child(2) > .nav__sub { left: auto; right: 0; } /* letztes Menü nach links öffnen, sonst Querscroll bei 1280 px */
.nav__item.is-open > .nav__sub,
.no-touch .nav__item:hover > .nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.nav__sub a { display: block; padding: 9px 12px; color: var(--tinte); text-decoration: none; font-size: var(--fs-1); border-radius: 4px; }
.nav__sub a:hover, .nav__sub a:focus-visible { background: var(--blau-hell); color: var(--blau-dunkel); }
.nav__sub a[aria-current="page"] { font-weight: 650; }
.nav__cta { margin-left: 10px; }
.burger { display: none; }

@media (max-width: 1120px) {
  .topbar .topbar__hours { display: none; }
  /* backdrop-filter würde das fixierte Menü auf die Kopfzeile beschränken */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .burger {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 8px 12px;
    font: inherit; font-size: var(--fs-1); font-weight: 600; background: none; color: var(--tinte); border: 1.5px solid var(--linie-stark); border-radius: var(--radius); cursor: pointer;
  }
  .burger svg { width: 20px; height: 20px; }
  .nav {
    position: fixed; inset: var(--nav-top, 114px) 0 0 0; z-index: 49; margin: 0; padding: 12px var(--gutter) 40px; overflow-y: auto;
    background: #fff; border-top: 1px solid var(--linie);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--linie); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: var(--fs-3); font-stretch: 85%; }
  .nav__link[aria-current="page"], .nav__link.is-active { box-shadow: none; color: var(--gold-text); }
  .nav__list > .nav__item:nth-last-child(2) > .nav__sub { right: auto; }
  .nav__sub { position: static; display: none; min-width: 0; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px 8px; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__sub a { font-size: var(--fs-2); padding: 10px 8px; }
  .nav__cta { margin: 20px 0 0; border: 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .topbar .wrap { justify-content: space-between; gap: 12px; }
  .topbar .topbar__mail { display: none; }
}
@media (max-width: 380px) {
  /* Sehr schmale Telefone: Wort «Menü» nur für Screenreader, sonst läuft die Kopfzeile über den Rand */
  .burger__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------------------------------------------------------------- Hero Startseite */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--linie); }
.hero::before { /* Planraster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--linie) 1px, transparent 1px),
    linear-gradient(rgba(220,222,214,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,222,214,.45) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  opacity: .9;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 104px); }
.hero h1 { font-size: var(--fs-7); margin-bottom: .35em; }
.hero__claim { display: flex; align-items: center; gap: 14px; margin: 0 0 1.2rem; font-weight: 620; font-stretch: 85%; color: var(--gold-text); font-size: var(--fs-3); }
.hero__claim .dim { width: 64px; margin: 0; flex: none; }
.hero .lead { margin-bottom: 0; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }

/* Animationen des Installationsschemas */
.schema .pipe { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.schema .pipe--kalt { stroke: var(--blau); stroke-width: 5; }
.schema .pipe--warm { stroke: var(--rot); stroke-width: 5; }
.schema .pipe--ab { stroke: #8a8b84; stroke-width: 7; }
.schema .fixture { fill: #fff; stroke: var(--tinte); stroke-width: 1.6; }
.schema .fitting { fill: #fff; stroke: var(--tinte); stroke-width: 1.6; }
.schema .mass { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.schema .mass-tick { stroke: var(--gold); stroke-width: 1.6; }
.schema .mass-text { fill: var(--gold-text); font-family: var(--font); font-size: 15px; font-weight: 650; font-stretch: 80%; font-variant-numeric: tabular-nums; }
.schema .label { fill: var(--tinte-2); font-family: var(--font); font-size: 13px; font-weight: 560; font-stretch: 85%; }
.schema .legend-text { fill: var(--tinte-2); font-family: var(--font); font-size: 12.5px; font-stretch: 88%; }

.js .schema .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .schema .pop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .35s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .schema .fade { opacity: 0; animation: fade .5s ease forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* Ausmass-Liste über dem Schema */
.ausmass {
  position: absolute; right: -20px; bottom: -44px; width: min(300px, 62%);
  background: #fff; border: 1px solid var(--linie-stark); border-radius: var(--radius);
  box-shadow: 0 24px 48px -28px rgba(29,29,27,.45); font-size: 13.5px; font-stretch: 90%;
}
.ausmass__head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 14px; border-bottom: 1px solid var(--linie); font-weight: 680; font-stretch: 82%; font-size: 14.5px; }
.ausmass__head span { font-weight: 500; color: var(--tinte-3); font-size: 12.5px; }
.ausmass table { width: 100%; border-collapse: collapse; }
.ausmass td { padding: 6px 14px; border-bottom: 1px solid var(--plan); }
.ausmass td:nth-child(2) { text-align: right; font-variant-numeric: tabular-nums; font-weight: 620; white-space: nowrap; }
.ausmass td:nth-child(3) { width: 34px; color: var(--tinte-3); padding-left: 4px; }
.ausmass__foot { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--gruen); font-weight: 640; }
.ausmass__foot svg { width: 18px; height: 18px; }
.js .ausmass { opacity: 0; transform: translateY(14px); animation: card .6s var(--ease) 1.9s forwards; }
.js .ausmass tr { opacity: 0; animation: fade .3s ease forwards; }
.js .ausmass tr:nth-child(1) { animation-delay: 2.25s; }
.js .ausmass tr:nth-child(2) { animation-delay: 2.45s; }
.js .ausmass tr:nth-child(3) { animation-delay: 2.65s; }
.js .ausmass tr:nth-child(4) { animation-delay: 2.85s; }
.js .ausmass__foot { opacity: 0; animation: fade .4s ease 3.2s forwards; }
.js .flow__art:not(.is-playing) .schema *,
.js .flow__art:not(.is-playing) .ausmass,
.js .flow__art:not(.is-playing) .ausmass * { animation-play-state: paused !important; }
@keyframes card { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); }
  .hero__art { max-width: 560px; margin: 8px auto 24px; width: 100%; }
}
@media (max-width: 520px) {
  .ausmass { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -8px; }
}

/* ---------------------------------------------------------------- Update-Band */
.update-band { background: linear-gradient(100deg, #f3efe2 0%, #faf7f0 55%, var(--orange-hell) 100%); color: var(--tinte); border-block: 1px solid var(--linie); }
.update-band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding-block: 26px; }
.update-band__date { font-size: var(--fs-5); font-weight: 740; font-stretch: 76%; line-height: 1; color: var(--gold-text); white-space: nowrap; }
.update-band__date small { display: block; font-size: var(--fs-0); font-weight: 600; font-stretch: 95%; color: var(--tinte-3); margin-bottom: 6px; }
.update-band p { margin: 0; max-width: 64ch; }
.update-band .btn-row { margin: 0; flex-wrap: nowrap; }
@media (max-width: 980px) {
  .update-band .wrap { grid-template-columns: 1fr; }
  .update-band .btn-row { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- Abschnittskopf */
.head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.head--center { margin-inline: auto; text-align: center; }
.head p { color: var(--tinte-2); font-size: var(--fs-3); line-height: 1.5; margin: 0; }

/* ---------------------------------------------------------------- Schnellzugriff (Ausmassblatt-Tabelle) */
.blatt { border: 1px solid var(--linie-stark); border-radius: var(--radius); background: #fff; overflow: hidden; }
.blatt__row {
  display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 2.2fr) 28px; gap: 20px; align-items: center;
  padding: 18px 22px; border-top: 1px solid var(--linie); color: var(--tinte); text-decoration: none; transition: background-color .15s;
}
.blatt__row:first-child { border-top: 0; }
.blatt__row:hover { background: var(--blau-hell); color: var(--tinte); }
.blatt__row strong { font-size: var(--fs-3); font-stretch: 82%; font-weight: 700; }
.blatt__row span { color: var(--tinte-2); }
.blatt__row svg { width: 22px; height: 22px; color: var(--blau); transition: transform .2s var(--ease); }
.blatt__row:hover svg { transform: translateX(4px); }
@media (max-width: 640px) {
  .blatt__row { grid-template-columns: minmax(0, 1fr) 24px; gap: 4px 12px; }
  .blatt__row span { grid-column: 1; grid-row: 2; font-size: var(--fs-1); }
  .blatt__row svg { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------------------------------------------------------------- Produkte */
.produkt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.produkt + .produkt { margin-top: clamp(64px, 8vw, 112px); }
.produkt--flip .produkt__media { order: 2; }
.produkt__media { position: relative; }
.produkt__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--linie); background: #fff; }
.produkt__media .badge-logo { position: absolute; left: 18px; bottom: 18px; width: 150px; background: #fff; border-radius: var(--radius); padding: 8px 10px; border: 1px solid var(--linie); }
.produkt h2 { margin-bottom: .2em; }
.produkt__sub { font-size: var(--fs-4); font-stretch: 85%; font-weight: 560; color: var(--gold-text); margin: 0 0 .4em; line-height: 1.25; }
@media (max-width: 860px) {
  .produkt { grid-template-columns: 1fr; }
  .produkt--flip .produkt__media { order: 0; }
}

/* Schriftfeld: Angaben wie im Plankopf einer technischen Zeichnung */
.schriftfeld { display: grid; grid-template-columns: repeat(var(--sf-cols, 2), minmax(0, 1fr)); border: 1px solid var(--linie-stark); border-radius: var(--radius); margin: 1.6rem 0 0; background: #fff; overflow: hidden; }
.schriftfeld div { padding: 12px 16px; margin: -1px 0 0 -1px; border-left: 1px solid var(--linie); border-top: 1px solid var(--linie); }
.schriftfeld dt { font-size: var(--fs-0); color: var(--gold-text); font-weight: 600; font-stretch: 92%; margin-bottom: 2px; }
.schriftfeld dd { margin: 0; font-weight: 600; font-stretch: 88%; line-height: 1.35; }
.schriftfeld--3 { --sf-cols: 3; }
.schriftfeld div.sf-wide { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .schriftfeld, .schriftfeld--3 { --sf-cols: 1; }
}

/* Häkchenliste */
.checks { list-style: none; padding: 0; margin: 1.2rem 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 9px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- Kennzahlen (als Masse) */
.masse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linie-stark); border-bottom: 1px solid var(--linie-stark); }
.mass { padding: 28px 20px 26px; border-left: 1px solid var(--linie); }
.mass:first-child { border-left: 0; padding-left: 0; }
.mass b { display: block; font-size: var(--fs-6); font-weight: 760; font-stretch: 70%; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mass b small { font-size: .38em; font-weight: 600; font-stretch: 85%; letter-spacing: 0; margin-right: .15em; color: var(--tinte-3); }
.mass .dim { --dim-w: 100%; margin: 12px 0 10px; }
.mass > span:not(.dim) { color: var(--tinte-2); font-size: var(--fs-1); line-height: 1.45; display: block; max-width: 26ch; }
@media (max-width: 860px) {
  .masse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mass:nth-child(3) { border-left: 0; padding-left: 0; }
  .mass:nth-child(n + 3) { border-top: 1px solid var(--linie); }
}

/* ---------------------------------------------------------------- Aktuelles */
.news { display: grid; gap: 0; border-top: 1px solid var(--linie-stark); }
.news__item { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: start; padding: 28px 0; border-bottom: 1px solid var(--linie); }
.news__when { font-size: var(--fs-4); font-weight: 740; font-stretch: 75%; line-height: 1.1; color: var(--gold-text); }
.news__when small { display: block; font-size: var(--fs-0); font-weight: 500; font-stretch: 95%; color: var(--tinte-3); margin-bottom: 4px; }
.news__item h3 { margin-bottom: .3em; }
.news__item h3 a { color: var(--tinte); text-decoration: none; }
.news__item h3 a:hover { color: var(--blau); text-decoration: underline; }
.news__item p { margin: 0; color: var(--tinte-2); max-width: 64ch; }
@media (max-width: 760px) {
  .news__item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------------------------------------------------------- Partner */
.partner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: #fff; }
.partner a { display: flex; align-items: center; justify-content: center; height: 110px; padding: 18px 26px; margin: -1px 0 0 -1px; border-left: 1px solid var(--linie); border-top: 1px solid var(--linie); }
.partner img { max-height: 46px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.partner a:hover img, .partner a:focus-visible img { filter: none; opacity: 1; }
@media (max-width: 860px) { .partner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- Kontakt-Band */
.kontakt-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kontakt-band h2 { margin-bottom: .3em; }
.kontaktkarte { border: 1px solid var(--linie-stark); border-radius: var(--radius); background: #fff; }
.kontaktkarte > * { padding: 18px 22px; margin: 0; }
.kontaktkarte > * + * { border-top: 1px solid var(--linie); }
.kontaktkarte .tel { display: block; font-size: var(--fs-5); font-weight: 760; font-stretch: 72%; line-height: 1.1; color: var(--tinte); text-decoration: none; }
.kontaktkarte .tel:hover { color: var(--blau); }
.kontaktkarte dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0; }
.kontaktkarte dt { color: var(--tinte-3); }
.kontaktkarte dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 560; }
@media (max-width: 860px) { .kontakt-band { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Unterseiten-Kopf */
.page-head { position: relative; border-bottom: 1px solid var(--linie); background: var(--plan); overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--linie) 1px, transparent 1px), linear-gradient(90deg, var(--linie) 1px, transparent 1px);
  background-size: 24px 24px; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.page-head .wrap { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: var(--fs-h1); max-width: 22ch; margin-bottom: .25em; }
.page-head .lead { margin: 0; }
.page-head__logo { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: clamp(160px, 22vw, 280px); }
@media (max-width: 860px) { .page-head__logo { position: static; transform: none; margin-top: 24px; width: 200px; } }
.page-head__logo--siegel { width: auto; height: clamp(150px, 15vw, 200px); border-radius: 12px; box-shadow: var(--shadow-1); }
@media (max-width: 860px) { .page-head__logo--siegel { width: auto; height: 150px; } }

.crumbs { font-size: var(--fs-0); color: var(--tinte-3); margin: 0 0 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { margin: 0; display: inline-flex; gap: 4px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--linie-stark); margin-right: 2px; }
.crumbs a { color: var(--tinte-2); text-decoration: none; }
.crumbs a:hover { color: var(--blau); text-decoration: underline; }

/* Zwei Spalten mit Seitennavigation */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside__box { border: 1px solid var(--linie-stark); border-radius: var(--radius); background: #fff; padding: 20px 22px; }
.aside__box h2, .aside__box h3 { font-size: var(--fs-3); margin-bottom: .6em; }
.aside__box ul { list-style: none; padding: 0; margin: 0; }
.aside__box li { margin: 0; border-top: 1px solid var(--linie); }
.aside__box li:first-child { border-top: 0; }
.aside__box li a { display: block; padding: 9px 0; color: var(--tinte); text-decoration: none; font-size: var(--fs-1); }
.aside__box li a:hover { color: var(--blau); }
.aside__box li a[aria-current="page"] { font-weight: 650; color: var(--gold-text); }
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}

/* Funktionsblöcke mit Bild */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--linie); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature h3 { margin-bottom: .45em; }
.feature p:last-child, .feature ul:last-child { margin-bottom: 0; }
.feature--text { grid-template-columns: 1fr; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }

/* Bilder mit Zoom (Lightbox) */
.zoom { display: block; position: relative; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; padding: 0; width: 100%; }
.zoom img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.zoom:hover img { transform: scale(1.02); }
figure { margin: 0; }
figcaption { font-size: var(--fs-0); color: var(--tinte-3); margin-top: 8px; }
.lightbox { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1000; overflow: auto; -webkit-overflow-scrolling: touch; padding: 64px 3vw 28px; background: rgba(29,29,27,.88); }
.lightbox[hidden] { display: none; }
.lightbox__bild { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; margin: 0; }
.lightbox__bild img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); background: #fff; }
.lightbox.kann-voll .lightbox__bild img { cursor: zoom-in; }
.lightbox.is-voll .lightbox__bild { align-items: flex-start; width: max-content; }
.lightbox.is-voll .lightbox__bild img { max-width: none; cursor: zoom-out; }
.lightbox figcaption { color: #fff; text-align: center; margin: 12px auto 0; max-width: 70ch; font-size: var(--fs-1); }
.lightbox__close { position: fixed; top: 12px; right: 12px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--tinte); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
html.lb-offen, html.lb-offen body { overflow: hidden; }
.zoom::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; pointer-events: none; box-shadow: 0 1px 5px rgba(0,0,0,.28);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8M10.5 7.8v5.4M7.8 10.5h5.4'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* Modul-Navigation (Zusatzmodule) */
.module-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; border: 1px solid var(--linie-stark); border-radius: var(--radius); overflow: hidden; background: #fff; }
/* Rasterlinien rechts und unten an jeder Zelle: so laufen sie auch neben leeren Zellen am Ende durch.
   Die Linien am äusseren Rand ragen 1 px hinaus und werden vom Rahmen abgeschnitten. */
.module-nav a { display: flex; align-items: center; gap: 10px; padding: 14px; color: var(--tinte); text-decoration: none; font-weight: 600; font-stretch: 88%; line-height: 1.25; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin: 0 -1px -1px 0; }
.module-nav a:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
/* Symbol auf einer leicht getönten Fläche in seiner eigenen Farbe */
.module-nav__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--gold); background: rgba(158, 152, 109, .15); transition: background-color .2s, color .2s; }
.module-nav a:hover .module-nav__icon { color: var(--blau); background: rgba(28, 88, 196, .12); }
.module-nav svg { width: 24px; height: 24px; flex: none; }

.modul { padding-block: clamp(36px, 4vw, 52px); border-top: 1px solid var(--linie); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.modul--text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.modul h2 { font-size: var(--fs-5); }
.modul__tag { display: inline-block; font-size: var(--fs-0); font-weight: 600; color: var(--gold-text); border: 1px solid var(--gold); border-radius: 3px; padding: 1px 8px; margin-bottom: 10px; }
@media (max-width: 760px) { .modul { grid-template-columns: 1fr; } }

/* Downloads / Dokumentlisten */
.docs { list-style: none; padding: 0; margin: 0; border: 1px solid var(--linie-stark); border-radius: var(--radius); background: #fff; overflow: hidden; }
.docs li { margin: 0; border-top: 1px solid var(--linie); }
.docs li:first-child { border-top: 0; }
.docs a { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 18px; color: var(--tinte); text-decoration: none; }
.docs a:hover { background: var(--blau-hell); color: var(--blau-dunkel); }
.docs svg { width: 22px; height: 22px; color: var(--gold); }
.docs .typ { font-size: var(--fs-0); color: var(--tinte-3); font-weight: 600; white-space: nowrap; }
.docs small { font-size: var(--fs-0); }
.docs-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.docs-groups h3 { font-size: var(--fs-3); margin-bottom: .6em; }
@media (max-width: 760px) { .docs-groups { grid-template-columns: 1fr; } }

/* Bestell-Kacheln */
.order { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.order__box { border: 1px solid var(--linie-stark); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; }
.order__box > * { padding: 22px 24px; margin: 0; }
.order__box > * + * { border-top: 1px solid var(--linie); }
.order__box h3 { margin: 0; }
.order__box .docs { border: 0; border-radius: 0; }
.order__box .docs a { padding-inline: 24px; }
.order__box .btn-row { margin-top: 0; }
@media (max-width: 860px) { .order { grid-template-columns: 1fr; } }

/* Systemanforderungen */
.sysreq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sysreq__os { border: 1px solid var(--linie-stark); border-radius: var(--radius); background: #fff; overflow: hidden; }
.sysreq__os h3 { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--linie); font-size: var(--fs-4); display: flex; align-items: center; gap: 12px; }
.sysreq__os h3 .icon { width: 26px; height: 26px; color: var(--gold-text); }
.sysreq table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.sysreq th, .sysreq td { text-align: left; vertical-align: top; padding: 11px 20px; border-top: 1px solid var(--linie); }
.sysreq tr:first-child th, .sysreq tr:first-child td { border-top: 0; }
.sysreq th { width: 34%; color: var(--gold-text); font-weight: 600; font-stretch: 92%; }
.sysreq .group th { background: var(--plan); color: var(--tinte); font-weight: 700; font-stretch: 82%; font-size: var(--fs-2); }
.sysreq td ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 860px) { .sysreq { grid-template-columns: 1fr; } }

/* Hinweisbox */
.note { border-left: 3px solid var(--gold); background: var(--plan); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.note p:last-child { margin-bottom: 0; }

/* Zeitleiste */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1.5px solid var(--gold); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 0 0 22px 22px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 1.5px solid var(--gold); }
.timeline b { font-size: var(--fs-4); font-weight: 740; font-stretch: 75%; line-height: 1.1; }
.timeline span { color: var(--tinte-2); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------------------------------------------------------------- Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--linie-stark); border-left: 1px solid var(--linie-stark); }
.person { padding: 26px 24px 28px; border-right: 1px solid var(--linie-stark); border-bottom: 1px solid var(--linie-stark); background: #fff; }
.person__mono { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--plan); border: 1px solid var(--linie-stark); font-size: 26px; font-weight: 740; font-stretch: 75%; color: var(--gold-text); margin-bottom: 18px; }
.person h2, .person h3 { margin: 0 0 .25em; font-size: var(--fs-4); }
.person p { margin: 0; color: var(--tinte-2); }
.person--ki .person__mono { background: var(--tinte); border-color: var(--tinte); color: var(--gold); }
.person--ki .person__mono svg { width: 34px; height: 34px; }
.ki-tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-0); font-weight: 650; color: var(--blau-dunkel); background: var(--blau-hell); border-radius: 3px; padding: 2px 8px; margin-bottom: 10px; }
.person__text { margin-top: 10px !important; font-size: var(--fs-1); }

/* ---------------------------------------------------------------- Formular */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-stretch: 92%; font-size: var(--fs-1); }
.field .opt { font-weight: 400; color: var(--tinte-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-2); color: var(--tinte); background: #fff; width: 100%;
  border: 1.5px solid var(--linie-stark); border-radius: var(--radius); padding: 11px 13px; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%231d1d1b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px var(--blau-hell); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--rot); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__foot p { margin: 0; font-size: var(--fs-0); color: var(--tinte-3); max-width: 52ch; }
.form-msg { grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--radius); font-weight: 560; }
.form-msg--ok { background: #e7f4ec; color: #1d6340; }
.form-msg--err { background: #fbeae7; color: #8f2a1a; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Fusszeile */
.footer { background: var(--plan); border-top: 1px solid var(--linie); font-size: var(--fs-1); }
.footer .wrap { padding-block: clamp(48px, 6vw, 80px) 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__brand img { width: 230px; margin-bottom: 18px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer h2 { font-size: var(--fs-3); font-stretch: 85%; margin-bottom: .8em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .4em; }
.footer a { color: var(--tinte); text-decoration: none; }
.footer a:hover { color: var(--blau); text-decoration: underline; }
.footer__hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; font-variant-numeric: tabular-nums; }
.footer__hours dd { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--linie-stark); color: var(--tinte-3); font-size: var(--fs-0); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a { color: var(--tinte-2); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* Hilfsklassen */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }

/* ==========================================================================
   Freundlich und bewegt
   ========================================================================== */

/* Buttons: rund, mit kleiner Bewegung */
.btn { border-radius: 999px; padding-inline: 1.4em; position: relative; overflow: hidden; }
.btn .icon--pfeil { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon--pfeil { transform: translateX(4px); }
.btn:not(.btn--line)::after { /* Glanz beim Überfahren */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn:not(.btn--line):hover::after { left: 130%; }

/* Navigation: Unterstrich wächst */
@media (min-width: 1121px) {
  .nav__link { position: relative; }
  .nav__link::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav__link:hover::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); }
  .nav__link[aria-current="page"], .nav__link.is-active { box-shadow: none; }
  .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__sub { border-radius: 14px; box-shadow: var(--shadow-2); }
  .nav__sub a { border-radius: 8px; transition: background-color .15s, padding-left .2s var(--ease); }
  .nav__sub a:hover { padding-left: 16px; }
}

/* ---------------------------------------------------------------- Startbild mit Foto */
.hero2 { padding: clamp(10px, 1.6vw, 24px) clamp(10px, 1.6vw, 24px) 0; }
.hero2__frame { position: relative; overflow: hidden; display: flex; align-items: center; max-width: 1680px; margin: 0 auto; min-height: clamp(560px, 42vw, 680px); border-radius: 28px; background: #e7e4dc; }
.hero2__photo { position: absolute; inset: 0; }
.hero2__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 26% 30%; }
.js .hero2__photo img { animation: photoIn 1.4s var(--ease) both; }
@keyframes photoIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.hero2__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 34%, rgba(255,255,255,.4) 60%, rgba(255,255,255,.65) 100%);
}
.hero2__inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding-block: 48px; width: 100%; }
.hero2__card {
  width: min(600px, 52%); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 24px; padding: clamp(28px, 3.2vw, 46px); box-shadow: 0 34px 70px -34px rgba(29,29,27,.45);
}
.js .hero2__card { animation: rise .9s var(--ease) .2s both; }
.hero2 h1 { font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.7rem); margin-bottom: .35em; }
.hero2 .lead { margin-bottom: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 7px 18px 7px 7px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-2);
  font-size: 14px; line-height: 1.25;
}
.chip b { display: block; font-weight: 680; font-stretch: 88%; }
.chip small { display: block; color: var(--tinte-3); font-size: 13px; }
.chip__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blau-hell); color: var(--blau); }
.chip__icon .icon { width: 20px; height: 20px; }
.chip__icon--orange { background: var(--orange-hell); color: var(--orange); position: relative; }
.chip__icon--orange::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.chip__icon--orange::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px solid var(--orange); animation: pulse 2.2s ease-out infinite; }
.chip--a { left: 4%; top: 22%; }
.chip--b { left: 21%; bottom: 9%; }
.js .chip { opacity: 0; animation: chipIn .6s var(--ease) var(--d, .8s) forwards, bob 6s ease-in-out calc(var(--d, .8s) + .6s) infinite; }
.chip--b { --d: 1.15s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }

@media (max-width: 900px) {
  .hero2__frame { display: block; min-height: 0; background: var(--plan); border-radius: 22px; }
  .hero2__photo { position: relative; height: clamp(260px, 58vw, 420px); }
  .hero2__photo img { object-position: 24% 30%; }
  .hero2__frame::after { display: none; }
  .hero2__inner { padding: 0 14px 18px; margin-top: -56px; }
  .hero2__card { width: 100%; }
  .chip--a { top: 14px; left: auto; right: 14px; }
  .chip--b { top: clamp(110px, 30vw, 250px); left: auto; right: 16px; bottom: auto; }
  .hero2__card { padding: 26px 22px; }
}
@media (max-width: 600px) {
  .chip--b { display: none; }
}

/* Update-Band: pulsierender Punkt */
.update-band__date small { display: flex; align-items: center; gap: 8px; }
.update-band__date small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(229,115,45,.6); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(229,115,45,.6); } 100% { box-shadow: 0 0 0 10px rgba(229,115,45,0); } }

/* ---------------------------------------------------------------- Angebot (Teaser) */
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer__item {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 14px 14px 22px;
  border-radius: var(--radius-l); background: #fff; border: 1px solid var(--linie); box-shadow: var(--shadow-1);
  color: var(--tinte); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.offer__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; color: var(--tinte); }
.offer__media { height: 112px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--plan); overflow: hidden; }
.offer__media img { height: 74px; width: auto; max-width: 80%; object-fit: contain; flex: none; transition: transform .45s var(--ease); }
.offer__item:hover .offer__media img { transform: scale(1.06) rotate(-2deg); }
/* Wortmarken FlexAusmass und FlexGo (beide 429 × 71 px): fester Rahmen im Verhältnis 429:71,
   object-fit hält das Seitenverhältnis auch dann, wenn der Rahmen in schmalen Kacheln kürzer wird. */
.offer__media--wort img { width: 254px; height: 42px; max-width: 80%; object-fit: contain; }
.offer__body { padding: 0 8px; }
.offer__item strong { display: block; font-size: var(--fs-3); font-weight: 700; font-stretch: 86%; line-height: 1.2; margin: 2px 0 6px; }
.offer__item .offer__body > span:not(.offer__badge) { display: block; color: var(--tinte-2); font-size: var(--fs-1); line-height: 1.5; }
.offer__item .offer__badge { display: inline-block; font-size: 12px; font-weight: 650; color: #a5501d; background: var(--orange-hell); border-radius: 999px; padding: 2px 10px; margin-bottom: 4px; line-height: 1.5; }
.offer__new {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center;
  padding: 18px 22px; border-radius: var(--radius-l); text-decoration: none; color: #fff;
  background: linear-gradient(110deg, var(--blau-dunkel), var(--blau) 60%, #3f7be0); box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.offer__new:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: #fff; }
.offer__new .tag { justify-self: start; font-size: 12px; font-weight: 700; color: var(--blau-dunkel); background: #fff; border-radius: 999px; padding: 3px 12px; }
.offer__new strong { font-size: var(--fs-3); font-weight: 700; font-stretch: 86%; }
.offer__new span.txt { display: block; opacity: .9; font-size: var(--fs-1); }
.offer__new .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 640; font-size: var(--fs-1); white-space: nowrap; }
.offer__new .go .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.offer__new:hover .go .icon { transform: translateX(5px); }
@media (max-width: 1000px) { .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .offer { grid-template-columns: 1fr; }
  .offer__new { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------------------------------------------------------- Neu: Planung und Termine */
.nav-neu { font-size: 11px; font-weight: 700; color: #fff; background: var(--orange); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.modul--planung { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.planung { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.planung__shots { position: relative; padding-bottom: 12%; }
.shot { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-2); border: 1px solid var(--linie); container-type: inline-size; }
.shot img { width: 100%; height: auto; display: block; }
.shot--klein { position: absolute; right: -4%; bottom: 0; width: 52%; }
.js .shot--klein { animation: bob 7s ease-in-out infinite; }
.new-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--orange); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
/* Drag-and-drop-Vorführung auf dem Screenshot */
.dnd {
  position: absolute; left: 16.8%; top: 32.8%; width: 13.6%; height: 3.05%; border-radius: 5px; z-index: 2;
  background: #3a86e8; color: #fff; display: flex; align-items: center; padding-left: .8cqw; font-weight: 700; font-size: 1.05cqw; white-space: nowrap; overflow: visible;
  box-shadow: 0 6px 16px -6px rgba(28,88,196,.7); opacity: 0;
}
.dnd span { overflow: hidden; text-overflow: ellipsis; }
.dnd .icon { position: absolute; right: -1.2cqw; bottom: -2.2cqw; width: 2.6cqw; height: 2.6cqw; color: var(--tinte); }
.js .is-playing .dnd { animation: dnd 7s var(--ease) 1s infinite; }
@keyframes dnd {
  0% { opacity: 0; left: 16.8%; width: 13.6%; transform: scale(1); }
  8% { opacity: 1; transform: scale(1); }
  14% { transform: scale(1.06); }
  42% { left: 47.9%; transform: scale(1.06); }
  48% { left: 47.9%; transform: scale(1); width: 13.6%; }
  70% { left: 47.9%; width: 29.4%; }
  90% { opacity: 1; left: 47.9%; width: 29.4%; }
  100% { opacity: 0; left: 47.9%; width: 29.4%; }
}
.dnd-hint { position: absolute; left: 4%; bottom: 2%; z-index: 3; }
@media (max-width: 960px) { .planung { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Kacheln «Häufig gebraucht» */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 58px; border-radius: var(--radius-l);
  background: #fff; border: 1px solid var(--linie); box-shadow: var(--shadow-1); color: var(--tinte); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; color: var(--tinte); }
.tile strong { font-size: var(--fs-3); font-weight: 690; font-stretch: 86%; line-height: 1.2; margin-top: 10px; }
.tile span:not([class]) { color: var(--tinte-2); font-size: var(--fs-1); line-height: 1.5; }
.tile__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--blau-hell); color: var(--blau); transition: transform .4s var(--ease); }
.tile__icon .icon { width: 26px; height: 26px; }
.tile:nth-child(2) .tile__icon { background: var(--orange-hell); color: var(--orange); }
.tile:nth-child(3) .tile__icon { background: var(--gold-hell); color: var(--gold-text); }
.tile:nth-child(4) .tile__icon { background: #e6f4ec; color: var(--gruen); }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); }
.tile__go { position: absolute; left: 24px; bottom: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-1); font-weight: 620; color: var(--blau); }
.tile__go .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.tile:hover .tile__go .icon { transform: translateX(5px); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* Produktbilder: runde Ecken, leichter Zoom */
.produkt__media { border-radius: var(--radius-l); }
.produkt__media > img:first-child, .produkt__media > .zoom { border-radius: var(--radius-l); box-shadow: var(--shadow-2); transition: transform .5s var(--ease); }
.produkt:hover .produkt__media > img:first-child { transform: translateY(-4px) rotate(-.4deg); }
.produkt__media .badge-logo { border-radius: 14px; box-shadow: var(--shadow-1); }
.js .produkt__media .badge-logo { animation: bob 6s ease-in-out infinite; }

/* ---------------------------------------------------------------- Vom Ausmass zur Offerte */
.flow__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.flow__art { background: #fff; border-radius: var(--radius-l); border: 1px solid var(--linie); box-shadow: var(--shadow-1); padding: 24px 24px 48px; margin-bottom: 30px;
  background-image: linear-gradient(var(--plan) 1px, transparent 1px), linear-gradient(90deg, var(--plan) 1px, transparent 1px); background-size: 24px 24px; }
.flow__art .ausmass { right: -16px; bottom: -30px; border-radius: 14px; }
.steps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; margin: 0; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--linie); transition: border-color .4s, box-shadow .4s; }
.steps h3 { font-size: var(--fs-3); margin: 0 0 .2em; }
.steps p { margin: 0; color: var(--tinte-2); font-size: var(--fs-1); }
.steps__n { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--plan); color: var(--gold-text); font-weight: 740; font-stretch: 80%; font-size: 20px; transition: background-color .4s, color .4s; }
.js .steps li { --t: 0s; }
.js .steps.is-playing li { animation: stepOn .5s var(--ease) var(--t) both; }
.js .steps.is-playing li .steps__n { animation: stepN .5s var(--ease) var(--t) both; }
.steps li:nth-child(2) { --t: 1.9s; }
.steps li:nth-child(3) { --t: 3.2s; }
@keyframes stepOn { to { border-color: var(--blau); box-shadow: var(--shadow-1); } }
@keyframes stepN { to { background: var(--blau); color: #fff; } }
@media (max-width: 960px) { .flow__grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Kennzahlen */
.masse { border: 0; gap: 20px; }
.mass { border: 0 !important; background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-1); padding: 26px 24px !important; border: 1px solid var(--linie) !important; }
.mass b { color: var(--tinte); }
@media (max-width: 860px) { .mass:nth-child(n + 3) { border-top: 1px solid var(--linie) !important; } }

/* ---------------------------------------------------------------- Partner-Laufband */
.marquee { overflow: hidden; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--linie);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee__set { display: flex; flex: none; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee a { flex: none; width: 210px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 18px 30px; }
.marquee img { max-height: 46px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.marquee a:hover img, .marquee a:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Kontakt mit Team */
.kontaktkarte { border-radius: var(--radius-l); box-shadow: var(--shadow-1); overflow: hidden; }
.avatars { display: flex; align-items: center; margin-top: 26px; }
.avatars span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--plan); margin-left: -10px; font-size: 15px; font-weight: 720; font-stretch: 80%; background: var(--gold-hell); color: var(--gold-text); transition: transform .25s var(--ease); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(3n+2) { background: var(--blau-hell); color: var(--blau-dunkel); }
.avatars span:nth-child(3n) { background: var(--orange-hell); color: #a5501d; }
.avatars span:hover { transform: translateY(-4px); }
.avatars a { margin-left: 14px; font-size: var(--fs-1); font-weight: 600; }

/* Unterseiten-Kopf freundlicher */
.page-head { background: linear-gradient(120deg, var(--plan) 0%, #fff 55%, var(--blau-hell) 130%); }
.page-head::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(158,152,109,.18), transparent 70%); pointer-events: none; }
.js .page-head h1, .js .page-head .lead { animation: rise .8s var(--ease) both; }
.js .page-head .lead { animation-delay: .12s; }
.js .page-head__logo { animation: logoIn .9s var(--ease) .2s both; }
@keyframes logoIn { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

/* Karten und Boxen weicher */
.order__box, .sysreq__os, .docs, .blatt, .module-nav, .aside__box, .schriftfeld { border-color: var(--linie); border-radius: var(--radius-l); }
.order__box { box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.order__box:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.docs a { transition: background-color .15s, padding-left .2s var(--ease); }
.docs a:hover { padding-left: 24px; }
.module-nav a { transition: background-color .15s; }
.module-nav a:hover svg { animation: wiggle .5s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(6deg); } }
.zoom { border-radius: var(--radius); }
.note { border-radius: 0 var(--radius) var(--radius) 0; }
.news__item { transition: background-color .2s; border-radius: 0; }
.news { border-top-color: var(--linie); }

/* Team freundlicher */
.team { border: 0; gap: 20px; }
.person { border: 1px solid var(--linie); border-radius: var(--radius-l); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.person__mono { border: 0; background: var(--gold-hell); transition: transform .4s var(--ease); }
.person:nth-child(3n+2) .person__mono { background: var(--blau-hell); color: var(--blau-dunkel); }
.person:nth-child(3n) .person__mono { background: var(--orange-hell); color: #a5501d; }
.person:hover .person__mono { transform: rotate(-6deg) scale(1.06); }
.person--ki .person__mono { background: var(--tinte) !important; color: var(--gold) !important; }
.js .person--ki .person__mono svg { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.86) rotate(12deg); opacity: .75; } }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Nach oben */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--tinte); color: #fff; box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background-color .2s;
}
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--blau); }
.totop svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ---------------------------------------------------------------- Bestellung 2027 gut sichtbar */
/* Band ganz oben auf jeder Seite (ausser «Bestellen») */
.ansage { display: block; background: var(--blau); color: #fff; text-decoration: none; font-size: var(--fs-1); }
.ansage .wrap { display: flex; align-items: center; gap: 12px; min-height: 42px; padding-block: 8px; }
.ansage__punkt { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(229,115,45,.7); animation: ping 2s ease-out infinite; }
.ansage__text { line-height: 1.35; }
.ansage__text strong { font-weight: 680; }
.ansage__lang { opacity: .92; }
.ansage__go { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 640; white-space: nowrap; }
.ansage__go .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.ansage:hover { background: var(--blau-dunkel); color: #fff; }
.ansage:hover .ansage__go .icon { transform: translateX(4px); }
.ansage:hover .ansage__text strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .ansage__lang { display: none; }
  .ansage__go { font-size: 0; gap: 0; }
  .ansage__go .icon { font-size: var(--fs-1); }
}

/* Hinweis im Startbild */
.hero2__update { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--orange-hell); border: 1px solid rgba(229,115,45,.25); color: var(--tinte); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hero2__update .chip__icon--orange { background: #fff; }
.hero2__update strong { display: block; font-weight: 680; font-stretch: 90%; line-height: 1.25; }
.hero2__update small { display: block; color: var(--tinte-2); font-size: var(--fs-0); line-height: 1.35; }
.hero2__update .hero2__update-pfeil { margin-left: auto; width: 20px; height: 20px; color: var(--blau); transition: transform .25s var(--ease); }
.hero2__update:hover { color: var(--tinte); border-color: var(--orange); box-shadow: var(--shadow-1); }
.hero2__update:hover .hero2__update-pfeil { transform: translateX(4px); }
a.chip { color: var(--tinte); text-decoration: none; }
a.chip:hover { color: var(--blau); }

/* Bestellseite: drei Karten nebeneinander */
.order--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Text, Online-Knopf und PDF-Liste stehen in allen drei Karten auf gleicher Höhe */
.order--3 .order__box { display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 0; }
@media (max-width: 1060px) { .order--3 { grid-template-columns: 1fr; max-width: 640px; } }
.order--3 .order__box > .docs { padding: 6px 0; }
.order--3 .order__box .docs a { padding-inline: 24px 20px; }
.order__tag { display: inline-block; font-size: 12px; font-weight: 650; color: #a5501d; background: var(--orange-hell); border-radius: 999px; padding: 2px 10px; margin: 0 0 12px; }
.order__title { font-size: var(--fs-4); line-height: 1.15; margin: 0 0 .45em; }
.order__online .btn { width: 100%; justify-content: center; text-align: center; }
.order__hint { margin: 8px 0 0; font-size: var(--fs-0); color: var(--tinte-3); text-align: center; }
.order--3 + .note { margin-top: 32px; }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .dim:not(.is-in) { --dim-s: 1; --dim-o: 1; }
  .js .reveal { opacity: 1; transform: none; }
  .dnd { display: none; }
  .js .chip { opacity: 1; }
  .ansage__punkt { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__set[aria-hidden="true"] { display: none; }
  .marquee__set { flex-wrap: wrap; justify-content: center; }
}

@media print {
  .ansage, .topbar, .header, .footer, .update-band, .burger, .btn-row, .hero2__update { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; }
}

.order__box .version-logo { width: 200px; height: auto; }
.shot .zoom { border: 0; border-radius: 0; }

/* Ausmassblatt-Muster auf der Flex-Seite */
.blaetter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.blaetter figcaption { margin-top: 10px; font-size: var(--fs-1, .94rem); color: var(--grau, inherit); }
@media (max-width: 760px) { .blaetter { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; } }

/* Bestellen: Hinweis bei den Ausmassblättern */
.order__gleich { margin: .8em 0 0; padding: 8px 12px; border-left: 3px solid var(--gold); background: var(--plan); border-radius: 0 var(--radius) var(--radius) 0; }
