/* DM Facility – gemeinsames Design für alle Seiten */
:root {
    --bg: #868b8f;
    --surface: #959a9d;
    --surface-2: #a4a9ac;
    --soft: rgba(0,0,0,.09);
    --ink: #15181a;
    --ink-2: #181b1d;
    --muted: #1f2325;
    --muted-2: #262a2d;
    --line: rgba(0,0,0,.13);
    --line-2: rgba(0,0,0,.22);
    --dark: #16181a;
    --dark-2: #1f2225;
    --lime: #c6ff18;
    --lime-ink: #4f6a00;
    --radius: 18px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 1px 2px rgba(0,0,0,.08), 0 16px 36px -14px rgba(0,0,0,.35);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Barlow", system-ui, sans-serif;
    background: var(--bg); color: var(--ink);
    line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--lime); color: var(--ink); }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

  .wrap { width: min(1440px, 100% - clamp(32px, 6vw, 112px)); margin-inline: auto; }
  h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
  h2 { font-size: clamp(2rem, 4vw, 3rem); }
  .eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  }
  .eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 1px rgba(79,106,0,.15); }
  .sub { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.1rem); max-width: 58ch; }
  section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 1.5rem; border-radius: 12px;
    font-weight: 700; font-size: .93rem; font-family: inherit; cursor: pointer;
    border: 1px solid transparent; white-space: nowrap;
    transition: background .2s, border-color .2s, transform .2s var(--ease);
  }
  .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
  .btn:hover svg.arrow { transform: translateX(3px); }
  .btn-dark { background: var(--ink); color: #fff; }
  .btn-dark:hover { background: #000; }
  .btn-dark .mark { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); }
  .btn-line { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
  .btn-line:hover { border-color: var(--ink); }
  .btn-lime { background: var(--lime); color: var(--ink); }
  .btn-lime:hover { background: #b8f000; }

  /* Nav */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(134, 139, 143, .88);
    backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
  .brand { display: flex; align-items: center; gap: .75rem; }
  .brand .logo-tile {
    width: 44px; height: 44px; border-radius: 11px; background: var(--dark);
    display: grid; place-items: center; overflow: hidden; flex: none;
  }
  .brand .logo-tile img { width: 40px; height: 40px; object-fit: contain; }
  .brand b { display: block; font-size: .95rem; font-weight: 800; letter-spacing: .03em; }
  .brand small { display: block; font-size: .62rem; letter-spacing: .15em; color: var(--muted-2); font-weight: 700; margin-top: -1px; }
  .menu { display: flex; gap: .15rem; list-style: none; }
  .menu a {
    position: relative; display: block; padding: .5rem .85rem;
    font-size: .92rem; font-weight: 600; color: var(--muted); transition: color .2s;
  }
  .menu a::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .menu a:hover, .menu a.active { color: var(--ink); }
  .menu a.active::after { transform: scaleX(1); }
  .nav-actions { display: flex; align-items: center; gap: .5rem; }
  .nav .btn { padding: .72rem 1.1rem; }
  .burger {
    display: none; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
    background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); place-items: center;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
    position: relative; transition: transform .3s var(--ease), background .2s;
  }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  .menu-open .burger span { background: transparent; }
  .menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
  @media (max-width: 920px) { .menu { display: none; } .burger { display: grid; } }
  @media (max-width: 520px) { .nav .btn-dark { display: none; } .brand small { display: none; } }

  .overlay {
    position: fixed; inset: 74px 0 0; z-index: 40; padding: 28px 20px 40px;
    background: var(--bg);
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .menu-open .overlay { opacity: 1; visibility: visible; }
  .overlay ul { list-style: none; }
  .overlay ul a {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em;
    padding: 1rem 0; border-bottom: 1px solid var(--line);
  }
  .overlay ul a::after { content: "→"; color: var(--muted-2); font-size: 1.2rem; }
  .overlay .contact-mini { display: grid; gap: .6rem; }
  body.menu-open { overflow: hidden; }

  /* Hero */
  .hero { padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
  .hero-top { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
  .hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 700; margin-top: 1.2rem; letter-spacing: -0.035em; }
  @media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } }

  /* Video slot */
  .video {
    position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
    background:
      radial-gradient(70% 90% at 75% 20%, rgba(198,255,24,.10), transparent 60%),
      linear-gradient(160deg, #23272a, #131517);
    box-shadow: 0 30px 70px -30px rgba(21,24,26,.45);
  }
  .video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
  .video-ph {
    position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #e9ece5;
    padding: 1.5rem;
  }
  .video-ph .logo { width: clamp(120px, 18vw, 200px); opacity: .9; margin: 0 auto 1.2rem; }
  .play {
    width: 76px; height: 76px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--lime); color: var(--ink); display: grid; place-items: center; margin: 0 auto 1rem;
    box-shadow: 0 0 0 10px rgba(198,255,24,.15); transition: transform .25s var(--ease), box-shadow .25s;
  }
  .play:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(198,255,24,.18); }
  .play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
  .video-ph p { font-weight: 700; }
  .video-ph small { display: block; color: #9aa195; font-size: .82rem; font-weight: 600; margin-top: .2rem; }
  .video .status { left: 24px; bottom: 24px; }
  @media (max-width: 700px) {
    .video { border-radius: 18px; }
    .video-ph .logo { display: none; }
    .play { width: 60px; height: 60px; }
  }
  .hero h1 .mark {
    background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 90%, transparent 90%);
    padding: 0 .08em;
  }
  .hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
  .checks { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
  .checks li { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
  .tick {
    width: 20px; height: 20px; border-radius: 6px; flex: none;
    display: grid; place-items: center; background: var(--ink);
  }
  .tick svg { width: 12px; height: 12px; fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

  .visual { position: relative; }
  .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--soft); box-shadow: var(--shadow); }
  .photo img { width: 100%; height: 100%; object-fit: cover; }
  .status {
    position: absolute; left: -36px; bottom: 28px; width: min(320px, 82%);
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 24px 60px -20px rgba(21,24,26,.28); padding: 1.1rem 1.2rem;
  }
  .status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
  .status-head b { font-size: .88rem; }
  .status-head small { font-size: .7rem; font-weight: 700; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }
  .status ul { list-style: none; display: grid; }
  .status li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
  .status li span { display: inline-flex; align-items: center; gap: .55rem; }
  .status li em { font-style: normal; font-size: .74rem; font-weight: 700; color: var(--ink); background: var(--lime); padding: .15rem .5rem; border-radius: 6px; white-space: nowrap; }
  .status .tick { width: 18px; height: 18px; border-radius: 5px; }
  @media (max-width: 760px) { .video .status { display: none; } }

  /* Stats */
  .stats-band { padding: 0; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .stat { padding: 1.8rem 1.7rem; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .stat strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
  .stat span { display: block; margin-top: .55rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
  .stat::before { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--lime); margin-bottom: 1rem; box-shadow: 0 0 0 1px rgba(79,106,0,.12); }
  @media (max-width: 820px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  }

  /* Section head */
  .head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
  .head h2 { margin-top: .9rem; }
  @media (max-width: 820px) { .head { grid-template-columns: 1fr; } }

  /* Services */
  .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc {
    display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
  }
  .svc:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
  .svc .pic { height: 190px; background: var(--soft); overflow: hidden; }
  .svc .pic img { width: 100%; height: 100%; object-fit: cover; }
  .svc .body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
  .svc .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
  .svc .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
  .svc .ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .svc .no { font-size: .78rem; font-weight: 700; color: var(--muted-2); font-variant-numeric: tabular-nums; }
  .svc h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
  .svc p { color: var(--muted); font-size: .95rem; }
  .svc .pic { height: 210px; }
  .svc .pic img { transition: transform .6s var(--ease); }
  .svc.pic-card:hover .pic img { transform: scale(1.04); }
  .svc.core { grid-column: span 2; background: var(--dark); color: #f3f5f0; border-color: var(--dark); }
  .svc.core .body { padding: clamp(1.6rem, 3vw, 2.4rem); }
  .svc.core h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); max-width: 22ch; }
  .svc.core p { color: #b4bbad; max-width: 56ch; }
  .svc.core .ico { background: var(--lime); color: var(--ink); }
  .svc.core .no { color: var(--lime); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
  .core-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; margin-top: 1.2rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); }
  .core-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
  .core-list .tick { background: var(--lime); }
  .core-list .tick svg { stroke: var(--ink); }
  .svc.core:hover { box-shadow: 0 20px 50px -20px rgba(21,24,26,.5); }
  @media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 620px) { .services { grid-template-columns: 1fr; } .svc.core { grid-column: auto; } .core-list { grid-template-columns: 1fr; } }

  /* Control (dark) */
  .control { background: var(--dark); color: #f3f5f0; border-radius: 28px; margin: 0 16px; }
  .control .eyebrow { color: #a7ae9f; }
  .control .sub { color: #b4bbad; }
  .control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
  .control h2 { margin: 1rem 0 1.2rem; }
  .points { list-style: none; display: grid; gap: 0; margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.1); }
  .points li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .points .tick { background: var(--lime); margin-top: 3px; }
  .points .tick svg { stroke: var(--ink); }
  .points b { display: block; font-size: 1rem; }
  .points span { color: #a7ae9f; font-size: .93rem; }

  .portal {
    background: var(--surface-2); color: var(--ink); border-radius: 20px; padding: 1.4rem;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  }
  .portal-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .portal-top b { font-size: .95rem; }
  .portal-top small { display: block; color: var(--muted-2); font-size: .78rem; font-weight: 600; }
  .pill { font-size: .72rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
  .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1rem 0; }
  .kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; }
  .kpi strong { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
  .kpi span { font-size: .72rem; font-weight: 600; color: var(--muted); }
  .log { list-style: none; display: grid; }
  .log li { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .86rem; }
  .log li b { font-weight: 700; display: block; }
  .log li small { color: var(--muted-2); font-size: .76rem; }
  .log .tick { width: 22px; height: 22px; border-radius: 6px; }
  .log em { font-style: normal; font-size: .74rem; font-weight: 700; color: var(--ink); background: var(--lime); padding: .2rem .5rem; border-radius: 6px; }
  .portal-note { margin-top: .9rem; font-size: .72rem; color: var(--muted-2); text-align: center; }
  @media (max-width: 960px) { .control-grid { grid-template-columns: 1fr; } }
  @media (max-width: 480px) { .control { margin: 0 8px; border-radius: 22px; } .kpis { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; } .kpi { padding: .6rem; } .kpi strong { font-size: 1.1rem; } }

  /* Area */
  .area { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .area h2 { margin: .9rem 0 1.1rem; }
  .regions { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .regions div { padding: 1.4rem 1.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .regions div:nth-child(3n) { border-right: 0; }
  .regions div:nth-child(n+4) { border-bottom: 0; }
  .regions small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .35rem; }
  .regions b { font-size: 1.05rem; }
  @media (max-width: 860px) { .area { grid-template-columns: 1fr; } }
  @media (max-width: 520px) {
    .regions { grid-template-columns: 1fr 1fr; }
    .regions div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
    .regions div:nth-child(2n) { border-right: 0 !important; }
    .regions div:nth-child(n+5) { border-bottom: 0 !important; }
  }

  /* Quotes */
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .quote { display: flex; flex-direction: column; justify-content: space-between; gap: 1.8rem; padding: 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .qmark { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; line-height: 1; padding-top: .45rem; }
  .quote blockquote { font-size: 1.05rem; font-weight: 600; line-height: 1.6; margin-top: 1.1rem; color: var(--ink-2); }
  .who { display: flex; align-items: center; gap: .85rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
  .who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--soft); font-weight: 800; font-size: .8rem; }
  .who b { display: block; font-size: .92rem; }
  .who small { color: var(--muted-2); font-size: .82rem; }
  @media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

  /* Contact */
  .contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .contact h2 { margin: .9rem 0 1.1rem; }
  .lines { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
  .line-item { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
  .line-item .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--lime); flex: none; }
  .line-item .ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .line-item b { display: block; font-size: 1.02rem; }
  .line-item small { color: var(--muted); font-size: .84rem; }
  a.line-item:hover b { text-decoration: underline; text-underline-offset: 3px; }

  form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .field label { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
  .field input, .field select, .field textarea {
    width: 100%; font: inherit; font-weight: 500; color: var(--ink);
    background: var(--bg); border: 1px solid var(--line-2); border-radius: 11px;
    padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
  }
  .field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 21px) 52%, calc(100% - 16px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
  .field textarea { min-height: 130px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface-2); box-shadow: 0 0 0 4px rgba(0,0,0,.08); }
  .field ::placeholder, .field textarea::placeholder { color: #3a3f42; }
  .consent { font-size: .8rem; color: var(--muted); }
  .consent a { text-decoration: underline; text-underline-offset: 2px; }
  .form-note { padding: .85rem 1rem; border-radius: 11px; background: var(--lime); border: 0; color: var(--ink); font-size: .88rem; font-weight: 600; }
  .form-note.error { background: #f6d6d9; color: #7a1420; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  form button[disabled] { opacity: .65; cursor: wait; }
  form .btn { justify-self: start; }
  @media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
  @media (max-width: 560px) { .row { grid-template-columns: 1fr; } form .btn { justify-self: stretch; } }

  /* Footer */
  footer { background: var(--dark); color: #b4bbad; padding: 4rem 0 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
  .foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
  footer .brand b { color: #fff; }
  footer .brand small { color: #7f867a; }
  .foot p { max-width: 34ch; margin-top: 1rem; font-size: .93rem; }
  .foot h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #7f867a; margin-bottom: 1rem; }
  .foot ul { list-style: none; display: grid; gap: .5rem; }
  .foot ul a { font-weight: 600; transition: color .2s; }
  .foot ul a:hover { color: #fff; }
  .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #7f867a; }
  .legal a:hover { color: #fff; }
  @media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: span 2; } }

  /* Mobile action bar */
  .mobile-bar { display: none; }
  @media (max-width: 700px) {
    .mobile-bar {
      position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
      padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
      background: rgba(134, 139, 143, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
      border-top: 1px solid var(--line);
      transform: translateY(110%); transition: transform .35s var(--ease);
    }
    .mobile-bar.show { transform: none; }
    .menu-open .mobile-bar { transform: translateY(110%); }
    .mobile-bar .btn { padding: .85rem 1rem; }
    footer { padding-bottom: 6rem; }
  }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .d1 { transition-delay: .06s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .18s; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
  }

  /* Typography: Barlow (body) + Barlow Semi Condensed (headlines) */
  h1, h2, h3, .stat strong, .kpi strong, .regions b, .overlay ul a, .btn {
    font-family: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  }
  h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.04; }
  .hero h1 { font-size: clamp(2.9rem, 6.2vw, 6rem); letter-spacing: -0.015em; }
  @media (min-width: 1200px) { .hero-top { grid-template-columns: 1.4fr .8fr; } }
  .hero h1 .mark { white-space: nowrap; }
  h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
  .svc h3 { font-size: 1.4rem; letter-spacing: 0; }
  .svc.core h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
  .points b, .portal-top b, .status-head b { font-weight: 700; }
  .btn { font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
  .eyebrow { font-weight: 600; letter-spacing: .18em; }
  .stat strong { font-size: clamp(2.4rem, 4.2vw, 3.3rem); letter-spacing: 0; }
  body { font-size: 1.04rem; }

  /* Logo: crop the padded PNG to the artwork */
  .logo-crop { position: relative; display: block; width: 132px; flex: none; }
  .logo-crop { aspect-ratio: 520 / 253; background: url("../img/logo.png") center / contain no-repeat; }
  .logo-crop.lg { width: 190px; }
  .logo-crop.xl { width: clamp(200px, 28vw, 340px); margin: 0 auto 1.6rem; }
  @media (max-width: 700px) { .logo-crop.xl { display: none; } }

  /* Dark navigation so the lime logo stands out */
  .nav { background: rgba(22, 24, 26, .94); border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-inner { height: 84px; }
  .menu a { color: #b4bbad; }
  .menu a:hover, .menu a.active { color: #fff; }
  .menu a::after { background: var(--lime); }
  .nav .btn-dark { background: var(--lime); color: var(--ink); }
  .nav .btn-dark:hover { background: #b8f000; }
  .nav .btn-dark .mark { background: var(--ink); }
  .burger { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
  .overlay { inset: 84px 0 0; }
  @media (max-width: 520px) { .logo-crop { width: 112px; } .nav-inner { height: 74px; } .overlay { inset: 74px 0 0; } }

  /* Icons in brand lime */
  .svc .ico, .line-item .ico { background: var(--ink); color: var(--lime); }
  .svc.core .ico { background: rgba(198,255,24,.12); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(198,255,24,.35); }
  .btn-line svg { color: var(--ink); }

  /* Kundenportal */
  .portal-wrap { display: grid; grid-template-columns: 330px 1fr; gap: 20px; align-items: start; }
  .ptabs { display: grid; gap: 10px; }
  .ptab {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; text-align: left;
    padding: 1.15rem 1.2rem; border-radius: 16px; cursor: pointer; font: inherit; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); transition: background .2s, border-color .2s, transform .2s var(--ease);
  }
  .ptab:hover { border-color: var(--line-2); transform: translateX(2px); }
  .ptab .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
  .ptab .ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .ptab b { display: block; font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
  .ptab small { display: block; margin-top: .2rem; font-size: .9rem; color: var(--muted); line-height: 1.45; }
  .ptab.active { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: var(--shadow); }
  .ptab.active small { color: #b4bbad; }
  .ptab.active .ico { background: var(--lime); color: var(--ink); }

  .app { background: var(--surface-2); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(0,0,0,.55); border: 1px solid var(--line); }
  .app-bar { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; background: var(--dark); color: #d6dbd1; }
  .app-bar .dots { display: flex; gap: 6px; }
  .app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f42; }
  .app-bar .dots i:first-child { background: var(--lime); }
  .app-title { flex: 1; font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
  .app-bar .pill { background: rgba(255,255,255,.08); color: #d6dbd1; }
  .app-body { display: grid; grid-template-columns: 170px 1fr; min-height: 420px; }
  .app-side { background: #1d2023; padding: 1.1rem .8rem; }
  .logo-crop.sm { width: 104px; margin: 0 .4rem 1.2rem; }
  .app-side ul { list-style: none; display: grid; gap: 2px; }
  .app-side li { padding: .55rem .7rem; border-radius: 8px; color: #a7ae9f; font-size: .88rem; font-weight: 600; cursor: pointer; }
  .app-side li:hover { color: #fff; }
  .app-side li.on { background: rgba(198,255,24,.12); color: var(--lime); }
  .app-main { padding: 1.3rem 1.4rem; }
  .app-obj { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .app-obj b { font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.25rem; }
  .app-obj small { color: var(--muted); font-weight: 600; }
  .view { display: none; animation: fadeIn .35s var(--ease); }
  .view.on { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
  .app .kpis { grid-template-columns: repeat(4, 1fr); margin: 0 0 1rem; }
  .app .kpi { background: var(--surface); }
  .tick.warn { background: #3a3f42; }
  .tick.warn svg { stroke: #fff; }
  .st { font-style: normal; font-size: .74rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; white-space: nowrap; }
  .st.ok { background: var(--lime); color: var(--ink); }
  .st.plan { background: var(--ink); color: var(--lime); }
  .st.wait, .log em.st.wait { background: rgba(0,0,0,.14); color: var(--ink); }
  .ptable { width: 100%; border-collapse: collapse; font-size: .88rem; }
  .ptable th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 .6rem .6rem 0; }
  .ptable td { padding: .75rem .6rem .75rem 0; border-top: 1px solid var(--line); font-weight: 600; vertical-align: middle; }
  .ptable td:nth-child(2), .ptable td:nth-child(3) { color: var(--muted); font-weight: 500; white-space: nowrap; }
  .report-btn { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: .88rem; }
  .report-btn span { color: var(--lime); font-size: 1.1rem; line-height: 1; }
  .docs { list-style: none; display: grid; gap: 8px; }
  .docs li { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .75rem .9rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; }
  .docs b { display: block; }
  .docs small { color: var(--muted); }
  .doc { width: 38px; height: 44px; border-radius: 6px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: .66rem; font-weight: 800; letter-spacing: .05em; }
  .dl { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 800; }
  .portal-sec .portal-note { margin-top: 1rem; text-align: right; color: var(--muted-2); font-size: .8rem; }
  @media (max-width: 1000px) {
    .portal-wrap { grid-template-columns: 1fr; }
    .ptabs { grid-template-columns: repeat(4, minmax(200px, 1fr)); overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
    .ptab small { display: none; }
    .ptab { align-items: center; }
  }
  @media (max-width: 700px) {
    .ptabs { grid-template-columns: repeat(4, minmax(160px, 1fr)); }
    .app-body { grid-template-columns: 1fr; min-height: 0; }
    .app-side { display: none; }
    .app-main { padding: 1rem; }
    .app .kpis { grid-template-columns: 1fr 1fr; }
    .ptable thead { display: none; }
    .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; padding: .7rem 0; border-top: 1px solid var(--line); }
    .ptable td { border: 0; padding: 0; }
    .ptable td:nth-child(2), .ptable td:nth-child(3) { font-size: .8rem; }
    .ptable td:nth-child(4) { grid-row: 1; grid-column: 2; }
    .portal-sec .portal-note { text-align: left; }
  }

  /* Wartungspläne */
  #wartung .head h2 { color: #fff; }
  .wsteps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 2rem; }
  .wsteps li { padding: 1.5rem; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
  .wsteps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(198,255,24,.12); color: var(--lime); font-weight: 700; font-family: "Barlow Semi Condensed", sans-serif; box-shadow: inset 0 0 0 1px rgba(198,255,24,.35); margin-bottom: 1rem; }
  .wsteps b { display: block; font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.3rem; margin-bottom: .3rem; }
  .wsteps span:last-child { color: #a7ae9f; font-size: .95rem; }
  @media (max-width: 860px) { .wsteps { grid-template-columns: 1fr; } }

  .cal { border-radius: 18px; background: #1d2023; border: 1px solid rgba(255,255,255,.08); padding: 1.3rem 1.4rem 1.5rem; }
  .cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-bottom: 1.2rem; }
  .cal-head b { font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.15rem; }
  .legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; color: #a7ae9f; font-size: .82rem; font-weight: 600; }
  .legend i { display: inline-block; margin-right: .35rem; vertical-align: middle; }
  .lg-bar { width: 22px; height: 8px; border-radius: 4px; background: var(--lime); }
  .lg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
  .lg-now { width: 12px; height: 12px; border-radius: 3px; background: rgba(198,255,24,.18); box-shadow: inset 0 0 0 1px rgba(198,255,24,.5); }
  .cal-scroll { overflow-x: auto; scrollbar-width: thin; }
  .cal-grid { display: grid; grid-template-columns: 150px repeat(12, minmax(38px, 1fr)); row-gap: 6px; min-width: 640px; }
  .m { text-align: center; font-size: .78rem; font-weight: 700; color: #7f867a; padding: .3rem 0; border-radius: 6px; }
  .m.now { color: var(--lime); background: rgba(198,255,24,.12); }
  .cal-label { font-size: .9rem; font-weight: 600; color: #d6dbd1; display: flex; align-items: center; padding-right: .8rem; }
  .cal-row {
    grid-column: 2 / 14; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; height: 38px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 calc(100% / 12 - 1px), rgba(255,255,255,.07) calc(100% / 12 - 1px) calc(100% / 12));
    border-radius: 8px;
  }
  .cal-row .bar { height: 12px; border-radius: 6px; background: var(--lime); margin: 0 4px; }
  .cal-row .bar.soft { background: rgba(198,255,24,.55); }
  .cal-row .dot { justify-self: center; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
  .cal-row .dot.big { width: 16px; height: 16px; box-shadow: 0 0 0 5px rgba(198,255,24,.18); }
  .dots12 { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, 1fr); }
  .dots12 i { justify-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); opacity: .85; }
  .cal-hint { display: none; margin-top: .8rem; font-size: .8rem; color: #7f867a; font-weight: 600; }
  @media (max-width: 700px) {
    .cal { padding: 1.1rem 1rem 1.2rem; }
    .cal-grid { grid-template-columns: 96px repeat(12, 34px); min-width: 0; width: max-content; }
    .cal-label { font-size: .8rem; line-height: 1.2; }
    .cal-row { height: 34px; }
    .cal-hint { display: block; }
  }

  /* Warum wir */
  .why { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .why li { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
  .why .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--lime); margin-bottom: 1.1rem; }
  .why .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .why b { display: block; font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.25rem; line-height: 1.2; margin-bottom: .4rem; }
  .why span:last-child { color: var(--muted); font-size: .95rem; }
  @media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .why { grid-template-columns: 1fr; } }
  /* Notruf */
  .sos-bar { background: #0f1112; border-bottom: 1px solid rgba(255,255,255,.07); color: #d6dbd1; font-size: .88rem; }
  .sos-inner { display: flex; align-items: center; gap: .7rem; height: 38px; white-space: nowrap; overflow: hidden; }
  .sos-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #ff4d4f; flex: none; }
  .sos-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ff4d4f; animation: sosPing 1.8s ease-out infinite; }
  @keyframes sosPing { to { transform: scale(2.8); opacity: 0; } }
  .sos-label b { color: #fff; }
  .sos-num { color: var(--lime); font-weight: 700; font-family: "Barlow Semi Condensed", sans-serif; font-size: 1rem; letter-spacing: .02em; }
  .sos-num:hover { text-decoration: underline; text-underline-offset: 3px; }
  .sos-ai { margin-left: auto; color: #8d9590; display: inline-flex; align-items: center; gap: .45rem; }
  .sos-ai svg { width: 15px; height: 15px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .overlay { inset: calc(84px + 38px) 0 0; }
  @media (max-width: 860px) { .sos-ai { display: none; } }
  @media (max-width: 520px) { .overlay { inset: calc(74px + 38px) 0 0; } .sos-label span { display: none; } }

  .sos-card {
    margin-top: 1.6rem; padding: 1.4rem 1.5rem; border-radius: 18px;
    background: var(--dark); color: #e9ece5; box-shadow: var(--shadow);
  }
  .sos-head { display: flex; align-items: center; gap: .65rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffb3b4; }
  .sos-big { display: inline-flex; align-items: center; gap: .7rem; margin: .7rem 0 .6rem; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.3rem); color: var(--lime); line-height: 1.1; }
  .sos-big svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .sos-card p { color: #b4bbad; font-size: .95rem; }
  .sos-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
  .sos-tags span { font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: rgba(255,255,255,.06); color: #d6dbd1; }
  .ai-badge { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .8rem; font-weight: 700; color: var(--lime); }

  .sos-112 { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem !important; color: #ffb3b4 !important; }
  .sos-112 a { color: #fff; font-weight: 800; text-decoration: underline; }
  .btn-sos { background: #0f1112; color: #fff; }
  .btn-sos .sos-dot { width: 8px; height: 8px; }
  @media (max-width: 700px) { .mobile-bar { gap: 8px; } .mobile-bar .btn { padding: .8rem .5rem; gap: .4rem; } }
  /* Notruf-Button: dezentes Rot */
  :root { --sos: #c62a3a; --sos-hover: #a82130; }
  .sos-num {
    display: inline-flex; align-items: center; gap: .4rem; height: 28px; padding: 0 .75rem 0 .6rem; border-radius: 7px;
    background: var(--sos); color: #fff; font-size: .95rem; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
    transition: background .2s;
  }
  .sos-num:hover { background: var(--sos-hover); text-decoration: none; }
  .sos-num svg, .sos-big svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .sos-big {
    gap: .6rem; padding: .6rem 1.2rem .6rem 1rem; border-radius: 12px; background: var(--sos); color: #fff;
    font-size: clamp(1.5rem, 3vw, 1.9rem); transition: background .2s;
  }
  .sos-big:hover { background: var(--sos-hover); }
  .sos-big svg { width: 22px; height: 22px; }
  .btn-sos { background: var(--sos); color: #fff; }
  .btn-sos:hover { background: var(--sos-hover); }
  .btn-sos .sos-dot, .btn-sos .sos-dot::after { background: #fff; }
  /* Referenzobjekte */
  .refs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 1.6rem; }
  .refs li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; padding: 1rem 1.1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
  .refs .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--lime); }
  .refs .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .refs b { font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.1rem; line-height: 1.15; }
  .refs small { color: var(--muted); font-size: .85rem; font-weight: 600; line-height: 1.3; }
  @media (max-width: 1100px) { .refs { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 700px) { .refs { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 400px) { .refs { grid-template-columns: 1fr; } }
  /* Werbevideo */
  .video video { background: #0f1112; }
  .vctrl { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
  .vbtn {
    display: inline-flex; align-items: center; gap: .45rem; height: 42px; padding: 0 1rem; border-radius: 999px; cursor: pointer;
    background: rgba(15,17,18,.62); color: #fff; border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font: 600 .92rem "Barlow", sans-serif; transition: background .2s, border-color .2s;
  }
  .vbtn:hover { background: rgba(15,17,18,.85); border-color: var(--lime); }
  .vbtn.icon { width: 42px; padding: 0; justify-content: center; }
  .vbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .vbtn .i-on, .vbtn .i-play { display: none; }
  .vbtn.on .i-on, .vbtn.paused .i-play { display: block; }
  .vbtn.on .i-off, .vbtn.paused .i-pause { display: none; }
  .vbtn.on { border-color: var(--lime); color: var(--lime); }
  @media (max-width: 520px) { .vctrl { right: 10px; bottom: 10px; } .vbtn { height: 36px; padding: 0 .8rem; font-size: .85rem; } .vbtn.icon { width: 36px; } }
  .hero h1 { margin-top: 0; }
  .hero h1 .eyebrow { display: flex; margin-bottom: 1.3rem; font-family: "Barlow", sans-serif; font-size: .78rem; line-height: 1.4; letter-spacing: .18em; font-weight: 600; }
  .hero h1 .h1-main { display: block; }

/* Rechtliche Seiten (Impressum, Datenschutz) */
.legal-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.legal-hero h1 { font-size: clamp(2.1rem, 8.6vw, 4.4rem); margin-top: 1rem; hyphens: auto; overflow-wrap: break-word; }
.legal-hero .sub { margin-top: 1rem; }
.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: clamp(4rem, 8vw, 6rem); }
.legal-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 940px; }
.toc { position: sticky; top: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.toc b { display: block; font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.05rem; margin: 0 .5rem .5rem; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: .4rem .55rem; border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); line-height: 1.35; }
.toc a:hover, .toc a.active { background: var(--ink); color: var(--lime); }
.legal-doc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); }
.legal-doc h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin: 2.2rem 0 .8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.legal-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-doc h2 .no { display: inline-grid; place-items: center; min-width: 34px; height: 34px; margin-right: .55rem; padding: 0 .4rem; border-radius: 9px; background: var(--ink); color: var(--lime); font-size: .95rem; vertical-align: 3px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); max-width: 78ch; }
.legal-doc p + p { margin-top: .8rem; }
.legal-doc ul { margin: .7rem 0 .9rem; padding-left: 0; list-style: none; display: grid; gap: .35rem; }
.legal-doc ul li { position: relative; padding-left: 1.4rem; }
.legal-doc ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 2px var(--lime) inset; }
.legal-doc a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(21,24,26,.35); text-underline-offset: 3px; word-break: break-word; }
.legal-doc a:hover { text-decoration-color: var(--ink); }
.legal-doc .legal-card { display: inline-block; margin: .3rem 0 .4rem; padding: 1.2rem 1.4rem; border-radius: 14px; background: var(--dark); color: #d6dbd1; line-height: 1.7; }
.legal-doc .legal-card strong { color: var(--lime); }
.legal-doc .legal-card a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.legal-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: .4rem; }
.legal-facts div { padding: 1rem 1.1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.legal-facts small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .25rem; }
.legal-facts b { font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.1rem; }
.legal-stand { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted) !important; }
@media (max-width: 960px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }
@media (max-width: 560px) { .legal-facts { grid-template-columns: 1fr; } }
