/* =====================================================================
   AnkerMind Designsystem
   Basis: Website v5 (Papier, Waldgrün, Bricolage/Hanken/JetBrains Mono).
   Weiterentwickelt für eine Anwendung: Zustände, Formulare, Barrierearmut
   (Kontraste geprüft: tests/test_design_tokens.py), mobil zuerst.
   Lebender Styleguide: /studio/design/
   Aufbau: @layer reset, tokens, base, layout, components, tools, utilities.
   ===================================================================== */

@layer reset, tokens, base, layout, components, website, tools, utilities;

/* ---------------------------------------------------------------- Fonts */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.ada540c0e24a.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.b1ae2c312cfb.woff2") format("woff2-variations");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.c501f578bf3f.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.20672d217485.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-italic.48c1de8039db.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.b058178d7f30.woff2") format("woff2-variations");
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-ext-wght-normal.e36841ed93d5.woff2") format("woff2-variations");
  font-weight: 100 800; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- Tokens */
@layer tokens {
  :root {
    /* Papier */
    --paper: #fdfcfb;
    --paper-mid: #f7f6f4;
    --paper-deep: #f1f0ee;
    --surface: #ffffff;
    /* Tinte. faint nur für Linien/Deko (3,4:1), Text mindestens muted (5,5:1) */
    --ink: #1c1f1a;
    --ink-soft: #4d514a;
    --ink-muted: #66695f;
    --ink-faint: #8a8a80;
    --line: #d8d2c6;
    /* Rahmen von Eingabefeldern: mind. 3:1 (WCAG 1.4.11) */
    --field: #8a8a80;
    --line-soft: #e7e3db;
    /* Marke */
    --green: #2f5d3f;
    --green-deep: #234a31;
    --green-soft: #6f8d78;
    --green-tint: #e8efe9;
    --green-wash: rgba(47, 93, 63, .07);
    --hair: rgba(47, 93, 63, .28);
    /* Drei Fähigkeiten (Website: dunkel → hell) */
    --skill-konz: #1a3326;
    --skill-klar: #2f5d3f;
    --skill-gela: #4a7e5a;
    /* Sinneskanäle: Fläche/Grafik und Text-Variante (≥ 4,5:1) */
    /* Befinden (wie in der App, mit dem Palette-Validator geprüft): Pole blau und ocker, müde grau */
    --mood-leicht: #006f94;   --mood-muede: #c1bdb5;   --mood-schwer: #ba6826;
    --see: #946b2d;   --see-ink: #86601f;   --see-tint: #f5eee2;
    --hear: #2f7080;  --hear-ink: #2f7080;  --hear-tint: #e4eff1;
    --feel: #8a4840;  --feel-ink: #8a4840;  --feel-tint: #f4e8e6;
    --rest: #8a8a80;
    /* Zustände */
    --danger: #a23b2a; --danger-tint: #f8e9e6;
    --warn: #8a5a00;   --warn-tint: #fbf1dc;
    --ok: #2f5d3f;     --ok-tint: #e8efe9;
    /* Schrift */
    --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --font-text: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    /* Maße */
    --maxw: 72rem;
    --maxw-md: 56rem;
    --maxw-sm: 40rem;
    --px: 1rem;
    --radius: .75rem;
    --radius-sm: .5rem;
    --shadow: 0 1px 2px rgba(28, 31, 26, .04), 0 4px 16px rgba(28, 31, 26, .05);
    --shadow-lift: 0 2px 4px rgba(28, 31, 26, .05), 0 12px 32px rgba(28, 31, 26, .08);
    --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--green);
    --header-h: 4rem;
    --tabbar-h: 4.25rem;
    --ease: cubic-bezier(.2, .7, .2, 1);
  }
  @media (min-width: 640px) { :root { --px: 1.5rem; } }
  @media (min-width: 1024px) { :root { --px: 2rem; --header-h: 4.5rem; } }
}

/* ---------------------------------------------------------------- Reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, svg, video, audio { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; }
  a { color: inherit; }
  ul[role="list"], ol[role="list"] { list-style: none; }
  [hidden] { display: none !important; }
}

/* ---------------------------------------------------------------- Base */
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
  body {
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  main { flex: 1; }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.08;
    text-wrap: balance;
  }
  h1 { font-size: clamp(2.125rem, 6vw, 3.5rem); letter-spacing: -.03em; }
  h2 { font-size: clamp(1.625rem, 3.6vw, 2.375rem); }
  h3 { font-size: clamp(1.1875rem, 2vw, 1.375rem); }
  h4 { font-size: 1.0625rem; }
  p { text-wrap: pretty; }
  strong, b { color: var(--ink); font-weight: 600; }
  a:not([class]) { color: var(--green); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
  a:not([class]):hover { text-decoration-color: currentColor; }
  :focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
  ::selection { background: var(--green-tint); color: var(--ink); }
  hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
  small { font-size: .875rem; }
  table { border-collapse: collapse; width: 100%; }
  audio { width: 100%; }
  svg.icon { flex-shrink: 0; }
}

/* ---------------------------------------------------------------- Layout */
@layer layout {
  .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--px); }
  .container-md { width: 100%; max-width: var(--maxw-md); margin-inline: auto; padding-inline: var(--px); }
  .container-sm { width: 100%; max-width: var(--maxw-sm); margin-inline: auto; padding-inline: var(--px); }
  .section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
  .section-tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
  .section-alt { background: var(--paper-deep); }
  .page { padding-block: 2rem 4rem; }
  @media (min-width: 1024px) { .page { padding-block: 3rem 5rem; } }
  .stack > * + * { margin-top: var(--gap, 1rem); }
  .stack-sm { --gap: .5rem; }
  .stack-lg { --gap: 1.75rem; }
  .stack-xl { --gap: 3rem; }
  .row { display: flex; flex-wrap: wrap; gap: var(--gap, .75rem); align-items: center; }
  .row-between { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
  .grid { display: grid; gap: var(--gap, 1rem); grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 640px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 960px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .grid-main-aside { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  }
  @media (min-width: 640px) and (max-width: 959px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .sticky-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------------------------------------------------------------- Components */
@layer components {
  /* Skip-Link */
  .skip-link { position: absolute; left: .75rem; top: -3rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .5rem 1rem; border-radius: var(--radius-sm); text-decoration: none; }
  .skip-link:focus { top: .75rem; }

  /* ---- Kicker (Mono-Label mit Linien-Präfix, wie Website) ---- */
  .kicker {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-mono); font-size: .75rem; font-weight: 450;
    letter-spacing: .1em; text-transform: uppercase; color: var(--green);
    line-height: 1.3;
  }
  .kicker::before { content: ""; width: 1.25rem; height: 1.5px; background: currentColor; flex-shrink: 0; }
  .kicker-plain::before { display: none; }
  .kicker.see { color: var(--see-ink); } .kicker.hear { color: var(--hear-ink); } .kicker.feel { color: var(--feel-ink); }
  .mono { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .06em; }
  .eyebrow { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }

  /* ---- Header ---- */
  .site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(253, 252, 251, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
  }
  .site-header.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
  .header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); min-width: 0; }
  .brand-mark { width: 2.25rem; height: 2.25rem; color: var(--green); flex-shrink: 0; }
  .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.1; display: block; }
  .brand-sub { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); display: none; }
  @media (min-width: 768px) { .brand-sub { display: block; } }
  .team-badge { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); border-left: 1px solid var(--line); padding-left: .6rem; margin-left: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 9rem; }

  .main-nav { display: none; align-items: center; gap: 1.5rem; }
  @media (min-width: 1024px) { .main-nav { display: flex; } }
  .main-nav a { font-size: .9375rem; color: var(--ink-soft); text-decoration: none; position: relative; padding-block: .35rem; white-space: nowrap; }
  .main-nav a:hover { color: var(--ink); }
  .main-nav a[aria-current="page"] { color: var(--ink); }
  .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1rem; height: 2px; background: var(--green); border-radius: 2px; }
  .header-actions { display: flex; align-items: center; gap: .5rem; }
  .nav-cta {
    font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
    padding: .55rem .95rem; border: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s; border-radius: 2px;
  }
  .nav-cta:hover { background: var(--green); color: #fff; border-color: var(--green); }
  .nav-cta.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .nav-cta.solid:hover { background: var(--green); border-color: var(--green); }
  .icon-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; color: var(--ink-soft); }
  .icon-btn:hover { background: var(--paper-deep); color: var(--ink); }
  .icon-btn svg { width: 1.375rem; height: 1.375rem; }
  .menu-toggle { display: inline-grid; }
  @media (min-width: 1024px) { .menu-toggle { display: none; } }
  .hide-mobile { display: none; }
  @media (min-width: 640px) { .hide-mobile { display: inline-flex; } }

  /* Mobiles Menü (Panel) */
  .drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
  .drawer.open { visibility: visible; }
  .drawer-backdrop { position: absolute; inset: 0; background: rgba(28,31,26,.25); opacity: 0; transition: opacity .25s; }
  .drawer.open .drawer-backdrop { opacity: 1; }
  .drawer-panel {
    position: absolute; right: 0; top: 0; bottom: 0; width: min(20rem, 88vw);
    background: var(--paper); box-shadow: -8px 0 32px rgba(0,0,0,.08);
    padding: 1.25rem 1.5rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
    display: flex; flex-direction: column; gap: 1.25rem;
  }
  .drawer.open .drawer-panel { transform: none; }
  .drawer-nav { display: flex; flex-direction: column; }
  .drawer-nav a { padding: .7rem 0; font-size: 1.125rem; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
  .drawer-nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
  .drawer-sub a { font-size: 1rem; color: var(--ink-muted); }

  /* ---- App-Tab-Leiste (mobil, eingeloggt) ---- */
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(253, 252, 251, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
  }
  @media (min-width: 1024px) { .tabbar { display: none; } }
  body:has(> .tabbar) { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  @media (min-width: 1024px) { body:has(> .tabbar) { padding-bottom: 0; } }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; text-decoration: none; color: var(--ink-muted); font-size: .6875rem; font-weight: 500; letter-spacing: .01em; position: relative; }
  .tab svg { width: 1.5rem; height: 1.5rem; }
  .tab[aria-current="page"] { color: var(--green); }
  .tab[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 2rem; height: 2.5px; border-radius: 0 0 3px 3px; background: var(--green); }

  /* ---- Buttons ---- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 2.875rem; padding: .75rem 1.5rem;
    font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    text-decoration: none; text-align: center; line-height: 1.2;
    background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    -webkit-tap-highlight-color: transparent;
  }
  .btn:hover { background: var(--green); border-color: var(--green); }
  .btn:active { transform: translateY(1px); }
  .btn svg { width: 1rem; height: 1rem; }
  .btn-green { background: var(--green); border-color: var(--green); color: #fff; }
  .btn-green:hover { background: var(--green-deep); border-color: var(--green-deep); }
  .btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
  .btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .btn-quiet { background: transparent; color: var(--green); border-color: transparent; padding-inline: .5rem; }
  .btn-quiet:hover { background: var(--green-wash); border-color: transparent; }
  .btn-danger { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
  .btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
  .btn-lg { min-height: 3.375rem; padding-inline: 2rem; font-size: .8125rem; }
  .btn-sm { min-height: 2.25rem; padding: .45rem .9rem; font-size: .6875rem; }
  .btn-block { width: 100%; }
  .btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
  .link-arrow { display: inline-flex; align-items: center; gap: .35rem; color: var(--green); font-weight: 600; text-decoration: none; }
  .link-arrow::after { content: "→"; transition: transform .2s; }
  .link-arrow:hover::after { transform: translateX(3px); }

  /* ---- Karten ---- */
  .card {
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--shadow);
  }
  .card-flat { background: var(--paper-mid); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 1.75rem); }
  .card-accent { border-top: 3px solid var(--green); }
  .card-link { display: block; text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s; }
  .card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .card h3 + p, .card-flat h3 + p { margin-top: .5rem; }
  .card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
  .card-dark { background: var(--green); color: #fff; border: 0; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
  .card-dark h2, .card-dark h3, .card-dark strong { color: #fff; }
  .card-dark .kicker { color: rgba(255,255,255,.8); }
  .card-dark p { color: #fff; }

  /* ---- Hero / Seitenkopf ---- */
  .page-head { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); background: var(--paper-deep); border-bottom: 1px solid var(--line-soft); }
  .page-head h1 { color: var(--green); margin-top: .75rem; }
  .page-head .lead { margin-top: 1rem; max-width: 42rem; font-size: clamp(1.0625rem, 2vw, 1.1875rem); }
  .lead { font-size: clamp(1.0625rem, 2vw, 1.1875rem); line-height: 1.7; color: var(--ink-soft); }
  .hero { padding-block: clamp(3rem, 10vw, 7rem) clamp(3rem, 8vw, 6rem); }
  .hero-grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
  .hero-title { font-size: clamp(2.75rem, 8vw, 5.25rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; color: var(--green); }
  .hero-tagline { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.6vw, 1.875rem); letter-spacing: -.02em; color: var(--ink); line-height: 1.25; }
  .hero-anchor { width: clamp(10rem, 30vw, 19rem); height: auto; color: var(--green); margin-inline: auto; }

  /* Anker-Zeichen: Kreis dreht sich beim Laden einmal ein */
  .anchor-draw circle { stroke-dasharray: 12 17 394 17; animation: anchor-in 2.4s var(--ease) both; transform-origin: center; }
  @keyframes anchor-in { from { stroke-dashoffset: 440; opacity: 0; transform: rotate(-120deg); } to { stroke-dashoffset: 0; opacity: 1; transform: rotate(-30deg); } }
  .anchor-static circle { transform: rotate(-30deg); transform-origin: center; }

  /* ---- Formulare ---- */
  .field { display: flex; flex-direction: column; gap: .4rem; }
  .field + .field, .field + .fieldset, .fieldset + .field { margin-top: 1.1rem; }
  .field label, .label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
  .field .hint, .hint { font-size: .875rem; color: var(--ink-muted); line-height: 1.5; }
  .input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
    width: 100%; min-height: 2.875rem; padding: .7rem .9rem;
    background: var(--surface); border: 1px solid var(--field); border-radius: var(--radius-sm);
    color: var(--ink); font-size: 1rem; line-height: 1.4;
    transition: border-color .15s, box-shadow .15s;
  }
  .field textarea { min-height: 7rem; resize: vertical; }
  .input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-wash); }
  .field .errorlist, .errorlist { list-style: none; color: var(--danger); font-size: .875rem; font-weight: 500; }
  .field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
  .check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
  .check input { width: 1.25rem; height: 1.25rem; margin-top: .1rem; accent-color: var(--green); flex-shrink: 0; }
  .check-group { border: 0; padding: 0; margin: 0; min-width: 0; }
  .check-group > div { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .5rem; }
  .check-group label { display: flex; gap: .5rem; align-items: center; font-size: .9375rem; cursor: pointer; }
  .check-group input { width: 1.2rem; height: 1.2rem; accent-color: var(--green); }
  .fieldset { border: 0; }
  .fieldset legend { font-weight: 600; color: var(--ink); margin-bottom: .5rem; font-size: .9375rem; }
  .form-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
  .honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

  /* Auswahl-Kacheln (Radio als Karte) */
  .choice-grid { display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 560px) { .choice-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .choice-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .choice { position: relative; display: block; cursor: pointer; }
  .choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .choice-body { display: block; padding: .9rem 1rem; border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .15s, background .15s, box-shadow .15s; }
  .choice-body strong { display: block; }
  .choice-body small { color: var(--ink-muted); }
  .choice input:checked + .choice-body { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
  .choice input:focus-visible + .choice-body { box-shadow: var(--focus); }

  /* Chips (Dauer, Filter) */
  .chips { display: flex; flex-wrap: wrap; gap: .45rem; }
  .chip {
    display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; padding: .45rem 1rem;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
    font-size: .9375rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
  }
  .chip:hover { border-color: var(--green-soft); color: var(--ink); }
  .chip[aria-pressed="true"], .chip.active { background: var(--green); border-color: var(--green); color: #fff; }

  /* Pills / Badges */
  .pill {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--green); background: var(--green-wash); border: 1px solid rgba(47,93,63,.18);
    border-radius: 999px; padding: .28rem .65rem; line-height: 1.1; white-space: nowrap;
  }
  .pill.neutral { color: var(--ink-soft); background: var(--paper-deep); border-color: var(--line-soft); }
  .pill.warn { color: var(--warn); background: var(--warn-tint); border-color: rgba(138,90,0,.2); }
  .pill.danger { color: var(--danger); background: var(--danger-tint); border-color: rgba(162,59,42,.2); }
  .pill.solid { background: var(--green); color: #fff; border-color: var(--green); }
  .pill.see { color: var(--see-ink); background: var(--see-tint); border-color: rgba(154,112,48,.25); }
  .pill.hear { color: var(--hear-ink); background: var(--hear-tint); border-color: rgba(47,112,128,.25); }
  .pill.feel { color: var(--feel-ink); background: var(--feel-tint); border-color: rgba(138,72,64,.25); }

  /* Hinweise */
  .notice { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--green-tint); color: var(--ink); border: 1px solid rgba(47,93,63,.18); font-size: .9375rem; }
  .notice.warn { background: var(--warn-tint); border-color: rgba(138,90,0,.25); }
  .notice.danger { background: var(--danger-tint); border-color: rgba(162,59,42,.25); }
  .notice.neutral { background: var(--paper-deep); border-color: var(--line-soft); }
  .notice svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: .1rem; color: var(--green); }
  .messages { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); top: calc(var(--header-h) + .75rem); width: min(34rem, calc(100% - 2rem)); display: grid; gap: .5rem; }
  .toast { background: var(--ink); color: var(--paper); padding: .85rem 1.1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); font-size: .9375rem; animation: toast-in .35s var(--ease) both, toast-out .5s ease 6s forwards; }
  .toast.error { background: var(--danger); }
  @keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
  @keyframes toast-out { to { opacity: 0; transform: translateY(-8px); visibility: hidden; } }

  /* Listen */
  .list { border-top: 1px solid var(--line-soft); }
  .list > li, .list-item { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
  .list-link { text-decoration: none; color: inherit; display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .9rem .25rem; border-bottom: 1px solid var(--line-soft); transition: background .15s; }
  .list-link:hover { background: var(--paper-mid); }
  .meta { font-size: .875rem; color: var(--ink-muted); }
  .meta-row { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .875rem; color: var(--ink-muted); }
  .meta-row span { display: inline-flex; align-items: center; gap: .35rem; }
  .meta-row svg { width: 1rem; height: 1rem; color: var(--green-soft); }

  /* Datum-Kachel */
  .date-tile { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 3.5rem; padding: .45rem .5rem; border-radius: var(--radius-sm); background: var(--paper-deep); border: 1px solid var(--line-soft); line-height: 1; }
  .date-tile .d { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
  .date-tile .m { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-top: .2rem; }
  .date-tile.today { background: var(--green); border-color: var(--green); }
  .date-tile.today .d, .date-tile.today .m { color: #fff; }

  /* Tabellen */
  .table { width: 100%; font-size: .9375rem; }
  .table th { text-align: left; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--line); }
  .table td { padding: .7rem .5rem .7rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
  .table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .num { text-align: right; font-variant-numeric: tabular-nums; }

  /* Fortschritt / Plätze */
  .seats { display: flex; gap: 3px; flex-wrap: wrap; }
  .seat { width: .75rem; height: .75rem; border-radius: 2px; background: var(--green); }
  .seat.free { background: transparent; border: 1.5px solid var(--green-soft); }
  .bar { height: .5rem; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
  .bar > span { display: block; height: 100%; background: var(--green); border-radius: inherit; }

  /* Prosa (Markdown-Inhalte) */
  .prose { max-width: 40rem; font-size: 1.0625rem; line-height: 1.75; }
  .prose > * + * { margin-top: 1em; }
  .prose h2 { font-size: 1.5rem; margin-top: 2em; }
  .prose h3 { font-size: 1.1875rem; margin-top: 1.6em; }
  .prose ul, .prose ol { padding-left: 1.25rem; }
  .prose li + li { margin-top: .35em; }
  .prose blockquote { border-left: 2px solid var(--hair); padding-left: 1.25rem; font-style: italic; }
  .prose a { color: var(--green); }

  /* Zitat */
  .quote { font-style: italic; font-size: clamp(1.1875rem, 2.2vw, 1.4375rem); line-height: 1.55; color: var(--ink-soft); border-left: 2px solid var(--hair); padding-left: 1.5rem; }

  /* Tabs (Seitenbereiche) */
  .subnav { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line-soft); margin-bottom: 1.75rem; scrollbar-width: none; }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a { padding: .7rem .9rem; text-decoration: none; color: var(--ink-muted); white-space: nowrap; font-size: .9375rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); font-weight: 600; }

  /* Fähigkeiten-Kacheln (Website) */
  .skills { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 720px) { .skills { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
  .skill { border-radius: var(--radius); padding: 1.5rem; color: #fff; display: flex; flex-direction: column; gap: .6rem; }
  .skill h3 { color: #fff; font-size: 1.375rem; }
  .skill p { color: #fff; font-size: .9375rem; line-height: 1.6; }
  .skill.konz { background: var(--skill-konz); } .skill.klar { background: var(--skill-klar); } .skill.gela { background: var(--skill-gela); }

  /* Sinneskanäle */
  .channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .channel { border-radius: var(--radius-sm); padding: .9rem .5rem; text-align: center; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
  .channel.see { background: var(--see); } .channel.hear { background: var(--hear); } .channel.feel { background: var(--feel); }

  /* Stat-Kacheln */
  .stat { display: flex; flex-direction: column; gap: .2rem; }
  .stat .v { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .stat .k { font-size: .8125rem; color: var(--ink-muted); }

  /* Leere Zustände */
  .empty { text-align: center; padding: 2.5rem 1rem; color: var(--ink-muted); }
  .empty svg { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--green-soft); }

  /* Footer */
  .site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; margin-top: 3rem; font-size: .9375rem; }
  .footer-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 800px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
  .site-footer .footer-head { font-size: .6875rem; line-height: 1.3; letter-spacing: .1em; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; margin-bottom: .75rem; }
  .site-footer ul { list-style: none; display: grid; gap: .45rem; }
  .site-footer a { color: var(--ink-soft); text-decoration: none; }
  .site-footer a:hover { color: var(--green); }
  .footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--ink-muted); font-size: .8125rem; }
  .has-tabbar .site-footer { margin-bottom: 0; }

  /* Studio (Lehrer) */
  .studio-bar { background: var(--ink); color: var(--paper); font-size: .8125rem; }
  .studio-bar .container { display: flex; gap: 1rem; align-items: center; min-height: 2.25rem; overflow-x: auto; scrollbar-width: none; }
  .studio-bar a { color: rgba(253,252,251,.8); text-decoration: none; white-space: nowrap; }
  .studio-bar a:hover, .studio-bar a[aria-current="page"] { color: #fff; }
  .studio-bar .label { font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-size: .625rem; color: var(--green-soft); }

  .dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 99px; background: var(--green); }
  .dot.warn { background: var(--warn); } .dot.danger { background: var(--danger); } .dot.off { background: var(--line); }

  .avatar { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 99px; background: var(--green-tint); color: var(--green); font-family: var(--font-display); font-weight: 700; font-size: .875rem; flex-shrink: 0; }
  .avatar-img { object-fit: cover; background: var(--paper-deep); }
  .avatar-lg { width: 3.75rem; height: 3.75rem; font-size: 1.35rem; }
  .avatar-xl { width: 7rem; height: 7rem; font-size: 2.5rem; }
  .avatar-card { align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
  .ich-head { gap: 1rem; align-items: center; flex-wrap: nowrap; }
  .ich-avatar { border-radius: 99px; text-decoration: none; }
  .ich-avatar:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

  /* Beiträge (Austausch) */
  .post { display: flex; gap: .85rem; }
  .post-body { flex: 1; min-width: 0; }
  .post-body p { white-space: pre-line; overflow-wrap: anywhere; }
  .post-replies { margin-top: .75rem; padding-left: 1rem; border-left: 2px solid var(--line-soft); display: grid; gap: .75rem; }

  /* Kalender-Slots */
  .slot-days { display: grid; gap: 1rem; }
  .slot-day h3 { font-size: 1rem; font-family: var(--font-text); font-weight: 600; margin-bottom: .5rem; }
  .slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr)); gap: .45rem; }
  .slot { position: relative; }
  .slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .slot span { display: block; text-align: center; padding: .6rem .25rem; border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--surface); font-variant-numeric: tabular-nums; font-weight: 500; }
  .slot input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
  .slot input:focus-visible + span { box-shadow: var(--focus); }
  .slot:hover span { border-color: var(--green-soft); }

  /* Schritte */
  .steps { display: flex; gap: .5rem; align-items: center; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); flex-wrap: wrap; }
  .steps .on { color: var(--green); }
  .steps .sep { width: 1.25rem; height: 1px; background: var(--line); }

  /* Wochen-Rhythmus */
  .rhythm { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
  .rhythm-day { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .75rem; color: var(--ink-muted); }
  .rhythm-dot { width: 100%; max-width: 2.5rem; aspect-ratio: 1; border-radius: 999px; border: 1.5px dashed var(--line); display: grid; place-items: center; font-size: .6875rem; font-weight: 600; color: #fff; transition: transform .3s var(--ease); }
  .rhythm-dot.done { border: 0; background: var(--green); }
  .rhythm-dot.done.lots { background: var(--skill-konz); }
  .rhythm-dot.today { border-color: var(--green); border-style: solid; }
  .rhythm-day.today span:last-child { color: var(--green); font-weight: 700; }

  /* Plan-Häkchen */
  .plan-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
  .plan-week { display: flex; gap: .25rem; }
  .plan-week i { width: .6rem; height: .6rem; border-radius: 99px; background: var(--line-soft); }
  .plan-week i.on { background: var(--green); }
  .plan-week i.today { outline: 1.5px solid var(--green-soft); outline-offset: 1px; }
  .tick { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 99px; border: 1.5px solid var(--line); color: transparent; transition: all .2s var(--ease); }
  .tick svg { width: 1.25rem; height: 1.25rem; }
  .tick:hover { border-color: var(--green); color: var(--green-soft); }
  .tick.on { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.05); }
}


/* ---------------------------------------------------------------- Website */
@layer website {
  .measure { max-width: 44rem; }
  .section-title { color: var(--green); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
  .hero-sub { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); line-height: 1.5; max-width: 34rem; }
  .hero-mark { display: grid; place-items: center; }
  @media (max-width: 899px) { .hero-mark { order: -1; } .hero-mark .hero-anchor { width: clamp(7rem, 30vw, 10rem); } }

  /* Unternehmens-Banner über der Kopfzeile (wie ankermind.de) */
  .biz-bar { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.5rem; padding: .35rem var(--px);
    background: var(--green); color: #fff; font-size: .875rem; text-decoration: none; text-align: center; }
  .biz-bar .biz-cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
  .biz-bar:hover .biz-cta span[aria-hidden] { display: inline-block; transform: translateX(3px); }
  .biz-short { display: none; }
  @media (max-width: 760px) { .biz-long { display: none; } .biz-short { display: inline; } .biz-bar { font-size: .8125rem; } }

  .offer-note { font-style: italic; color: var(--ink-soft); }
  .offer-card { display: flex; flex-direction: column; gap: .75rem; }
  .offer-card h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
  .offer-card .card-cta { margin-top: auto; padding-top: .75rem; }
  .price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-top: auto; padding-top: .5rem; }
  .price .price-from { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
  .price .price-note { display: block; font-family: var(--font-text); font-size: .875rem; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }

  .teacher-card { display: grid; gap: 1.5rem; align-content: start; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-soft); }
  .teacher-mark { width: 4.5rem; height: 4.5rem; color: var(--green); }
  .contact-card { display: grid; gap: .75rem; align-content: start; font-style: normal; }
  .row-tight { --gap: .5rem; flex-wrap: nowrap; }
  .row-tight svg { flex-shrink: 0; }
  .promo { display: grid; gap: 1.5rem; }
  @media (min-width: 900px) { .promo { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; } }
  .promo-action { display: flex; }
  .btn-light { background: #fff; color: var(--ink); border-color: #fff; }
  .btn-light:hover { background: var(--paper-deep); border-color: var(--paper-deep); color: var(--ink); }

  /* Kennzahlen (Unternehmen) */
  .stat-card { background: var(--surface); border: 1px solid var(--line-soft); border-left: 3px solid var(--green); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; display: grid; gap: .5rem; }
  .stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.5rem); line-height: 1; letter-spacing: -.03em; color: var(--green); }
  .roi-card { display: grid; gap: 1.25rem; background: var(--green-deep); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
  @media (min-width: 680px) { .roi-card { grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; } }
  .roi-num { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: #fff; }
  .roi-num span { display: block; margin-top: .5rem; font-family: var(--font-mono); font-size: .6875rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
  .roi-card p { color: #fff; }
  .roi-lead { font-weight: 600; font-size: 1.0625rem; }
  .roi-src { font-size: .8125rem; }
  .sources { font-size: .8125rem; color: var(--ink-muted); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 1rem; }
  .channel-table th[scope="row"] { width: 7rem; }
  .channel-table td { color: var(--ink-soft); }

  /* Noting-Bühne: Begriffe formen sich, einer wird umkreist und benannt */
  .noting-title { font-size: clamp(1.5rem, 3vw, 2.25rem); text-align: center; max-width: 42rem; margin-inline: auto; }
  .channels-lg { max-width: 34rem; margin-inline: auto; width: 100%; }
  .noting-stage { position: relative; height: clamp(18rem, 42vw, 30rem); overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
  .noting-stage .hint { position: absolute; top: 1.1rem; left: 1.25rem; z-index: 2; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); pointer-events: none; }
  .note { position: absolute; transform: translate(-50%, -50%); pointer-events: none; display: flex; flex-direction: column; align-items: center; }
  @keyframes drift { from { transform: translate(-50%, -50%) translate(0, 0) scale(var(--s0, 1)); } to { transform: translate(-50%, -50%) translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--s1, 1)); } }
  .note .term { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -.02em; color: var(--ink); max-width: 11rem; text-align: center; text-wrap: balance; line-height: 1.1; opacity: 0; filter: blur(14px); transform: scale(1.08); transition: opacity 2.2s ease, filter 2.2s ease, transform 2.2s ease; }
  @media (max-width: 600px) { .note .term { font-size: .9375rem; max-width: 8rem; } }
  .note .ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: visible; }
  .note .ring circle { fill: none; stroke-width: 2; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.45, .05, .25, 1); }
  .note .label { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 999px; color: #fff; white-space: nowrap; opacity: 0; transition: opacity 1.1s ease; }
  .note.form .term { opacity: 1; filter: blur(2px); transform: scale(1); }
  .note.decoy .term { opacity: 0; filter: blur(14px); }
  .note.decoy.form .term { opacity: .72; filter: blur(3px); }
  .note.sharp .term { filter: blur(0); transition: filter 1.1s ease; }
  .note.lead.sharp:not(.gone) .term { transform: scale(1.08); transition: filter 1.1s ease, transform 1.1s cubic-bezier(.34, 1.2, .4, 1); }
  .note.labeled .label { opacity: 1; }
  .note.gone .term { opacity: 0; filter: blur(14px); transform: scale(.96); transition: opacity 3s ease, filter 3s ease, transform 3s ease; }
  .note.decoy.gone .term { filter: blur(24px); transform: scale(1.06); }
  .note.gone .ring circle { opacity: 0; transition: opacity 2.6s ease; }
  .note.gone .label { opacity: 0; transition: opacity 2.2s ease; }
  .note.lead.gone .term { transition: opacity 4.4s ease, filter 4.4s ease, transform 4.4s ease; }
  @media (prefers-reduced-motion: reduce) { .note { animation: none !important; } }
}

/* ---------------------------------------------------------------- Werkzeuge */
@layer tools {
  /* Übungsbühne: ruhige, große Fläche für Timer/Noting/Anker-Minute */
  .stage { min-height: calc(100dvh - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem var(--px) 3rem; text-align: center; gap: 1.5rem; }
  .stage-dark { background: radial-gradient(ellipse at 50% 30%, #25302a 0%, #161a17 70%); color: rgba(253,252,251,.9); }
  .stage-dark h1, .stage-dark h2, .stage-dark strong { color: #fff; }
  .stage-dark .kicker { color: rgba(253,252,251,.7); }
  .stage-dark .btn-ghost { color: rgba(253,252,251,.85); border-color: rgba(253,252,251,.3); }
  .stage-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .stage-dark .chip { background: transparent; color: rgba(253,252,251,.85); border-color: rgba(253,252,251,.25); }
  .stage-dark .chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
  .stage-dark .hint, .stage-dark .meta { color: rgba(253,252,251,.65); }

  /* Geführte Runden: Wort und Ansage unter dem Stäbchen */
  .anker-word { font-family: var(--font-display); font-size: clamp(2.25rem, 9vw, 3.75rem); font-weight: 600; color: #fff; letter-spacing: -.02em; }
  .anker-prompt { max-width: 26rem; font-size: 1.125rem; line-height: 1.6; min-height: 3.4em; color: rgba(253,252,251,.85); transition: opacity .6s; }

  /* Gemeinsam sitzen: Jeder Mensch atmet in eigenem Tempo (--p) und Takt (--d), wie ein Atemzug:
     einatmen (bis 40 %), kurz voll (bis 47 %), ausatmen (bis 90 %), Ruhe. Einatmen: Der Körper wird
     größer und heller, die Aura zieht sich eng und dicht um ihn zusammen, einen Hauch früher (die
     Luft kommt aus ihr). Ausatmen: Die Aura breitet sich weit aus und löst sich zart auf. */
  .sit-person .sit-body, .sit-person .sit-aura { transform-box: fill-box; transform-origin: center; }
  .sit-person .sit-body { animation: sit-body var(--p, 11s) linear var(--d, 0s) infinite; }
  .sit-person .sit-aura { animation: sit-aura var(--p, 11s) linear calc(var(--d, 0s) - var(--p, 11s) * .03) infinite; }
  @keyframes sit-body {
    0% { transform: scale(.74); opacity: .74; animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
    40% { transform: scale(1.26); opacity: 1; animation-timing-function: linear; }
    47% { transform: scale(1.26); opacity: 1; animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
    90%, 100% { transform: scale(.74); opacity: .74; }
  }
  @keyframes sit-aura {
    0% { transform: scale(1); opacity: .42; animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
    40% { transform: scale(.42); opacity: 1; animation-timing-function: linear; }
    47% { transform: scale(.42); opacity: 1; animation-timing-function: cubic-bezier(.37, 0, .63, 1); }
    90%, 100% { transform: scale(1); opacity: .42; }
  }
  @media (prefers-reduced-motion: reduce) {
    .sit-person .sit-body, .sit-person .sit-aura { animation: none !important; }
  }

  /* Kompass-Eingabe */
  .compass-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
  .compass-scale label { position: relative; }
  .compass-scale input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .compass-scale span { display: grid; place-items: center; height: 2.75rem; border: 1px solid var(--field); border-radius: var(--radius-sm); font-weight: 600; background: var(--surface); transition: all .15s; }
  .compass-scale input:checked + span { background: var(--c, var(--green)); border-color: var(--c, var(--green)); color: #fff; }
  .compass-scale input:focus-visible + span { box-shadow: var(--focus); }
  .compass-row + .compass-row { margin-top: 1rem; }
  .compass-row .row-between { margin-bottom: .4rem; }
  .compass-row.konz { --c: var(--skill-konz); } .compass-row.klar { --c: var(--skill-klar); } .compass-row.gela { --c: var(--skill-gela); }

  /* Diagramme */
  .chart { width: 100%; height: auto; overflow: visible; }
  .chart text { font-family: var(--font-text); font-size: 11px; fill: var(--ink-muted); }
  .chart .grid-line { stroke: var(--line-soft); stroke-width: 1; }
  .chart .axis { stroke: var(--line); }
  .legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8125rem; color: var(--ink-soft); }
  .legend i { display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }

  /* Video-Raum */
  .room { background: #161a17; color: #eee; min-height: calc(100dvh - var(--header-h)); display: flex; flex-direction: column; }
  .room-grid { flex: 1; display: grid; gap: .5rem; padding: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-content: center; }
  .tile { position: relative; background: #232a25; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; display: grid; place-items: center; }
  .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .tile:has(video:not([hidden])) .initials { display: none; }
  .tile.is-local video { transform: scaleX(-1); }
  .tile .name { z-index: 1; }
  .tile .name { position: absolute; left: .6rem; bottom: .5rem; background: rgba(0,0,0,.5); padding: .15rem .55rem; border-radius: 99px; font-size: .8125rem; }
  .tile .initials { font-family: var(--font-display); font-size: 2.5rem; color: rgba(255,255,255,.5); }
  .room-bar { display: flex; gap: .5rem; justify-content: center; padding: .75rem; flex-wrap: wrap; }
  .room-btn { min-height: 3rem; padding: .5rem 1.1rem; border-radius: 99px; background: rgba(255,255,255,.1); color: #fff; display: inline-flex; gap: .45rem; align-items: center; font-size: .9375rem; }
  .room-btn.off { background: #7b2d22; }
  .room-btn.leave { background: var(--danger); }
}

/* ---------------------------------------------------------------- Styleguide */
@layer components {
  .swatches { display: flex; flex-wrap: wrap; gap: .75rem; }
  .swatch { display: grid; gap: .3rem; justify-items: center; }
  .swatch i { display: block; width: 3rem; height: 3rem; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); }
  .swatch code { font-family: var(--font-mono); font-size: .625rem; color: var(--ink-muted); }
  .card-title-link { text-decoration: none; color: inherit; }
  .card-title-link:hover { color: var(--green); }
}

/* ---------------------------------------------------------------- Utilities */
@layer utilities {
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .text-center { text-align: center; }
  .text-green { color: var(--green); }
  .text-ink { color: var(--ink); }
  .text-muted { color: var(--ink-muted); }
  .text-small { font-size: .875rem; }
  .text-danger { color: var(--danger); }
  .nowrap { white-space: nowrap; }
  .mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
  .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
  .w-full { width: 100%; }
  .flex-1 { flex: 1; min-width: 0; }
  .center { display: grid; place-items: center; }
  .only-desktop { display: none; }
  @media (min-width: 1024px) { .only-desktop { display: revert; } .only-mobile { display: none; } }
}

/* ---------------------------------------------------------------- Druck (Rechnungen) */
@media print {
  .site-header, .site-footer, .tabbar, .studio-bar, .no-print, .messages, .skip-link { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none !important; border: 0 !important; }
  .page { padding: 0 !important; }
}

@layer utilities {
  .kicker-center, .row-center { justify-content: center; }
}

@layer utilities {
  .pre-line { white-space: pre-line; overflow-wrap: anywhere; }
  .link-back { display: flex; width: fit-content; align-items: center; gap: .35rem; color: var(--ink-muted); text-decoration: none; font-size: .9375rem; }
  .link-back:hover { color: var(--green); }
  .mono-area { font-family: var(--font-mono); font-size: .875rem; line-height: 1.6; }
}

@layer components {
  .auth h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
  .bullets { padding-left: 1.2rem; display: grid; gap: .4rem; }
  .h3 { font-size: clamp(1.1875rem, 2vw, 1.375rem); }
}

@layer components {
  .search { max-width: 22rem; min-height: 2.875rem; padding: .6rem .9rem; border: 1px solid var(--field); border-radius: var(--radius-sm); background: var(--surface); }
}

/* ---------------------------------------------------------------- Kurse & Buchung */
@layer components {
  .course-card { display: flex; flex-direction: column; gap: 1rem; }
  .course-card-foot { margin-top: auto; }
  .price-inline { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
  .price-big { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
  .booking-card { align-self: start; }
  .summary .h3 { font-family: var(--font-display); color: var(--ink); }
  .price-summary { border-top: 1px solid var(--line-soft); padding-top: 1rem; display: grid; gap: .35rem; }
  .price-summary strong { font-family: var(--font-display); font-size: 1.375rem; }
  .steps { list-style: none; }
  .steps li.sep { width: 1.25rem; height: 1px; background: var(--line); }
  .small-anchor { width: 5rem; }
  details.menu { position: relative; }
  details.menu > summary { list-style: none; }
  details.menu > summary::-webkit-details-marker { display: none; }
  .menu-panel { position: absolute; right: 0; z-index: 5; width: min(18rem, 80vw); margin-top: .25rem; padding: 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift); }
  .summary-toggle { cursor: pointer; display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
}

/* ---------------------------------------------------------------- Rechnungen */
@layer components {
  .invoice-head { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 640px) { .invoice-head { grid-template-columns: minmax(0, 1fr) auto; } }
  .invoice-meta dl { display: grid; grid-template-columns: auto auto; gap: .2rem 1rem; font-size: .9375rem; }
  .invoice-meta dt { color: var(--ink-muted); }
  .invoice .total td { border-top: 2px solid var(--ink); }
  .invoice-foot { border-top: 1px solid var(--line-soft); padding-top: 1rem; }
}
@layer components { .studio-invoice-actions { padding-top: 2rem; } }

/* ---------------------------------------------------------------- Kursbereich */
@layer components {
  .next-session { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
  .this-week { text-decoration: none; }
  .this-week .btn-light { align-self: flex-start; }
  .prose.on-dark, .prose.on-dark p { color: #fff; }
  .avatar-done { background: var(--green); color: #fff; }
  .avatar-locked { background: var(--paper-deep); color: var(--ink-muted); }
  .is-locked { background: var(--paper-deep); }
  .post.is-hidden { border-style: dashed; background: var(--paper-deep); }
  .material video { width: 100%; border-radius: var(--radius-sm); background: #000; }
  .room-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: .75rem; color: #eee; }
  .room-head .kicker { color: #b9d3c0; }
  .room-head strong { color: #fff; }
  .room-status { color: #d6d6d6; font-size: .875rem; }
  .room-btn.join { background: var(--green); }
  .room-note { text-align: center; font-size: .875rem; color: #bdbdbd; padding-bottom: 1rem; }
}

/* ---------------------------------------------------------------- Termine */
@layer components {
  .slot-days { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
  .slot-day { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1rem; display: grid; gap: .75rem; align-content: start; }
  .slot-day-head { font-size: 1rem; font-family: var(--font-text); font-weight: 600; margin: 0; }
  .slot-times { display: flex; flex-wrap: wrap; gap: .5rem; }
  .slot { display: inline-flex; align-items: center; justify-content: center; min-width: 4.5rem; min-height: 2.75rem; padding: .4rem .8rem; border: 1.5px solid var(--green); border-radius: 99px; color: var(--green-deep); font-variant-numeric: tabular-nums; text-decoration: none; font-weight: 600; }
  .slot:hover, .slot:focus-visible { background: var(--green); color: #fff; }
  .facts { display: grid; gap: .5rem; margin: 0; }
  .facts > div { display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: space-between; border-bottom: 1px solid var(--line-soft); padding-bottom: .5rem; }
  .facts dt { color: var(--ink-muted); }
  .facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; overflow-wrap: anywhere; min-width: 0; }
  .pack-dots { display: flex; gap: .4rem; }
  .pack-dot { width: 1.25rem; height: 1.25rem; border-radius: 99px; border: 2px solid var(--green); }
  .pack-dot.used { background: var(--green); }
  .appointment-item { flex-wrap: wrap; gap: .75rem; }
  .agenda { display: grid; gap: 1.25rem; }
  .agenda-day h3 { margin-bottom: .5rem; }
  .agenda-entry { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; border-bottom: 1px solid var(--line-soft); }
  .agenda-entry .list-link { flex: 1 1 18rem; border-bottom: 0; }
  .agenda-room { margin-block: .25rem .75rem; }
}

/* ---------------------------------------------------------------- Üben */
@layer components {
  .h4 { font-size: 1.0625rem; font-family: var(--font-text); font-weight: 600; }
  .stage-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .stage-narrow { max-width: 36rem; width: 100%; }
  .stage-wide { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .stage-result { width: min(38rem, 100%); }
  .items-center { display: flex; flex-direction: column; align-items: center; }
  .text-left { text-align: left; }
  .chips-center { justify-content: center; }
  .chip-label { align-self: center; }
  .check-center { justify-content: center; }
  .pad-width { width: min(34rem, 100%); }
  .legend-full, .legend-light { background: var(--ink-faint); }
  .legend-light { opacity: .45; }
  .spectrum { width: 100%; height: .75rem; display: block; }
  .spectrum-track { fill: var(--paper-deep); }
  .mood-chart { width: 100%; height: auto; display: block; }
  .mood-chart .leicht { fill: var(--mood-leicht); } .mood-chart .muede { fill: var(--mood-muede); } .mood-chart .schwer { fill: var(--mood-schwer); }
  .mood-chart .base { stroke: var(--line); stroke-width: 1; }
  .mood-chart text { font-size: 9px; fill: var(--ink-muted); text-anchor: middle; }
  .mood-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; color: var(--ink-soft); }
  .mood-legend i, .mood-dot { display: inline-block; width: .75rem; height: .75rem; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; }
  .mood-dot { border-radius: 50%; }
  .spectrum-fill.see { fill: var(--see); } .spectrum-fill.hear { fill: var(--hear); } .spectrum-fill.feel { fill: var(--feel); } .spectrum-fill.rest { fill: var(--rest); }
  .thread { display: grid; gap: .3rem; }
  .thread-head, .thread-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
  .thread-head span { font-size: .6875rem; color: var(--ink-muted); text-align: center; font-family: var(--font-mono); }
  .thread-dot { aspect-ratio: 1; border-radius: 99px; background: var(--paper-deep); max-width: 1.75rem; width: 100%; justify-self: center; }
  .thread-dot.l1 { background: var(--green-tint); box-shadow: inset 0 0 0 1.5px var(--green-soft); }
  .thread-dot.l2 { background: var(--green-soft); }
  .thread-dot.l3 { background: var(--green); }
  .thread-dot.today { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--green); }
  .thread-dot.future { background: transparent; box-shadow: inset 0 0 0 1px var(--line-soft); }
  .tool-card { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
  .tool-card svg { width: 1.75rem; height: 1.75rem; }
  .link-arrow.on-dark { color: #fff; }
}

/* ---------------------------------------------------------------- Üben II */
@layer components {
  .compass-box { width: min(34rem, 100%); color: var(--ink-soft); }
  .scale { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
  /* „Ein Wort für diese Sitzung?“: eine Zeile, die Skalen hinter „Mehr sagen“ */
  .compass-word { gap: .9rem; }
  .compass-word-row { display: flex; align-items: center; gap: .5rem; border-bottom: 1.5px solid var(--line); }
  .compass-word-row:focus-within { border-color: var(--green); }
  .compass-word-input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.25rem; padding: .65rem 0; color: var(--ink); }
  .compass-word-input:focus { outline: none; }
  .compass-word-input::placeholder { color: var(--ink-muted); }
  .compass-word-send { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 99px; background: transparent; color: var(--ink-muted); cursor: pointer; }
  .compass-word-send:hover, .compass-word-send:focus-visible { color: var(--ink); }
  .compass-word-send svg { width: 1.25rem; height: 1.25rem; }
  .compass-consent { font-size: .8125rem; color: var(--ink-muted); }
  .compass-more summary { cursor: pointer; width: fit-content; color: var(--ink-soft); font-size: .9375rem; padding: .35rem 0; }
  .compass-more[open] summary { margin-bottom: .75rem; }
  .stage-dark .compass-word { color: rgba(253,252,251,.75); }
  .stage-dark .compass-word-row { border-color: rgba(253,252,251,.25); }
  .stage-dark .compass-word-row:focus-within { border-color: rgba(253,252,251,.7); }
  .stage-dark .compass-word-input { color: #fff; }
  .stage-dark .compass-word-input::placeholder { color: rgba(253,252,251,.5); }
  .stage-dark .compass-word-send, .stage-dark .compass-consent, .stage-dark .compass-more summary { color: rgba(253,252,251,.6); }
  .stage-dark .compass-word-send:hover, .stage-dark .compass-word-send:focus-visible { color: #fff; }
  .stage-dark .compass-word .label { color: #fff; }
  .stage-dark .compass-word .scale-option { color: rgba(253,252,251,.85); border-color: rgba(253,252,251,.25); }
  .stage-dark .compass-word .scale-option:has(input:checked) { background: #fff; border-color: #fff; color: var(--ink); }
  .stage-dark .compass-word .field-error { color: #f2b8a2; }
  .stage-dark .compass-word strong.text-ink { color: #fff; }
  .stage-dark .compass-word .link-arrow { color: rgba(253,252,251,.85); }
  .compass-more > .stack > .scale + .scale { margin-top: .35rem; }

  /* Stille mit Timer: das Räucherstäbchen ist Regler und Uhr */
  .stille { position: relative; overflow: hidden; }
  .stille-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .stille-setup, .stille-running { position: relative; z-index: 1; gap: 1.1rem; width: 100%; }
  .stille-lead { max-width: 30rem; margin: .35rem auto 0; color: rgba(253,252,251,.72); }
  .stille-dial { position: relative; margin: .25rem auto 0; touch-action: none; cursor: ns-resize; border-radius: 12px; user-select: none; -webkit-user-select: none; }
  .stille-dial canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .stille-dial:focus-visible { outline: 2px solid rgba(255,255,255,.4); outline-offset: 6px; }
  .stille-dial-label { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; white-space: nowrap; text-align: left; pointer-events: none; }
  .stille-dial-label > span:nth-child(2) { font-family: var(--font-display); font-size: 1.75rem; font-weight: 300; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
  .stille-dial-unit { font-family: var(--font-text); font-size: .9375rem; color: rgba(253,252,251,.65); }
  .stille-dial-arrow { font-size: .8125rem; line-height: 1; color: rgba(253,252,251,.5); padding-left: .2rem; }
  .stille-quiet { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border: 0; border-radius: 99px; background: transparent; font: inherit; font-size: .9375rem; color: rgba(253,252,251,.7); cursor: pointer; }
  .stille-quiet:hover, .stille-quiet[aria-expanded="true"] { color: #fff; }
  .stille-quiet svg { width: 1rem; height: 1rem; opacity: .7; }
  .stille-options { gap: .8rem; }
  .stille-begin { min-width: min(20rem, 100%); }
  .stille-stick { height: clamp(234px, min(111.4vw, 54vh), 515px); aspect-ratio: 150 / 234; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; }
  .stille-stick:focus-visible { outline: 2px solid rgba(255,255,255,.4); outline-offset: 4px; }
  .stille-phase { min-height: 1.6em; margin: 0; }
  .stille-running .btn-ghost { color: rgba(253,252,251,.65); border-color: rgba(253,252,251,.18); }
  .stille-afterglow { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 2rem; background: #0b0d0c; cursor: pointer; animation: stille-dark 2.4s ease both; }
  .stille-afterglow[hidden] { display: none; }
  .stille-afterglow .hint { color: rgba(253,252,251,.45); }
  @keyframes stille-dark { from { opacity: 0; } to { opacity: 1; } }
  .stille-dim { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 2rem; background: #0b0d0c; text-align: center; }
  .stille-dim[hidden] { display: none; }
  .stille-dim > * { transition: opacity 2s ease; }
  .stille-dim.dark { cursor: pointer; }
  .stille-dim.dark > * { opacity: .02; }

  /* Geführte Runden: das Stäbchen im Licht des Kanals, darunter Wort und Ansage */
  .runde .stille-canvas { z-index: 2; }
  .runde-light { position: relative; display: grid; place-items: center; }
  .runde-field { position: absolute; left: 50%; top: 64%; width: min(135%, 94vw); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; background-color: rgba(255,255,255,.06); -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.35) 45%, transparent 70%); mask-image: radial-gradient(circle, #000 0, rgba(0,0,0,.35) 45%, transparent 70%); transition: background-color 1.6s ease; animation: runde-breathe 11s ease-in-out infinite; }
  .runde-field.see { background-color: rgba(154,112,48,.5); }
  .runde-field.hear { background-color: rgba(47,112,128,.55); }
  .runde-field.feel { background-color: rgba(138,72,64,.55); }
  .runde-field.warm { background-color: rgba(176,115,90,.5); }
  .runde-field.night { background-color: rgba(60,74,107,.55); }
  .runde-field.all { background-color: rgba(111,141,120,.35); }
  @keyframes runde-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.94); } 50% { transform: translate(-50%, -50%) scale(1); } }
  @media (prefers-reduced-motion: reduce) { .runde-field { animation: none; } }
  .runde-running .anker-word { margin: 0; min-height: 1.2em; }
  .runde-running .anker-prompt { margin: 0; }
  /* Anker werfen: ein ruhiger Kreis atmet mit */
  .atem-running { gap: 1.25rem; }
  .atem-space { width: min(70vw, 300px); aspect-ratio: 1; display: grid; place-items: center; }
  .atem-circle { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(111,141,120,.55) 20%, rgba(111,141,120,.08) 100%); transform: scale(.45); will-change: transform; }
  .atem-word { font-family: var(--font-display); font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 500; color: #fff; margin: 0; min-height: 1.3em; }

  /* Start und Ich wie in der App „Ruhig“: leise Zeilen statt Kacheln */
  .start .start-top .icon-btn { border: 1px solid var(--line); color: var(--green); margin-top: -.5rem; }
  .start h2.label { margin: 0; }
  .mood-chip[aria-pressed="true"] { background: var(--green-tint); border-color: var(--green); color: var(--green); }
  .quiet-rows { display: flex; flex-direction: column; }
  .quiet-row { display: flex; align-items: center; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
  .quiet-row:first-child { border-top: 1px solid var(--line-soft); }
  .quiet-row > svg:first-child { width: 1.375rem; height: 1.375rem; flex-shrink: 0; color: var(--green); }
  .quiet-row:hover .quiet-title { color: var(--green); }
  .quiet-text { display: flex; flex-direction: column; gap: .1rem; flex: 1; min-width: 0; }
  .quiet-title { font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
  .quiet-dot { width: .5rem; height: .5rem; border-radius: 99px; background: var(--green); }
  .quiet-trailing { white-space: nowrap; }
  .quiet-arrow { width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: var(--ink-faint); }
  .mood-consent { border-top: 1px solid var(--line-soft); padding-top: .9rem; }

  /* Start im Web: die Hauptkarte als kleine Bühne, die Übungen als Kacheln in ihren Farben */
  .start-head { display: grid; gap: 1.75rem; }
  @media (min-width: 60rem) { .start-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; } }
  .start-atem { border: 1px solid var(--line); color: var(--green); }

  .hero-card { --glow: rgba(111,141,120,.42); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: calc(var(--radius) * 1.5); color: rgba(253,252,251,.88); background: radial-gradient(ellipse at 70% 20%, #25302a 0%, #161a17 72%); min-height: 21rem; }
  .hero-card.glow-see { --glow: rgba(154,112,48,.5); }
  .hero-card.glow-hear { --glow: rgba(47,112,128,.55); }
  .hero-card.glow-feel { --glow: rgba(138,72,64,.55); }
  .hero-incense { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
  .hero-stick { position: relative; height: 12.5rem; }
  .hero-stick::before { content: ""; position: absolute; left: 50%; top: 62%; width: 26rem; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--glow) 0, transparent 62%); transition: background 1.6s ease; animation: runde-breathe 11s ease-in-out infinite; }
  .hero-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1rem; padding: 0 clamp(1.25rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem); }
  .hero-body[hidden] { display: none; }
  .hero-card .kicker { color: rgba(253,252,251,.7); }

  .hero-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; color: #fff; margin: 0; }
  .hero-body p { margin: 0; max-width: 34rem; font-size: 1.0625rem; line-height: 1.6; }
  .hero-card .btn-ghost { color: rgba(253,252,251,.85); border-color: rgba(253,252,251,.3); }
  .hero-card .pill { background: rgba(255,255,255,.1); border-color: transparent; color: rgba(253,252,251,.85); }
  .hero-card .meta { color: rgba(253,252,251,.6); }
  .hero-card .mood-consent { border-color: rgba(253,252,251,.15); }
  @media (min-width: 48rem) {
    .hero-card { grid-template-columns: minmax(0, 1fr) minmax(12rem, 34%); align-items: center; }
    .hero-stick { order: 2; height: 100%; min-height: 21rem; }
    .hero-body { padding: clamp(2rem, 4vw, 3rem); }
  }

  .start-notes { display: grid; gap: .6rem; }
  @media (min-width: 48rem) { .start-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .start-note { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: var(--radius); background: var(--paper-mid); border: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
  .start-note > svg:first-child { width: 1.25rem; height: 1.25rem; color: var(--green); flex-shrink: 0; }
  .start-note > span:nth-child(2) { flex: 1; min-width: 0; }
  .start-note:hover { border-color: var(--green-soft); }

  .kacheln { display: grid; gap: .9rem; grid-template-columns: minmax(0, 1fr); }
  .kacheln-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (min-width: 48rem) {
    .kacheln-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kacheln-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 60rem) { .kacheln-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .kachel { --tile-bg: var(--paper-mid); --tile-chip: var(--paper-deep); --tile-ink: var(--green); --tile-glow: rgba(47,93,63,.1); --tile-text: var(--ink-soft);
    position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; border-radius: var(--radius); overflow: hidden;
    background: var(--tile-bg); border: 1px solid rgba(28,31,26,.06); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
  .kachel::before { content: ""; position: absolute; z-index: -1; right: -35%; top: -45%; width: 95%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--tile-glow) 0, transparent 66%); transition: transform .6s var(--ease); }
  .kachel:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  .kachel:hover::before { transform: scale(1.15); }
  .kachel:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
  .kachel-art { position: relative; width: 3.25rem; height: 3.25rem; flex-shrink: 0; border-radius: 1rem; display: grid; place-items: center; background: var(--tile-chip); color: var(--tile-ink); }
  .kachel-art > svg { width: 1.6rem; height: 1.6rem; }
  .kachel-art > svg[viewBox="0 0 60 60"] { width: 2.6rem; height: 2.6rem; }
  .kachel-body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
  .kachel-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
  .kachel-text { color: var(--tile-text); font-size: .9375rem; line-height: 1.45; }
  .kachel-meta { margin-top: .35rem; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tile-ink); }
  .kachel-meta:empty { display: none; }
  .kachel-wide, .kacheln-3 .kachel, .kacheln-2 .kachel { flex-direction: row; align-items: center; }
  .kachel-wide .quiet-arrow { margin-left: auto; }
  @media (min-width: 48rem) { .kacheln-3 .kachel { flex-direction: column; align-items: stretch; min-height: 12.5rem; } .kacheln-3 .kachel-art { width: 4rem; height: 4rem; } }
  .kacheln-4 .kachel { min-height: 11.5rem; }

  .kachel-green { --tile-bg: #f1f5f0; --tile-chip: #e2ebe3; --tile-ink: var(--green); --tile-glow: rgba(47,93,63,.13); }
  .kachel-hear { --tile-bg: #eef4f5; --tile-chip: #dceaed; --tile-ink: var(--hear); --tile-glow: rgba(47,112,128,.14); }
  .kachel-see { --tile-bg: #f7f2e9; --tile-chip: #efe4d0; --tile-ink: var(--see); --tile-glow: rgba(148,107,45,.14); }
  .kachel-feel { --tile-bg: #f7efed; --tile-chip: #efdcd8; --tile-ink: var(--feel); --tile-glow: rgba(138,72,64,.13); }
  .kachel-warm { --tile-bg: #f8f0ea; --tile-chip: #f1ded2; --tile-ink: #9a5d45; --tile-glow: rgba(176,115,90,.16); }
  .kachel-paper { --tile-bg: var(--paper); --tile-chip: var(--paper-deep); --tile-ink: var(--ink-soft); border-color: var(--line-soft); }
  .kachel-help { --tile-bg: var(--paper); --tile-chip: var(--green-tint); border-color: var(--line-soft); }
  .kachel-night, .kachel-dusk { --tile-text: rgba(253,252,251,.68); color: #fff; border-color: transparent; }
  .kachel-night .kachel-title, .kachel-dusk .kachel-title { color: #fff; }
  .kachel-night { --tile-bg: linear-gradient(160deg, #2b3550 0%, #1b2133 100%); --tile-chip: rgba(255,255,255,.08); --tile-ink: #d9e0f2; --tile-glow: rgba(140,160,210,.22); }
  .kachel-dusk { --tile-bg: radial-gradient(ellipse at 70% 10%, #25302a 0%, #161a17 75%); --tile-chip: rgba(255,255,255,.06); --tile-ink: #c9d8cd; --tile-glow: rgba(224,122,69,.16); }
  .kachel-night .kachel-art .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #e8ecf7; animation: tile-twinkle 4.5s ease-in-out infinite; }
  .kachel-night .star.s1 { top: 8px; right: 10px; } .kachel-night .star.s2 { top: 16px; right: 4px; width: 2px; height: 2px; animation-delay: 1.5s; } .kachel-night .star.s3 { bottom: 9px; left: 8px; width: 2px; height: 2px; animation-delay: 3s; }
  @keyframes tile-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

  /* kleine Zeichnungen: das Stäbchen, die drei Kanäle, Menschen im Raum */
  .kachel-art .kachel-stick { stroke: #7d6753; stroke-width: 3; stroke-linecap: round; fill: none; }
  .kachel-art .kachel-bowl { stroke: #7d6753; stroke-width: 2.6; stroke-linecap: round; fill: none; }
  .kachel-art .kachel-ember { fill: #e07a45; animation: tile-ember 3.2s ease-in-out infinite; }
  .kachel-art .kachel-smoke { stroke: rgba(125,103,83,.5); stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-dasharray: 16; animation: tile-smoke 5s linear infinite; }
  @keyframes tile-ember { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
  @keyframes tile-smoke { from { stroke-dashoffset: 32; opacity: .9; } to { stroke-dashoffset: 0; opacity: .2; } }
  .kachel-art .c-see, .kachel-art .c-hear, .kachel-art .c-feel { mix-blend-mode: multiply; opacity: .72; }
  .kachel-art .c-see { fill: #c9a064; } .kachel-art .c-hear { fill: #6ea5b2; } .kachel-art .c-feel { fill: #c07d73; }
  .kachel-dusk .kachel-stick, .kachel-dusk .kachel-bowl { stroke: #9a8470; }
  .kachel-dusk .dot { transform-box: fill-box; transform-origin: center; animation: tile-breathe 9s ease-in-out infinite; }
  .kachel-dusk .d1 { fill: #bc6f57; } .kachel-dusk .d2 { fill: #d7bb74; animation-delay: -2s; animation-duration: 11s; } .kachel-dusk .d3 { fill: #689769; animation-delay: -4s; } .kachel-dusk .d4 { fill: #70c8cd; animation-delay: -6s; animation-duration: 12s; } .kachel-dusk .d5 { fill: #bd93c6; animation-delay: -1s; animation-duration: 10s; }
  @keyframes tile-breathe { 0%, 100% { transform: scale(.8); opacity: .6; } 45% { transform: scale(1.15); opacity: .95; } }
  @media (prefers-reduced-motion: reduce) { .kachel-art *, .kachel-night .star, .hero-stick::before { animation: none !important; } }

  /* Wenn es schwierig ist */
  .huerden { border-top: 1px solid var(--line-soft); max-width: 44rem; }
  .huerde { border-bottom: 1px solid var(--line-soft); }
  .huerde > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
  .huerde > summary::-webkit-details-marker { display: none; }
  .huerde-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--ink-muted); transition: transform .3s ease; }
  .huerde[open] .huerde-icon { transform: rotate(45deg); color: var(--green); }
  .huerde-body { padding-bottom: 1.25rem; color: var(--ink-soft); }
  .anker-prompt.soft { font-size: .9375rem; color: rgba(253,252,251,.5); }
  .runde .stille-stick { height: clamp(200px, min(111.4vw, 44vh), 460px); }
  .runde-running { gap: .8rem; }
  .stille-dim .anker-word { font-size: 1.75rem; color: rgba(253,252,251,.6); }
  .scale .hint { display: block; font-weight: 400; }
  .scale-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4rem; }
  .scale-option { position: relative; display: grid; place-items: center; min-height: 2.75rem; border: 1.5px solid var(--line); border-radius: 99px; cursor: pointer; font-weight: 600; color: var(--ink); }
  .scale-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
  .scale-option:has(input:checked) { background: var(--green); border-color: var(--green); color: #fff; }
  .scale-option:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
  .compass-bars { display: grid; gap: .6rem; }
  .compass-bar { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 2.5rem; gap: .6rem; align-items: center; font-size: .875rem; }
  .compass-bar svg { width: 100%; height: .6rem; }
  .compass-fill.konzentration, .compass-line.konzentration, .compass-point.konzentration, .legend-dot.konzentration { fill: var(--skill-konz); stroke: var(--skill-konz); background: var(--skill-konz); }
  .compass-fill.klarheit, .compass-line.klarheit, .compass-point.klarheit, .legend-dot.klarheit { fill: var(--skill-klar); stroke: var(--skill-klar); background: var(--skill-klar); }
  .compass-fill.gelassenheit, .compass-line.gelassenheit, .compass-point.gelassenheit, .legend-dot.gelassenheit { fill: var(--skill-gela); stroke: var(--skill-gela); background: var(--skill-gela); }
  .compass-fill { stroke: none; }
  .compass-line { fill: none !important; stroke-width: 2; }
  .legend-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 99px; margin-right: .3rem; vertical-align: middle; }
  .compass-values { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .875rem; color: var(--ink-muted); }
  .plan-row { display: grid; gap: .6rem; padding-block: .75rem; border-top: 1px solid var(--line-soft); }
  .plan-row:first-child { border-top: 0; }
  .plan-row > .stack > * { display: block; }
  .plan-week { display: flex; flex-wrap: wrap; gap: .35rem; }
  .plan-day { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 99px; border: 1.5px solid var(--line); font-size: .75rem; color: var(--ink-muted); background: transparent; }
  .plan-day.done { background: var(--green); border-color: var(--green); color: #fff; }
  .plan-day.today { border-color: var(--green); color: var(--green-deep); font-weight: 600; }
  .plan-day.done.today { color: #fff; }
  .plan-day.future { border-style: dashed; color: var(--ink-muted); }
  .sit-outside { gap: 1.25rem; }
  .sit-when, .sit-presence { margin: 0; min-height: 1.6em; }
  /* drinnen: der ganze Bildschirm. Erst geht das Licht aus, dann wird der Raum sichtbar. */
  body.in-room { overflow: hidden; }
  .sit-room { position: fixed; inset: 0; z-index: 1000; background: #0b0d0c; opacity: 0; transition: opacity .8s ease; }
  .sit-room.shown { opacity: 1; }
  .sit-frame { position: absolute; inset: 0; }
  .sit-frame > * { opacity: 0; transition: opacity 1.6s ease .6s; }
  .sit-room.shown .sit-frame > * { opacity: 1; }
  /* das Licht der Glut (deckend, samt Hintergrund gerechnet) */
  .sit-glow { position: absolute; inset: 0; width: 100%; height: 100%; }
  /* eine Ebene hinter dem Stäbchen: die Menschen, weich wie durch einen Schleier */
  .sit-space { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  /* gleichmäßig: ein Verlauf so schwach zeigte Ringe; den Verlauf gibt das (gestreute) Licht der Glut */
  .sit-veil { position: absolute; inset: 0; pointer-events: none; background: rgba(215,210,198,.035); }
  /* in der Mitte wie bei allen Übungen: das Räucherstäbchen (Größe wie beim Timer) */
  .sit-stick { position: absolute; left: 50%; top: calc(50% - 50px); transform: translate(-50%, -50%); height: clamp(234px, min(111.4vw, 54vh), 515px); aspect-ratio: 150 / 234; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; }
  .sit-stick:focus-visible { outline: 2px solid rgba(255,255,255,.4); outline-offset: 4px; }
  /* das Stäbchen zeichnet auf die ganze Fläche, damit der Rauch nicht an einer Kante endet */
  .sit-incense { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .sit-foot { position: absolute; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 18px); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
  .sit-phase { min-height: 1.6em; margin: 0; }
  .sit-room .btn-ghost { color: rgba(253,252,251,.65); border-color: rgba(253,252,251,.18); }
  .sit-presence { min-height: 1.6em; }
  .sit-rounds { width: min(30rem, 100%); color: var(--ink-soft); }
}

@layer tools {
  /* Karten auf dunkler Bühne: wieder dunkle Schrift auf hellem Grund */
  .stage-dark .card .meta, .stage-dark .card .hint { color: var(--ink-muted); }
  .stage-dark .card .kicker { color: var(--green); }
  .stage-dark .card strong, .stage-dark .card h2, .stage-dark .card h3 { color: var(--ink); }
}

/* ---------------------------------------------------------------- Unternehmen */
@layer components {
  .team-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
  .team-logo { max-height: 4rem; max-width: 12rem; width: auto; height: auto; object-fit: contain; }
}

/* ---------------------------------------------------------------- Übungsbibliothek */
@layer components {
  .script-text .cue { display: inline-block; font-family: var(--font-mono); font-size: .72em; letter-spacing: .04em; color: var(--green-deep); background: var(--green-wash); border-radius: 999px; padding: .1em .65em; }
  .script-text h2 { border-top: 1px solid var(--line-soft); padding-top: 1.25rem; }
  .optional { border: 1px solid var(--line-soft); border-left: 3px solid var(--green-soft); border-radius: var(--radius); padding: .75rem 1rem; }
  .optional > * + * { margin-top: .6em; }
  .mono-text { font-family: var(--font-mono); font-size: .8125rem; line-height: 1.6; }
  .optional-label { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
}
@layer tools {
  .guided .stage-narrow { width: min(36rem, 100%); }
  .guided-text { text-align: left; font-size: clamp(1.125rem, 4.2vw, 1.3rem); line-height: 1.7; color: rgba(253,252,251,.92); }
  .guided-text > * + * { margin-top: .9em; }
  .guided-text .cue { display: inline-block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(253,252,251,.55); border: 1px solid rgba(253,252,251,.2); border-radius: 999px; padding: .15em .7em; }
  .guided-text .optional { border-color: rgba(253,252,251,.18); border-left-color: rgba(253,252,251,.45); }
  .guided-text .optional-label { color: rgba(253,252,251,.55); }
  .guided-impulse { text-align: center; font-size: clamp(1.125rem, 4.5vw, 1.35rem); max-width: 30rem; min-height: 3em; animation: guided-fade 1.2s ease; }
  @keyframes guided-fade { from { opacity: 0; } }
  .link-light { color: rgba(253,252,251,.85); }
}
