/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Archivo","arguments":[{"subsets":["latin"],"weight":["400","600","800"],"display":"swap","variable":"--font-archivo"}],"variableName":"archivo"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b06b356f834173cc-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/23d669af23d19c95-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/1a4aa50920b5315c-s.p.woff2) format('woff2');
  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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b06b356f834173cc-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/23d669af23d19c95-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/1a4aa50920b5315c-s.p.woff2) format('woff2');
  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;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b06b356f834173cc-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/23d669af23d19c95-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/1a4aa50920b5315c-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Archivo Fallback';src: local("Arial");ascent-override: 88.96%;descent-override: 21.28%;line-gap-override: 0.00%;size-adjust: 98.70%
}.__className_fc6e6e {font-family: 'Archivo', 'Archivo Fallback';font-style: normal
}.__variable_fc6e6e {--font-archivo: 'Archivo', 'Archivo Fallback'
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"weight":["400"],"display":"swap","variable":"--font-mono"}],"variableName":"mono"} ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/2f186ab49059fbbb-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7be269dd6123b082-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/db5568a2cfd831e2-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/6760c1b492207d80-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/1f424c9580f97313-s.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/427e4a37d3642943-s.p.woff2) format('woff2');
  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: 'JetBrains Mono Fallback';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_5c096b {font-family: 'JetBrains Mono', 'JetBrains Mono Fallback';font-weight: 400;font-style: normal
}.__variable_5c096b {--font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* rolenz-os — Website. Marke nach rolenz-digital/DESIGN.md: tiefes Dunkel, Archivo, Rot nur für Aktionen und die
   Abschnittsmarke. Eigene Note dieser Seite: Belege auf Papier (wie rolenz-docs sie druckt) stehen auf dem dunklen
   Grund — das einzige helle Element. */

:root {
  --bg: #0c0b0b;
  --bg-elevated: #131111;
  --bg-card: #171515;
  --border: rgba(243, 242, 242, 0.08);
  --border-strong: rgba(243, 242, 242, 0.16);

  --text: #f3f2f2;
  --text-2: #b4afad; /* 9.2:1 auf --bg */
  --text-3: #8f8a88; /* 5.9:1 auf --bg */

  --accent: #ec3013;
  --accent-hover: #ff4a2b;
  --accent-soft: #ff9783;
  --on-accent: #120d0c; /* 4.6:1 auf --accent */
  --c-rot: 236, 48, 19;

  /* Papier (Design der Belege, rolenz-docs) */
  --paper: #f3f2f2;
  --paper-ink: #201e1d;
  --paper-muted: #605d5d; /* 5.9:1 auf --paper */
  --paper-surface: #e7e4e0;
  --paper-line: rgba(32, 30, 29, 0.4);

  --sans: var(--font-archivo), system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--font-mono), ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --r-card: 20px;
  --r-ctl: 999px;
  --head-h: 72px;
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--accent-soft);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text);
}

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

ul,
ol {
  list-style: none;
}

code,
.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--r-ctl);
  font-weight: 600;
}

.skip:focus {
  left: 16px;
}

.shell {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Marke ---------- */

.rd-logo {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
  color: var(--text);
  font-size: 24px;
  text-decoration: none;
}

.rd-logo i {
  display: inline-block;
  width: 0.42em;
  height: 0.16em;
  margin: 0 0.06em;
  vertical-align: 0.28em;
  background: var(--accent);
}

.rd-logo span {
  color: var(--text-3);
  font-weight: 600;
  margin-left: 0.35em;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 14px;
  height: 3px;
  background: var(--accent);
  flex: none;
}

/* ---------- Kopf und Fuß ---------- */

.site-head {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--head-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

html[data-scrolled] .site-head {
  background: rgba(12, 11, 11, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.site-head-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
}

@media (max-width: 760px) {
  .site-nav .nav-link {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--r-ctl);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 30px -12px rgba(var(--c-rot), 0.7);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(243, 242, 242, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(243, 242, 242, 0.08);
}

.site-foot {
  margin-top: 120px;
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  color: var(--text-3);
  font-size: 14px;
}

.site-foot-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-gap: 40px;
  gap: 40px;
}

.site-foot p {
  max-width: 44ch;
  margin-top: 14px;
}

.site-foot strong {
  display: block;
  color: var(--text-2);
  font-weight: 600;
  margin-bottom: 8px;
}

.foot-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-3);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--text);
}

.foot-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .site-foot-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Typografie ---------- */

h1,
h2,
h3 {
  font-weight: 800;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(40px, 6.2vw, 78px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.h2 {
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 22ch;
}

.h2 .dim {
  display: block;
  color: var(--text-3);
}

.h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 60ch;
}

.prose {
  max-width: 68ch;
  color: var(--text-2);
}

.prose p + p {
  margin-top: 14px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Abschnitte ---------- */

.section {
  padding-top: 120px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head .lead {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .section {
    padding-top: 80px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 78% 38%, rgba(var(--c-rot), 0.2), transparent 70%),
    radial-gradient(30% 40% at 12% 10%, rgba(255, 184, 77, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-gap: clamp(32px, 5vw, 72px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hero .lead {
  margin-top: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--border-strong);
}

.hero-facts div {
  padding: 18px 20px 0 0;
}

.hero-facts dt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.hero-facts dd {
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-in > * {
    animation: rise 0.8s var(--ease) both;
  }
  .hero-in > *:nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-in > *:nth-child(3) {
    animation-delay: 0.16s;
  }
  .desk > * {
    animation: rise 0.9s var(--ease) both;
  }
  .desk > *:nth-child(2) {
    animation-delay: 0.35s;
  }
  .desk > *:nth-child(3) {
    animation-delay: 0.7s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Gesprächsverlauf im Hero ---------- */

.desk {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.msg {
  max-width: 92%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.msg small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.msg-team {
  justify-self: end;
  background: rgba(243, 242, 242, 0.06);
  border: 1px solid var(--border-strong);
  border-bottom-right-radius: 4px;
}

.msg-agent {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-2);
}

.msg-agent b {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Papier (Belege) ---------- */

.paper {
  --ink: var(--paper-ink);
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 3px;
  padding: 26px 28px 24px;
  font-size: 13px;
  line-height: 1.45;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 0, 0, 0.4);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.paper .p-mark {
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 17px;
}

.paper .p-sender {
  margin-top: 14px;
  font-size: 9.5px;
  color: var(--paper-muted);
}

.paper .p-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.paper .p-kicker::before {
  content: "";
  width: 12px;
  height: 3px;
  background: var(--accent);
}

.paper .p-title {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.paper .p-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 2px 14px;
  gap: 2px 14px;
  margin-top: 12px;
  font-size: 11.5px;
}

.paper .p-meta dt {
  color: var(--paper-muted);
}

.paper table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}

.paper th {
  text-align: left;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-muted);
  padding: 0 0 6px;
  border-bottom: 1.5px solid var(--paper-ink);
}

.paper td {
  padding: 6px 0;
  border-bottom: 0.5px solid var(--paper-line);
  vertical-align: top;
}

.paper .num {
  text-align: right;
  white-space: nowrap;
  padding-left: 10px;
}

.paper .p-total td {
  border-bottom: none;
  border-top: 1.5px solid var(--paper-ink);
  font-weight: 800;
}

.paper .p-note {
  margin-top: 14px;
  font-size: 11px;
  color: var(--paper-muted);
}

.paper .p-stamp {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: var(--r-ctl);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 12px;
}

.paper .p-mono {
  font-family: var(--mono);
  font-size: 11px;
  word-break: break-all;
}

.paper-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- Faktenzeilen ---------- */

.facts {
  border-top: 1px solid var(--border-strong);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.36fr) minmax(0, 1fr);
  grid-gap: 8px 32px;
  gap: 8px 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.facts dt {
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.facts dd {
  color: var(--text-2);
  max-width: 68ch;
}

.facts dd code {
  color: var(--text);
}

@media (max-width: 700px) {
  .facts > div {
    grid-template-columns: 1fr;
  }
}

/* ---------- Bereiche (Inhaltsverzeichnis) ---------- */

.areas {
  border-top: 1px solid var(--border-strong);
}

.areas a {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr) auto;
  grid-gap: 8px 32px;
  gap: 8px 32px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-2);
  transition: background 0.3s var(--ease);
}

.areas a:hover {
  background: linear-gradient(90deg, rgba(var(--c-rot), 0.06), transparent 60%);
  color: var(--text-2);
}

.areas .a-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.areas .a-go {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
}

.areas a:hover .a-go {
  color: var(--accent-soft);
}

@media (max-width: 760px) {
  .areas a {
    grid-template-columns: 1fr;
  }
}

/* ---------- Agenten ---------- */

.agents {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border);
}

.agents li {
  padding: 24px 24px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agents h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.agents .role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

.agents p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
}

.agents li.lead-agent {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, rgba(var(--c-rot), 0.08), transparent 70%);
}

@media (max-width: 1100px) {
  .agents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .agents li:last-child {
    grid-column: 1 / -1;
  }
}

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

/* ---------- Freigaben ---------- */

.approvals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0 48px;
  gap: 0 48px;
}

.approvals h3 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-strong);
}

.approvals li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}

.approvals li strong {
  color: var(--text);
  font-weight: 600;
}

.approvals .wait h3 {
  border-bottom-color: var(--accent);
}

@media (max-width: 860px) {
  .approvals {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- Tabellen (Automationen) ---------- */

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  padding: 0 24px 12px 0;
  border-bottom: 1px solid var(--border-strong);
}

.table td {
  padding: 16px 24px 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
}

.table td:first-child {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.table .when {
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- Schritte (Einrichtung) ---------- */

.steps {
  counter-reset: step;
  border-top: 1px solid var(--border-strong);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(160px, 0.32fr) minmax(0, 1fr);
  grid-gap: 8px 24px;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
  padding-top: 2px;
}

.steps strong {
  color: var(--text);
  font-weight: 600;
}

.steps span {
  color: var(--text-2);
}

@media (max-width: 700px) {
  .steps li {
    grid-template-columns: 40px 1fr;
  }
  .steps li span {
    grid-column: 2;
  }
}

/* ---------- Betrieb ---------- */

.ops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.ops article {
  padding: 26px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
}

.ops h3 {
  margin-bottom: 10px;
}

.ops p {
  color: var(--text-2);
  font-size: 15px;
}

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

/* ---------- Grenzen ---------- */

.limits {
  columns: 2;
  column-gap: 48px;
}

.limits li {
  page-break-inside: avoid;
  break-inside: avoid;
  padding: 12px 0 12px 22px;
  position: relative;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 10px;
  height: 2px;
  background: var(--text-3);
}

@media (max-width: 760px) {
  .limits {
    columns: 1;
  }
}

/* ---------- Kontakt ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(60% 90% at 90% 10%, rgba(var(--c-rot), 0.22), transparent 70%),
    var(--bg-elevated);
}

.contact .lead {
  margin-top: 18px;
}

.contact .hero-actions {
  margin-top: 28px;
}

/* ---------- Bereichsseiten ---------- */

.area-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  grid-gap: clamp(32px, 5vw, 72px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: 48px;
}

.area-head .lead {
  margin-top: 22px;
}

.crumbs {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 26px;
}

.crumbs a {
  color: var(--text-3);
}

.area-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-gap: 56px;
  gap: 56px;
  margin-top: 96px;
}

.area-nav {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--head-h) + 24px);
  align-self: start;
}

.area-nav p {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.area-nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  color: var(--text-3);
  text-decoration: none;
  border-left: 2px solid var(--border);
  padding-left: 14px;
}

.area-nav a:hover {
  color: var(--text);
}

.area-nav a[aria-current="page"] {
  color: var(--text);
  border-left-color: var(--accent);
  font-weight: 600;
}

.topic + .topic {
  margin-top: 80px;
}

.topic > .h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.topic .prose {
  margin-bottom: 28px;
}

.area-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 80px;
}

.area-foot a {
  display: block;
  padding: 22px 24px;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-decoration: none;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
}

.area-foot a strong {
  display: block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.area-foot a:hover {
  border-color: var(--border-strong);
}

.area-foot .next {
  text-align: right;
}

@media (max-width: 960px) {
  .area-head {
    grid-template-columns: 1fr;
  }
  .area-body {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }
  .area-nav {
    position: static;
  }
  .area-nav div {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
  }
  .area-nav a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0 10px;
  }
  .area-nav a[aria-current="page"] {
    border-bottom-color: var(--accent);
  }
}

@media (max-width: 600px) {
  .area-foot {
    grid-template-columns: 1fr;
  }
  .area-foot .next {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

