/* makemeinvisible – eigenes Design, keine externen Schriften oder Bibliotheken. */
:root {
  --ink: #0f1b3d;
  --ink-2: #3b4768;
  --muted: #6b7591;
  --line: #e3e8f2;
  --bg: #f6f8fc;
  --card: #fff;
  --accent: #0d9488;
  --accent-2: #14b8a6;
  --mint: #5eead4;
  --ok: #059669;
  --warn: #c2410c;
  --busy: #2563eb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 61, 0.05), 0 8px 24px rgba(15, 27, 61, 0.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.section { padding: 56px 22px; }
.center { text-align: center; }
.small { font-size: 0.86rem; }
.muted { color: var(--muted); }
.break { word-break: break-all; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 0.6em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
code { background: #eef2f8; padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
code.copy { cursor: pointer; display: inline-block; word-break: break-all; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo .mark { width: 32px; height: 32px; color: var(--accent); }
.logo .word { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo .word b { font-weight: 800; background: linear-gradient(90deg, var(--ink) 0%, rgba(15, 27, 61, 0.25) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { text-decoration: none; }
.tag { margin-left: 10px; background: var(--ink); color: #fff; font-size: 0.72rem; padding: 2px 8px; border-radius: 99px; font-weight: 700; }

/* Kopfzeile */
.top { background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.top nav.main { display: flex; gap: 22px; flex: 1; }
.top nav.main a { color: var(--ink-2); font-weight: 500; }
.top nav.main a.on { color: var(--ink); font-weight: 700; }
.cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.who { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) { .top nav.main { display: none; } }

/* Knöpfe */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 650; cursor: pointer; text-align: center; transition: background 0.15s, transform 0.05s; }
.btn:hover { background: #0b7f75; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); background: #f0fdfa; }
.btn.light { background: #fff; color: var(--ink); }
.btn.danger { background: #b91c1c; }
.btn.lg { padding: 14px 26px; font-size: 1.05rem; }
.btn.block { display: block; width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; }
.link.danger { color: #b91c1c; }
form.inline { display: inline; }

/* Startseite */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #ccfbf1 0%, transparent 60%), linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.mock { background: var(--card); border-radius: 18px; box-shadow: 0 30px 60px rgba(15, 27, 61, 0.12); border: 1px solid var(--line); overflow: hidden; transform: rotate(1deg); }
.mock-head { display: flex; gap: 6px; padding: 12px 14px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.mock-head span { width: 10px; height: 10px; border-radius: 50%; background: #d4dae6; }
.mock-body { padding: 22px; }
.mock-list { list-style: none; margin: 18px 0 0; padding: 0; }
.mock-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-list i { font-style: normal; }
.ring { position: relative; width: 120px; height: 120px; color: var(--accent); margin: 6px auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; }
.ring.lg { width: 96px; height: 96px; }
.band { background: var(--ink); color: #fff; padding: 34px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stats strong { display: block; font-size: 1.9rem; color: var(--mint); }
.stats span { color: #c7cfe3; font-size: 0.92rem; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards.three, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards.three, .cards.four { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.cards .card { margin: 0; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: -14px; left: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; margin: 6px 0; font-size: 1.08rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; border-left: 3px solid var(--line); margin-left: 8px; }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); }
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, #134e4a 100%); color: #fff; text-align: center; padding: 64px 0; }
.cta-band p { color: #cbd5e1; }

/* Tarife */
.toggle { display: inline-flex; background: #e9eef6; border-radius: 99px; padding: 4px; margin: 6px 0 24px; }
.toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 99px; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.toggle button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.toggle em { font-style: normal; color: var(--accent); font-size: 0.85em; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.hi { border: 2px solid var(--accent); }
.ribbon { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.price { margin: 8px 0 2px; }
.price strong { font-size: 2.1rem; letter-spacing: -0.02em; }
.price span { color: var(--muted); margin-left: 4px; }
.billed { min-height: 2.6em; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; font-size: 0.93rem; }
.checks li { padding: 5px 0 5px 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plans.compact .checks li:nth-child(n + 5) { display: none; }

/* Tabellen, Formulare */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafbfe; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr.off { opacity: 0.5; }
.card .table { box-shadow: none; }
input, select, textarea { font: inherit; color: inherit; width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; margin-top: 4px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15); }
input[type="checkbox"], input[type="radio"] { width: auto; margin: 0 8px 0 0; }
label { display: block; font-weight: 550; font-size: 0.93rem; }
/* Kein Flex: Text und Links im Label laufen als normaler Fließtext um, die Box hängt links davor. */
label.check { font-weight: 400; position: relative; padding-left: 26px; }
label.check input { position: absolute; left: 0; top: 5px; margin: 0; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.row label { flex: 1; min-width: 140px; }
.row input, .row select { min-width: 120px; }
.row.between { justify-content: space-between; align-items: center; }
.row h2, .row h3 { width: 100%; }
.row.between h3, .row.between h1 { width: auto; margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.grid2 > label { margin: 0; }
fieldset.radios { border: 0; padding: 0; margin: 14px 0 0; display: flex; gap: 22px; }
fieldset.radios legend { font-weight: 550; font-size: 0.93rem; margin-bottom: 4px; }
fieldset.radios label { display: flex; align-items: center; font-weight: 400; }
.form-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.form-row label { flex: 1; min-width: 180px; }
.narrowform { max-width: 420px; }
.search { max-width: 380px; margin: 0 0 16px; }
.auth { display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 480px; padding: 32px; }

/* Status */
.badge { display: inline-block; font-size: 0.78rem; font-weight: 650; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.badge.ok { background: #d1fae5; color: #065f46; }
.badge.warn { background: #ffedd5; color: #9a3412; }
.badge.busy { background: #dbeafe; color: #1e40af; }
.badge.idle { background: #eef2f8; color: var(--ink-2); }
.flash { max-width: 1160px; margin: 18px auto; padding: 12px 18px; border-radius: 10px; font-weight: 550; }
.content .flash { margin: 0 0 18px; }
.flash.ok { background: #d1fae5; color: #065f46; }
.flash.err { background: #fee2e2; color: #991b1b; }
.note { background: #fef9c3; color: #713f12; border-radius: 10px; padding: 10px 16px; margin-bottom: 16px; font-size: 0.93rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chips a { padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 0.86rem; }
.chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: flex; flex-direction: column; }

/* Kundenbereich / Admin */
body.account, body.admin { background: #f3f6fb; }
.app-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding-top: 28px; padding-bottom: 60px; }
.side { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 92px; align-self: start; }
.side a { padding: 9px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 550; }
.side a:hover { background: #e9eef6; text-decoration: none; }
.side a.on { background: var(--ink); color: #fff; }
@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } .side { position: static; flex-direction: row; flex-wrap: wrap; } }
.content { min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.kpi strong { display: block; font-size: 1.8rem; letter-spacing: -0.02em; }
.kpi span { color: var(--muted); font-size: 0.88rem; }
.kpi.big { display: flex; align-items: center; gap: 14px; }
.kpi.big .ring { margin: 0; }
.kpi.big .ring b { font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.feed { list-style: none; padding: 0; margin: 0 0 12px; }
.feed li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.checklist li.done::before { background: var(--ok); border-color: var(--ok); }
.checklist li.done::after { content: ""; position: absolute; left: 6px; top: 14px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.checklist li.done span { color: var(--muted); text-decoration: line-through; }
.onboarding { border: 2px solid var(--accent-2); }
.upsell { background: #f0fdfa; border-color: #99f6e4; }
.thread .msg { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; white-space: pre-wrap; }
.thread .msg.support { background: #f0fdfa; border-color: #99f6e4; margin-left: 40px; }
.thread .msg p { margin: 6px 0 0; }
pre.mail, pre.authtext { white-space: pre-wrap; font: 0.92rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 0; }
pre.authtext { font-family: inherit; font-size: 0.97rem; background: transparent; border: 0; padding: 0; }
.task h3 { margin: 0; }
.bars { list-style: none; padding: 0; }
.bars li { display: grid; grid-template-columns: 200px 1fr 40px; gap: 12px; align-items: center; padding: 6px 0; }
.bars i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--mint)); }
.hits { list-style: none; padding: 0; margin: 0 0 16px; }
.hits li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hits li a { margin-left: auto; }
.result { margin-top: 18px; border: 2px solid var(--accent-2); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.prose h2 { margin-top: 1.6em; font-size: 1.15rem; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; }
.doc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--accent); }
.doc-head .mark { width: 28px; height: 28px; }

/* Fußzeile */
.foot { background: #0b1430; color: #c7cfe3; padding: 48px 0 26px; margin-top: 0; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 26px; }
.foot h4 { color: #fff; font-size: 0.9rem; }
.foot a { display: block; color: #c7cfe3; padding: 3px 0; }
.foot .logo { color: #fff; }
.foot .logo .word b { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.3) 100%); -webkit-background-clip: text; background-clip: text; }
.foot .muted { color: #8b95b2; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

@media print {
  .top, .side, .foot, .noprint { display: none !important; }
  .app-grid { display: block; padding: 0; }
  body { background: #fff; }
  .card, .kpi, .table-wrap { box-shadow: none; }
}
