/* Workrise – Design System ------------------------------------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); }
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --brand: #d0320b;
  --brand-dark: #a62708;
  --brand-light: #fdeae5;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-dark: #111827;
  --radius: 14px;
  --shadow: 0 0 0 1px rgba(15, 23, 42, .04), 0 18px 40px -18px rgba(15, 23, 42, .25);
  --shadow-sm: 0 0 0 1px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .05), 0 10px 24px -16px rgba(15, 23, 42, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); font-size: .95rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }
.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background 160ms ease, border-color 160ms ease; white-space: nowrap; touch-action: manipulation; }
.btn:hover { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.97); transition-duration: 100ms; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(208, 50, 11, .2), 0 8px 20px -8px rgba(208, 50, 11, .55); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12), 0 1px 2px rgba(15, 23, 42, .06); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { box-shadow: 0 0 0 1px rgba(15, 23, 42, .35), 0 1px 2px rgba(15, 23, 42, .06); } }
.btn--light { background: #fff; color: var(--brand); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1rem; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none !important; }

/* Topbar + Header */
.topbar { background: var(--ink); color: #cbd5e1; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem 0; flex-wrap: wrap; }
.topbar__inner span { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__links { gap: 1.2rem !important; }
.topbar a { color: #fff; }
.topbar img { background: #fff; border-radius: 4px; padding: 2px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms ease, box-shadow 200ms ease; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px -12px rgba(15, 23, 42, .18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav > a { padding: .5rem .7rem; color: var(--ink); font-weight: 600; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
.nav > a { transition: background 120ms ease; }
@media (hover: hover) and (pointer: fine) { .nav > a:hover { background: var(--bg-alt); text-decoration: none; } }
.nav > a[aria-current="page"] { color: var(--brand); }
.nav .btn { margin-left: .3rem; padding: .55rem 1.05rem; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform 220ms var(--ease-in-out), opacity 160ms ease; }
@media (max-width: 1120px) {
  .topbar__links a:nth-child(2) { display: none; }
  .nav-toggle { display: flex; }
  .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: .8rem 1rem 1.2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: top center; opacity: 0; transform: translateY(-6px) scale(.98); visibility: hidden; pointer-events: none; transition: opacity 120ms ease, transform 120ms var(--ease-out), visibility 0s linear 120ms; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 200ms ease, transform 220ms var(--ease-out), visibility 0s; }
  .nav > a { transition: background 120ms ease; }
  .nav > a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav .btn { margin: .3rem 0 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  /* Weiterbildungen-Dropdown: mobil inline */
  .nav-dd { width: 100%; }
  .nav-dd > summary { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav-dd__menu { position: static; box-shadow: none; border: 0; min-width: 0; margin: .2rem 0 .3rem; padding: 0 0 0 .7rem; }
}

/* Weiterbildungen-Dropdown (Navigation) */
.nav-dd { position: relative; }
.nav-dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .7rem; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 8px; white-space: nowrap; transition: background 120ms ease; }
.nav-dd > summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .nav-dd > summary:hover { background: var(--bg-alt); } }
.nav-dd__chev { width: .8rem; height: .8rem; transition: transform 160ms ease; }
.nav-dd[open] .nav-dd__chev { transform: rotate(180deg); }
.nav-dd__menu { position: absolute; left: 0; top: 100%; margin-top: .45rem; min-width: 272px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; z-index: 50; display: flex; flex-direction: column; }
.nav-dd__head { margin: .25rem .7rem .3rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.nav-dd__menu a { display: flex; flex-direction: column; gap: .1rem; padding: .5rem .7rem; border-radius: 8px; color: var(--ink); font-weight: 700; font-size: .95rem; }
.nav-dd__menu a span { font-weight: 500; font-size: .78rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .nav-dd__menu a:hover { background: var(--bg-alt); color: var(--brand); } }

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 14, 26, .92) 0%, rgba(10, 14, 26, .72) 50%, rgba(208, 50, 11, .35) 100%); }
.hero__content { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4.5rem); max-width: 760px; }
.js .hero__content > * { animation: rise 600ms var(--ease-out) backwards; }
.js .hero__content > :nth-child(2) { animation-delay: 60ms; } .js .hero__content > :nth-child(3) { animation-delay: 120ms; } .js .hero__content > :nth-child(4) { animation-delay: 180ms; } .js .hero__content > :nth-child(5) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.js .hero__media img { animation: hero-zoom 14s var(--ease-in-out) both; transform-origin: 60% 40%; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero .eyebrow { color: #fecaca; }
.hero h1 { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.hero .lead { color: #e2e8f0; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 2.2rem; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; max-width: 720px; }
.hero__facts li { background: rgba(255, 255, 255, .1); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); border-radius: 12px; padding: .7rem .9rem; backdrop-filter: blur(6px); }
.hero__facts strong { display: block; font-size: 1.3rem; line-height: 1.2; }
.hero__facts span { font-size: .82rem; color: #e2e8f0; }
.page-hero { background: linear-gradient(135deg, var(--bg-dark), #1f2937 60%, #3b1a12); color: #fff; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.page-hero--compact { padding: clamp(2rem, 4vw, 3rem) 0; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #cbd5e1; max-width: 760px; }
.page-hero .lead a { color: #fecaca; text-decoration: underline; }
.page-hero .eyebrow { color: #fecaca; }
.page-hero .hero__actions { margin-bottom: 0; }
.page-hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.pills span { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .3rem .9rem; font-size: .88rem; font-weight: 600; }

/* Sections */
.section { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: 2.2rem; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section--dark .section__head p { color: #cbd5e1; }

/* Grids / Cards */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 0; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .4rem; }
.card > :last-child { margin-bottom: 0; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card--link { color: inherit; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.card--link:hover { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.card--link:active { transform: scale(.985); transition-duration: 100ms; }
.card__more { color: var(--brand); font-weight: 700; margin-top: auto; }
.card__icon { font-size: 2rem; line-height: 1; margin-bottom: .4rem; }
.card__icon--xl { font-size: 4rem; margin-bottom: 1rem; }
.card__badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand); font-weight: 800; margin-bottom: .5rem; }
.card__sub { color: var(--muted); font-weight: 600; margin-bottom: .4rem; }
.feature { padding: 1.2rem 0; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-2); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .8rem; }
.tags span { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.checklist { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.checklist li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05em; height: 1.05em; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M3 8.5l3.2 3L13 4.5%27 fill=%27none%27 stroke=%27%23d0320b%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; }
.checklist--sm { font-size: .95rem; margin-bottom: .6rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.8rem; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.stats div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1.4rem; }
.stats strong { display: block; font-size: 2.2rem; color: #fff; line-height: 1.1; }
.stats span { color: #cbd5e1; font-size: .92rem; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.steps--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border: 0; box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 1.4rem 1.3rem 1.3rem; position: relative; }
.steps li::before { content: counter(s); display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: .7rem; }
.steps strong { display: block; margin-bottom: .25rem; }
.steps span { color: var(--ink-2); font-size: .95rem; }
.steps--compact { grid-template-columns: 1fr; gap: .6rem; }
.steps--compact li { padding: .8rem 1rem; display: grid; grid-template-columns: 30px 1fr; column-gap: .7rem; }
.steps--compact li::before { width: 26px; height: 26px; margin: 0; font-size: .85rem; grid-row: span 2; }
.quote { margin: 0 0 1.2rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--brand); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--ink-2); }
.quote.card { border-left: 4px solid var(--brand); }
.quote cite { display: block; margin-top: .7rem; font-style: normal; font-weight: 700; color: var(--ink); font-size: .9rem; }
.faq { border: 0; box-shadow: var(--shadow-sm); border-radius: 12px; background: #fff; margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary::after { transition: transform 200ms var(--ease-out); }
.faq[open] summary::after { transform: rotate(180deg); }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .85rem; color: var(--brand); font-size: 1.4rem; font-weight: 400; }
.faq[open] summary::after { content: "+"; }
.faq p { color: var(--ink-2); padding-bottom: 1rem; margin: 0; }
.js .faq[open] p { animation: rise 220ms var(--ease-out) both; }
.faq summary { transition: color 120ms ease; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--brand); } }

/* Quiz */
.quiz { background: #fff; border: 0; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.js .quiz__step:not([hidden]), .js .quiz__result:not([hidden]) { animation: rise 240ms var(--ease-out) both; }
.quiz__step { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.quiz__step legend { font-weight: 700; font-size: 1.1rem; margin-bottom: .8rem; }
.quiz__num { color: var(--brand); font-size: .85rem; margin-right: .4rem; }
.quiz__opt { text-align: left; background: var(--bg-alt); border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); border-radius: 12px; padding: .9rem 1.1rem; font: inherit; font-weight: 600; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 160ms ease, background 160ms ease; }
@media (hover: hover) and (pointer: fine) { .quiz__opt:hover { border-color: var(--brand); background: var(--brand-light); } }
.quiz__opt:active { transform: scale(.98); }
.quiz__result h3 { color: var(--brand); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* Video */
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: #0b1020; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video__btn { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; backdrop-filter: blur(8px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); transition: transform 160ms var(--ease-out), background 160ms ease; }
.video__btn:active { transform: translateX(-50%) scale(.96); }
@media (hover: hover) and (pointer: fine) { .video__btn:hover { background: #fff; } }
.video__btn.is-on { background: var(--brand); color: #fff; }
.video-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.video-points { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .7rem; }
.video-points li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); }
.video-points li::before { content: ""; flex: none; width: 1.1em; height: 1.1em; margin-top: .25em; background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M3 8.5l3.2 3L13 4.5%27 fill=%27none%27 stroke=%27%23d0320b%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--brand), #b1280a 60%, #7a1b06); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { color: #fee2e2; margin: 0; max-width: 620px; }
.cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 0; box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.form-aside { display: grid; gap: 1.2rem; }
.form-aside .btn { width: 100%; }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.form small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1.5px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 400; }
.form input:not([type="checkbox"]), .form select, .form textarea { transition: border-color 160ms ease, box-shadow 160ms ease; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(208, 50, 11, .15); }
.form .is-invalid { border-color: #dc2626 !important; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }
.form__fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem 1.1rem; display: grid; gap: .9rem; margin: 0; }
.form__fieldset legend { font-weight: 800; padding: 0 .4rem; color: var(--brand); }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .4rem .8rem; }
.check { display: flex !important; align-items: flex-start; gap: .55rem; font-weight: 500 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--brand); flex: none; }
.check--privacy { font-size: .9rem; color: var(--ink-2); }
.file input { padding: .5rem; border-style: dashed; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.form__hint { font-size: .85rem; color: var(--muted); }
.form__status:empty { display: none; }
.form__error { color: #b91c1c; font-size: .82rem; font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 500; }
.js .alert, .js .form__error { animation: rise 200ms var(--ease-out) both; }
.btn.is-busy > span { filter: blur(2px); opacity: .7; }
.btn > span { transition: filter 200ms ease, opacity 200ms ease; }
.alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* Legal */
.legal h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.legal h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }
.legal p, .legal li { color: var(--ink-2); }

/* Footer */
.footer { background: var(--bg-dark); color: #cbd5e1; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer a { color: #e2e8f0; }
.footer address { font-style: normal; line-height: 1.7; }
.footer__tagline { margin: 1rem 0; max-width: 320px; }
.footer img[alt="Workrise"] { background: #fff; padding: 6px 8px; border-radius: 8px; width: 140px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; color: #94a3b8; }
.footer__bottom a { color: #cbd5e1; }

@media print { .topbar, .header, .footer, .cta, .nav-toggle { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; animation-duration: .01ms !important; } .hero__content > *, .hero__media img { animation: none !important; } .js .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; } }

/* ---------- Mobile-Optimierung ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .lead { font-size: 1.02rem; }
  .section { padding: 2.2rem 0; }
  .section__head { margin-bottom: 1.4rem; }
  .topbar__inner { justify-content: center; font-size: .8rem; padding: .3rem 0; }
  .topbar__inner > span:first-child { display: none; }
  .topbar__links { gap: 1rem !important; }
  .brand img { width: 128px; }
  .hero__content { padding: 2.4rem 0 2rem; }
  .hero__actions { margin: 1.1rem 0 1.4rem; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hero__facts li { padding: .55rem .7rem; }
  .hero__facts strong { font-size: 1.1rem; }
  .hero__facts span { font-size: .76rem; }
  .page-hero { padding: 2rem 0; }
  .page-hero .hero__actions .btn { width: 100%; }
  .grid { gap: .9rem; }
  .card { padding: 1.2rem; }
  .card__icon { font-size: 1.7rem; }
  .feature { padding: .6rem 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .stats div { padding: 1rem; }
  .stats strong { font-size: 1.6rem; }
  .steps { gap: .7rem; }
  .steps li { padding: 1rem; }
  .split__media img { aspect-ratio: 16 / 10; }
  .quiz { padding: 1.1rem; }
  .cta__inner { gap: 1.2rem; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 100%; }
  .form-card { padding: 1rem; border-radius: 12px; }
  .form__fieldset { padding: .8rem .8rem .9rem; }
  .form__actions { flex-direction: column; align-items: stretch; }
  .form__actions .btn { width: 100%; }
  .form input:not([type="checkbox"]), .form select, .form textarea { font-size: 16px; padding: .8rem .9rem; } /* verhindert Auto-Zoom auf iOS */
  .checks { grid-template-columns: 1fr 1fr; }
  .footer { padding: 2.4rem 0 5.2rem; } /* Platz für die mobile Aktionsleiste */
  .footer__bottom { flex-direction: column; text-align: center; }
  .faq summary { padding: .85rem 0; }
}
/* Mobile Navigation als Vollbild-Overlay mit großen Zielen */
@media (max-width: 1120px) {
  .nav { max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav > a { border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a[aria-current="page"] { background: var(--brand-light); }
  .nav .btn { padding: .85rem 1rem; font-size: 1rem; }
}
/* Feste Aktionsleiste unten (nur Handy): Anrufen · WhatsApp · Personal anfragen */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,23,42,.08); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 46px; border-radius: 10px; font-weight: 700; font-size: .9rem; text-decoration: none; border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
  .mobile-bar a.mobile-bar__primary { background: var(--brand); color: #fff; border-color: var(--brand); }
  .mobile-bar--candidate { grid-template-columns: 1fr 1fr 1.6fr; }
  .js .mobile-bar { animation: bar-in 420ms var(--ease-out) 240ms backwards; }
  .mobile-bar a { transition: transform 140ms var(--ease-out); }
  .mobile-bar a:active { transform: scale(.96); }
}
/* Größere Touch-Ziele allgemein */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 46px; }
  .quiz__opt { min-height: 52px; }
  .check input { width: 22px; height: 22px; }
}

/* ---------- Blog ---------- */
.post-card__meta { color: var(--muted); font-size: .85rem; margin: 0 0 .3rem; }
.post-card h2 a { color: var(--ink); }
.post-card__img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: .6rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; color: var(--muted); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.post__meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.post__cover { border-radius: var(--radius); margin: 1.2rem 0 1.6rem; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { margin-top: 2rem; font-size: 1.55rem; }
.prose h3 { margin-top: 1.4rem; font-size: 1.2rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { text-decoration: underline; }
.post__cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius); background: var(--brand-light); border: 1px solid #f5c6b8; }
.post__cta p { margin: 0; color: var(--ink-2); }

/* ---------- Admin ---------- */
.adm { background: var(--bg-alt); }
.adm__bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1.2rem; background: #fff; border-bottom: 1px solid var(--line); }
.adm__brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); }
.adm__brand img { width: 110px; }
.adm__nav { display: flex; align-items: center; gap: .3rem; }
.adm__nav > a { padding: .5rem .8rem; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.adm__nav > a:hover { background: var(--bg-alt); text-decoration: none; }
.adm__nav > a[aria-current="page"] { color: var(--brand); background: var(--brand-light); }
.adm__nav form { margin-left: .4rem; }
.adm__toggle { display: none; }
.adm__main { width: min(100% - 2rem, 1180px); margin: 1.5rem auto 3rem; }
.adm__main h1 { font-size: 1.7rem; margin-bottom: 1rem; }
.adm__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.adm__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.adm__stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; }
.adm__stats strong { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--brand); }
.adm__stats span { color: var(--muted); font-size: .85rem; }
.adm__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; align-items: start; }
.adm__grid--edit { grid-template-columns: 1.7fr 1fr; }
.adm__side { display: grid; gap: 1.2rem; }
@media (max-width: 900px) { .adm__grid, .adm__grid--edit { grid-template-columns: 1fr; } }
.adm .card { gap: .7rem; }
.adm__list { list-style: none; padding: 0; margin: 0; }
.adm__list li { padding: .45rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .6rem; }
.adm__ai { margin-bottom: 1.2rem; }
.form--inline { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.form--inline label { flex: 1 1 220px; }
.form--inline .check { flex: 0 0 auto; align-items: center; padding-bottom: .5rem; }
.adm__suggest { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.2rem; background: linear-gradient(120deg, var(--bg-dark), #1f2937); color: #fff; border: 0; }
.adm__suggest .muted { color: #cbd5e1; }
.adm__suggest label { color: #fff; }
.adm__suggest input { width: 90px; }
.adm__table { margin-top: 1.2rem; padding: 0; overflow-x: auto; }
.adm__table h2 { padding: 1rem 1.2rem 0; }
.adm__table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.adm__table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .8rem 1.2rem; border-bottom: 1px solid var(--line); }
.adm__table td { padding: .8rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm__table a { color: var(--ink); }
.adm__actions { white-space: nowrap; text-align: right; }
.adm__actions a, .adm__actions .link { margin-left: .9rem; color: var(--brand); font-weight: 600; font-size: .9rem; }
.adm__actions form { display: inline; }
.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link--danger { color: #b91c1c !important; }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.badge--published { background: #dcfce7; color: #166534; }
.badge--draft { background: #fef3c7; color: #92400e; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; line-height: 1.5; }
.adm__code { display: block; font-size: .8rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: .6rem; word-break: break-all; }
.adm--login { display: grid; place-items: center; min-height: 100vh; }
.adm__login { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; width: min(100% - 2rem, 380px); box-shadow: var(--shadow); text-align: center; }
.adm__login img { margin: 0 auto .8rem; }
.adm__login label { text-align: left; }
@media (max-width: 760px) {
  .adm__toggle { display: flex; }
  .adm__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: .6rem 1rem 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .adm__nav.is-open { display: flex; }
  .adm__nav > a { padding: .8rem .6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .adm__main { margin-top: 1rem; }
  .adm__actions { white-space: normal; text-align: left; }
  .adm__actions a, .adm__actions .link { margin: 0 .9rem 0 0; }
}

/* ---------- Feinschliff: sanftes Erscheinen beim Scrollen (nur transform/opacity) ---------- */
@keyframes bar-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); will-change: opacity, transform; }
.js .reveal.is-in { opacity: 1; transform: none; will-change: auto; }
.js .reveal--clip { transform: none; clip-path: inset(0 0 100% 0); transition: opacity 400ms var(--ease-out), clip-path 700ms var(--ease-out); }
.js .reveal--clip.is-in { clip-path: inset(0 0 0 0); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: none; }
::selection { background: var(--brand-light); color: var(--ink); }

/* ---------- Admin: CRM (Kandidaten, Anfragen, Mailings) ---------- */
.adm__stats a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; color: inherit; transition: box-shadow var(--dur, .18s) var(--ease, ease-out), transform var(--dur, .18s) var(--ease, ease-out); }
.adm__stats a:hover { box-shadow: 0 6px 18px rgba(15, 23, 42, .08); transform: translateY(-1px); }
.adm__head h1 small { font-size: .95rem; font-weight: 500; margin-left: .4rem; }
.adm__head .adm__actions { display: flex; gap: .5rem; flex-wrap: wrap; white-space: normal; }
.adm__head .adm__actions a, .adm__head .adm__actions button { margin-left: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .6rem; }
.filters input, .filters select { padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .92rem; background: #fff; min-width: 0; }
.filters input[type="search"] { flex: 1 1 240px; }
.check--inline { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; margin: 0; }
.small { font-size: .85rem; }
.err { color: #b91c1c; }
.bulkbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .8rem 0 0; padding: .6rem .8rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; }
.btn--danger { color: #b91c1c; }
.adm__table tr.is-new td { background: #fff8f2; }
.adm__table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.badge--neu { background: var(--brand-light); color: var(--brand-dark); }
.badge--aktiv, .badge--gesendet, .badge--fertig, .badge--m-fertig, .badge--r-gesendet { background: #dcfce7; color: #166534; }
.badge--kontaktiert, .badge--bearbeitung, .badge--m-laeuft { background: #dbeafe; color: #1e40af; }
.badge--vermittelt, .badge--erledigt { background: #ede9fe; color: #5b21b6; }
.badge--inaktiv, .badge--m-gestoppt, .badge--r-abgemeldet, .badge--m-entwurf { background: #f1f5f9; color: #475569; }
.badge--err, .badge--r-fehler { background: #fee2e2; color: #991b1b; }
.badge--typ { background: #fff7ed; color: #9a3412; }
.kv { width: 100%; border-collapse: collapse; font-size: .93rem; }
.kv th { text-align: left; color: var(--muted); font-weight: 600; width: 34%; padding: .4rem .6rem .4rem 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.kv td { padding: .4rem 0; border-bottom: 1px solid var(--line); white-space: pre-line; }
.mailing .recount { font-size: 1.05rem; margin: .4rem 0 0; }
.mailing .recount strong { color: var(--brand); font-size: 1.4rem; }
.form__row--test { align-items: flex-end; }
.preview iframe { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 10px; background: #f3f4f6; }
.progress { height: 10px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: -.6rem 0 .6rem; }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--brand), #f0733f); transition: width .4s ease-out; }
details.card summary { cursor: pointer; }
.adm__code { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 760px) { .adm__table table { font-size: .85rem; } .adm__table th, .adm__table td { padding: .55rem .6rem; } }

/* ---------- Bewerbermanagement: Akte, Verlauf, Wiedervorlagen, Pipeline ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.adm__col { display: grid; gap: 1.2rem; min-width: 0; }
.adm__actions--wrap { white-space: normal; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: flex-end; }
.adm__actions--wrap a { margin-left: 0; }
.adm__side .form__row { grid-template-columns: 1fr; }
.form--compact { gap: .5rem; }
.form--compact label { font-size: .85rem; }
.status-form { display: inline-block; }
.status-select { padding: .45rem 2rem .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); font: inherit; font-weight: 700; font-size: .85rem; background: var(--bg-alt); color: var(--ink-2); cursor: pointer; }
.status-select--neu { background: var(--brand-light); color: var(--brand-dark); }
.status-select--kontaktiert, .status-select--gespraech { background: #dbeafe; color: #1e40af; }
.status-select--aktiv { background: #dcfce7; color: #166534; }
.status-select--angebot { background: #fef3c7; color: #92400e; }
.status-select--vermittelt { background: #ede9fe; color: #5b21b6; }
.status-select--abgelehnt { background: #fee2e2; color: #991b1b; }
.badge--gespraech { background: #e0f2fe; color: #075985; }
.badge--angebot { background: #fef3c7; color: #92400e; }
.badge--abgelehnt { background: #fee2e2; color: #991b1b; }
.tag { display: inline-block; padding: .05rem .5rem; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .78rem; color: var(--ink-2); }
.tag:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-block; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: background .15s var(--ease-out, ease), border-color .15s, color .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.act-form textarea { min-height: 90px; }
.act-form__actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; }
.quick-dates .link { color: var(--brand); font-weight: 600; }
.due { display: inline-block; padding: .1rem .5rem; border-radius: 6px; font-size: .8rem; font-weight: 700; background: var(--bg-alt); color: var(--ink-2); white-space: nowrap; }
.due--late { background: #fee2e2; color: #991b1b; }
.due--today { background: #fef3c7; color: #92400e; }
.due--later { background: #ecfdf5; color: #065f46; }
.due--done { background: #f1f5f9; color: #64748b; text-decoration: line-through; }
.adm__stats strong.due--late { color: #b91c1c; }
.card--due { border-left: 4px solid #f59e0b; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl { position: relative; display: flex; gap: .9rem; padding: .7rem 0; }
.tl__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: 1rem; z-index: 1; }
.tl--telefonat .tl__icon, .tl--gespraech .tl__icon, .tl--einsatz .tl__icon { border-color: #93c5fd; background: #eff6ff; }
.tl--aufgabe .tl__icon { border-color: #fcd34d; background: #fffbeb; }
.tl--status .tl__icon { border-color: #c4b5fd; background: #f5f3ff; }
.tl--dokument .tl__icon, .tl--mailing .tl__icon { background: var(--bg-alt); }
.tl__body { flex: 1; min-width: 0; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.tl:last-child .tl__body { border-bottom: 0; }
.tl__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; }
.tl__text { margin: .3rem 0 .2rem; white-space: pre-wrap; word-break: break-word; }
.tl--done .tl__text { color: var(--muted); }
.tl__actions { display: flex; gap: .4rem; align-items: center; color: var(--muted); }
.tl__actions form { display: inline; }
.tl__actions a { color: var(--ink-2); }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: .8rem; overflow-x: auto; padding-bottom: 1rem; align-items: start; }
.board__col { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: .6rem; min-height: 200px; transition: background .15s, border-color .15s; }
.board__col.is-over { background: #fff7ed; border-color: var(--brand); }
.board__head { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; margin: 0 .2rem .6rem; }
.board__cards { display: grid; gap: .5rem; }
.board__card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .7rem; display: grid; gap: .15rem; cursor: grab; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: transform .15s var(--ease-out, ease), box-shadow .15s; }
.board__card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.board__card.is-dragging { opacity: .5; transform: scale(.98); }
.board__card.is-saving { opacity: .6; }
.board__card a { color: var(--ink); }
.board__card small { font-size: .78rem; }
.board__more { display: block; text-align: center; padding: .4rem; color: var(--brand); font-weight: 600; }
@media (max-width: 760px) { .board { grid-auto-columns: minmax(78vw, 1fr); } .act-form__actions { flex-direction: column; align-items: stretch; } }
