/* Reutinger Digital – Website-Prototyp
   Farben, Schrift und Maße nach Website- und CI-Briefing (28.09.2026). */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  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 {
  --rd-bg: #101619;
  --rd-surface: #1b2429;
  --rd-surface-2: #222d33;
  --rd-text: #ffffff;
  --rd-muted: #b7c2c8;
  --rd-accent: #b6f000;
  --rd-accent-hover: #a3d600;
  --rd-border: #74858f;
  --rd-line: #2c3940;
  --rd-error: #ff8f7a;

  --font: "Manrope", system-ui, sans-serif;
  --max: 1200px;
  --gutter: 24px;
  --section: 96px;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 200ms;

  color-scheme: dark;
}

@media (max-width: 700px) {
  :root { --gutter: 20px; --section: 56px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--rd-bg);
  color: var(--rd-text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (max-width: 700px) { body { font-size: 16px; } }

::selection { background: var(--rd-accent); color: var(--rd-bg); }
html { scrollbar-color: var(--rd-border) var(--rd-bg); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2vw, 24px); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration-color: var(--rd-accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
a:hover { color: var(--rd-accent); }

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

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.muted { color: var(--rd-muted); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--rd-muted); max-width: 62ch; }
.small { font-size: 14px; line-height: 1.45; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--rd-accent); color: var(--rd-bg); padding: 12px 16px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }
.skip:hover { color: var(--rd-bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font: 600 16px/1.3 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--rd-accent); color: var(--rd-bg); }
.btn-primary:hover { background: var(--rd-accent-hover); color: var(--rd-bg); }
.btn-secondary { background: transparent; color: var(--rd-text); border-color: var(--rd-border); }
.btn-secondary:hover { border-color: var(--rd-text); color: var(--rd-text); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(16 22 25 / 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rd-line); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rd-text); flex: none; }
.brand:hover { color: var(--rd-text); }
.brand img { width: 40px; height: auto; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand-word span { font-weight: 600; font-size: 9.5px; letter-spacing: 0.72em; margin-top: 4px; padding-left: 0.1em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a:not(.btn) { font-weight: 600; font-size: 16px; text-decoration: none; color: var(--rd-muted); padding: 6px 0; position: relative; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--rd-text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--rd-accent); border-radius: 2px; }

.nav-toggle {
  display: none; margin-left: auto;
  min-height: 48px; min-width: 48px; padding: 0 14px;
  background: transparent; color: var(--rd-text);
  border: 1.5px solid var(--rd-border); border-radius: var(--radius);
  font: 600 16px var(--font); cursor: pointer; align-items: center; gap: 10px;
}
.nav-toggle .bars { width: 18px; height: 12px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars span { top: 5px; } .nav-toggle .bars::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 16px var(--gutter) 28px;
    background: var(--rd-bg); border-bottom: 1px solid var(--rd-line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 14px 0; font-size: 20px; color: var(--rd-text); border-bottom: 1px solid var(--rd-line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--rd-accent) !important; }
  .js .nav:not(.is-open) { display: none; }
  html:not(.js) .nav { position: static; display: flex; padding: 0 0 16px; border: 0; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.section + .section { border-top: 1px solid var(--rd-line); }
.section.tint { background: var(--rd-surface); border-top: 0; }
.section.tint + .section { border-top: 0; }

/* ---------- Hero ---------- */
.hero { padding-top: 48px; padding-bottom: var(--section); }
.hero-head { display: grid; gap: 16px; max-width: 900px; margin-bottom: 40px; }
@media (max-width: 700px) { .hero { padding-top: 36px; } .hero-head { margin-bottom: 36px; } }

/* Zwei Türen */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

.door {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--rd-surface);
  border: 1px solid var(--rd-line);
  border-radius: var(--radius-lg);
  padding: 36px 40px 0;
  min-height: 0;
  transition: border-color 220ms var(--ease), opacity 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.door h2 { font-size: clamp(28px, 2.6vw, 34px); }
.door-lede { margin-top: 12px; color: var(--rd-muted); max-width: 44ch; }
.door-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Die ganze Tür ist klickbar, der Button bleibt das eigentliche Ziel */
.door-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.door-link:focus-visible { outline: none; }
.door:has(.door-link:focus-visible) { outline: 3px solid var(--rd-accent); outline-offset: 4px; }
.door .door-actions a:not(.door-link) { position: relative; z-index: 2; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .doors:hover .door:not(:hover) { opacity: 0.62; }
  .door:hover { border-color: var(--rd-border); transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.7); }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) {
  .door:hover { border-color: var(--rd-border); }
}

.areas { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; max-width: 460px; }
.areas li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--rd-line); font-weight: 600; }
.areas li:last-child { border-bottom: 1px solid var(--rd-line); }
.areas li span { color: var(--rd-muted); font-weight: 400; font-size: 16px; }
.areas .mark { flex: none; }

/* Das Code-Zeichen vom Maskottchenbauch als Marker */
.mark { display: inline-block; width: 26px; height: 14px; color: var(--rd-accent); }
.mark svg { width: 100%; height: 100%; display: block; }

.door-body { position: relative; margin: 28px 0 0 -40px; padding: 0 0 36px 190px; }
.door-body .areas { margin: 0; }
.door-mascot {
  position: absolute; left: 0; top: -6px; width: 200px; max-width: none;
  transform: translateX(-10%);
  transition: transform 220ms var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .door-project:hover .door-mascot { transform: translateX(-3%) rotate(-2deg); }
}

.door-product .door-shot {
  position: relative; flex: 1 1 auto; min-height: 240px;
  margin-top: 32px; margin-right: -40px;
  border-radius: 12px 0 0 0; overflow: hidden;
  border: 1px solid var(--rd-line); border-right: 0; border-bottom: 0;
  box-shadow: 0 -12px 40px -20px rgb(0 0 0 / 0.8);
  transition: transform 220ms var(--ease);
}
.door-product .door-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .door-product:hover .door-shot { transform: translateY(-10px); }
}
.product-of { font-size: 14px; color: var(--rd-muted); margin-top: 6px; font-weight: 600; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: rgb(182 240 0 / 0.1); color: var(--rd-accent);
  font-size: 14px; font-weight: 600; line-height: 1.45;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

@media (max-width: 700px) {
  .door { padding: 28px 24px 0; }
  .door-product .door-shot { margin-right: -24px; min-height: 200px; }
  .door-body { margin-left: -24px; padding: 0 0 24px 0; }
  .door-body .areas { margin-left: 24px; }
  .door-mascot { position: relative; top: auto; width: 150px; margin-top: 20px; order: 2; }
  .door-body { display: flex; flex-direction: column; }
}

/* ---------- Problem → Ergebnis ---------- */
.pairs { display: grid; gap: 0; border-top: 1px solid var(--rd-line); }
.pair {
  display: grid; grid-template-columns: minmax(180px, 0.8fr) 1.3fr 1.3fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--rd-line); align-items: start;
}
.pair h3 { display: flex; gap: 12px; align-items: baseline; }
.pair-label { display: block; font-size: 14px; font-weight: 600; color: var(--rd-muted); margin-bottom: 6px; }
.pair-result .pair-label { color: var(--rd-accent); }
.pair p { font-size: 17px; }
@media (max-width: 900px) {
  .pair { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .pair h3 { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .pair { grid-template-columns: 1fr; } }

.note-row { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }

/* ---------- Bewerbio-Abschnitt ---------- */
.product-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: 1fr; gap: 40px; } }

.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(step); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  border: 1.5px solid var(--rd-border); color: var(--rd-text);
}
.steps b { display: block; font-weight: 700; }
.steps span { color: var(--rd-muted); font-size: 16px; }

.shot-stack { position: relative; padding-bottom: 12%; }
.shot {
  margin: 0; border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--rd-line);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.85);
}
.shot-back { width: 82%; }
.shot-front { position: absolute; right: 0; bottom: 0; width: 70%; }
@media (max-width: 700px) {
  .shot-stack { padding-bottom: 0; }
  .shot-back { display: none; }
  .shot-front { position: static; width: 100%; }
}
.shot-caption { margin-top: 14px; font-size: 14px; color: var(--rd-muted); display: flex; gap: 8px; align-items: center; }
.shot-caption .status { font-size: 13px; padding: 3px 10px; }

/* ---------- Ablauf ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: flow; }
.flow li { counter-increment: flow; position: relative; padding: 36px 28px 0 0; border-top: 2px solid var(--rd-line); }
.flow li::before {
  content: counter(flow); position: absolute; top: -16px; left: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--rd-accent);
  background: var(--rd-bg); border: 2px solid var(--rd-accent);
}
.tint .flow li::before { background: var(--rd-surface); }
.flow li:first-child { border-top-color: var(--rd-accent); }
.flow h3 { margin-bottom: 10px; }
.flow p { color: var(--rd-muted); font-size: 16px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow li { border-top: 0; border-left: 2px solid var(--rd-line); padding: 2px 0 32px 32px; }
  .flow li:first-child { border-left-color: var(--rd-accent); }
  .flow li::before { top: 0; left: -16px; }
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
.person { display: grid; gap: 0; align-content: start; padding: 32px; background: var(--rd-surface); border-radius: var(--radius-lg); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--rd-text); font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.person .bio { color: var(--rd-muted); font-size: 16px; max-width: 60ch; }
.team-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* ---------- Abschluss ---------- */
.closer { position: relative; overflow: hidden; padding-block: 112px; background: var(--rd-surface); }
.closer .wrap { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: start; }
.closer h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.025em; max-width: 16ch; }
.closer .lead { max-width: 48ch; }
@media (max-width: 760px) { .closer { padding-block: 64px; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 40px; border-top: 1px solid var(--rd-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--rd-muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; font-weight: 600; font-size: 16px; }
.footer-grid a:hover { color: var(--rd-accent); }
.footer-about p { margin-top: 16px; color: var(--rd-muted); font-size: 16px; max-width: 34ch; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rd-line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--rd-muted); font-size: 14px; }

/* ---------- Unterseiten ---------- */
.page-head { padding-top: 64px; padding-bottom: 56px; }
.page-head .wrap { display: grid; gap: 20px; }
.page-head h1 { max-width: 18ch; }
.crumb { font-size: 14px; color: var(--rd-muted); }
.crumb a { color: var(--rd-muted); }
@media (max-width: 700px) { .page-head { padding-top: 36px; padding-bottom: 36px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.prose { max-width: 70ch; display: grid; gap: 16px; }
.prose h2 { margin-top: 32px; font-size: 28px; }
.prose h3 { margin-top: 16px; font-size: 20px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose p, .prose li { color: var(--rd-muted); }

.area-detail { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--rd-line); }
.area-detail:first-of-type { border-top: 1px solid var(--rd-line); }
.area-detail h2 { font-size: clamp(26px, 2.6vw, 32px); display: flex; gap: 14px; align-items: baseline; }
.area-detail dl { margin: 0; display: grid; gap: 20px; }
.area-detail dt { font-size: 14px; font-weight: 700; color: var(--rd-muted); margin-bottom: 4px; }
.area-detail dt.is-result { color: var(--rd-accent); }
.area-detail dd { margin: 0; }
@media (max-width: 800px) { .area-detail { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 28px; border-radius: var(--radius-lg); background: var(--rd-surface); display: grid; gap: 10px; align-content: start; }
.fact p { color: var(--rd-muted); font-size: 16px; }
.tint .fact { background: var(--rd-bg); border: 1px solid var(--rd-line); }

.points { margin: 0; display: grid; border-top: 1px solid var(--rd-line); }
.points > div { padding: 22px 0; border-bottom: 1px solid var(--rd-line); display: grid; gap: 6px; }
.points dt { font-weight: 700; font-size: 20px; line-height: 1.3; }
.points dd { margin: 0; color: var(--rd-muted); font-size: 16px; }
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.gallery figure { margin: 0; }
.gallery .shot + figcaption, .gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--rd-muted); }
.gallery-side { display: grid; gap: 20px; }

/* Screenshots vergrößern */
a.zoom { display: block; position: relative; cursor: zoom-in; color: inherit; text-decoration: none; }
a.zoom img { transition: filter 180ms var(--ease); }
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgb(16 22 25 / 0.88); color: var(--rd-text);
  font-size: 14px; font-weight: 600; line-height: 1.3;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.zoom-hint svg { width: 16px; height: 16px; }
a.zoom:hover .zoom-hint, a.zoom:focus-visible .zoom-hint { background: var(--rd-accent); color: var(--rd-bg); }
a.zoom:hover img { filter: brightness(0.94); }


.lightbox {
  width: min(1480px, 96vw); max-width: none; max-height: 94vh;
  margin: auto; padding: 12px;
  background: var(--rd-surface); color: var(--rd-text);
  border: 1px solid var(--rd-line); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.8);
  overflow: hidden;
}
.lightbox[open] { display: flex; flex-direction: column; gap: 10px; }
.lightbox::backdrop { background: rgb(16 22 25 / 0.82); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 4px 0 8px; }
.lightbox-caption { color: var(--rd-muted); font-size: 15px; }
.lightbox-close {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px;
  background: transparent; color: var(--rd-text);
  border: 1.5px solid var(--rd-border); border-radius: var(--radius);
  font: 600 15px/1.3 var(--font); cursor: pointer;
}
.lightbox-close:hover { border-color: var(--rd-text); }
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-scroll { overflow: auto; border-radius: 10px; min-height: 0; }
.lightbox-scroll img { display: block; width: 100%; height: auto; max-height: calc(94vh - 90px); object-fit: contain; background: #fff; }
.lightbox-swipe { display: none; }
@media (max-width: 900px) {
  .lightbox { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; padding: 12px 0 16px; }
  .lightbox-bar { padding: 0 12px; }
  .lightbox-scroll { flex: 1; border-radius: 0; }
  .lightbox-scroll img { width: 1100px; max-width: none; max-height: none; }
  .lightbox-swipe { display: block; text-align: center; color: var(--rd-muted); font-size: 14px; }
  .zoom-hint { right: 8px; bottom: 8px; }
}

@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } }

.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rd-line); }
.roadmap li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--rd-line); }
.roadmap .state { font-weight: 700; font-size: 15px; }
.roadmap .state.done { color: var(--rd-accent); }
.roadmap .state.next { color: var(--rd-muted); }
@media (max-width: 560px) { .roadmap li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Kontakt per E-Mail ---------- */
.mailbox { display: grid; gap: 20px; justify-items: start; align-content: start; }
.mailbox .btn svg { width: 20px; height: 20px; }
.mailbox .btn:hover svg { transform: none; }
.mail-alt { color: var(--rd-muted); font-size: 16px; }
.mail-alt a { color: var(--rd-text); font-weight: 600; white-space: nowrap; }
.copy {
  margin-left: 6px; padding: 4px 10px; min-height: 32px;
  background: transparent; color: var(--rd-text); border: 1.5px solid var(--rd-border); border-radius: 8px;
  font: 600 14px/1.3 var(--font); cursor: pointer; transition: border-color var(--dur) var(--ease);
}
.copy:hover { border-color: var(--rd-text); }
.copy-status { margin-left: 8px; color: var(--rd-accent); font-size: 14px; font-weight: 600; }
.mail-hint { padding: 24px 28px; border-radius: var(--radius-lg); background: var(--rd-bg); border: 1px solid var(--rd-line); }
.section:not(.tint) .mail-hint { background: var(--rd-surface); border: 0; }
.mail-hint-title { font-weight: 700; margin-bottom: 10px; }
.mail-hint ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--rd-muted); font-size: 16px; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list dt, .contact-list b { display: block; font-size: 14px; color: var(--rd-muted); font-weight: 600; margin-bottom: 4px; }


/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost .wrap { display: grid; justify-items: center; gap: 20px; }
.lost img { width: 220px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* Niedrige Laptop-Viewports: beide Türen samt Maskottchen im ersten Blick */
@media (min-width: 901px) and (max-height: 860px) {
  .hero { padding-top: 28px; }
  .hero-head { gap: 12px; margin-bottom: 28px; }
  .door { padding-top: 28px; }
  .door-actions { margin-top: 20px; }
  .door-body { margin-top: 20px; }
}

/* Bewerbio-Logo (Bildzeichen „Blatt“ und Name) auf der Produktseite und in der Tür */
.bewerbio-logo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--rd-text); }
.bewerbio-logo .bewerbio-mark { width: 30px; height: auto; }
.bewerbio-logo-title { display: inline-flex; align-items: center; gap: 12px; }
.bewerbio-logo-title .bewerbio-mark { width: 0.95em; height: auto; flex-shrink: 0; }
