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

    :root {
      --bg: #ffffff;
      --bg-soft: #f6f8f6;
      --bg-tint: #eef6f0;
      --ink: #0f1411;
      --ink-2: #334038;
      --muted: #66736b;
      --line: #e2e8e3;
      --line-strong: #cfd8d1;

      --green: #178a3e;
      --green-700: #106b30;
      --green-50: #eef7f1;
      --green-100: #d9eedf;

      --violet: #6547c9;
      --violet-50: #f2effc;
      --blue: #2f64b8;
      --blue-50: #edf2fb;
      --orange: #cf4a26;

      --radius: 14px;
      --radius-sm: 9px;
      --shadow-sm: 0 1px 2px rgba(15,20,17,.05);
      --shadow: 0 1px 2px rgba(15,20,17,.04), 0 8px 24px -8px rgba(15,20,17,.10);
      --shadow-lg: 0 2px 4px rgba(15,20,17,.04), 0 24px 48px -16px rgba(15,20,17,.18);

      --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
      --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
      --max: 1180px;
      --gutter: 24px;
    }

    html { scroll-behavior: smooth; scroll-padding-top: 84px; }
    body {
      background: var(--bg);
      color: var(--ink);
      font-family: var(--font);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; }
    button { font: inherit; cursor: pointer; }
    input, select, textarea { font: inherit; }
    :focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }

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

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      height: 44px; padding: 0 20px;
      border-radius: 10px; border: 1px solid transparent;
      font-weight: 700; font-size: .92rem; letter-spacing: -.005em;
      text-decoration: none; white-space: nowrap;
      transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
    }
    .btn:active { transform: translateY(1px); }
    .btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 1px 2px rgba(16,107,48,.3); }
    .btn-primary:hover { background: var(--green-700); }
    .btn-dark { background: var(--ink); color: #fff; }
    .btn-dark:hover { background: #26302a; }
    .btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
    .btn-outline:hover { border-color: var(--ink); }
    .btn-ghost { background: transparent; color: var(--ink-2); padding: 0 12px; }
    .btn-ghost:hover { color: var(--ink); background: var(--bg-soft); }
    .btn-sm { height: 36px; padding: 0 14px; font-size: .85rem; border-radius: 8px; }
    .btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
    .btn-block { width: 100%; }
    .btn svg { width: 17px; height: 17px; flex-shrink: 0; }
    .btn[disabled] { opacity: .5; cursor: not-allowed; }

    /* ---------- Header ---------- */
    .site-header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(255,255,255,.86);
      backdrop-filter: saturate(1.6) blur(14px);
      -webkit-backdrop-filter: saturate(1.6) blur(14px);
      border-bottom: 1px solid transparent;
      transition: border-color .2s;
    }
    .site-header.scrolled { border-bottom-color: var(--line); }
    .header-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
    .logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
    .logo img { height: 26px; width: auto; max-width: none; }
    .site-footer .logo img { height: 24px; }
    .mission-head { display: grid; grid-template-columns: 1fr 200px; gap: 56px; align-items: center; margin-bottom: 56px; }
    .mission-head .section-head { margin-bottom: 0; }
    .mission-logo { width: 200px; height: auto; }
    .main-nav { display: flex; gap: 4px; margin-left: 8px; }
    .main-nav a {
      text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem;
      padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
    }
    .main-nav a:hover { color: var(--ink); background: var(--bg-soft); }
    .header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
    .user-chip {
      display: none; align-items: center; gap: 8px; text-decoration: none;
      padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px;
      font-weight: 700; font-size: .85rem;
    }
    .user-chip:hover { border-color: var(--line-strong); }
    .avatar {
      width: 28px; height: 28px; border-radius: 50%;
      background: var(--green-100); color: var(--green-700);
      display: grid; place-items: center; font-size: .75rem; font-weight: 800;
    }
    body.signed-in .user-chip { display: inline-flex; }
    body.signed-in .guest-only { display: none !important; }
    body:not(.signed-in) .member-only { display: none !important; }
    .menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; border-radius: 8px; }
    .menu-toggle:hover { background: var(--bg-soft); }
    .menu-toggle svg { width: 22px; height: 22px; }

    .mobile-nav { display: none; }

    /* ---------- Sprachwahl ---------- */
    .lang-menu { position: relative; }
    .lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: .82rem; font-weight: 700; color: var(--ink-2); cursor: pointer; }
    .lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--bg-soft); color: var(--ink); }
    .lang-btn svg { width: 16px; height: 16px; }
    .lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; }
    .lang-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
    .lang-list a:hover { background: var(--bg-soft); color: var(--ink); }
    .lang-list a[aria-current] { color: var(--green-700); background: var(--green-50); }
    .lang-list a span { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
    .mobile-lang { display: flex; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
    .mobile-nav .mobile-lang a { flex: 1; text-align: center; padding: 9px 0; font-family: var(--mono); font-size: .82rem; }
    .mobile-nav .mobile-lang a[aria-current] { background: var(--green-50); color: var(--green-700); }
    .footer-lang a[aria-current] { color: var(--ink); font-weight: 700; }
    .lang-suggest { position: fixed; left: 22px; bottom: 22px; z-index: 70; display: flex; align-items: center; gap: 12px; max-width: min(460px, calc(100vw - 44px)); padding: 12px 12px 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
    .lang-suggest .btn { flex-shrink: 0; }
    .lang-suggest .x { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
    .lang-suggest .x:hover { background: var(--bg-soft); color: var(--ink); }
    .legal-lang-note { margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--green); background: var(--green-50); border-radius: 0 8px 8px 0; font-size: .88rem; color: var(--ink-2); }

    /* ---------- Announcement ---------- */
    .announce {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 5px 14px 5px 6px; border-radius: 999px;
      background: #fff; border: 1px solid var(--line);
      font-size: .84rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
      box-shadow: var(--shadow-sm); transition: border-color .15s;
    }
    .announce:hover { border-color: var(--line-strong); }
    .announce .pill {
      background: var(--violet-50); color: var(--violet);
      font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
      padding: 3px 9px; border-radius: 999px;
    }
    .announce .arrow { color: var(--muted); }

    /* ---------- Hero ---------- */
    .hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
    .hero-rings {
      position: absolute; right: -180px; top: -140px; width: 820px; height: 820px;
      pointer-events: none; opacity: .9;
      -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
              mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
    }
    .hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
    .hero h1 {
      font-size: clamp(2.4rem, 4.9vw, 3.9rem);
      line-height: 1.02; letter-spacing: -.045em; font-weight: 800;
      margin: 26px 0 22px;
    }
    .hero h1 .hl { color: var(--green); }
    .hero h1 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
    .hero-grid > *, .product > *, .plan-intro > *, .services > *, .about > *, .contact-card > *, .mission-head > *, .account-grid > * { min-width: 0; }
    .hero .lead { font-size: 1.14rem; color: var(--ink-2); max-width: 540px; line-height: 1.65; }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
    .hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .86rem; color: var(--muted); font-weight: 600; }
    .hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
    .hero-meta svg { width: 16px; height: 16px; color: var(--green); }

    .hero-visual { position: relative; height: 480px; }
    .float-card {
      position: absolute; display: block; background: #fff; border: 1px solid var(--line);
      border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
      color: inherit; text-decoration: none; cursor: pointer;
      transform: rotate(var(--rot)); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
    }
    .float-card:hover, .float-card:focus-visible {
      transform: rotate(var(--rot)) scale(1.05); z-index: 3;
      box-shadow: 0 2px 4px rgba(15,20,17,.05), 0 32px 60px -18px rgba(15,20,17,.28);
    }
    .float-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
    .float-card img { width: 100%; height: auto; }
    .fc-tragwerk { --rot: 2deg; width: 290px; right: 0; top: 0; }
    .fc-mcp { --rot: -3deg; width: 235px; left: 0; top: 120px; z-index: 1; }
    @media (prefers-reduced-motion: reduce) { .float-card { transition: none; } .float-card:hover { transform: rotate(var(--rot)); } }
    .fc-label {
      display: flex; align-items: center; justify-content: space-between; gap: 10px;
      padding: 12px 16px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 700;
    }
    .fc-label .status { font-family: var(--mono); font-size: .7rem; font-weight: 500; color: var(--green-700); background: var(--green-50); padding: 3px 8px; border-radius: 6px; }
    .fc-label .status.violet { color: var(--violet); background: var(--violet-50); }
    .fc-terminal {
      position: absolute; right: -8px; bottom: 0; width: 265px; z-index: 2;
      background: #111713; color: #d7e4da; border-radius: 12px; box-shadow: var(--shadow-lg);
      font-family: var(--mono); font-size: .72rem; line-height: 1.7; padding: 14px 16px;
    }
    .fc-terminal .dots { display: flex; gap: 5px; margin-bottom: 10px; }
    .fc-terminal .dots i { width: 8px; height: 8px; border-radius: 50%; background: #3a453d; }
    .fc-terminal .p { color: #6fcf8e; }
    .fc-terminal .c { color: #8a9a8e; }

    /* ---------- Sections ---------- */
    section.block { padding: 104px 0; }
    section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
      color: var(--green-700);
    }
    .eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }
    .section-head { max-width: 720px; margin-bottom: 56px; }
    .section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 14px 0 16px; }
    .section-head p { color: var(--ink-2); font-size: 1.06rem; }
    .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
    .section-head.center .eyebrow::before { display: none; }

    /* ---------- Products ---------- */
    .product {
      display: grid; grid-template-columns: 380px 1fr; gap: 0;
      background: #fff; border: 1px solid var(--line); border-radius: 22px;
      box-shadow: var(--shadow); overflow: hidden;
    }
    .product + .product { margin-top: 28px; }
    .product-art {
      position: relative; display: grid; place-items: center; padding: 36px;
      border-right: 1px solid var(--line);
    }
    .product-art img { width: 100%; max-width: 280px; }
    .product.mcp .product-art { background: linear-gradient(160deg, #f6f4fd, #fff 60%); }
    .product.tragwerk .product-art { background: linear-gradient(160deg, #f3f6fc, #fff 60%); }
    .product-body { padding: 44px 48px; }
    .demo { margin: -4px 0 28px; }
    .demo-title { font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
    .demo-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
    .demo-tile { position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; text-align: left; font: inherit; }
    .demo-tile[data-video] { cursor: pointer; }
    .demo-tile img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
    .demo-tile:hover img { transform: scale(1.04); }
    .demo-tile:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
    .demo-play { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(17, 23, 19, .78); color: #fff; display: grid; place-items: center; }
    .demo-play svg { width: 16px; height: 16px; margin-left: 2px; }
    .demo-cap { display: block; padding: 6px 9px; font-size: .74rem; font-weight: 600; color: var(--ink-2); border-top: 1px solid var(--line); }
    .demo-dialog { margin: auto; border: 0; padding: 0; border-radius: 14px; width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: #fff; box-shadow: var(--shadow-lg); }
    .demo-dialog::backdrop { background: rgba(17, 23, 19, .72); }
    .demo-dialog img, .demo-dialog video { display: block; width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; background: #fff; }
    .demo-dialog p { padding: 12px 56px 14px 18px; font-size: .9rem; color: var(--ink-2); }
    .demo-close { position: absolute; right: 10px; bottom: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
    .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
    .badge {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
      background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
    }
    .badge.green { background: var(--green-50); color: var(--green-700); border-color: var(--green-100); }
    .badge.violet { background: var(--violet-50); color: var(--violet); border-color: #ddd5f6; }
    .badge.blue { background: var(--blue-50); color: var(--blue); border-color: #d6e1f4; }
    .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
    .product h3 { font-size: 2rem; letter-spacing: -.035em; line-height: 1.1; font-weight: 800; }
    .product .tagline { font-size: 1.12rem; font-weight: 600; color: var(--ink-2); margin: 8px 0 16px; }
    .product .desc { color: var(--ink-2); max-width: 620px; }
    #lignobuilders .desc { margin-bottom: 18px; }
    .checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 26px 0 30px; }
    .checks li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
    .checks li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
    .product.mcp .checks li svg { color: var(--violet); }
    .product.tragwerk .checks li svg { color: var(--blue); }
    .product-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
    .product-foot { margin-top: 18px; font-size: .82rem; color: var(--muted); }
    .product-foot code { font-family: var(--mono); font-size: .78rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--ink-2); }

    .code {
      display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
      background: #111713; color: #d7e4da; border-radius: 10px; padding: 12px 14px;
      font-family: var(--mono); font-size: .82rem; overflow-x: auto;
    }
    .code .p { color: #6fcf8e; user-select: none; }
    .code code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .copy-btn { flex-shrink: 0; }
    .copy-btn { background: #26302a; color: #d7e4da; border: 0; border-radius: 6px; padding: 5px 10px; font-family: var(--mono); font-size: .72rem; }
    .copy-btn:hover { background: #334038; }

    .license-box {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
      border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 26px;
    }
    .license-box > div { padding: 14px 16px; }
    .lic-company { margin: -12px 0 26px; font-size: .88rem; color: var(--ink-2); }
    .lic-company a { font-weight: 700; color: var(--green-700); white-space: nowrap; }
    .license-box > div + div { border-left: 1px solid var(--line); }
    .license-box .k { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
    .license-box .v { font-weight: 800; font-size: 1.02rem; margin-top: 2px; }
    .license-box .s { font-size: .8rem; color: var(--muted); }
    .license-box .v.free { color: var(--green-700); }

    .download-box { background: var(--blue-50); border: 1px solid #d5e1f5; border-radius: 12px; padding: 20px 22px; margin: 0 0 22px; }
    .download-box .btn svg { width: 18px; height: 18px; }
    .dl-meta { font-family: var(--mono); font-size: .76rem; color: var(--ink-2); margin: 10px 0 12px; }
    .download-box p { font-size: .88rem; color: var(--ink-2); }
    .download-box p + p { margin-top: 8px; }
    .download-box .dl-hint { font-size: .8rem; color: var(--muted); }
    .download-box a:not(.btn) { color: var(--blue); }

    .share { position: relative; }
    .share-btn svg { width: 17px; height: 17px; }
    .share-menu { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; }
    .share-menu a, .share-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; cursor: pointer; text-align: left; }
    .share-menu a:hover, .share-menu button:hover { background: var(--bg-soft); color: var(--ink); }
    .share-menu svg { width: 18px; height: 18px; flex-shrink: 0; }

    /* ---------- LignoPlan modules ---------- */
    .plan-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
    .plan-intro .section-head { margin-bottom: 0; }
    .plan-intro .aside { color: var(--ink-2); font-size: 1rem; border-left: 2px solid var(--green); padding-left: 20px; }
    .modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .module {
      position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px;
      padding: 22px; display: flex; flex-direction: column; min-height: 320px;
      transition: box-shadow .2s, transform .2s, border-color .2s;
    }
    .module.live, .module.builders { box-shadow: var(--shadow); border-color: #d6e1f4; }
    .module.live:hover, .module.builders:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
    a.module:focus-visible { outline-color: var(--blue); }
    .module .m-img { flex: 1; display: grid; place-items: center; padding: 8px 20px; }
    .module .m-img img { max-height: 190px; width: auto; }
    .module.soon .m-img img { filter: grayscale(1); opacity: .32; }
    a.module { text-decoration: none; }
    .module.builders .m-img img { filter: none; opacity: 1; }
    .module .m-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
    .module .m-name { font-weight: 800; letter-spacing: -.01em; }
    .module .m-desc { font-size: .8rem; color: var(--muted); margin-top: 10px; min-height: 3.2em; }
    .module.soon .m-name { color: var(--muted); }
    .module .m-status { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
    .module.live .m-status { background: var(--blue-50); color: var(--blue); }
    .module.available .m-status { background: var(--green-50); color: var(--green-700); }
    .module.soon .m-status { background: var(--bg-soft); color: var(--muted); border: 1px dashed var(--line-strong); }
    .module.mystery { background: repeating-linear-gradient(-45deg, #fafbfa, #fafbfa 10px, #f4f6f4 10px, #f4f6f4 20px); border-style: dashed; border-color: var(--line-strong); }
    .module.mystery .m-img { color: var(--line-strong); }
    .module.mystery .q { font-size: 5rem; font-weight: 800; letter-spacing: -.05em; color: #d5ddd7; line-height: 1; }
    .module.mystery p { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 10px; }
    .modules-cta { display: flex; justify-content: center; margin-top: 36px; gap: 10px; flex-wrap: wrap; }

    /* ---------- Steps (how it works) ---------- */
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
    .step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
    .step .n { width: 32px; height: 32px; border-radius: 9px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-weight: 800; font-size: .9rem; margin-bottom: 16px; }
    .step h4 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 6px; }
    .step p { font-size: .92rem; color: var(--ink-2); }

    /* ---------- Mission ---------- */
    .mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .mv-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
    .mv-k { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 12px; }
    .mv-card h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }
    .mv-card p { color: var(--ink-2); }
    .timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; position: relative; }
    .timeline::before { content: ''; position: absolute; left: 6px; right: 0; top: 6px; height: 2px; background: linear-gradient(90deg, var(--green) 0%, var(--green) 62%, var(--line-strong) 62%); }
    .timeline li { position: relative; padding-top: 30px; }
    .timeline li::before { content: ''; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--green); }
    .timeline li.now::before { background: var(--green); box-shadow: 0 0 0 5px var(--green-100); }
    .timeline li.next::before { border-style: dashed; border-color: var(--line-strong); }
    .timeline .tl-date { display: block; font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-bottom: 4px; }
    .timeline strong { display: block; font-size: 1rem; letter-spacing: -.01em; }
    .timeline p { font-size: .9rem; color: var(--ink-2); margin-top: 4px; }
    .timeline li.next strong, .timeline li.next p { color: var(--muted); }

    /* ---------- Services ---------- */
    .services { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
    .svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
    .svc { background: #fff; padding: 24px; }
    .svc h4 { font-size: 1rem; margin-bottom: 6px; letter-spacing: -.01em; }
    .svc p { font-size: .9rem; color: var(--ink-2); }
    .privacy { margin-top: 28px; padding: 20px 22px; background: var(--green-50); border: 1px solid var(--green-100); border-radius: 14px; display: flex; gap: 14px; }
    .privacy svg { width: 22px; height: 22px; color: var(--green-700); flex-shrink: 0; margin-top: 2px; }
    .privacy strong { display: block; margin-bottom: 2px; }
    .privacy p { font-size: .9rem; color: var(--ink-2); }

    /* ---------- About ---------- */
    .about { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
    .portrait {
      position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden;
      background: radial-gradient(circle at 50% 30%, #fff 0%, var(--bg-tint) 70%);
      border: 1px solid var(--line);
    }
    .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
    .about h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; margin: 14px 0 18px; }
    .about p { color: var(--ink-2); margin-bottom: 12px; max-width: 620px; }
    .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
    .tag { font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }

    /* ---------- Contact ---------- */
    .contact-card {
      background: var(--ink); color: #fff; border-radius: 24px; padding: 56px;
      display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
      position: relative; overflow: hidden;
    }
    .contact-card h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.035em; line-height: 1.1; margin-bottom: 14px; }
    .contact-card p { color: #b9c6bd; }
    .contact-links { display: grid; gap: 12px; position: relative; }
    .contact-link {
      display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px;
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-decoration: none;
      transition: background .15s;
    }
    .contact-link:hover { background: rgba(255,255,255,.1); }
    .contact-link svg { width: 20px; height: 20px; color: #6fcf8e; }
    .contact-link .k { font-size: .74rem; color: #8fa095; font-weight: 600; }
    .contact-link .v { font-weight: 700; }

    /* ---------- Footer ---------- */
    .site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 104px; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
    .footer-grid h5 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
    .footer-grid ul { list-style: none; display: grid; gap: 8px; }
    .footer-grid a { text-decoration: none; color: var(--ink-2); font-size: .92rem; }
    .footer-grid a:hover { color: var(--green-700); }
    .footer-grid .blurb { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 300px; }
    .footer-bottom a { text-decoration: none; }
    .footer-bottom a:hover { color: var(--ink); text-decoration: underline; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }

    /* ---------- App views (Konto) ---------- */
    .view { display: none; }
    .view.active { display: block; }
    .concept-bar {
      background: #fff8e6; border-bottom: 1px solid #f1e2b8; color: #6b5310;
      font-size: .84rem; font-weight: 600; text-align: center; padding: 9px 16px;
    }
    .auth-wrap { min-height: calc(100vh - 68px - 38px); display: grid; place-items: center; padding: 56px var(--gutter); background: var(--bg-soft); }
    .auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 36px; }
    .auth-card.wide { max-width: 620px; }
    .auth-card h1 { font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.2; }
    .auth-card .sub { color: var(--muted); font-size: .94rem; margin: 6px 0 26px; }
    .field { display: grid; gap: 6px; margin-bottom: 16px; }
    .field label { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
    .field input, .field select {
      height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink);
      transition: border-color .15s, box-shadow .15s;
    }
    .field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,138,62,.15); }
    .field .hint { font-size: .78rem; color: var(--muted); }
    .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .check { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--ink-2); margin-bottom: 12px; }
    .check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
    .check a { color: var(--green-700); }
    .divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin: 20px 0; }
    .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
    .pw-wrap { position: relative; }
    .pw-wrap input { width: 100%; padding-right: 48px; }
    .pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; }
    .pw-toggle:hover { color: var(--ink); background: var(--bg-soft); }
    .pw-toggle svg { width: 20px; height: 20px; }
    .pw-rules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 14px; margin: 2px 0 0; font-size: .78rem; color: var(--muted); }
    .pw-rules li::before { content: "○"; display: inline-block; width: 1.2em; }
    .pw-rules li.ok { color: var(--green-700); }
    .pw-rules li.ok::before { content: "✓"; }
    .pw-match { font-size: .78rem; color: var(--muted); }
    .pw-match.ok { color: var(--green-700); }
    .pw-match.bad { color: #8f2c14; }
    @media (max-width: 480px) { .pw-rules { grid-template-columns: 1fr; } }
    .label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
    .small-link { font-size: .8rem; font-weight: 700; color: var(--green-700); text-decoration: none; }
    .small-link:hover { text-decoration: underline; }
    .link-btn { display: block; margin: 14px auto 0; background: none; border: 0; font: inherit; font-size: .88rem; font-weight: 700; color: var(--green-700); cursor: pointer; }
    .link-btn:hover { text-decoration: underline; }
    .switch-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 16px 18px; border: 1px solid var(--green-100); background: var(--green-50); border-radius: 12px; }
    .switch-box strong { display: block; font-size: .95rem; }
    .switch-box span { display: block; font-size: .84rem; color: var(--ink-2); }
    .switch-box .btn { flex-shrink: 0; }
    @media (max-width: 480px) { .switch-box { flex-direction: column; align-items: stretch; text-align: center; } }
    .auth-alt { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 22px; }
    .auth-alt a { color: var(--green-700); font-weight: 700; text-decoration: none; }
    .link-row { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 18px; font-size: .85rem; }
    .link-row a { color: var(--green-700); text-decoration: none; font-weight: 600; }
    .form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

    .roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
    .role { position: relative; }
    .role input { position: absolute; opacity: 0; pointer-events: none; }
    .role label {
      display: block; height: 100%; padding: 14px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
      transition: border-color .15s, background .15s, box-shadow .15s;
    }
    .role label:hover { border-color: var(--ink-2); }
    .role input:checked + label { border-color: var(--green); background: var(--green-50); box-shadow: 0 0 0 3px rgba(23,138,62,.12); }
    .role input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
    .role .rt { font-weight: 800; font-size: .92rem; }
    .role .rp { font-size: .78rem; font-weight: 700; color: var(--green-700); margin-top: 4px; }
    .role .rd { font-size: .76rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }

    .account { background: var(--bg-soft); min-height: calc(100vh - 68px - 38px); padding: 40px 0 72px; }
    .account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
    .acc-nav { position: sticky; top: 92px; display: grid; gap: 2px; }
    .acc-nav .who { display: flex; align-items: center; gap: 12px; padding: 0 12px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
    .acc-nav .who .avatar { width: 40px; height: 40px; font-size: .9rem; }
    .acc-nav .who .n { font-weight: 800; font-size: .95rem; line-height: 1.3; }
    .acc-nav .who .e { font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
    .acc-nav button {
      display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0;
      padding: 10px 12px; border-radius: 9px; font-weight: 600; font-size: .92rem; color: var(--ink-2);
    }
    .acc-nav button svg { width: 18px; height: 18px; color: var(--muted); }
    .acc-nav button:hover { background: #fff; color: var(--ink); }
    .acc-nav button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
    .acc-nav button.active svg { color: var(--green); }
    .acc-nav .sep { height: 1px; background: var(--line); margin: 8px 0; }
    .acc-panel { display: none; }
    .acc-panel.active { display: block; }
    .acc-panel > h1 { font-size: 1.6rem; letter-spacing: -.03em; margin-bottom: 4px; }
    .acc-panel > .sub { color: var(--muted); margin-bottom: 26px; }
    .card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
    .card + .card { margin-top: 18px; }
    .card h3 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 4px; }
    .card .sub { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
    .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
    .stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
    .stat .k { font-size: .78rem; color: var(--muted); font-weight: 700; }
    .stat .v { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
    .stat .v.ok { color: var(--green-700); }
    .lic { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; }
    .lic img { width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
    .lic .t { font-weight: 800; }
    .lic .d { font-size: .86rem; color: var(--muted); }
    .kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
    .kv .k { font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
    .kv .v { font-weight: 700; font-size: .92rem; margin-top: 2px; }
    .progress { height: 6px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; margin-top: 8px; }
    .progress i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
    table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
    table.list th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
    table.list td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
    table.list tr:last-child td { border-bottom: 0; }
    table.list .mono { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
    .dl-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
    .dl-row + .dl-row { border-top: 1px solid var(--line); }
    .dl-row .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; flex-shrink: 0; }
    .dl-row .ic img { width: 36px; height: 36px; object-fit: contain; }
    .dl-row .t { font-weight: 700; }
    .dl-row .d { font-size: .84rem; color: var(--muted); }
    .dl-row .grow { flex: 1; min-width: 0; }
    .danger { border-color: #f1d0c7; }
    .danger h3 { color: #b0361a; }
    .btn-danger { background: #fff; color: #b0361a; border-color: #eab8aa; }
    .btn-danger:hover { background: #fdf2ef; }
    /* Rechtliches */
    .legal { max-width: 800px; padding-top: 48px; padding-bottom: 24px; }
    .legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
    .legal-nav a { text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--ink-2); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }
    .legal-nav a:hover { border-color: var(--line-strong); }
    .legal-nav a.active { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
    .legal-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; margin: 12px 0 12px; }
    .legal-head .lead { color: var(--ink-2); font-size: 1.05rem; }
    .legal-meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-top: 10px; }
    .legal-summary { background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--radius); padding: 22px 26px; margin: 32px 0; }
    .legal-summary h2 { font-size: 1.05rem; margin-bottom: 10px; }
    .legal-summary ul { padding-left: 20px; color: var(--ink-2); }
    .legal-summary li + li { margin-top: 4px; }
    .legal-summary .note { font-size: .84rem; color: var(--muted); margin-top: 12px; }
    .legal-toc { columns: 2; column-gap: 32px; padding-left: 22px; margin: 0 0 16px; font-size: .92rem; color: var(--muted); }
    .legal-toc a { color: var(--ink-2); text-decoration: none; }
    .legal-toc a:hover { color: var(--green-700); text-decoration: underline; }
    .legal section { padding-top: 28px; }
    .legal section h2 { font-size: 1.25rem; letter-spacing: -.015em; margin-bottom: 12px; }
    .legal section h3 { font-size: 1rem; margin: 18px 0 6px; }
    .legal section p, .legal section li { color: var(--ink-2); }
    .legal section p + p { margin-top: 10px; }
    .legal section ul, .legal section ol { padding-left: 22px; margin: 8px 0 10px; }
    .legal section li + li { margin-top: 6px; }
    .legal ol.alpha { list-style: lower-alpha; }
    .legal .n { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-right: 6px; }
    .legal a { color: var(--green-700); }
    .legal .legal-small { font-size: .78rem; color: var(--muted); margin-top: 18px; }
    .legal .todo { background: #fff3c4; color: #7a5a00; border-radius: 4px; padding: 0 4px; }
    .terms-card { border-color: var(--green-100); background: var(--green-50); }
    @media (max-width: 680px) { .legal-toc { columns: 1; } .legal-summary { padding: 18px; } }
    .toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; }
    .toggle-row + .toggle-row { border-top: 1px solid var(--line); }
    .toggle-row .t { font-weight: 700; font-size: .93rem; }
    .toggle-row .d { font-size: .84rem; color: var(--muted); }
    .switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
    .switch input { opacity: 0; width: 0; height: 0; }
    .switch span { position: absolute; inset: 0; background: var(--line-strong); border-radius: 99px; transition: background .15s; cursor: pointer; }
    .switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s; }
    .switch input:checked + span { background: var(--green); }
    .switch input:checked + span::after { transform: translateX(18px); }
    .switch input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

    .form-msg { margin: 4px 0 16px; padding: 11px 14px; border-radius: 10px; font-size: .88rem; line-height: 1.5; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
    .form-msg.error { background: #fdf2ef; border-color: #f1d0c7; color: #8f2c14; }
    .form-msg.ok { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
    .form-msg a { color: inherit; font-weight: 700; }
    .code-form { margin: 4px 0 18px; }
    .code-input { font-family: var(--mono); font-size: 1.25rem; letter-spacing: .3em; text-align: center; }
    .mail-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin-bottom: 18px; }
    .mail-icon svg { width: 26px; height: 26px; }
    .lic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
    .lic-note { font-size: .86rem; color: var(--muted); }
    .lic-text { margin-top: 16px; color: var(--ink-2); font-size: .93rem; }
    .stud-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
    .stud-note.hi { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
    .stud-part { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
    .stud-part h4 { font-size: .92rem; margin: 0 0 4px; }
    .stud-part .hint { font-size: .8rem; color: var(--muted); margin: 0 0 10px; }
    .stud-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
    .stud-row .field { flex: 1 1 220px; margin: 0; }
    .stud-row input[type=file] { height: auto; padding: 9px 12px; }
    .stud-part .form-msg { margin: 12px 0 0; }
    [hidden] { display: none !important; }
    .toast {
      position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0;
      background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: .9rem; font-weight: 600;
      box-shadow: var(--shadow-lg); z-index: 100; transition: opacity .2s, transform .2s; pointer-events: none;
      max-width: calc(100vw - 32px);
    }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }

    /* ---------- Chat ---------- */
    .chat-btn {
      position: fixed; right: 22px; bottom: 22px; z-index: 60;
      height: 52px; padding: 0 20px 0 16px; border-radius: 999px; border: 1px solid var(--line);
      background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
      display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem;
    }
    .chat-btn:hover { border-color: var(--line-strong); }
    .chat-btn .bub { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
    .chat-btn .bub svg { width: 16px; height: 16px; }
    .chat {
      position: fixed; right: 22px; bottom: 88px; z-index: 61; width: 370px; height: 520px; max-height: calc(100vh - 120px);
      background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
      display: flex; flex-direction: column; overflow: hidden;
      opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; transition: opacity .18s, transform .18s;
    }
    .chat.open { opacity: 1; transform: none; pointer-events: auto; }
    .chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
    .chat-head .bub { width: 36px; height: 36px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-weight: 800; }
    .chat-head .n { font-weight: 800; line-height: 1.2; }
    .chat-head .s { font-size: .78rem; color: var(--muted); }
    .chat-head .x { margin-left: auto; background: none; border: 0; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); font-size: 1.3rem; }
    .chat-head .x:hover { background: var(--bg-soft); color: var(--ink); }
    .chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
    .msg { max-width: 84%; min-width: 0; padding: 10px 13px; border-radius: 14px; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
    .msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
    .msg.user { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
    .msg a { color: var(--green-700); font-weight: 700; }
    .chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
    .chat-form input { flex: 1; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 12px; }
    .chat-form input:focus { outline: none; border-color: var(--green); }
    .chat-form button { width: 42px; height: 42px; border-radius: 10px; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; }
    .chat-form button svg { width: 18px; height: 18px; }

    /* ---------- Reveal ---------- */
    .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
    .reveal.in { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) {
      .reveal { opacity: 1; transform: none; transition: none; }
      html { scroll-behavior: auto; }
    }

    /* ---------- Responsive ---------- */
    @media (max-width: 1040px) {
      .main-nav { display: none; }
      .menu-toggle { display: grid; place-items: center; }
      .header-actions .btn-ghost.guest-only { display: none; }
      .mobile-nav.open { display: grid; gap: 2px; padding: 8px var(--gutter) 18px; border-top: 1px solid var(--line); background: #fff; }
      .mobile-nav a { text-decoration: none; font-weight: 700; padding: 12px 8px; border-radius: 8px; color: var(--ink-2); }
      .mobile-nav a:hover { background: var(--bg-soft); }
      .hero-grid { grid-template-columns: minmax(0, 1fr); }
      .hero-visual { height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
      .product { grid-template-columns: minmax(0, 1fr); }
      .product-art { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px; }
      .product-art img { max-width: 220px; }
      .plan-intro, .services, .about, .contact-card, .mission-head { grid-template-columns: 1fr; gap: 32px; }
      .mission-logo { width: 150px; }
      .about .portrait { max-width: 320px; }
      .modules { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
      .timeline::before { display: none; }
      .account-grid { grid-template-columns: 1fr; }
      .acc-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
      .acc-nav .who, .acc-nav .sep { display: none; }
      .acc-nav button { white-space: nowrap; }
    }
    @media (max-width: 360px) {
      .site-header .logo img { height: 22px; }
      .header-actions a.btn-primary.guest-only { font-size: .8rem; padding: 0 10px; }
    }
    @media (max-width: 680px) {
      :root { --gutter: 16px; }
      section.block { padding: 72px 0; }
      .hero { padding: 40px 0 64px; }
      .hero-visual { height: 340px; }
      .fc-tragwerk { width: 210px; }
      .fc-mcp { width: 180px; bottom: 60px; }
      .fc-terminal { width: 230px; font-size: .64rem; }
      .product-body { padding: 28px 22px; }
      .product-actions .btn, .download-box .btn { white-space: normal; height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; text-align: center; }
      .download-box .btn { width: 100%; }
      .download-box { padding: 16px; }
      .product h3 { font-size: 1.6rem; }
      .checks { grid-template-columns: 1fr; }
      .license-box { grid-template-columns: 1fr; }
      .license-box > div + div { border-left: 0; border-top: 1px solid var(--line); }
      .modules, .steps, .svc-list, .mv { grid-template-columns: 1fr; }
      .timeline { grid-template-columns: 1fr; gap: 22px; }
      .timeline li { padding: 0 0 0 30px; }
      .module { min-height: 260px; }
      .contact-card { padding: 32px 22px; }
      .footer-grid { grid-template-columns: 1fr; }
      .auth-card { padding: 26px 20px; }
      .row2, .roles { grid-template-columns: 1fr; }
      .stat-row { grid-template-columns: 1fr; }
      .kv { grid-template-columns: 1fr 1fr; }
      .lic { grid-template-columns: 56px 1fr; }
      .lic img { width: 56px; height: 56px; }
      .lic > .btn { grid-column: 1 / -1; }
      .dl-row { flex-wrap: wrap; }
      .table-scroll { overflow-x: auto; }
      .header-actions .btn-primary.guest-only { padding: 0 12px; }
      .header-inner { gap: 12px; }
      .chat { right: 12px; left: 12px; width: auto; bottom: 80px; }
      .chat-btn { right: 14px; bottom: 14px; padding: 0 14px 0 12px; }
      .chat-btn .lbl { display: none; }
      .lang-menu { display: none; }
      .lang-suggest { left: 12px; right: 12px; bottom: 80px; max-width: none; flex-wrap: wrap; }
    }
