/* irot.com – Gestaltungssystem nach der offiziellen Marke:
   Tinte #2A2621 · Latón #A8763C · Hueso #F0EBE1 · Pizarra #1E3A34.
   Eine Schrift (System), ein Akzent (Latón), viel Ruhe. */

/* ---------- Grundwerte ---------- */
:root {
  --ink: #2a2621;          /* tinta */
  --ink-2: #55504a;
  --ink-3: #6e675d;
  --paper: #fbf9f5;        /* knochenweiß */
  --paper-2: #f0ebe1;      /* hueso */
  --paper-3: #e5dfd2;
  --line: #e4ddcf;
  --line-2: #d2cab9;
  --accent: #a8763c;       /* latón – Schmuck, große Flächen */
  --accent-deep: #8a5e2c;  /* latón dunkel – Knöpfe, Verweise (Kontrast) */
  --accent-soft: #f2e7d5;
  --dark: #111010;         /* tinta tief */
  --dark-2: #1b1917;
  --dark-3: #242220;
  --dark-line: #383430;
  --dark-text: #f0ebe1;    /* hueso */
  --dark-mut: #9a948a;
  --ok: #1e3a34;           /* pizarra */
  --ok-soft: #e3eae5;
  --warn: #8a5e2c;
  --warn-soft: #f2e7d5;
  --radius: 16px;
  --radius-s: 10px;
  --maxw: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --shadow-1: 0 1px 2px rgba(42,38,33,.05), 0 4px 16px rgba(42,38,33,.07);
  --shadow-2: 0 2px 6px rgba(42,38,33,.08), 0 18px 44px rgba(42,38,33,.14);
}
html:lang(zh-CN) body {
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p a, li a:not([class]) { color: var(--accent-deep); text-underline-offset: 3px; }
p a:hover, li a:not([class]):hover { text-decoration: underline; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: #fff; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { left: 8px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.028em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.35rem + 4.2vw, 4.35rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; }
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; max-width: 46em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2.5px; background: var(--accent); border-radius: 2px; }
.muted { color: var(--ink-3); }

/* ---------- Raster ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(4rem, 9vw, 7.25rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark .lead { color: var(--dark-mut); }
.section-dark .eyebrow { color: #c89a62; }
.sec-head { max-width: 52em; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head .lead { margin-top: 1.1rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1.2;
  border: 1.5px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: #745022; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.section-dark .btn-ghost { border-color: var(--dark-line); color: var(--dark-text); }
.section-dark .btn-ghost:hover { border-color: var(--dark-mut); }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.btn-arrow::after { content: "→"; font-weight: 500; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.link-more { font-weight: 600; color: var(--accent-deep); white-space: nowrap; }
.link-more::after { content: " →"; }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Kopfzeile ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: inline-flex; color: var(--ink); flex-shrink: 0; }
.logo .wordmark { height: 26px; width: auto; display: block; }
.site-foot .logo .wordmark { height: 28px; }

.nav { display: flex; align-items: center; gap: .25rem; margin-inline: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 999px;
  font-weight: 550; font-size: .96rem; color: var(--ink-2);
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-link[aria-expanded="true"] { color: var(--ink); background: var(--paper-2); }
.nav-link .chev { transition: transform .18s ease; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-item { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: .8rem;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s;
  min-width: 240px;
}
.nav-item.is-open .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.75rem; width: 560px; padding: .35rem; }
.menu-head { grid-column: span 1; font-size: .8rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding: .3rem .6rem .5rem; }
.menu-head a:hover { color: var(--accent-deep); }
.menu-col { display: flex; flex-direction: column; gap: .15rem; }
.menu-item { display: block; padding: .55rem .6rem; border-radius: var(--radius-s); line-height: 1.35; }
.menu-item:hover { background: var(--paper-2); }
.menu-item strong { display: block; font-weight: 620; font-size: .96rem; }
.menu-item span { display: block; font-size: .84rem; color: var(--ink-3); }
.menu-item.is-current strong { color: var(--accent-deep); }
.menu-more { display: block; padding: .55rem .6rem .3rem; font-weight: 600; font-size: .9rem; color: var(--accent-deep); }
.menu-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu-lang { left: auto; right: 0; transform: translateY(-6px); }
.nav-item.is-open .menu-lang { transform: translateY(0); }

.head-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.lang-btn span { font-size: .85rem; font-weight: 620; letter-spacing: .04em; }
.btn-head { padding: .58rem 1.25rem; font-size: .93rem; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2.2px; background: var(--ink);
  border-radius: 2px; transition: transform .22s ease, top .22s ease;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  /* backdrop-filter macht die Kopfzeile zum containing block für fixed –
     auf kleinen Schirmen deshalb ohne Weichzeichner. */
  .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; inset: 68px 0 auto 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: .3rem;
    background: var(--paper); padding: 1.2rem clamp(1.1rem,4vw,2rem) 2.5rem;
    overflow-y: auto; margin: 0;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav-link { font-size: 1.15rem; padding: .8rem .6rem; border-radius: var(--radius-s); width: 100%; justify-content: space-between; }
  .nav .menu { position: static; transform: none; opacity: 1; visibility: hidden; display: none;
    box-shadow: none; border: 0; background: var(--paper-2); margin: .2rem 0 .6rem; }
  .nav-item.is-open .menu { display: block; visibility: visible; transform: none; }
  .menu-grid { width: 100%; grid-template-columns: 1fr; }
  .burger { display: block; }
  .btn-head { display: none; }
}

/* ---------- Startbühne ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3.5rem, 7vw, 5.5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58rem 30rem at 82% -12%, rgba(168,118,60,.08), transparent 60%),
    linear-gradient(to right, rgba(42,38,33,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42,38,33,.045) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .lead { margin-top: 1.4rem; }
.hero-visual { position: relative; }
.hero-visual img, .hero-visual svg { width: 100%; height: auto; }
.hero-shot {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-2); background: #fff; overflow: hidden;
}
.hero-note { margin-top: .9rem; font-size: .86rem; color: var(--ink-3); text-align: center; }
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
}

/* Vertrauenszeile */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.15rem; }
.trust-item { display: inline-flex; align-items: center; gap: .6rem; font-size: .93rem; font-weight: 560; color: var(--ink-2); }
.trust-item svg { color: var(--accent); flex-shrink: 0; width: 19px; height: 19px; }
@media (max-width: 767px) { .trust-row { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .trust-row { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card:hover, .card.is-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card h3 .arrow { display: inline-block; transition: transform .2s ease; color: var(--accent); }
a.card:hover h3 .arrow { transform: translateX(4px); }
.card p { color: var(--ink-2); font-size: .96rem; }
.card .card-kicker { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card ul { margin-top: .2rem; display: flex; flex-direction: column; gap: .4rem; list-style: none; padding: 0; }
.card ul li { position: relative; padding-left: 1.35rem; font-size: .93rem; color: var(--ink-2); }
.card ul li::before { content: ""; position: absolute; left: 0; top: .52em; width: .6em; height: .32em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); margin-bottom: .5rem; }
.card-icon svg { width: 22px; height: 22px; }
.card-foot { margin-top: auto; padding-top: .6rem; }

.section-dark .card { background: var(--dark-2); border-color: var(--dark-line); }
.section-dark .card p, .section-dark .card ul li { color: var(--dark-mut); }
.section-dark .card-icon { background: rgba(168,118,60,.16); color: #c89a62; }

/* Statusplaketten */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .76rem; font-weight: 650; letter-spacing: .03em;
  padding: .22rem .65rem; border-radius: 999px; white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-live { background: var(--ok-soft); color: var(--ok); }
.badge-dev  { background: var(--warn-soft); color: var(--warn); }
.badge-plan { background: var(--paper-3); color: var(--ink-3); }
.section-dark .badge-live { background: rgba(30,58,52,.4); color: #8fb3a6; }
.section-dark .badge-dev  { background: rgba(168,118,60,.2); color: #c89a62; }
.section-dark .badge-plan { background: var(--dark-3); color: var(--dark-mut); }

/* ---------- Produktkatalog ---------- */
.catalog-cat { margin-top: clamp(2.6rem, 5vw, 3.8rem); }
.catalog-cat > h3 { display: flex; align-items: baseline; gap: .8rem; font-size: 1.32rem; margin-bottom: .35rem; }
.catalog-cat > h3 .count { font-size: .85rem; font-weight: 600; color: var(--ink-3); }
.catalog-cat > .cat-desc { color: var(--ink-2); max-width: 56em; margin-bottom: 1.2rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (max-width: 1023px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .catalog-grid { grid-template-columns: 1fr; } }
.cat-item {
  display: flex; flex-direction: column; gap: .3rem;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: .95rem 1.05rem; background: var(--paper);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cat-item:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.cat-item .row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.cat-item .name { font-weight: 640; font-size: .97rem; letter-spacing: -.01em; }
.cat-item .line { font-size: .875rem; color: var(--ink-2); line-height: 1.5; }
.cat-item a.early { font-size: .82rem; font-weight: 600; color: var(--accent-deep); margin-top: .15rem; }
.cat-item a.early:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Suche und Filter im Produktprogramm (nur mit Skript sichtbar) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cat-tools { display: none; }
.js .cat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; position: sticky; top: 68px; z-index: 5;
  background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .8rem 0; margin-top: -.4rem; border-bottom: 1px solid var(--line); }
.cat-search { display: flex; align-items: center; gap: .5rem; flex: 1 1 280px; max-width: 460px;
  border: 1px solid var(--line-2); border-radius: 999px; padding: .5rem 1rem; background: #fff; color: var(--ink-3); }
.cat-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cat-search input { border: 0; outline: 0; font: inherit; flex: 1; min-width: 0; background: transparent; color: var(--ink); }
.cat-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font-size: .88rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper); }
.chip span { font-weight: 500; color: var(--ink-3); margin-left: .2rem; }
.chip:hover { border-color: var(--ink-3); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-on span { color: rgba(255,255,255,.7); }
.cat-empty { margin-top: 2rem; padding: 1.4rem; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); text-align: center; }
@media (max-width: 1023px) { .js .cat-tools { top: 68px; } }

/* ---------- Plattform-Schaubild ---------- */
.platform-figure { margin-top: clamp(2rem, 4vw, 3rem); }
.platform-figure svg { width: 100%; height: auto; }

/* ---------- Zahlenband ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1023px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { border-left: 2.5px solid var(--accent); padding-left: 1.1rem; }
.stat b { display: block; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--ink-3); font-size: .93rem; }
.section-dark .stat span { color: var(--dark-mut); }

/* ---------- Produktseite ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .875rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .55; }

.phero { padding-block: clamp(3.2rem, 6vw, 5rem) clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.phero .hero-grid { align-items: center; }
.phero .badge { margin-bottom: 1.1rem; }
.phero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }

.standards { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.standards span {
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: .3rem .8rem;
  background: var(--paper);
}

.feature { display: flex; flex-direction: column; gap: .45rem; }
.feature h3 { font-size: 1.04rem; }
.feature p { color: var(--ink-2); font-size: .94rem; }
.feature .f-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep); margin-bottom: .35rem; }
.feature .f-icon svg { width: 20px; height: 20px; }
.features { row-gap: 2.2rem; }

/* Schritte */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr; } }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .steps-4 { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; padding: 1.5rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: .95rem; font-weight: 700; color: var(--accent-deep);
  letter-spacing: .06em; margin-bottom: .7rem;
}
.step h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.step p { color: var(--ink-2); font-size: .94rem; }

/* Tabellen */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td:first-child { font-weight: 600; white-space: nowrap; }
table.data tbody th { text-align: left; font-weight: 600; white-space: nowrap; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
table.data tbody tr:last-child th { border-bottom: 0; }
table.price-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.price-table td:last-child { font-weight: 650; color: var(--accent-deep); }

/* Preise */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: .3rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; background: var(--paper); }
.price-card.is-hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-1); }
.price-card .tier { font-weight: 650; }
.price-card .amount { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-top: .2rem; }
.price-card .amount small { font-size: .95rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-card .terms { font-size: .875rem; color: var(--ink-3); }
.price-card ul { margin-top: .8rem; display: flex; flex-direction: column; gap: .4rem; list-style: none; padding: 0; }
.price-card ul li { position: relative; padding-left: 1.3rem; font-size: .9rem; color: var(--ink-2); }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6em; height: .32em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pricing-note { margin-top: 1.1rem; font-size: .875rem; color: var(--ink-3); }

/* FAQ */
.faq { max-width: 54em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.15rem .2rem; cursor: pointer; font-weight: 620; font-size: 1.04rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 11px; height: 11px;
  border-right: 2.2px solid var(--ink-3); border-bottom: 2.2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: .3rem;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-a { padding: 0 .2rem 1.3rem; color: var(--ink-2); max-width: 60em; }

/* Handlungsband */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 21em; margin-inline: auto; }
.cta-band .lead { margin: 1.1rem auto 0; }
.cta-band .cta-row { justify-content: center; }
.cta-band .cta-sub { margin-top: 1.1rem; font-size: .9rem; color: var(--dark-mut); }

/* ---------- Meldungen ---------- */
.news-card { gap: .5rem; }
.news-card time { font-size: .84rem; color: var(--ink-3); }
.article { max-width: 46em; }
.article .prose { margin-top: 2rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-2); }
.prose h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
.prose ul { margin: 0 0 1.1rem 1.2rem; color: var(--ink-2); }
.prose li { margin-bottom: .35rem; }
.article time { color: var(--ink-3); font-size: .9rem; }

/* ---------- Wissen ---------- */
.badge-know { background: var(--accent-soft); color: var(--accent-deep); width: fit-content; }
.know-card h3 { font-size: 1.15rem; }
.ext-item { text-decoration: none; }
.ext-item .name { color: var(--ink); }
.ext-item .ext-site { font-size: .8rem; color: var(--accent-deep); font-weight: 600; margin-top: .2rem; }
.know-hero { padding-bottom: 1.5rem; }
.article-head { max-width: 48em; }
.article-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.article-head .lead { margin-top: 1rem; }
.know-meta { margin-top: 1.1rem; font-size: .9rem; color: var(--ink-3); }
.know-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.know-main { max-width: 46em; }
.know-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; }
.know-main { min-width: 0; }
@media (max-width: 1023px) {
  .know-grid { grid-template-columns: minmax(0, 1fr); }
  .know-aside { position: static; order: -1; }
  .know-aside .aside-product { display: none; }
}
.glance-head { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .7rem; }
.glance { background: var(--accent-soft); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.2rem; margin-bottom: 2.2rem; }
.glance ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.glance li { color: var(--ink); font-size: .98rem; }
.toc, .aside-product { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--paper); }
.toc ol { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .45rem; font-size: .92rem; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--accent-deep); }
.aside-product p:not(.glance-head) { font-size: .92rem; color: var(--ink-2); margin-bottom: .6rem; }
.prose h3 { font-size: 1.08rem; margin: 1.6rem 0 .5rem; }
.prose ol { margin: 0 0 1.1rem 1.2rem; color: var(--ink-2); }
.prose .tablewrap { margin: 1.2rem 0 1.4rem; }
.prose table.data { min-width: 480px; font-size: .92rem; }
.prose h2 { scroll-margin-top: 90px; }
.sources { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.4rem; }
.sources ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .9rem; display: flex; flex-direction: column; gap: .35rem; }

.deep-links { display: flex; flex-direction: column; gap: .35rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.deep-links .glance-head { margin-bottom: .2rem; }
.deep-links a { font-size: .9rem; font-weight: 600; color: var(--accent-deep); }
.deep-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.deep-links small { font-weight: 500; color: var(--ink-3); }

/* Anfrageformular */
.req-form { display: none; }
.js .req-form { display: block; }
.req-form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow-1); }
.req-head h2 { font-size: 1.6rem; }
.req-head p { margin-top: .4rem; }
.req-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.2rem; margin-top: 1.4rem; }
@media (max-width: 899px) { .req-grid { grid-template-columns: minmax(0, 1fr); } }
.req-grid label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; }
.req-wide { grid-column: 1 / -1; }
.req-two { grid-column: span 2; }
@media (max-width: 899px) { .req-two { grid-column: auto; } }
.req-grid input, .req-grid select, .req-grid textarea { font: inherit; font-weight: 400; padding: .65rem .8rem; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.req-grid textarea { resize: vertical; }
.req-grid :focus { outline: 2.5px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.req-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.4rem; }
.req-foot p { font-size: .85rem; flex: 1 1 280px; }

/* Unternehmensseiten */
.page-sec { scroll-margin-top: 90px; margin-bottom: 2.4rem; }
.page-sec h2 { margin-top: 0; }
.page-prose ul { margin: 0 0 1.1rem 1.2rem; }
.page-prose li { margin-bottom: .4rem; }
.boiler { margin: 0; border-left: 3px solid var(--accent); padding: .9rem 1.2rem; background: var(--accent-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink); font-size: 1.02rem; }
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .9rem; margin: 1.2rem 0 1rem; }
.asset { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: var(--paper); transition: box-shadow .18s ease, transform .18s ease; }
.asset:hover { box-shadow: var(--shadow-1); transform: translateY(-2px); }
.asset-view { height: 120px; display: grid; place-items: center; padding: 1rem; background: #fff; }
.asset-view img { max-height: 64px; width: auto; }
.asset-dark .asset-view { background: var(--dark); }
.asset-name { font-size: .84rem; font-weight: 600; padding: .6rem .8rem; color: var(--accent-deep); border-top: 1px solid var(--line); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; margin-top: 1rem; }
.swatch { display: flex; flex-direction: column; justify-content: flex-end; height: 110px; padding: .8rem 1rem; border-radius: var(--radius-s); font-size: .85rem; font-variant-numeric: tabular-nums; border: 1px solid rgba(0,0,0,.06); }
.swatch b { font-size: 1rem; }

/* Rechner */
.calc { border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 2.4rem; background: var(--paper); box-shadow: var(--shadow-1); scroll-margin-top: 90px; }
.calc h2 { font-size: 1.45rem; margin-bottom: .4rem; }
.calc > .muted { font-size: .94rem; margin-bottom: 1.2rem; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.8rem; }
@media (max-width: 699px) { .calc-form { grid-template-columns: 1fr; } }
.calc-leaks { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.calc-leaks legend { font-weight: 650; font-size: .95rem; margin-bottom: .6rem; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.calc-params { display: flex; flex-direction: column; gap: .8rem; }
.calc-params label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; font-weight: 600; }
.calc-params small { font-weight: 400; color: var(--ink-3); font-size: .8rem; line-height: 1.45; }
.calc-unit { display: flex; align-items: center; gap: .5rem; }
.calc-unit em { font-style: normal; font-weight: 500; color: var(--ink-3); font-size: .85rem; white-space: nowrap; }
.calc input { font: inherit; font-weight: 600; width: 7.5rem; padding: .5rem .7rem; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc input:focus { outline: 2.5px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.calc-row input { width: 5.5rem; text-align: right; }
.calc-result { grid-column: 1 / -1; background: var(--dark); color: var(--dark-text); border-radius: var(--radius-s); padding: 1.2rem 1.3rem; }
.calc-result .glance-head { color: var(--dark-mut); }
.calc-result dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.calc-result dl .calc-big { grid-column: 1 / -1; }
@media (max-width: 699px) { .calc-result dl { grid-template-columns: 1fr 1fr; } }
.calc-result dt { font-size: .8rem; color: var(--dark-mut); }
.calc-result dd { margin: .15rem 0 0; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-result dd span { font-size: .85rem; font-weight: 500; color: var(--dark-mut); }
.calc-result .calc-big dd { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); color: #d9ad74; letter-spacing: -.02em; }
.calc-formula { margin-top: 1rem; font-size: .82rem; color: var(--ink-3); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 46em; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); }
.legal .prose h2 { font-size: 1.3rem; }
.legal address { font-style: normal; color: var(--ink-2); line-height: 1.7; }

/* ---------- Fußzeile ---------- */
.site-foot { background: var(--dark); color: var(--dark-text); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2.5rem 2rem; }
@media (max-width: 1023px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } .foot-brand { grid-column: span 2; } }
@media (max-width: 599px) { .foot-grid { grid-template-columns: 1fr; } .foot-brand { grid-column: span 1; } }
.foot-brand p { color: var(--dark-mut); font-size: .93rem; margin-top: 1.1rem; max-width: 30em; }
.foot-brand .foot-made { font-size: .85rem; margin-top: .8rem; }
.foot-head { font-size: .8rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--dark-mut); margin-bottom: .9rem; }
.foot-head-lang { margin-top: 1.6rem; }
.foot-col { display: flex; flex-direction: column; gap: .55rem; }
.foot-col a { color: #c6ccd8; font-size: .94rem; width: fit-content; }
.foot-col a:hover { color: #fff; }
.foot-col a[aria-current] { color: #fff; font-weight: 600; }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem;
  border-top: 1px solid var(--dark-line); margin-top: 3rem; padding-top: 1.4rem;
  font-size: .84rem; color: var(--dark-mut);
}

/* ---------- Sprachwahl (Wurzelseite) ---------- */
.gateway { min-height: 100svh; display: grid; place-items: center; background: var(--dark); color: var(--dark-text); padding: 2rem; }
.gateway-box { text-align: center; max-width: 560px; }
.gateway-box .logo { justify-content: center; display: flex; color: #fff; margin-bottom: 2.2rem; }
.gateway-box .wordmark { height: 40px; width: auto; }
.gateway-box h1 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.gateway-list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .55rem; }
.gateway-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border: 1px solid var(--dark-line); border-radius: 14px; padding: .95rem 1.3rem;
  font-weight: 600; background: var(--dark-2);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.gateway-list a:hover { border-color: var(--dark-mut); transform: translateY(-2px); }
.gateway-list a small { font-weight: 500; color: var(--dark-mut); }
.gateway-list a::after { content: "→"; color: var(--accent); }
.gateway-foot { margin-top: 2.2rem; font-size: .82rem; color: var(--dark-mut); }

/* ---------- Einblendung beim Rollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: clamp(6rem, 14vw, 10rem); }
.nf .code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 750; letter-spacing: -.04em; color: var(--paper-3); line-height: 1; -webkit-text-stroke: 2px var(--line-2); }
.nf h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1rem; }

/* ---------- Druck ---------- */
@media print {
  .site-head, .site-foot, .cta-band, .burger, .skip { display: none !important; }
  body { color: #000; }
}
