:root {
    --navy: #21264E; --navy-deep: #14193A; --magenta: #9D0490;
    --teal: #008E8B; --ink: #21264E; --muted: #5A6079;
    --hairline: #ECEEF3; --bg: #F5F6F9;
  }
  * { box-sizing: border-box; }
  .doc-head, .doc-foot, .phase-num, .role.self, .doc-head .glow {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  html, body { margin: 0; padding: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #EEF0F5; }
  img { display: block; max-width: 100%; height: auto; }

  /* A4 sheet */
  .sheet {
    width: 794px; min-height: 1123px; margin: 28px auto; background: #fff;
    box-shadow: 0 8px 40px rgba(33,38,78,0.12); position: relative; overflow: hidden;
    display: flex; flex-direction: column;
  }

  /* header band */
  .doc-head {
    background: radial-gradient(ellipse at 88% 18%, #3A2168 0%, var(--navy-deep) 52%, #0B0E22 100%);
    color: #fff; padding: 40px 52px 34px; position: relative; overflow: hidden;
  }
  .doc-head .glow { position: absolute; right: -150px; top: -150px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(157,4,144,0.13) 0%, transparent 72%); filter: blur(16px); pointer-events: none; }
  .doc-head .eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #EFB8E0; font-weight: 700; margin-bottom: 14px; position: relative; z-index: 1; }
  .doc-head h1 { font-size: 33px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 14px; max-width: 600px; position: relative; z-index: 1; color: #fff; }
  .doc-head h1 em { font-style: normal; color: #EFB8E0; }
  .doc-head p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.95); max-width: 600px; margin: 0; position: relative; z-index: 1; }

  /* intro strip */
  .intro { padding: 26px 52px 8px; }
  .intro p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }
  .intro p strong { color: var(--navy); font-weight: 600; }

  /* phases */
  .body { padding: 18px 52px 40px; flex: 1; }
  .phase { margin-bottom: 26px; break-inside: avoid; }
  .phase-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
  .phase-num { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
  .phase-head h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
  .phase-head .tag { margin-left: auto; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--hairline); padding: 4px 10px; border-radius: 999px; }

  ul.checks { list-style: none; padding: 0; margin: 0; border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
  ul.checks li { display: flex; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--hairline); }
  ul.checks li:first-child { border-top: 0; }
  ul.checks li .box { width: 19px; height: 19px; border: 1.6px solid #C2C6D4; border-radius: 5px; flex-shrink: 0; margin-top: 1px; }
  ul.checks li .txt { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
  ul.checks li .txt b { font-weight: 700; }
  ul.checks li .txt span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

  /* callout box */
  .tipbox { background: var(--bg); border-left: 3px solid var(--magenta); border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 26px 0; }
  .tipbox .lbl { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--magenta); margin-bottom: 6px; }
  .tipbox p { font-size: 13px; line-height: 1.6; color: var(--ink); margin: 0; }

  /* three-roles mini */
  .roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 4px; }
  .role { border: 1px solid var(--hairline); border-radius: 10px; padding: 14px 16px; }
  .role.self { background: var(--navy); border-color: transparent; }
  .role .r { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--magenta); margin-bottom: 6px; }
  .role.self .r { color: #EFB8E0; }
  .role h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
  .role.self h4 { color: #fff; }
  .role p { font-size: 12px; line-height: 1.45; color: var(--muted); margin: 0; }
  .role.self p { color: rgba(255,255,255,0.85); }
  .doc-foot .cta { font-size: 13px; line-height: 1.5; }
  .doc-foot .cta strong { color: #fff; font-weight: 700; display: block; font-size: 14px; margin-bottom: 2px; }
  .doc-foot .cta a { color: #EFB8E0; text-decoration: none; font-weight: 600; }
  .doc-foot .mark { text-align: right; font-size: 11px; color: rgba(255,255,255,0.6); line-height: 1.5; flex-shrink: 0; }
  .doc-foot .mark img { height: 26px; margin-left: auto; margin-bottom: 8px; }

  .disclaimer { padding: 14px 52px 26px; font-size: 10.5px; line-height: 1.5; color: var(--muted); background: #fff; }

  @media print {
    html, body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .sheet { box-shadow: none; margin: 0; width: 100%; min-height: auto; }
  }

  @media (max-width: 1180px) { }
  @media (max-width: 900px) { }

  /* Mobil: Mehrspalter einspaltig */
  @media (max-width:760px){
  .eyebrow,.hero .eyebrow,.eyebrow-s{white-space:normal!important}
  .path,.path *,.quick,.typ,.card,.heute-card,.team-card,.arch-card{overflow-wrap:anywhere}
  .rm-head{display:none}
  .rm-row>*{padding-left:0}
  }

  /* Zurück-Link über dem Blatt (nur Bildschirm) */
  .doc-back { max-width: 794px; margin: 22px auto -6px; padding: 0 4px; font-size: 13.5px; }
  .doc-back a { color: var(--navy); text-decoration: none; font-weight: 600; }
  .doc-back a:hover { color: var(--magenta); text-decoration: underline; }
  .skip { position: absolute; left: -9999px; }
  .skip:focus { left: 0; top: 0; z-index: 200; background: var(--magenta); color: #fff; padding: 12px 20px; }
  @media print { .doc-back { display: none; } }

  /* Dokumenteigene Kopf- und Fußregeln (aus dem Original) */
  .doc-head .brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; position: relative; z-index: 1; }
  .doc-head .brand img { height: 30px; }
  .doc-head .brand .kicker { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.92); font-weight: 700; }
  /* footer */
  .doc-foot { background: var(--navy); color: rgba(255,255,255,0.85); padding: 22px 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
