/* developer.kosch-holding.de – statische Entwicklerseite der KoSch Holding GmbH.
   Farben/Schriften wie kosch-holding.de (Kind-Theme kosch-holding-app, Mandant „holding“).
   Keine Fremdschriften, keine Fremd-Skripte, kein Tracking. */

@font-face { font-family: "KApp Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-latin-wght-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: "KApp Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "KApp Serif"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --font: "KApp Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-title: "KApp Serif", Georgia, "Times New Roman", serif;
  --bg: #fffcf5;
  --surface: #ffffff;
  --surface-2: #fffaf0;
  --text: #0f172a;
  --text-2: #475569;
  --border: #e7e1d4;
  --accent: #f5a623;
  --accent-text: #8a5200;
  --accent-soft: #fff1d6;
  --blue: #194d85;
  --blue-soft: #e8eef6;
  --ok: #166534;
  --ok-soft: #dcfce7;
  --wait: #92400e;
  --wait-soft: #fef3c7;
  --footer-bg: #0f2f52;
  --footer-text: #dbe4ef;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 18px rgba(15, 23, 42, .06);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121820;
    --surface: #1a2332;
    --surface-2: #1f2a3a;
    --text: #e0e4e8;
    --text-2: #a8b4c2;
    --border: #2a3545;
    --accent: #f7b847;
    --accent-text: #f9c86a;
    --accent-soft: rgba(245, 166, 35, .14);
    --blue: #8fb6e3;
    --blue-soft: rgba(25, 77, 133, .35);
    --ok: #86efac;
    --ok-soft: rgba(22, 101, 52, .35);
    --wait: #fcd34d;
    --wait-soft: rgba(146, 64, 14, .35);
    --footer-bg: #0b1520;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2 { font-family: var(--font-title); letter-spacing: -.018em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: .2rem 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .75rem; }
h3 { font-size: 1.125rem; margin: 0 0 .4rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
sup { font-size: .5em; line-height: 0; vertical-align: super; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: .5rem 1rem; z-index: 10; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Kopf ------------------------------------------------------------------ */
.site-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 0; }
.brand { display: block; line-height: 0; }
.brand img { width: min(78vw, 360px); height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: .45rem .75rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem; }
.nav a:hover { background: var(--accent-soft); color: var(--text); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); }
.nav-hint { width: 100%; margin: 0; font-size: .8rem; color: var(--text-2); }

/* Abschnitte ------------------------------------------------------------ */
main { display: block; }
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; color: var(--accent-text); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kicker svg { width: 18px; height: 18px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text); max-width: 46rem; }
.muted { color: var(--text-2); }
.section { padding: clamp(32px, 5vw, 56px) 0; }
.section--surface { background: var(--surface-2); border-block: 1px solid var(--border); }
.section__head { max-width: 46rem; margin-bottom: 1.5rem; }
.core { border-left: 4px solid var(--accent); background: var(--surface); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); max-width: 52rem; font-size: 1.05rem; }
.core p { margin: 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.card p { margin: 0; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.icon svg { width: 24px; height: 24px; }
.card__top { display: flex; align-items: center; gap: 12px; }
.card__top h3 { margin: 0; }
.badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--wait { background: var(--wait-soft); color: var(--wait); }
.badge--info { background: var(--blue-soft); color: var(--blue); }
.facts { margin: .25rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: .3rem .9rem; font-size: .93rem; }
.facts dt { color: var(--text-2); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.missing { color: var(--wait); font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: auto; padding-top: .5rem; font-size: .93rem; }

.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 650; text-decoration: none; border: 1px solid transparent; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #1c1917; }
.btn--primary:hover { background: #e09000; color: #1c1917; }
.btn--secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--accent); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.25rem; }

.prose > * { max-width: 48rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .3rem 0; }
.prose code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre.mono { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }

.mt { margin-top: 1.25rem; }
.hero--kurz { padding-bottom: 24px; }
.section--dicht { padding-top: 8px; }
.card--tabelle { overflow-x: auto; }
.tabelle { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .93rem; }
.tabelle th, .tabelle td { text-align: left; padding: .5rem .75rem .5rem 0; border-bottom: 1px solid var(--border); vertical-align: top; }

.symbol { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.shots { margin: .75rem 0 .25rem; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); gap: 16px; align-items: end; max-width: 900px; }
.shots .shot { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.shots .shot--phone { border-radius: 18px; }
.shots figcaption { grid-column: 1 / -1; font-size: .82rem; color: var(--text-2); }
.card--breit { grid-column: 1 / -1; }
.actions:empty { display: none; }
.store-badge { display: inline-block; padding: 10px; margin: .4rem 0 0 -10px; line-height: 0; }
.store-badge img { height: 40px; width: auto; }

/* Fuß ------------------------------------------------------------------- */
.site-foot { background: var(--footer-bg); color: var(--footer-text); padding: 40px 0 28px; margin-top: 48px; font-size: .93rem; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--accent); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.foot-brand { background: #fff; border-radius: 12px; padding: 12px 14px; display: inline-block; line-height: 0; }
.foot-brand img { width: min(100%, 300px); }
.site-foot h2 { font-family: var(--font); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 .6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; color: #b7c4d4; font-size: .85rem; }
@media (prefers-color-scheme: dark) { .foot-brand { background: transparent; padding: 0; } }

@media (max-width: 640px) {
  .brand img { width: min(100%, 380px); }
  .nav { width: 100%; }
  .nav a { padding: .4rem .6rem; font-size: .9rem; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: .45rem; }
}
@media print { .site-head nav, .site-foot { display: none; } body { background: #fff; } }
