/* =========================================================
   H&F-Webentwicklung · site.css
   Idee: Die vier Bereiche sind wie Patchkabel farbcodiert –
   Web blau, Netzwerk gelb, Sicherheit rot, Systeme grün.
   ========================================================= */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; 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: "Unbounded"; src: url("../fonts/unbounded-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; 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: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #14213A;
  --ink-2: #22314F;
  --ink-3: #33466B;
  --mute: #5A6A85;
  --line: #D5DCE6;
  --paper: #EDF1F6;
  --white: #FFFFFF;

  --web: #005AFF;   /* Markenblau aus dem H&F-Logo */
  --net: #F2B300;
  --sec: #E63946;
  --sys: #17B26A;

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1240px;
  --r: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--text); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--web); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--web); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--net); color: var(--ink); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; padding-top: 3rem; padding-bottom: 5rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--signal { background: var(--web); color: #fff; box-shadow: 0 6px 24px -8px rgba(0,90,255,.6); }
.btn--signal:hover { background: #0047CC; transform: translateY(-2px); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn--ghost-ink { border-color: var(--ink); color: var(--ink); }
.btn--ghost-ink:hover { background: rgba(20,33,58,.08); }
.btn--small { padding: .65em 1.1em; font-size: .92rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--mute); font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

/* ---------- Kopfzeile ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.is-sub .top, .top.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top__in { max-width: var(--max); margin: 0 auto; padding: .9rem var(--gutter); display: flex; align-items: center; gap: 2rem; }
.logo { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: .55rem; text-decoration: none; position: relative; padding-bottom: 7px; }
.logo__mark { font: 800 1.45rem/1 var(--display); letter-spacing: -.04em; }
.logo__txt { font: 500 .8rem/1 var(--display); letter-spacing: .01em; opacity: .85; }
.logo__cable { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 3px; gap: 2px; }
.logo__cable i { flex: 1; border-radius: 2px; }
.logo__cable i:nth-child(1), .foot__cable i:nth-child(1) { background: var(--web); }
.logo__cable i:nth-child(2), .foot__cable i:nth-child(2) { background: var(--net); }
.logo__cable i:nth-child(3), .foot__cable i:nth-child(3) { background: var(--sec); }
.logo__cable i:nth-child(4), .foot__cable i:nth-child(4) { background: var(--sys); }
/* echtes Logo: weiß auf dunklen Flächen, blau auf hellen */
.logo__imgs { display: block; line-height: 0; }
.logo:has(.logo__imgs) { padding-bottom: 0; }
.logo__img { height: 46px; width: auto; }
.logo__imgs.has-both .logo__img--dunkel { display: none; }
.is-sub .top .logo__imgs.has-both .logo__img--dunkel, .top.is-scrolled .logo__imgs.has-both .logo__img--dunkel { display: block; }
.is-sub .top .logo__imgs.has-both .logo__img--hell, .top.is-scrolled .logo__imgs.has-both .logo__img--hell { display: none; }
.top.nav-open .logo__imgs.has-both .logo__img--hell { display: block !important; }
.top.nav-open .logo__imgs.has-both .logo__img--dunkel { display: none !important; }
.foot__logo { height: 64px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; font-weight: 500; font-size: .97rem; }
.nav a:not(.btn) { text-decoration: none; position: relative; padding: .3em 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__sep { width: 1px; height: 1.4em; background: currentColor; opacity: .25; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: #fff; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--ink) 0%, rgba(20,33,58,.85) 38%, rgba(20,33,58,0) 70%); }
.hero__in { align-self: center; padding-top: 8rem; padding-bottom: 3rem; }
.hero__where { font-size: .95rem; color: #A9B6CC; margin-bottom: 1.6rem; }
.hero__h { font-size: clamp(2.7rem, 8.6vw, 7.4rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; margin: 0 0 2rem; }
.hero__h span { display: block; }
.hero__h span:nth-child(2) { font-weight: 300; color: #C9D5EA; padding-left: .9em; }
.hero__lead { max-width: 36rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #D3DCEB; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__legend { display: flex; gap: 1.6rem; padding-bottom: 1.6rem; font-size: .82rem; color: #A9B6CC; }
.lg::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: .5em; vertical-align: middle; background: var(--c); }
.lg--web { --c: var(--web); } .lg--net { --c: var(--net); } .lg--sec { --c: var(--sec); } .lg--sys { --c: var(--sys); }

/* Lade-Moment: Headline schiebt sich zeilenweise herein */
.js [data-split] span { clip-path: inset(0 0 100% 0); transform: translateY(.35em); animation: rise .9s var(--ease) forwards; }
.js [data-split] span:nth-child(2) { animation-delay: .12s; }
.js [data-split] span:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { clip-path: inset(0 0 -10% 0); transform: none; } }

/* ---------- Laufband ---------- */
.marquee { background: var(--ink-2); color: #DDE5F2; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 1.05rem 0; }
.marquee li { display: flex; align-items: center; gap: .7rem; padding: 0 1.6rem; font: 500 .95rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.dot--web { --c: var(--web); } .dot--net { --c: var(--net); } .dot--sec { --c: var(--sec); } .dot--sys { --c: var(--sys); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Kabel, das sich beim Scrollen durch die Seite zieht ---------- */
.cable-run { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 2; }
.cable-run svg { position: absolute; left: 0; top: 0; width: 100%; overflow: visible; }
.cable-run path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cable-run__bg { stroke: rgba(90,106,133,.18); stroke-width: 3; }
.cable-run__fg { stroke: url(#cableGrad); stroke-width: 4; }
.is-home main { position: relative; }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.sec--dark { background: var(--ink); color: #fff; }
.sec--paper { background: var(--paper); }
.sec__head { position: relative; max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec__head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.sec__head p { font-size: 1.15rem; color: var(--mute); max-width: 40rem; }
.sec--dark .sec__head p { color: #B6C3D8; }
.port { position: absolute; left: calc(-1 * clamp(2.25rem, 4vw, 3.4rem)); top: .45rem; width: 18px; height: 22px; border-radius: 3px; border: 2px solid var(--line); background: var(--white); transition: border-color .4s, background .4s, box-shadow .4s; }
.sec--dark .port { background: var(--ink); border-color: var(--ink-3); }
.port::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 4px; border-radius: 1px; background: var(--line); transition: background .4s; }
.port.is-live { border-color: var(--pc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--pc) 20%, transparent), 0 0 24px var(--pc); }
.port.is-live::after { background: var(--pc); }
.port[data-port="web"] { --pc: var(--web); } .port[data-port="net"] { --pc: var(--net); }
.port[data-port="sec"] { --pc: var(--sec); } .port[data-port="sys"] { --pc: var(--sys); }

/* ---------- Leistungen als Patchfeld ---------- */
.patch { border-top: 2px solid var(--ink); }
.patch__row { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; padding: 2.2rem 0; border-bottom: 1px solid var(--line); position: relative; }
.patch__row::before { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--c); transition: width .6s var(--ease); }
.patch__row:hover::before, .patch__row:focus-within::before { width: 100%; }
.patch__jack { width: 48px; height: 54px; border-radius: 6px; background: var(--paper); border: 2px solid var(--line); position: relative; margin-top: .2rem; }
.patch__jack::before { content: ""; position: absolute; left: 9px; right: 9px; top: 12px; height: 22px; border: 2px solid var(--line); border-radius: 2px; background: var(--white); }
.patch__jack::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 10px; height: 0; margin-left: -5px; background: var(--c); border-radius: 0 0 4px 4px; transition: height .35s var(--ease); }
.led { position: absolute; right: 5px; bottom: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); animation: blink 2.4s steps(1) infinite; }
.patch__row:nth-child(2) .led { animation-delay: .7s; } .patch__row:nth-child(3) .led { animation-delay: 1.3s; } .patch__row:nth-child(4) .led { animation-delay: .3s; }
.patch__row:hover .patch__jack { border-color: var(--c); }
@keyframes blink { 0%, 62% { opacity: 1; } 63%, 70% { opacity: .2; } 71%, 100% { opacity: 1; } }
.patch__name h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: .4em; }
.patch__name p { color: var(--mute); margin: 0; max-width: 32rem; }
.patch__list { list-style: none; margin: .3rem 0 0; padding: 0; }
.patch__list li { padding: .45rem 0 .45rem 1.4rem; position: relative; border-bottom: 1px dashed var(--line); }
.patch__list li:last-child { border-bottom: 0; }
.patch__list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 2px; background: var(--c); }
.aside-line { margin-top: 2rem; color: var(--mute); }
.aside-line strong { color: var(--ink); }

/* ---------- Netzwerk ---------- */
.net { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.net__list { margin: 0; display: grid; gap: 0; }
.net__list div { padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.net__list dt { font: 600 1.08rem/1.3 var(--display); letter-spacing: -.01em; margin-bottom: .35rem; }
.net__list dd { margin: 0; color: #B6C3D8; }
.switch { margin: 0; position: sticky; top: 120px; }
.switch__body { background: linear-gradient(180deg, #2A3B5C, #1B2944); border: 1px solid #3A4D72; border-radius: 10px; padding: 1.1rem 1.1rem 1.2rem; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); transform: perspective(1200px) rotateX(8deg) rotateY(-10deg); transition: transform .6s var(--ease); }
.switch:hover .switch__body { transform: perspective(1200px) rotateX(2deg) rotateY(-3deg); }
.switch__brand { display: flex; justify-content: space-between; gap: 1rem; font: 600 .78rem/1 var(--display); color: #D0DAEA; margin-bottom: .9rem; }
.switch__brand span { font-family: var(--text); font-weight: 500; color: #8FA0BD; }
.switch__ports { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.sp { aspect-ratio: 1 / 1.05; background: #0F182A; border-radius: 3px; position: relative; border: 1px solid #304263; }
.sp::before { content: ""; position: absolute; left: 22%; right: 22%; top: 22%; height: 34%; background: #1E2B45; border-radius: 1px; }
.sp i { position: absolute; bottom: 3px; width: 5px; height: 3px; border-radius: 1px; background: #2B3A58; }
.sp i:first-child { left: 3px; } .sp i:last-child { right: 3px; }
.sp.on { border-color: color-mix(in srgb, var(--c) 60%, #304263); }
.sp.on::after { content: ""; position: absolute; left: 50%; top: -11px; width: 34%; height: 13px; margin-left: -17%; background: var(--c); border-radius: 2px 2px 0 0; opacity: .95; }
.sp.on i:first-child { background: var(--sys); box-shadow: 0 0 6px var(--sys); }
.sp.on.act i:last-child { background: #FFB547; box-shadow: 0 0 6px #FFB547; }
.switch__sfp { display: flex; gap: 6px; margin-top: 10px; justify-content: flex-end; }
.switch__sfp i { width: 13%; height: 12px; border-radius: 2px; background: #0F182A; border: 1px solid #304263; }
.switch__sfp i:nth-child(-n+2) { border-color: #5FA8FF; box-shadow: inset 0 0 0 2px #24406B; }
.switch__legend { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; margin-top: 1.4rem; font-size: .9rem; color: #B6C3D8; }
.switch__legend i { display: inline-block; width: 14px; height: 6px; border-radius: 2px; background: var(--c); margin-right: .55em; vertical-align: middle; }

/* ---------- Produkte ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: 2rem 0 5rem; }
.product--flip .product__demo { order: 2; }
.product__name { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; margin-bottom: .6em; }
.product__name span { display: block; font-size: .42em; font-weight: 400; letter-spacing: 0; color: var(--mute); margin-top: .35em; }
.product__text > p { font-size: 1.12rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.ticks li { padding: .4rem 0 .4rem 1.9rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 7px; border-left: 2px solid var(--sys); border-bottom: 2px solid var(--sys); transform: rotate(-45deg); }

/* ApoPi – Schaufenster-Display */
.apopi { position: relative; padding: 0 0 1.5rem; }
.apopi__bezel { background: #0D1526; border-radius: 18px; padding: 14px; box-shadow: 0 50px 90px -40px rgba(20,33,58,.6), 0 0 0 1px #2A3754 inset; transform: rotate(-2deg); }
.apopi__screen { background: #fff; border-radius: 6px; aspect-ratio: 16 / 10; padding: 5% 6%; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.apopi__top { display: flex; align-items: center; gap: .7rem; font: 700 clamp(1rem, 2.2vw, 1.5rem)/1 var(--display); color: #C8102E; }
.apopi__top time { margin-left: auto; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.apopi__cross { width: 1.3em; height: 1.3em; position: relative; background: #C8102E; clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); }
.apopi__date { color: var(--mute); font-size: clamp(.75rem, 1.4vw, .95rem); margin: .4em 0 .8em; }
.apopi__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; flex: 1; align-content: start; }
.apopi__list li { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; padding: .55em .75em; background: #F4F6FA; border-left: 4px solid #C8102E; border-radius: 3px; font-size: clamp(.7rem, 1.3vw, .92rem); }
.apopi__list li b { font-family: var(--display); font-weight: 600; font-size: 1.05em; }
.apopi__list li span { grid-row: 2; color: var(--mute); }
.apopi__list li em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; }
.apopi__list.swap li { animation: swapIn .6s var(--ease) both; }
.apopi__list.swap li:nth-child(2) { animation-delay: .08s; } .apopi__list.swap li:nth-child(3) { animation-delay: .16s; }
@keyframes swapIn { from { opacity: 0; transform: translateX(14px); } }
.apopi__foot { font-size: clamp(.62rem, 1.1vw, .78rem); color: var(--mute); margin: .6em 0 0; }
.apopi__pi { position: absolute; right: 8%; bottom: 0; background: var(--sys); color: #fff; font: 600 .72rem/1 var(--display); padding: .55em .8em; border-radius: 4px; transform: rotate(-2deg); box-shadow: 0 10px 20px -10px rgba(23,178,106,.9); }

/* Prüfplan – App-Ausschnitt */
.pp { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 50px 90px -40px rgba(20,33,58,.45); overflow: hidden; transform: rotate(1.5deg); }
.pp__bar { display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; padding: .8rem 1.1rem; font-size: .85rem; }
.pp__logo { font: 700 1rem/1 var(--display); letter-spacing: -.02em; }
.pp__logo::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--sys); margin-right: .5em; }
.pp__user { color: #A9B6CC; }
.pp__drop { margin: 1rem; border: 2px dashed var(--line); border-radius: 10px; padding: 1rem; position: relative; overflow: hidden; min-height: 150px; }
.pp__file { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .9rem; }
.pp__file::before { content: "PDF"; font: 700 .6rem/1 var(--display); background: var(--sec); color: #fff; padding: .45em .5em; border-radius: 3px; }
.pp__scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(23,178,106,.28), transparent); opacity: 0; }
.pp__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: 1rem 0 0; }
.pp__fields div { opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.pp__fields dt { font-size: .72rem; color: var(--mute); }
.pp__fields dd { margin: 0; font: 600 .98rem/1.2 var(--display); }
.pp__fields dd.ok { color: var(--sys); }
.pp.is-scanning .pp__scan { opacity: 1; animation: scan 1.4s var(--ease) 1; }
.pp.is-read .pp__fields div { opacity: 1; transform: none; }
.pp.is-read .pp__fields div:nth-child(2) { transition-delay: .1s; } .pp.is-read .pp__fields div:nth-child(3) { transition-delay: .2s; } .pp.is-read .pp__fields div:nth-child(4) { transition-delay: .3s; }
@keyframes scan { from { transform: translateY(-40px); } to { transform: translateY(170px); } }
.pp__list { list-style: none; margin: 0; padding: 0 1rem 1rem; }
.pp__list li { display: grid; grid-template-columns: 6.2rem 1fr auto; gap: .2rem 1rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.pp__list b { font: 600 .9rem/1 var(--display); }
.pp__list span { color: var(--mute); }
.pp__list em { font-style: normal; font-weight: 600; }
.pp__list i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--paper); position: relative; overflow: hidden; }
.pp__list i::after { content: ""; position: absolute; inset: 0; background: var(--c); transform-origin: left; transform: scaleX(var(--p)); transition: transform 1.4s var(--ease); }
.js .pp:not(.is-seen) .pp__list i::after { transform: scaleX(0); }

/* ---------- Wartung ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); }
.tier { padding: 2rem 1.6rem; border-left: 1px solid var(--line); position: relative; }
.tier:first-child { border-left: 0; }
.tier h3 { font-size: 1.25rem; margin-bottom: .3em; }
.tier__sub { color: var(--mute); font-size: .95rem; min-height: 3em; }
.tier__price { font: 700 2.1rem/1 var(--display); letter-spacing: -.04em; margin: 1.2rem 0 .3rem; }
.tier__price small { display: block; font: 500 .78rem/1.4 var(--text); letter-spacing: 0; color: var(--mute); margin-top: .35rem; }
.tier__net { font-size: .9rem; color: var(--mute); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.tier ul { list-style: none; padding: 0; margin: 1.2rem 0 0; font-size: .95rem; }
.tier li { padding: .35rem 0 .35rem 1.3rem; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 8px; border-radius: 2px; background: var(--web); }
.tier--pick { background: var(--ink); color: #fff; margin: -14px 0; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(20,33,58,.8); }
.tier--pick .tier__sub, .tier--pick .tier__net, .tier--pick .tier__price small { color: #B6C3D8; }
.tier--pick .tier__net { border-color: rgba(255,255,255,.15); }
.tier--pick li::before { background: var(--net); }
.tier--pick::before { content: "Unsere Empfehlung"; position: absolute; top: -12px; left: 1.6rem; background: var(--net); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .25em .7em; border-radius: 3px; }
.tiers__note { margin-top: 2rem; color: var(--mute); font-size: .95rem; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li { counter-increment: s; padding-right: 1.8rem; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); font: 700 1.2rem/1 var(--display); margin-bottom: 1.4rem; position: relative; transition: background .3s, color .3s; }
.steps li:hover::before { background: var(--ink); color: #fff; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--mute); }

/* ---------- Team ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.person { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start; padding-top: 2rem; border-top: 3px solid var(--c); }
.person__badge { width: 88px; height: 100px; border-radius: 10px; background: var(--ink-2); border: 2px solid var(--c); display: grid; place-items: center; font: 700 1.7rem/1 var(--display); letter-spacing: -.04em; position: relative; }
.person__badge::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 22px; height: 16px; margin-left: -11px; background: var(--c); border-radius: 0 0 5px 5px; }
.person h3 { font-size: 1.5rem; margin-bottom: .2em; }
.person__role { color: var(--net); font-weight: 600; font-size: .95rem; margin-bottom: .8em; }
.person p { color: #C4CFE0; }
.person__contact a { color: #fff; }

/* ---------- Support-Band ---------- */
.support { background: var(--net); color: var(--ink); padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.support::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(20,33,58,.06) 22px 44px); animation: stripes 3s linear infinite; }
@keyframes stripes { to { background-position: 62px 0; } }
.support__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.support h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .3em; }
.support p { max-width: 36rem; margin: 0; font-size: 1.1rem; }
.support__cta { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__dl { margin: 0; }
.contact__dl div { display: grid; grid-template-columns: 7rem 1fr; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact__dl dt { color: var(--mute); }
.contact__dl dd { margin: 0; font-weight: 600; }
.contact__dl a { text-decoration: none; }
.contact__form { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 12px; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 1.2rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.form > .btn, .form > div > .btn { justify-self: start; }
.form legend { font: 600 1.1rem/1.3 var(--display); margin-bottom: .8rem; padding: 0; }
.form__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--mute); font-size: .85em; }
.field input, .field textarea, .field select, .form select { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #C3CCDA; border-radius: var(--r); padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus, .form select:focus { outline: none; border-color: var(--web); box-shadow: 0 0 0 4px rgba(0,90,255,.18); }
.field__hint { font-size: .88rem; color: var(--mute); margin: 0; }
.field__err { font-size: .9rem; color: #B4232F; font-weight: 600; margin: 0; }
.field--err input, .field--err textarea { border-color: var(--sec); }
.form__hint { font-size: .9rem; color: var(--mute); margin: 0; }
.form__alert { background: #FDECEE; border-left: 4px solid var(--sec); padding: .9rem 1rem; border-radius: 4px; margin: 0 0 1rem; }
.form__alert--info { background: #FFF6D6; border-color: var(--net); }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .93rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--web); }
.check .field__err { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: .55rem .95rem; border: 1.5px solid #C3CCDA; border-radius: 999px; font-weight: 500; font-size: .93rem; transition: all .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--web); outline-offset: 2px; }
.prio { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.prio__opt { position: relative; cursor: pointer; }
.prio__opt input { position: absolute; opacity: 0; }
.prio__opt span { display: block; height: 100%; padding: .8rem .9rem; border: 1.5px solid #C3CCDA; border-radius: var(--r); font-size: .92rem; font-weight: 500; border-top: 4px solid var(--pc); transition: background .2s, border-color .2s; }
.prio__opt--normal { --pc: var(--sys); } .prio__opt--hoch { --pc: var(--net); } .prio__opt--kritisch { --pc: var(--sec); }
.prio__opt input:checked + span { background: color-mix(in srgb, var(--pc) 12%, white); border-color: var(--pc); }
.prio__opt input:focus-visible + span { outline: 3px solid var(--web); outline-offset: 2px; }

.drop { position: relative; border: 2px dashed #B7C2D3; border-radius: 10px; padding: 1.4rem; text-align: center; background: var(--white); transition: border-color .2s, background .2s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop p { margin: 0; }
.drop__meta { font-size: .85rem; color: var(--mute); margin-top: .3rem !important; }
.drop.is-over { border-color: var(--web); background: #EAF1FF; }
.drop__files { list-style: none; padding: 0; margin: .6rem 0 0; font-size: .9rem; font-weight: 600; }
.drop--small { padding: .9rem; }

/* ---------- Unterseiten ---------- */
.subhead { background: var(--ink); color: #fff; padding: 9rem 0 3.5rem; position: relative; overflow: hidden; }
.subhead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--web) 0 25%, var(--net) 25% 50%, var(--sec) 50% 75%, var(--sys) 75%); }
.subhead--tall { min-height: 70vh; display: flex; align-items: center; }
.subhead h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 22ch; }
.subhead p { color: #B6C3D8; max-width: 40rem; font-size: 1.12rem; }
.subhead__num { font: 500 .9rem/1 var(--display); color: var(--net) !important; margin-bottom: 1rem; }
.sub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); padding-top: 3rem; padding-bottom: 6rem; align-items: start; }
.sub-aside { position: sticky; top: 100px; background: var(--paper); border-radius: 12px; padding: 1.6rem; font-size: .95rem; }
.sub-aside h2 { font-size: 1.1rem; }
.sub-aside__note { color: var(--mute); font-size: .85rem; margin: 1rem 0 0; }
.mini-steps { padding-left: 1.2rem; margin: 0 0 1.2rem; display: grid; gap: .7rem; }
.notice { background: var(--paper); border-radius: 12px; padding: 2rem; }
.notice h2 { font-size: 1.4rem; }

.track { list-style: none; display: flex; padding: 0; margin: 2rem 0 0; max-width: 40rem; }
.track li { flex: 1; position: relative; padding-top: 1.6rem; font-size: .88rem; color: #8193B2; }
.track li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #4A5D82; background: var(--ink); z-index: 1; }
.track li::after { content: ""; position: absolute; left: 14px; right: 0; top: 6px; height: 2px; background: #33466B; }
.track li:last-child::after { display: none; }
.track li.is-done { color: #DCE4F1; }
.track li.is-done::before { background: var(--sys); border-color: var(--sys); }
.track li.is-done::after { background: var(--sys); }
.track li.is-now { color: #fff; font-weight: 600; }
.track li.is-now::before { border-color: var(--net); background: var(--net); box-shadow: 0 0 0 6px rgba(242,179,0,.2); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(242,179,0,0); } }

.thread { display: grid; gap: 1rem; margin-bottom: 2rem; }
.msg { border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.3rem; background: var(--white); }
.msg header { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; margin-bottom: .6rem; flex-wrap: wrap; }
.msg header time { color: var(--mute); }
.msg--team { border-left: 4px solid var(--web); background: #F5F8FF; }
.msg--kunde { border-left: 4px solid var(--line); }
.msg--intern { border-left: 4px solid var(--net); background: #FFFAE8; }
.msg__body { overflow-wrap: anywhere; }
.thread__sys { text-align: center; font-size: .85rem; color: var(--mute); margin: 0; }
.files { list-style: none; padding: .7rem 0 0; margin: .7rem 0 0; border-top: 1px dashed var(--line); font-size: .92rem; display: grid; gap: .3rem; }
.files a::before { content: "📎 "; }
.files small { color: var(--mute); }
.reply { background: var(--paper); padding: 1.5rem; border-radius: 12px; }
.close-form { margin-top: 1rem; }
.facts { margin: 0; display: grid; gap: .8rem; }
.facts dt { font-size: .82rem; color: var(--mute); }
.facts dd { margin: 0; font-weight: 600; }
.badge { display: inline-block; padding: .25em .65em; border-radius: 4px; font-size: .82rem; font-weight: 600; background: var(--paper); white-space: nowrap; }
.badge--offen { background: #E5EDFF; color: #1D47B8; }
.badge--in_arbeit { background: #FFF3CC; color: #7A5A00; }
.badge--wartet { background: #FDE3E5; color: #A11D2A; }
.badge--erledigt { background: #DDF5E9; color: #0C6B3E; }
.tlist { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.tlist a { display: grid; grid-template-columns: 8rem 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem .3rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.tlist a:hover { background: var(--paper); }
.tlist__num { font: 500 .85rem/1 var(--display); color: var(--mute); }
.tlist__sub { font-weight: 600; }
.tlist__date { color: var(--mute); font-size: .88rem; }
.legal h2 { font-size: 1.2rem; margin-top: 2.2rem; }
.legal__date { color: var(--mute); margin-top: 2rem; }

.flash { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(92vw, 640px); background: var(--ink); color: #fff; border-left: 5px solid var(--sys); border-radius: 8px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); padding: 1rem 0; animation: flashIn .5s var(--ease), flashOut .5s var(--ease) 6s forwards; }
.flash--err { border-color: var(--sec); }
@keyframes flashIn { from { opacity: 0; transform: translate(-50%, -16px); } }
@keyframes flashOut { to { opacity: 0; transform: translate(-50%, -16px); visibility: hidden; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #C4CFE0; padding: 0 0 2rem; }
.foot__cable { display: flex; height: 6px; }
.foot__cable i { flex: 1; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-top: 4rem; padding-bottom: 3rem; }
.foot__brand { font: 700 1.6rem/1 var(--display); color: #fff; letter-spacing: -.03em; margin-bottom: .5rem; }
.foot__claim { color: #8FA0BD; }
.foot address { font-style: normal; line-height: 1.8; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__links { list-style: none; padding: 0; margin: 0; line-height: 2; }
.foot__base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .85rem; color: #8193B2; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); flex-direction: column; align-items: flex-start; gap: 1.2rem; background: var(--ink); color: #fff; padding: 6rem 2rem 2rem; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; font-size: 1.15rem; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); box-shadow: -30px 0 60px rgba(0,0,0,.3); }
  .nav__sep { width: 100%; height: 1px; }
  .burger { display: block; z-index: 2; }
  .top.nav-open { color: #fff; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier:nth-child(3) { border-left: 0; }
  .tier:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tier--pick { margin: 0; }
}
@media (max-width: 900px) {
  .patch__row { grid-template-columns: 56px 1fr; }
  .patch__list { grid-column: 2; }
  .net, .product, .contact, .sub-grid { grid-template-columns: 1fr; }
  .product--flip .product__demo { order: 0; }
  .switch { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .people { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .sub-aside { position: static; }
  .cable-run, .port { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(20,33,58,.35) 0%, rgba(20,33,58,.85) 30%, rgba(20,33,58,.85) 75%, rgba(20,33,58,.4)); }
}
@media (max-width: 600px) {
  .form__row2, .prio { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-left: 0 !important; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .tlist a { grid-template-columns: 1fr auto; }
  .tlist__num, .tlist__date { font-size: .8rem; }
  .hero__legend { flex-wrap: wrap; gap: .6rem 1.2rem; }
  .hero__h span:nth-child(2) { padding-left: 0; }
  .switch__ports { grid-template-columns: repeat(8, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* ---------- Kundenkonto ---------- */
.who { background: var(--paper); border-left: 4px solid var(--web); border-radius: 4px; padding: .9rem 1.1rem; }
.who p { margin: 0; }
.konto-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); padding-top: 3rem; padding-bottom: 6rem; align-items: start; }
.konto-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.konto-head h2 { font-size: 1.4rem; margin: 0; }
.tlist .tlist__wait { font-size: .78rem; font-weight: 700; color: var(--sec); }
.auth { max-width: 460px; padding-top: 3rem; padding-bottom: 6rem; }
.auth__alt { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--mute); }
.subhead__actions { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.subhead .link-btn { color: #B6C3D8; }

/* Prüfplan – Tagesplan einer Prüfstelle */
.pp { position: relative; }
.pp__toast { position: absolute; right: 1rem; top: 3.4rem; z-index: 2; background: var(--ink); color: #fff; border-left: 4px solid var(--web); border-radius: 8px; padding: .65rem .9rem; font-size: .82rem; display: grid; gap: .15rem; box-shadow: 0 18px 30px -14px rgba(20,33,58,.6); opacity: 0; transform: translateY(-10px) scale(.96); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.pp__toast b { font-family: var(--display); font-weight: 600; font-size: .85rem; }
.pp__toast span { color: #B6C3D8; }
.pp.is-scanning .pp__toast { opacity: 1; transform: none; }
.pp__day { list-style: none; margin: 0; padding: .6rem 1rem 1rem; }
.pp__day li { display: grid; grid-template-columns: 3.4rem 1fr auto; grid-template-rows: auto auto; column-gap: 1rem; align-items: center; padding: .7rem .8rem; margin-top: .45rem; border-radius: 8px; background: var(--paper); border-left: 4px solid var(--line); font-size: .9rem; transition: background .5s, border-color .5s; }
.pp__day time { grid-row: 1 / 3; font: 600 .95rem/1 var(--display); font-variant-numeric: tabular-nums; }
.pp__day b { font: 600 .92rem/1.25 var(--display); }
.pp__day span { grid-column: 2; color: var(--mute); font-size: .85rem; }
.pp__day em { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-size: .78rem; font-weight: 600; padding: .25em .6em; border-radius: 4px; background: #fff; }
.pp__day .is-done { border-color: var(--sys); }
.pp__day .is-done em { color: #0C6B3E; background: #DDF5E9; }
.pp__day .is-now { border-color: var(--net); }
.pp__day .is-now em { color: #7A5A00; background: #FFF3CC; }
.pp__day .is-free { background: #fff; border: 1.5px dashed #B7C2D3; border-left-width: 4px; }
.pp__free { color: var(--mute); font-weight: 500 !important; }
.pp__new { display: none; }
.pp.is-read .pp__day .is-free { background: #EAF1FF; border-style: solid; border-color: var(--web); animation: slotIn .6s var(--ease); }
.pp.is-read .pp__free { display: none; }
.pp.is-read .pp__new { display: block; }
.pp.is-read em.pp__new { color: var(--web); }
@keyframes slotIn { from { transform: scale(.97); } }

/* Leistungen kurz als Schlagworte */
.patch__row { align-items: center; }
.patch__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.patch__tags li { padding: .45rem .85rem; border-radius: 999px; background: var(--paper); font-weight: 500; font-size: .95rem; border: 1px solid transparent; transition: border-color .2s; }
.patch__row:hover .patch__tags li { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.net__list { list-style: none; padding: 0; margin: 0; }
.net__list li { padding: 1rem 0 1rem 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font: 600 1.1rem/1.3 var(--display); letter-spacing: -.01em; position: relative; }
.net__list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 10px; height: 10px; border-radius: 2px; background: var(--net); }

/* Netzplan – IP-Plan */
.np { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 50px 90px -40px rgba(20,33,58,.45); overflow: hidden; transform: rotate(-1.5deg); position: relative; }
.np__logo::before { background: var(--net) !important; }
.np__tabs { display: flex; gap: .3rem; padding: .8rem 1rem 0; font-size: .8rem; }
.np__tabs span { padding: .35rem .7rem; border-radius: 6px; color: var(--mute); }
.np__tabs .is-on { background: var(--paper); color: var(--ink); font-weight: 600; }
.np__grid { list-style: none; margin: 0; padding: .8rem 1rem; display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.np__ip { aspect-ratio: 1; border-radius: 4px; background: var(--paper); color: #A3AFC2; font: 500 .6rem/1 var(--text); display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s; }
.np__ip[data-ip] { color: #fff; font-weight: 700; }
.np__ip--router, .np__ip--switch { background: var(--net); --k: var(--net); }
.np__ip--server, .np__ip--nas { background: var(--sys); --k: var(--sys); }
.np__ip--ap { background: #7C5CFF; --k: #7C5CFF; }
.np__ip--pc { background: var(--web); --k: var(--web); }
.np__ip--printer { background: #00A3B4; --k: #00A3B4; }
.np__ip--cam { background: var(--sec); --k: var(--sec); }
.np__ip--phone { background: var(--ink-3); --k: var(--ink-3); }
.np__ip.is-pick { transform: scale(1.35); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--k); z-index: 1; position: relative; }
.np__card { margin: 0 1rem; padding: .7rem .9rem; border-radius: 8px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; font-size: .85rem; transition: opacity .2s; }
.np__card b { font: 600 .92rem/1.3 var(--display); }
.np__card span { grid-column: 2; grid-row: 1 / 3; align-self: center; font-variant-numeric: tabular-nums; color: #B6C3D8; }
.np__card em { font-style: normal; color: #B6C3D8; }
.np__card.is-swap { opacity: 0; }
.np__legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .9rem; padding: .8rem 1rem 1rem; margin: 0; font-size: .75rem; color: var(--mute); }
.np__legend li { background: none !important; display: flex; align-items: center; gap: .35rem; }
.np__legend li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--k); }

/* Screenpilot – Infoscreen */
.ls { position: relative; }
.ls__screen { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 12px; border: 10px solid #0D1526; box-shadow: 0 50px 90px -40px rgba(20,33,58,.6); overflow: hidden; transform: rotate(1.5deg); }
.ls__screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 85% 0%, rgba(0,90,255,.35), transparent 60%); pointer-events: none; }
.ls__slide { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; justify-content: center; color: #fff; opacity: 0; transform: translateX(24px); transition: opacity .7s, transform .7s var(--ease); }
.ls__slide.is-on { opacity: 1; transform: none; }
.ls__kicker { font: 500 clamp(.7rem, 1.3vw, .95rem)/1 var(--text); color: var(--net); margin-bottom: .8em; }
.ls__big { font: 700 clamp(1.5rem, 3.6vw, 2.8rem)/1 var(--display); letter-spacing: -.03em; margin: 0 0 .4em; }
.ls__small { color: #B6C3D8; font-size: clamp(.7rem, 1.2vw, .9rem); margin: 0; }
.ls__slide--offer .ls__big { color: var(--net); font-size: clamp(2.2rem, 6vw, 4.6rem); }
.ls__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; font-size: clamp(.75rem, 1.35vw, 1rem); }
.ls__list li { display: flex; gap: 1em; padding-bottom: .55em; border-bottom: 1px solid rgba(255,255,255,.12); }
.ls__list time { font: 600 1em/1.2 var(--display); color: var(--net); min-width: 3.5em; }
.ls__touch { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); left: 72%; top: 64%; opacity: 0; pointer-events: none; }
.ls.is-tap .ls__touch { animation: tap .8s var(--ease); }
@keyframes tap { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
.ls__foot { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; font-size: .8rem; color: var(--mute); flex-wrap: wrap; }
.ls__dev { display: inline-flex; align-items: center; gap: .4rem; }
.ls__dev i { width: 8px; height: 8px; border-radius: 50%; background: var(--sys); box-shadow: 0 0 6px var(--sys); }
.ls__bar { flex: 1; min-width: 80px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.ls__bar i { display: block; height: 100%; width: 0; background: var(--web); }
.ls__bar i.run { width: 100%; transition: width 5s linear; }

/* ---------- Websites: Live-Editor ---------- */
.wd { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.wd__code { background: var(--ink); color: #D3DCEB; border-radius: 12px; box-shadow: 0 40px 80px -40px rgba(20,33,58,.7); overflow: hidden; }
.wd__bar { display: flex; align-items: center; gap: 6px; padding: .7rem .9rem; background: #0F1A2E; font-size: .78rem; color: #8FA0BD; }
.wd__bar i { width: 10px; height: 10px; border-radius: 50%; background: #34456A; }
.wd__bar i:nth-child(1) { background: var(--sec); } .wd__bar i:nth-child(2) { background: var(--net); } .wd__bar i:nth-child(3) { background: var(--sys); }
.wd__bar span { margin-left: .6rem; }
.wd__pre { margin: 0; padding: 1.1rem 1.2rem 1.3rem; font: 500 clamp(.74rem, 1vw, .9rem)/1.75 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.wd__pre .c { color: #6F82A6; } .wd__pre .t { color: #7FB0FF; } .wd__pre .k { color: #F2B300; }
.wd__edit { color: #fff; background: rgba(255,255,255,.06); border-bottom: 1px dashed #5E7398; padding: 0 .15em; border-radius: 2px; outline: none; cursor: text; transition: background .2s; }
.wd__edit:hover, .wd__edit:focus { background: rgba(0,90,255,.28); border-bottom-color: #7FB0FF; }
.wd__edit.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -.15em; background: #fff; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.wd__colors { display: inline-flex; gap: .35rem; vertical-align: middle; }
.wd__colors button { width: 18px; height: 18px; border-radius: 4px; border: 2px solid transparent; background: var(--sw); cursor: pointer; padding: 0; }
.wd__colors button.is-on { border-color: #fff; box-shadow: 0 0 0 2px var(--sw); }

.wd__devices { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: end; min-height: 380px; }
.wd__dev { position: relative; }
.wd__screen { position: relative; overflow: hidden; background: #fff; }
.wd__screen > .ms { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.wd__dev--laptop { grid-column: 1 / 3; grid-row: 1; margin: 0 8% 0 0; }
.wd__dev--laptop .wd__screen { aspect-ratio: 16 / 10; border: 10px solid #1B2638; border-bottom-width: 14px; border-radius: 12px 12px 0 0; }
.wd__base { display: block; height: 12px; margin: 0 -5%; background: linear-gradient(#C9D2DF, #A3AFC2); border-radius: 0 0 14px 14px; box-shadow: 0 30px 40px -25px rgba(20,33,58,.6); }
.wd__dev--tablet { position: absolute; right: 9%; bottom: -14%; width: 30%; z-index: 2; }
.wd__dev--tablet .wd__screen { aspect-ratio: 3 / 4; border: 8px solid #1B2638; border-radius: 16px; box-shadow: 0 30px 50px -25px rgba(20,33,58,.7); }
.wd__dev--phone { position: absolute; right: -2%; bottom: -18%; width: 15%; z-index: 3; }
.wd__dev--phone .wd__screen { aspect-ratio: 9 / 19; border: 6px solid #1B2638; border-radius: 18px; box-shadow: 0 30px 50px -20px rgba(20,33,58,.8); }

.wd__points { list-style: none; padding: 0; margin: clamp(4rem, 8vw, 6rem) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.wd__points li { padding-top: 1rem; border-top: 3px solid var(--web); font-weight: 500; }
.wd__more { margin-top: 2rem; color: var(--mute); }
.wd__more a { color: var(--web); font-weight: 600; }

/* Beispielseite in den Geräten */
.ms { --a: #005AFF; container-type: inline-size; container-name: ms; background: #fff; color: #14213A; font-family: var(--text); }
.ms__nav { display: flex; align-items: center; gap: 2rem; padding: 26px 48px; border-bottom: 1px solid #E3E8EF; font-size: 20px; }
.ms__nav b { font: 700 26px/1 var(--display); letter-spacing: -.02em; color: var(--a); transition: color .4s; }
.ms__links { margin-left: auto; display: flex; gap: 32px; color: #5A6A85; }
.ms__links i { font-style: normal; }
.ms__burger { display: none; margin-left: auto; width: 34px; height: 22px; border-top: 4px solid #14213A; border-bottom: 4px solid #14213A; position: relative; }
.ms__burger::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 4px; background: #14213A; }
.ms__hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 64px 48px; }
.ms__kick { color: var(--a); font-weight: 600; font-size: 20px; margin: 0 0 12px; transition: color .4s; }
.ms__h { font: 700 64px/1.02 var(--display); letter-spacing: -.035em; margin: 0 0 20px; overflow-wrap: anywhere; }
.ms__p { font-size: 22px; color: #5A6A85; margin: 0 0 28px; }
.ms__btn { display: inline-block; background: var(--a); color: #fff; font-weight: 600; font-size: 20px; padding: 16px 30px; border-radius: 999px; transition: background .4s; }
.ms__img { aspect-ratio: 4 / 3; border-radius: 20px; background: linear-gradient(135deg, var(--a), color-mix(in srgb, var(--a) 35%, #fff)); position: relative; overflow: hidden; transition: background .4s; }
.ms__img::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -10%; bottom: -20%; background: rgba(255,255,255,.25); }
.ms__img::after { content: ""; position: absolute; left: 10%; top: 14%; width: 40%; height: 12%; border-radius: 8px; background: rgba(255,255,255,.6); }
.ms__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 48px 64px; }
.ms__cards div { border: 1px solid #E3E8EF; border-radius: 16px; padding: 26px; display: grid; gap: 12px; }
.ms__cards i { width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--a) 15%, #fff); border: 2px solid var(--a); transition: border-color .4s, background .4s; }
.ms__cards b { font: 600 22px/1.2 var(--display); }
.ms__cards span { height: 10px; border-radius: 5px; background: #EDF1F6; }
.ms__cards span:last-child { width: 70%; }
@container ms (max-width: 800px) {
  .ms__links { display: none; } .ms__burger { display: block; }
  .ms__hero { grid-template-columns: 1fr; padding: 44px 32px; }
  .ms__img { order: -1; aspect-ratio: 16 / 9; }
  .ms__cards { grid-template-columns: 1fr; padding: 0 32px 48px; }
  .ms__nav { padding: 22px 32px; }
}
@container ms (max-width: 420px) {
  .ms__h { font-size: 46px; }
  .ms__hero { padding: 32px 24px; gap: 28px; }
  .ms__cards { padding: 0 24px 40px; }
  .ms__nav { padding: 20px 24px; }
}

@media (max-width: 900px) {
  .wd { grid-template-columns: 1fr; }
  .wd__devices { margin-bottom: 4rem; }
  .wd__points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .wd__points { grid-template-columns: 1fr; } }

/* =========================================================
   Feinschliff Tablet & Handy – greift nur unterhalb der PC-Breite
   ========================================================= */
@media (max-width: 900px) {
  .patch__tags { grid-column: 2; }
  .konto-grid { grid-template-columns: 1fr; }
  .product > *, .net > *, .contact > *, .wd > *, .sub-grid > *, .konto-grid > * { min-width: 0; }
  .product { padding-bottom: 4rem; }
  .product__demo { max-width: 620px; }
}
@media (max-width: 600px) {
  .patch__row { grid-template-columns: 1fr; gap: .9rem; padding: 1.6rem 0; }
  .patch__jack { display: none; }
  .patch__tags { grid-column: 1; gap: .4rem; }
  .patch__tags li { white-space: nowrap; font-size: .88rem; padding: .4rem .75rem; }
  .patch__name h3 { font-size: 1.35rem; }
  .sec__head h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .product__name { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  /* schräge Vorschauen gerade stellen, damit nichts über den Rand ragt */
  .pp, .np, .apopi__bezel, .ls__screen, .switch__body { transform: none; }
  .switch:hover .switch__body { transform: none; }
  .pp__bar, .np .pp__bar { flex-wrap: wrap; gap: .2rem .8rem; font-size: .78rem; }
  .pp__day { padding: .5rem .7rem .8rem; }
  .pp__day li { grid-template-columns: 2.8rem minmax(0, 1fr) auto; column-gap: .6rem; padding: .6rem .6rem; font-size: .82rem; }
  .pp__day b { font-size: .84rem; }
  .pp__day em { font-size: .7rem; }
  .pp__toast { right: .5rem; left: .5rem; top: 3rem; }
  .np__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); padding: .7rem; }
  .np__tabs { padding: .7rem .7rem 0; flex-wrap: wrap; }
  .np__card { margin: 0 .7rem; }
  .np__legend { padding: .7rem; }
  .wd__devices { min-height: 0; }
  .wd__pre { font-size: .74rem; padding: .9rem; }
  .ls__foot { gap: .6rem; }
  .tiers { border-width: 1.5px; }
  .tier { padding: 1.6rem 1.3rem; }
  .people { gap: 2.5rem; }
  .support__cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero__cta .btn { justify-content: center; }
  .contact__dl div { grid-template-columns: 5.5rem 1fr; }
  .tlist a { padding: .9rem .2rem; gap: .5rem; }
  .subhead { padding: 7rem 0 2.5rem; }
}
@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .hero__h { font-size: 2.35rem; }
  .btn { padding: .85em 1.2em; }
  .logo__img { height: 38px; }
  .pp__day li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .pp__day em { display: none; }
  .tier__price { font-size: 1.8rem; }
  .form__row2 { grid-template-columns: 1fr; }
}

/* ---------- Logo als Markenzeichen im Startbereich ----------
   Weißes Logo groß rechts; durch das ausgesparte „&“ sieht man das Netzwerk.
   Ein Lichtstreifen läuft ab und zu nur über die Buchstaben. */
.hero__brand { position: absolute; right: calc(max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) + 12vw); bottom: 11%; width: clamp(170px, 17vw, 290px); aspect-ratio: 720 / 445; z-index: 0; pointer-events: none; filter: drop-shadow(0 0 38px rgba(0,90,255,.45)); }
.hero__logo { width: 100%; height: 100%;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  background: linear-gradient(105deg, #fff 0 42%, #8DB8FF 48%, #fff 54%, #fff 100%) 120% 0 / 300% 100% no-repeat, #fff;
  opacity: .96; }
.js .hero__brand { opacity: 0; transform: translateY(18px) scale(.97); animation: brandIn 1.1s var(--ease) .55s forwards; }
.js .hero__logo { animation: shine 7s ease-in-out 2.2s infinite; }
@keyframes brandIn { to { opacity: 1; transform: none; } }
@keyframes shine { 0% { background-position: 120% 0, 0 0; } 22%, 100% { background-position: -20% 0, 0 0; } }
.hero__in { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero__brand { position: relative; right: auto; bottom: auto; width: min(42%, 190px); margin: 0 var(--gutter) 1.5rem; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .hero__logo { animation: none !important; } .hero__brand { opacity: 1 !important; transform: none !important; } }

/* ---------- Handy & Tablet: Menü lesbar, Netzwerk sichtbarer, Name vor dem Bild ---------- */
@media (max-width: 1080px) {
  /* Unschärfe-Effekt der Kopfleiste würde das aufgeklappte Menü abschneiden */
  .top.nav-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); box-shadow: none; }
  .nav { background: var(--ink); }
}
@media (max-width: 900px) {
  .hero__brand { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(20,33,58,.15) 0%, rgba(20,33,58,.5) 35%, rgba(20,33,58,.55) 70%, rgba(20,33,58,.2)); }
  .hero__lead { text-shadow: 0 1px 12px rgba(20,33,58,.9); }
  .hero__h { text-shadow: 0 2px 24px rgba(20,33,58,.6); }
  /* Lösungen: erst der Name, dann das Bild, dann der Text */
  .product { display: flex; flex-direction: column; align-items: stretch; gap: 1.4rem; }
  .product__text { display: contents; }
  .product__name { order: 1; margin-bottom: 0; }
  .product .product__demo { order: 2; width: 100%; }
  .product__text > :not(.product__name) { order: 3; }
  .product__text > p { margin: 0; }
  .product .ticks { margin: 0; }
  .product .btn { align-self: flex-start; }
}
