/* Kolibill website – light, friendly, no external fonts or trackers */
:root {
  --navy: #0b2a4a;
  --navy-2: #1d3b5c;
  --text: #22364d;
  --muted: #5b6b7e;
  --teal: #0e9f9f;        /* accessible teal for text and buttons */
  --teal-strong: #0b8585;
  --teal-bright: #01c6c7; /* logo color, for accents */
  --teal-soft: #e6f7f7;
  --bg: #ffffff;
  --soft: #f4f9fa;
  --line: #e3eaef;
  --shadow: 0 1px 2px rgba(11, 42, 74, .05), 0 8px 24px -8px rgba(11, 42, 74, .12);
  --shadow-lg: 0 30px 60px -20px rgba(11, 42, 74, .25), 0 12px 24px -12px rgba(11, 42, 74, .15);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-strong); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 11px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: background .15s, box-shadow .15s, transform .15s, border-color .15s; white-space: nowrap; }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px -6px rgba(14, 159, 159, .6); }
.btn.primary:hover { background: var(--teal-strong); transform: translateY(-1px); }
.btn.outline { border-color: #c9d6df; color: var(--navy); background: #fff; }
.btn.outline:hover { border-color: var(--teal); color: var(--teal-strong); }
.btn.ghost { color: var(--navy); }
.btn.ghost:hover { background: var(--soft); }
.btn.lg { height: 50px; padding: 0 24px; font-size: 16px; border-radius: 13px; }
.btn.full { width: 100%; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(14, 159, 159, .45); outline-offset: 2px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--teal-strong); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); padding: 8px; border-radius: 8px; cursor: pointer; }
.mobile-menu { display: grid; gap: 4px; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 10px 4px; color: var(--navy); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px;
  background: radial-gradient(900px 500px at 85% 10%, #dff5f5 0%, rgba(223, 245, 245, 0) 70%), radial-gradient(700px 500px at 0% 100%, #eef4fb 0%, rgba(238, 244, 251, 0) 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--teal-strong); background: var(--teal-soft);
  border: 1px solid #c8ecec; padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(1, 198, 199, .2); }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 750; letter-spacing: -.035em; }
.hl { color: var(--teal); }
.lead { font-size: 19px; color: var(--muted); margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg, .float-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.hero-visual { position: relative; padding: 10px 40px 40px 0; }
.browser { border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f3f6f8; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dee4; }
.browser-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; max-width: 210px; border-radius: 28px; padding: 7px; background: #0b2a4a; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 22px; }
.float-chip { position: absolute; left: -18px; bottom: 26px; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 16px 10px 12px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-chip svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #e3f6ec; stroke: #16a34a; }
.float-chip b { display: block; font-size: 14px; color: var(--navy); }
.float-chip small { color: var(--muted); font-size: 12.5px; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* strip */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in div { padding: 22px 20px; display: flex; flex-direction: column; gap: 2px; }
.strip-in div + div { border-left: 1px solid var(--line); }
.strip-in b { color: var(--navy); font-size: 15.5px; }
.strip-in span { color: var(--muted); font-size: 14px; }

/* sections */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head h2, .split-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 720; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--teal); margin-bottom: 12px; }
.mt { margin-top: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feat { padding: 26px; transition: transform .2s, box-shadow .2s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat h3, .mini h3, .sec-item h3 { font-size: 18px; margin: 16px 0 8px; }
.feat p, .mini p, .sec-item p { color: var(--muted); font-size: 15.5px; }
.ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #e3f7f7, #d2efef); }
.ic svg { width: 23px; height: 23px; fill: none; stroke: var(--teal-strong); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 42px; height: 42px; background: #fff; border: 1px solid var(--line); }
.mini { padding: 24px; }
.mini h3 { margin-top: 0; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-copy p { color: var(--muted); font-size: 17.5px; margin: 16px 0 22px; }
.paper { background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; transform: rotate(-1.5deg); max-width: 520px; margin-inline: auto; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8585' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* e-invoice timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.tl { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; box-shadow: var(--shadow); }
.tl .year { display: inline-block; font-size: 26px; font-weight: 760; color: var(--navy); letter-spacing: -.02em; }
.tl b { display: block; margin: 6px 0 6px; color: var(--navy); }
.tl p { color: var(--muted); font-size: 15px; }
.tl em { display: inline-flex; margin-top: 14px; font-style: normal; font-weight: 600; font-size: 13.5px; color: #15803d; background: #e8f7ee; padding: 3px 10px; border-radius: 999px; }
.tl.done { border-color: #bfe7e7; background: linear-gradient(180deg, #f3fbfb, #fff); }

/* security */
.sec-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.prices.two { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price h3 { font-size: 21px; }
.pdesc { color: var(--muted); font-size: 15px; margin-top: 6px; min-height: 48px; }
.amount { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.amount b { font-size: 44px; color: var(--navy); letter-spacing: -.03em; line-height: 1; }
.amount span { color: var(--muted); font-size: 15px; }
.amount2 { color: var(--muted); font-size: 14.5px; margin-bottom: 6px; }
.price .btn { margin: 18px 0 22px; }
.plist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.plist li { position: relative; padding-left: 26px; }
.plist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9f9f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.plist li.limit { color: var(--muted); }
.plist li.limit::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7e' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E"); }
.price.featured { border: 2px solid var(--teal); box-shadow: 0 30px 60px -24px rgba(14, 159, 159, .45); background: linear-gradient(180deg, #f2fbfb 0, #fff 140px); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--teal); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }
.compare-wrap { margin-top: 56px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare caption { text-align: left; font-weight: 700; color: var(--navy); font-size: 18px; padding: 20px 22px 8px; }
.compare th, .compare td { padding: 13px 22px; border-top: 1px solid var(--line); text-align: center; }
.compare thead th { color: var(--navy); font-size: 14px; background: var(--soft); }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-weight: 500; color: var(--text); }
.compare td.y { color: var(--teal-strong); font-weight: 700; }
.compare td.n { color: #a3b0bd; }
.compare tbody tr:hover { background: #fafcfd; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* cta */
.cta { padding: 90px 0; background: linear-gradient(135deg, #0b2a4a 0%, #0d4a63 55%, #0e7f86 100%); color: #fff; text-align: center; }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta img { background: #fff; border-radius: 20px; padding: 8px; margin-bottom: 22px; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.cta p { color: rgba(255, 255, 255, .82); font-size: 18px; margin: 12px 0 28px; }
.cta .btn.primary { background: #fff; color: var(--navy); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.cta .btn.primary:hover { background: var(--teal-soft); }

/* footer */
.foot { padding: 48px 0 28px; background: #fff; border-top: 1px solid var(--line); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-in p { color: var(--muted); margin-top: 12px; max-width: 360px; }
.foot-in img { height: 28px; width: auto; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.foot nav a { color: var(--text); text-decoration: none; }
.foot nav a:hover { color: var(--teal-strong); }
.foot-bottom { color: var(--muted); font-size: 13.5px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }

/* legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: 36px; margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text); margin-bottom: 10px; }
.todo { background: #fff7e6; border: 1px dashed #e7b24c; border-radius: 6px; padding: 0 4px; }

/* responsive */
@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hero-in, .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; margin-inline: auto; width: 100%; }
  .grid3, .prices, .timeline { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .strip-in div:nth-child(3) { border-left: 0; }
  .strip-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .prices .price.featured { order: -1; grid-column: 1 / -1; }
  .prices.two .price.featured { grid-column: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 32px 0 56px; }
  .lead { font-size: 17.5px; }
  .grid3, .grid4, .prices, .timeline { grid-template-columns: 1fr; }
  .hero-visual { padding: 0 24px 34px 0; }
  .browser { transform: none; }
  .float-chip { left: 0; bottom: -6px; }
  .phone { width: 34%; border-radius: 20px; padding: 5px; }
  .phone img { border-radius: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .pdesc { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-chip { animation: none; }
  .feat, .btn { transition: none; }
}

/* status page */
.status-page { padding: 56px 0 80px; min-height: 70vh; }
.status-page h1 { font-size: 34px; margin-bottom: 22px; }
.overall { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); margin-bottom: 20px; }
.overall b { display: block; font-size: 18px; color: var(--navy); }
.overall small { color: var(--muted); font-size: 13.5px; }
.ov-dot { width: 14px; height: 14px; border-radius: 50%; background: #cbd5e1; flex: 0 0 auto; }
.overall.up { background: #ecfbf3; border-color: #bfe9d0; } .overall.up .ov-dot { background: #16a34a; box-shadow: 0 0 0 6px rgba(22, 163, 74, .15); }
.overall.degraded { background: #fff8e8; border-color: #f2d999; } .overall.degraded .ov-dot { background: #d97706; box-shadow: 0 0 0 6px rgba(217, 119, 6, .15); }
.overall.down { background: #fdeeee; border-color: #f3c3c3; } .overall.down .ov-dot { background: #dc2626; box-shadow: 0 0 0 6px rgba(220, 38, 38, .15); }
.overall.loading .ov-dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; border: 1px solid #c8e3f5; background: #eef7fd; }
.notice.warn { border-color: #f2d999; background: #fff8e8; }
.notice b { color: var(--navy); } .notice p { color: var(--text); margin-top: 4px; font-size: 15px; }
.svc-list { display: grid; gap: 14px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 14px; box-shadow: var(--shadow); }
.svc.skeleton { height: 120px; background: linear-gradient(90deg, #f3f6f8, #fafcfd, #f3f6f8); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.svc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.svc-head h2 { font-size: 16.5px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.pill .pd { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.up { color: #15803d; background: #e8f7ee; } .pill.degraded, .pill.maintenance { color: #b45309; background: #fff4dc; } .pill.down { color: #b91c1c; background: #fdeaea; }
.bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 34px; }
.bars .b { display: block; border-radius: 2px; background: #e2e8f0; }
.bars .b.up { background: #22c55e; } .bars .b.degraded { background: #f59e0b; } .bars .b.down { background: #ef4444; }
.bars .b:hover { opacity: .7; }
.svc-foot { display: flex; justify-content: space-between; gap: 10px; text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.legend-row { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 2px 0; font-size: 13.5px; color: var(--muted); }
.legend-row span { display: inline-flex; align-items: center; gap: 7px; }
.lgd { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lgd.up { background: #22c55e; } .lgd.degraded { background: #f59e0b; } .lgd.down { background: #ef4444; } .lgd.none { background: #e2e8f0; }
.svc-foot .short { display: none; }
@media (max-width: 640px) { .svc-foot .short { display: inline; } }
.status-note { color: var(--muted); font-size: 14.5px; margin-top: 26px; }
@media (max-width: 640px) {
  .bars { grid-template-columns: repeat(45, minmax(0, 1fr)); }
  .bars .b:nth-child(-n+45) { display: none; } /* phones: last 45 days */
  .svc-foot .long { display: none; }
  .svc-head { flex-wrap: wrap; }
}
.svc-foot > span:first-child, .svc-foot > span:last-child { white-space: nowrap; }

/* Kündigen / Widerrufen */
.contract-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; width: 100%; }
.contract-btns .btn { height: 36px; font-size: 14px; }
.foot-in .contract-btns { margin-top: 0; }
.vform { display: grid; gap: 14px; margin-top: 24px; max-width: 560px; }
.vform label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); }
.vform input:not([type=radio]), .vform select, .vform textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #c9d6df; border-radius: 10px; background: #fff; color: var(--text); }
.vform input:focus, .vform select:focus, .vform textarea:focus { outline: 3px solid rgba(14, 159, 159, .3); border-color: var(--teal); }
.vform fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: grid; gap: 10px; }
.vform legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.vform label.radio { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.vform .inline-date { padding: 6px 8px !important; }
.vform .btn { justify-self: start; margin-top: 6px; }
.ferr { color: #b91c1c; font-size: 14px; margin-top: -8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted-p { color: var(--muted); font-size: 14px; }
.decl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 22px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.decl dt { font-weight: 600; color: var(--navy); } .decl dd { margin: 0; }
.formblock { border: 1px dashed #c9d6df; border-radius: 12px; padding: 18px 20px; background: #fbfdfe; margin-bottom: 20px; }
@media (max-width: 640px) { .decl { grid-template-columns: 1fr; } .decl dd { margin-bottom: 8px; } }
.nav-cta.always { display: flex; }
.foot-bottom.plain { border: 0; margin-top: 0; padding: 0; }
.inline-logo { display: inline-block; height: 16px; width: auto; vertical-align: -3px; margin-left: 2px; }
.pby { white-space: nowrap; }

/* ---------------------------------------------------------------- Hilfe (Wiki) */
.nav-links a.on { color: var(--teal-strong); }
.docs-hero { padding: 56px 0 40px; text-align: center; background: radial-gradient(900px 400px at 50% 0%, #dff5f5 0%, rgba(223, 245, 245, 0) 70%); }
.docs-hero h1 { font-size: clamp(32px, 4.4vw, 46px); }
.docs-hero p { color: var(--muted); margin: 12px auto 26px; max-width: 600px; font-size: 18px; }
.docs-search { position: relative; max-width: 640px; margin: 0 auto; text-align: left; }
.docs-search > svg { position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.docs-search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 1px solid #c9d6df; border-radius: 13px; font: inherit; color: var(--text); background: #fff; box-shadow: var(--shadow); }
.docs-search input:focus { outline: 3px solid rgba(14, 159, 159, .3); border-color: var(--teal); }
.docs-hits { position: absolute; left: 0; right: 0; top: 56px; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-lg); overflow: hidden; max-height: 70vh; overflow-y: auto; }
.docs-hits > a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); }
.docs-hits > a:last-child { border-bottom: 0; }
.docs-hits > a:hover, .docs-hits > a.sel { background: var(--soft); }
.docs-hits b { color: var(--navy); }
.docs-hits small { color: var(--muted); font-size: 12.5px; }
.docs-hits span { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.docs-hits mark { background: var(--teal-soft); color: var(--navy); border-radius: 3px; padding: 0 1px; }
.docs-hits .none { padding: 16px; font-size: 15px; color: var(--muted); }
.docs-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; padding: 16px 0 40px; }
.docs-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 10px; background: #fff; box-shadow: var(--shadow); }
.docs-card h2 { font-size: 19px; margin-bottom: 8px; }
.docs-card ul { list-style: none; margin: 0; padding: 0; }
.docs-card li a { display: block; padding: 10px 0; text-decoration: none; border-top: 1px solid var(--line); }
.docs-card li:first-child a { border-top: 0; }
.docs-card li b { display: block; color: var(--navy); font-weight: 600; font-size: 15.5px; }
.docs-card li span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }
.docs-card li a:hover b { color: var(--teal-strong); }
.docs-api-teaser { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 64px; padding: 26px 28px; border-radius: var(--radius); background: var(--navy); color: #d7e3ee; }
.docs-api-teaser h2 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.docs-top { padding: 22px 0 6px; }
.docs-top .docs-search { margin: 0; max-width: 520px; }
.docs-top .docs-search input { height: 44px; box-shadow: none; }
.docs-top .docs-search > svg { top: 12px; }
.docs-top .docs-hits { top: 50px; }
.docs-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 44px; padding: 14px 0 64px; align-items: start; }
.docs-side, .docs-toc { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; font-size: 14.5px; }
.docs-side a, .docs-toc a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--text); text-decoration: none; line-height: 1.35; }
.docs-side a:hover, .docs-toc a:hover { color: var(--teal-strong); background: var(--soft); }
.docs-side a.on { background: var(--teal-soft); color: var(--teal-strong); font-weight: 600; }
.docs-side .docs-home { font-weight: 600; color: var(--navy); }
.docs-sec { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 16px 10px 4px; }
.docs-toc .docs-sec { padding-top: 0; }
.docs-toc a { font-size: 14px; color: var(--muted); }
.docs-body { min-width: 0; max-width: 760px; }
.docs-crumb { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.docs-crumb a { color: var(--muted); }
.docs-body h1 { font-size: clamp(28px, 3.4vw, 38px); }
.docs-lead { font-size: 18.5px; color: var(--muted); margin: 10px 0 26px; }
.docs-body h2 { font-size: 23px; margin: 36px 0 12px; scroll-margin-top: 90px; }
.docs-body h3 { font-size: 18px; margin: 26px 0 8px; }
.docs-body p { margin: 0 0 14px; }
.docs-body ul, .docs-body ol { margin: 0 0 16px; padding-left: 22px; }
.docs-body li { margin: 5px 0; }
.docs-body strong { color: var(--navy); }
.docs-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.docs-body pre { background: var(--navy); color: #e6eef5; padding: 16px 18px; border-radius: 12px; overflow-x: auto; margin: 0 0 16px; }
.docs-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: 14px; }
.docs-body kbd { font-family: inherit; font-size: .85em; background: #fff; border: 1px solid #c9d6df; border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; }
.docs-body .tbl { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; }
.docs-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.docs-body th, .docs-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.docs-body th { background: var(--soft); color: var(--navy); font-weight: 600; }
.docs-body tr:last-child td { border-bottom: 0; }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.docs-pager a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 600; }
.docs-pager a:hover { border-color: var(--teal); }
.docs-pager a.r { text-align: right; }
.docs-pager small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.docs-help { margin-top: 26px; padding: 16px 18px; background: var(--soft); border-radius: 12px; font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .docs-grid { grid-template-columns: 230px minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 820px) {
  .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .docs-side { position: static; max-height: none; order: 2; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 10px; }
  .docs-pager { grid-template-columns: 1fr; }
  .docs-overview { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- API-Dokumentation */
.api-hero { padding-bottom: 28px; }
.api-intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.api-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; box-shadow: var(--shadow); font-size: 15px; }
.api-box h2 { font-size: 17px; margin-bottom: 6px; }
.api-box code, .api-note code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.api-example { margin-top: 18px; }
.api-example pre { background: var(--navy); color: #e6eef5; padding: 16px 18px; border-radius: 12px; overflow-x: auto; margin: 0; font-size: 14px; }
.api-note { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.api-loading { color: var(--muted); padding: 30px 0; }
#swagger { padding: 10px 0 70px; }
.api-page .swagger-ui { font-family: inherit; color: var(--text); }
.api-page .swagger-ui .info { margin: 18px 0; }
.api-page .swagger-ui .info .title { color: var(--navy); font-family: inherit; }
.api-page .swagger-ui .info .title small.version-stamp { background: var(--teal); }
.api-page .swagger-ui .info p, .api-page .swagger-ui .info li, .api-page .swagger-ui .opblock-tag, .api-page .swagger-ui .opblock .opblock-summary-description,
.api-page .swagger-ui .model-title, .api-page .swagger-ui table thead tr th, .api-page .swagger-ui .parameter__name, .api-page .swagger-ui .response-col_status,
.api-page .swagger-ui .tab li, .api-page .swagger-ui .opblock-description-wrapper p, .api-page .swagger-ui .responses-inner h4,
.api-page .swagger-ui .responses-inner h5, .api-page .swagger-ui .opblock .opblock-section-header h4, .api-page .swagger-ui select, .api-page .swagger-ui input { font-family: inherit; }
.api-page .swagger-ui .scheme-container { background: transparent; box-shadow: none; padding: 0 0 10px; }
.api-page .swagger-ui .auth-wrapper, .api-page .swagger-ui .try-out { display: none; }
.api-page .swagger-ui .opblock-tag-section { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 12px; background: #fff; }
.api-page .swagger-ui .opblock-tag { border-bottom: 0; color: var(--navy); font-size: 17px; }
.api-page .swagger-ui .opblock { border-radius: 9px; box-shadow: none; }
.api-page .swagger-ui .filter-container .operation-filter-input { border: 1px solid #c9d6df; border-radius: 11px; padding: 10px 14px; font: inherit; }
.api-page .swagger-ui a.nostyle, .api-page .swagger-ui .info a { color: var(--teal-strong); }
@media (max-width: 820px) { .api-intro { grid-template-columns: minmax(0, 1fr); } }
.api-page .swagger-ui .parameters-col_description input, .api-page .swagger-ui .parameters-col_description select,
.api-page .swagger-ui .parameters-col_description textarea, .api-page .swagger-ui .authorization__btn, .api-page .swagger-ui .body-param-options { display: none; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1200px) { .nav-links { gap: 18px; margin-left: 0; } .nav-in { gap: 20px; } }

/* Kommt-bald-Fassung */
.soon-bar { background: #0f766e; color: #fff; text-align: center; font-size: 14px; padding: 9px 16px; line-height: 1.45; }
.soon-bar a { color: #fff; font-weight: 600; text-decoration: underline; margin-left: 6px; white-space: nowrap; }
