/* CMM Computer – Business IT · Neubau 2026-11-15
   Keine externen Ressourcen. Systemschriften. Akzent: CMM-Blau #1595E7. */

:root {
  --bg: #05080e;
  --bg-2: #0a1019;
  --bg-3: #101826;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #eef2f7;
  --mute: #a3b1c2;
  --blue: #1595e7;
  --blue-ink: #03101c;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: var(--blue-ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--blue); color: var(--blue-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Kopf ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 14, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand b { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: .01em; line-height: 1.15; }
.brand span span { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); line-height: 1.3; }

.nav-toggle { display: none; }
.nav-btn { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(10px, 1.9vw, 26px); }
.nav a { text-decoration: none; font-size: .95rem; color: var(--mute); padding: 8px 0; display: block; position: relative; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); }
.nav a.cta { color: var(--blue-ink); background: var(--blue); padding: 9px 18px; border-radius: 999px; font-weight: 650; }
.nav a.cta::after { display: none; }
.nav a.cta:hover { background: #3aa7ee; color: var(--blue-ink); }

@media (max-width: 940px) {
  .nav-btn {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .95rem; font-weight: 600;
  }
  .nav-btn i { width: 16px; height: 10px; border-top: 2px solid var(--text); border-bottom: 2px solid var(--text); display: block; }
  .nav-toggle { display: block; position: absolute; opacity: 0; pointer-events: none; }
  .nav-toggle:focus-visible + .nav-btn { outline: 2px solid #fff; outline-offset: 3px; }
  .nav { display: none; flex-basis: 100%; padding: 4px 0 22px; }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--blue); }
  .nav a.cta { margin-top: 18px; text-align: center; border-bottom: 0; padding: 14px; }
}

/* ---------- Bausteine ---------- */
.eyebrow { font: 600 .78rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 650 1rem/1 var(--font); padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--blue); color: var(--blue-ink); transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: #3aa7ee; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--blue); background: rgba(21, 149, 231, .08); }
.arrow::after { content: "→"; display: inline-block; margin-left: .45em; transition: transform .2s; }
a:hover > .arrow::after, a.arrow:hover::after { transform: translateX(4px); }
.textlink { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; font-weight: 600; }
.textlink:hover { color: var(--blue); }

/* ---------- Startseite ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(72px, 13vw, 170px) 0 clamp(56px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 70% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 75% 85% at 70% 20%, #000 0%, transparent 70%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  right: -12vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(21, 149, 231, .34), rgba(21, 149, 231, .08) 55%, transparent 72%);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-5vw, 4vw, 0) scale(1.08); } }
.hero h1 {
  font-size: clamp(3.6rem, 15.5vw, 12rem); line-height: .92; letter-spacing: -.045em; font-weight: 750;
  margin: 22px 0 0 -.04em;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 38ch; font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.4; color: var(--text); margin-top: clamp(28px, 4vw, 48px); }
.hero .lead span { color: var(--mute); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }

.five { border-top: 1px solid var(--line); }
.five li { border-bottom: 1px solid var(--line); }
.five a {
  display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 12px; row-gap: 4px; align-items: baseline;
  padding: clamp(22px, 3.4vw, 40px) 0; text-decoration: none; position: relative; transition: padding .25s, background .25s;
}
.five .n { font: 600 .9rem/1 var(--mono); color: var(--blue); letter-spacing: .08em; }
.five h2 { font-size: clamp(1.7rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; transition: color .2s; }
.five p { grid-column: 2; color: var(--mute); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 46ch; }
.five a:hover h2 { color: var(--blue); }
@media (min-width: 860px) {
  .five a { grid-template-columns: 5rem minmax(0, 1.15fr) minmax(0, 1fr) 2rem; column-gap: 28px; align-items: center; }
  .five p { grid-column: auto; }
  .five a::after { content: "→"; font-size: 1.6rem; color: var(--mute); transition: transform .25s, color .25s; }
  .five a:hover::after { transform: translateX(8px); color: var(--blue); }
  .five a:hover { padding-left: 14px; }
}

.sec { padding: clamp(64px, 10vw, 130px) 0; }
.sec.tight { padding-top: 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); letter-spacing: -.025em; line-height: 1.1; font-weight: 700; }

.voices { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.voice-main { border-left: 3px solid var(--blue); padding-left: clamp(20px, 4vw, 52px); }
.voice-main blockquote p { font-size: clamp(1.5rem, 3.7vw, 2.9rem); line-height: 1.22; letter-spacing: -.022em; font-weight: 600; max-width: 30ch; text-wrap: balance; }
.voice-main figcaption, .voice figcaption { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.voice-main figcaption b { font-size: 1.2rem; }
figcaption span { color: var(--mute); }
.voice-rest { display: grid; gap: 20px; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 760px) { .voice-rest { grid-template-columns: 1fr 1fr; } }
.voice { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); background: rgba(255, 255, 255, .02); display: flex; flex-direction: column; justify-content: space-between; }
.voice blockquote p { font-size: 1.1rem; line-height: 1.55; }
.voice figcaption { margin-top: 22px; }

.appstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2.4vw, 28px); }
@media (min-width: 860px) { .appstrip { grid-template-columns: repeat(6, 1fr); } }
.appstrip a { text-decoration: none; text-align: center; font-size: .92rem; font-weight: 600; color: var(--mute); transition: color .2s, transform .25s; display: block; }
.appstrip img { width: 100%; aspect-ratio: 1; border-radius: 22%; margin-bottom: 12px; transition: transform .25s; }
.appstrip a:hover { color: var(--text); }
.appstrip a:hover img { transform: translateY(-4px) scale(1.02); }
.note { color: var(--mute); font-size: .95rem; margin-top: 26px; }

.linkrows { border-top: 1px solid var(--line); }
.linkrows li { border-bottom: 1px solid var(--line); }
.linkrows a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 0; text-decoration: none; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; transition: color .2s, padding .2s; }
.linkrows a::after { content: "→"; color: var(--mute); transition: transform .2s, color .2s; }
.linkrows a:hover { color: var(--blue); padding-left: 8px; }
.linkrows a:hover::after { color: var(--blue); transform: translateX(4px); }

/* ---------- Unterseiten ---------- */
.page-head { padding: clamp(48px, 8vw, 104px) 0 clamp(36px, 5vw, 64px); position: relative; isolation: isolate; }
.page-head::after {
  content: ""; position: absolute; z-index: -1; right: -10vw; top: -30vw; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(21, 149, 231, .2), transparent 70%); pointer-events: none;
}
.page-head h1 { font-size: clamp(2.3rem, 7vw, 5rem); line-height: 1; letter-spacing: -.038em; font-weight: 750; margin-top: 18px; max-width: 16ch; text-wrap: balance; }
.page-head .lead { font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.45; max-width: 44ch; margin-top: clamp(20px, 3vw, 32px); color: var(--text); }
.page-head.side .wrap { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .page-head.side .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(21, 149, 231, .35), 0 10px 30px rgba(0, 0, 0, .5); background: var(--bg-2); }
.shot img { width: 100%; }
.wide-shot { padding-bottom: clamp(20px, 4vw, 48px); }

.block { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 80px) 0; }
.block .wrap { display: grid; gap: clamp(18px, 3vw, 40px); }
@media (min-width: 900px) { .block .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.block h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.block .body > * + * { margin-top: 22px; }
.block .body p { max-width: 62ch; color: #d5dde7; }
.block .body p.big { font-size: clamp(1.15rem, 1.9vw, 1.35rem); line-height: 1.5; color: var(--text); }
.block .shot { margin-top: 30px; }

.rows { border-top: 1px solid var(--line); columns: 1; column-gap: 40px; }
@media (min-width: 640px) { .rows.two { columns: 2; } }
.rows li { break-inside: avoid; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.rows li::before { content: ""; position: absolute; left: 2px; top: 1.32em; width: 10px; height: 2px; background: var(--blue); }
.rows li span { color: var(--mute); font-weight: 400; }

.steps { counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font: 600 .9rem/1.9 var(--mono); color: var(--blue); }
.steps b { font-size: 1.3rem; letter-spacing: -.01em; }
.steps span { grid-column: 2; color: var(--mute); }
@media (min-width: 700px) { .steps li { grid-template-columns: 3rem 11rem 1fr; align-items: baseline; } .steps span { grid-column: auto; } }

.pairs { border-top: 1px solid var(--line); }
.pairs div { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .pairs div { grid-template-columns: 13rem 1fr; } }
.pairs dt { font-weight: 650; }
.pairs dd { color: var(--mute); }

.callout { border-left: 3px solid var(--blue); background: rgba(21, 149, 231, .08); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout b { display: block; margin-bottom: 4px; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 600 .82rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--blue); color: var(--text); padding: 10px 16px; border-radius: 999px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.dl { display: grid; gap: 16px; }
@media (min-width: 700px) { .dl { grid-template-columns: 1fr 1fr; } }
.dl a { display: block; text-decoration: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; background: var(--bg-2); transition: border-color .2s, transform .2s; }
.dl a:hover { border-color: var(--blue); transform: translateY(-2px); }
.dl small { font: 600 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.dl b { display: block; font-size: 1.25rem; margin: 10px 0 6px; }
.dl span { color: var(--mute); display: block; }

table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 650; font-size: 1.1rem; padding-bottom: 10px; }
th, td { text-align: left; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); }
th { font: 600 .74rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
td:last-child, th:last-child { text-align: right; padding-right: 0; font-weight: 650; white-space: nowrap; }
table + table { margin-top: 40px; }

/* Apps */
.app { border-top: 1px solid var(--line); padding: clamp(40px, 7vw, 96px) 0; }
.app .wrap { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (min-width: 860px) {
  .app .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .app:nth-of-type(even) .shot { order: 2; }
}
.app h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.035em; line-height: 1; margin: 12px 0 18px; }
.app .txt > p { color: #d5dde7; max-width: 54ch; }
.app .rows { margin-top: 24px; }
.app .small { font-size: .95rem; color: var(--mute); margin-top: 20px; }
.appnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.appnav a { text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 600; transition: border-color .2s, color .2s; }
.appnav a:hover { border-color: var(--blue); color: var(--blue); }

/* Kontakt */
.contact-grid { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.facts > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts > div:first-child { border-top: 1px solid var(--line); }
.facts dt { font: 600 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.facts dd { font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 650; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: anywhere; }
.facts dd a { text-decoration: none; }
.facts dd a:hover { color: var(--blue); }
.facts dd small { display: block; font-size: 1rem; font-weight: 400; color: var(--mute); letter-spacing: 0; }
form { display: grid; gap: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 36px); }
.f2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .f2 { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--mute); }
input, select, textarea {
  font: 400 1rem/1.4 var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
form .hint { font-size: .9rem; color: var(--mute); }
form .btn { justify-self: start; border: 0; }

.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.map .consent { padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; justify-items: start; }
.map .consent p { color: var(--mute); max-width: 70ch; }
.map iframe { width: 100%; height: min(60vh, 460px); border: 0; display: block; }
.map .bar { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.map button.link { background: none; border: 0; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px 0; }
.maplinks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
[hidden] { display: none !important; }

.team { display: grid; gap: 16px; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
.team li { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: rgba(255, 255, 255, .02); }
.team b { display: block; font-size: 1.25rem; }
.team span { color: var(--mute); }
.team i { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(21, 149, 231, .14); border: 1px solid rgba(21, 149, 231, .5); color: var(--text); font: 600 1rem/1 var(--mono); font-style: normal; margin-bottom: 18px; }

/* Rechtstexte */
.legal { padding-bottom: clamp(56px, 8vw, 100px); }
.legal .wrap { max-width: calc(820px + 2 * var(--pad)); }
.legal h2 { display: none; }
.legal h3 { font-size: 1.25rem; margin: 40px 0 10px; letter-spacing: -.01em; }
.legal p, .legal ul, .legal .contact-block { margin: 10px 0; color: #d5dde7; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal .contact-block { border-left: 3px solid var(--blue); padding: 6px 0 6px 18px; }

/* Weiter + Fuß */
.next { border-top: 1px solid var(--line); }
.next a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; text-decoration: none; padding: clamp(28px, 5vw, 56px) 0; transition: color .2s; }
.next small { display: block; font: 600 .78rem/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.next b { font-size: clamp(1.6rem, 4.4vw, 3rem); letter-spacing: -.03em; line-height: 1.05; }
.next a > span:last-child { font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--blue); transition: transform .25s; }
.next a:hover { color: var(--blue); }
.next a:hover > span:last-child { transform: translateX(8px); }

.closing { border-top: 1px solid var(--line); background: radial-gradient(ellipse 80% 120% at 50% 120%, rgba(21, 149, 231, .22), transparent 70%); padding: clamp(64px, 10vw, 130px) 0; text-align: center; }
.closing h2 { font-size: clamp(2rem, 6vw, 4.2rem); letter-spacing: -.035em; line-height: 1.02; font-weight: 750; margin-bottom: 30px; text-wrap: balance; }

.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: .95rem; color: var(--mute); }
.foot .wrap { display: grid; gap: 28px; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot a { text-decoration: none; padding: 4px 0; display: inline-block; }
.foot a:hover { color: var(--text); }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1fr auto; align-items: center; } .foot .legalnav { justify-self: end; } .foot .copy { justify-self: end; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .top, .closing, .next { display: none; }
  body { background: #fff; color: #000; }
}


/* Bilderreihen zum Anklicken (Lightbox) */
.pics-sec { padding: 0 0 clamp(36px, 6vw, 80px); }
.pics-sec h2 { margin-bottom: 20px; }
.pic-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pic-grid.n1 { grid-template-columns: minmax(0, 560px); }
.pic { margin: 0; }
.pic-btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--bg-2); box-shadow: 0 24px 60px -28px rgba(21, 149, 231, .45), 0 8px 24px rgba(0, 0, 0, .5); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.pic-btn img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.pic-btn:hover, .pic-btn:focus-visible { transform: translateY(-5px); border-color: rgba(21, 149, 231, .7); box-shadow: 0 34px 80px -26px rgba(21, 149, 231, .6), 0 12px 30px rgba(0, 0, 0, .55); }
.pic-btn:hover img { transform: scale(1.04); }
.pic-hint { position: absolute; right: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; background: rgba(5, 8, 16, .72); border: 1px solid rgba(255, 255, 255, .18); color: #eaf1fa; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; backdrop-filter: blur(6px); }
.pic-btn:hover .pic-hint, .pic-btn:focus-visible .pic-hint { opacity: 1; transform: none; }
.pic figcaption { margin-top: 10px; font-size: 14px; color: var(--muted, #8fa1b8); }
.lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 24px; background: rgba(2, 4, 10, .92); backdrop-filter: blur(8px); }
.lb.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb img { max-width: min(1400px, 94vw); max-height: 78vh; border-radius: 14px; box-shadow: 0 40px 120px rgba(21, 149, 231, .35); }
.lb p { color: #eaf1fa; font-size: 17px; }
.lb button { position: absolute; top: 18px; right: 22px; font-size: 34px; line-height: 1; background: none; border: 0; color: #eaf1fa; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pic-btn, .pic-btn img, .lb.open { transition: none; animation: none; } }

/* Galeriekacheln behalten eine gemeinsame Größe; vollständige Grafik bleibt sichtbar. */
.pic-btn { aspect-ratio: 16 / 9; }
.pic-btn img { width: 100%; height: 100%; object-fit: contain; }
