@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
}

:root {
  --bg: #FAFAF7;
  --bg-2: #F1F1EC;
  --bg-3: #E7E7E0;
  --ink: #14232E;
  --ink-2: #4A5A66;
  --ink-3: #7B8893;
  --line: #DDDED6;
  --teal: #2AA292;
  --teal-ink: #1C7E72;
  --teal-soft: #E3F3F0;
  --deep: #0F506C;
  --deep-ink: #0A3548;
  --amber: #D98A1A;
  --amber-soft: #FBF1DE;
  --card: #FFFFFF;
  --shadow: 0 1px 2px rgba(20, 35, 46, .06), 0 8px 24px rgba(20, 35, 46, .06);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1120px;
  --narrow: 720px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1B22;
    --bg-2: #15242D;
    --bg-3: #1D2F39;
    --ink: #E8ECEC;
    --ink-2: #B3BEC4;
    --ink-3: #7F8E97;
    --line: #26383F;
    --teal: #3DBBA9;
    --teal-ink: #5FCFBF;
    --teal-soft: #163A38;
    --deep: #1A6D8F;
    --deep-ink: #0B2430;
    --amber: #E6A040;
    --amber-soft: #3A2C14;
    --card: #15242D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "calt";
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 720px) { body { font-size: 18px; } }

a { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.2rem); margin-top: 0; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 650; }
small { color: var(--ink-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-2); padding: .1em .4em; border-radius: 4px; }
pre { background: var(--deep-ink); color: #E8ECEC; padding: 1rem 1.2rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.5; margin: 0 0 1.4em; }
pre code { background: none; padding: 0; color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: .5em 1em; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-ink); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; }
@media (min-width: 720px) { .lead { font-size: 1.3rem; } }
.muted { color: var(--ink-2); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--teal); color: #fff; text-decoration: none;
  font-weight: 600; padding: .85em 1.4em; border-radius: 999px;
  border: 1px solid transparent; line-height: 1.2; white-space: nowrap;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--teal-ink); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.btn-group .btn, .choice .btn, .reco .btn, .note .btn { white-space: normal; text-align: center; }
.grid > *, .choice > *, .hero-home .wrap > *, .reco > *, .banners > * { min-width: 0; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.brand b { color: var(--teal); font-weight: 700; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark circle { fill: var(--teal); }
.brand-mark path { fill: #fff; }
.site-nav { display: none; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active { font-weight: 650; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 5px; align-items: center; border-radius: 8px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu ul { position: absolute; right: 0; top: 48px; min-width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); list-style: none; margin: 0; padding: .6rem; }
.menu li { margin: 0; }
.menu li a:not(.btn) { display: block; padding: .65rem .8rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px; }
.menu li a:not(.btn):hover, .menu li a.is-active { background: var(--bg-2); }
.menu li:last-child { padding: .5rem .5rem .2rem; }
@media (min-width: 860px) { .site-nav { display: flex; } .menu { display: none; } }

/* Breadcrumb */
.crumb { max-width: var(--max); margin: 0 auto; padding: 1.2rem var(--gutter) 0; font-size: .85rem; color: var(--ink-3); display: flex; gap: .5em; }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 3.5rem 0 3rem; }
.hero-home { padding: 4.5rem 0 3.5rem; }
.hero-sub { padding: 2rem 0 2.5rem; }
.hero h1 { max-width: 16ch; }
.hero-home .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-home { padding: 5.5rem 0 4.5rem; } .hero-home .wrap { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

/* Preview card in hero */
.preview { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; max-width: 420px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.preview-head b { color: var(--teal-ink); }
.preview ul { list-style: none; padding: 0; margin: 0; }
.preview li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.preview li:first-child { border-top: 0; }
.tick { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); margin-top: 2px; display: grid; place-items: center; }
.tick.on { background: var(--teal); border-color: var(--teal); }
.tick.on::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.preview .meter { height: 6px; background: var(--bg-2); border-radius: 3px; margin-top: 1rem; overflow: hidden; }
.preview .meter i { display: block; height: 100%; width: 62%; background: var(--teal); border-radius: 3px; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 56ch; margin-bottom: 2rem; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }
@media (min-width: 720px) { .section { padding: 5rem 0; } }

/* Grids */
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.card .meta { font-size: .8rem; font-weight: 650; color: var(--teal-ink); text-transform: uppercase; letter-spacing: .08em; }
.card .more { margin-top: auto; padding-top: .6rem; font-weight: 600; text-decoration: none; }
.card .more::after { content: " →"; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
@media (min-width: 960px) {
  .grid-3 > .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.5rem; }
  .grid-3 > .card:last-child:nth-child(3n+1) h3 { flex: 0 0 200px; }
  .grid-3 > .card:last-child:nth-child(3n+1) .more { margin: 0; padding: 0; white-space: nowrap; }
}
.num { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--teal); line-height: 1; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 650; background: var(--bg-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--bg-2) 50%, transparent); }
td.r, th.r { text-align: right; white-space: nowrap; }
tfoot td { font-weight: 650; background: var(--teal-soft); }

/* Callouts */
.note { border-left: 4px solid var(--teal); background: var(--teal-soft); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; }
.note.warn { border-color: var(--amber); background: var(--amber-soft); }
.note p:last-child { margin-bottom: 0; }
.note strong:first-child { display: block; margin-bottom: .25em; }

/* Prose */
.prose { max-width: var(--narrow); margin: 0 auto; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }
.prose > p, .prose li { max-width: 68ch; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .5rem; }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; margin: 2rem 0; }
.steps > li { position: relative; padding-left: 3.4rem; margin-bottom: 2rem; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 1rem; }
.steps h3 { margin: .3rem 0 .5rem; }
.steps p:last-child { margin-bottom: 0; }

/* FAQ */
details.faq { border-top: 1px solid var(--line); padding: 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; padding: 1.1rem 2.2rem 1.1rem 0; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 0; top: 1rem; font-size: 1.5rem; font-weight: 300; color: var(--teal); line-height: 1; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > *:not(summary) { color: var(--ink-2); }
details.faq > p:last-child { padding-bottom: 1.2rem; }

/* Recommendation */
.reco { background: var(--deep-ink); color: #E8ECEC; border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.5rem; }
.reco h2, .reco h3 { color: #fff; }
.reco p { color: #C8D3D8; }
.reco .eyebrow { color: var(--teal); }
.reco a:not(.btn) { color: #fff; }
.reco .btn { align-self: start; }
.reco .fine { font-size: .82rem; color: #8FA3AD; }
.reco ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.reco li { padding-left: 1.6rem; position: relative; color: #E8ECEC; }
.reco li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border: solid var(--teal); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (min-width: 800px) { .reco { grid-template-columns: 1.2fr 1fr; padding: 2.5rem; align-items: center; } }

/* Two-way choice */
.choice { display: grid; gap: 1rem; }
@media (min-width: 720px) { .choice { grid-template-columns: 1fr 1fr; } }
.choice .card { padding: 2rem; }
.choice .card h3 { font-size: 1.35rem; }
.choice ul { margin: .5rem 0 1rem; padding-left: 1.2em; color: var(--ink-2); font-size: .95rem; }

/* Checklist */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1.5rem 0; }
.tabs button { font: inherit; font-weight: 600; font-size: .95rem; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: .55em 1.1em; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.checklist li { margin: 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist label { display: flex; gap: .9rem; align-items: flex-start; padding: .95rem 1.1rem; cursor: pointer; }
.checklist input { appearance: none; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--ink-3); border-radius: 6px; margin-top: 2px; display: grid; place-items: center; cursor: pointer; background: var(--card); }
.checklist input:checked { background: var(--teal); border-color: var(--teal); }
.checklist input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.checklist input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.checklist .item { flex: 1; }
.checklist .item b { font-weight: 600; display: block; }
.checklist input:checked ~ .item b { color: var(--ink-3); text-decoration: line-through; }
.checklist .item span { font-size: .85rem; color: var(--ink-3); }
.checklist details { padding: 0 1.1rem .9rem 3.3rem; margin-top: -.3rem; }
.checklist details summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--teal-ink); list-style: none; }
.checklist details summary::-webkit-details-marker { display: none; }
.checklist details p { font-size: .92rem; color: var(--ink-2); margin: .4rem 0 0; max-width: 60ch; }
.progress { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.progress .bar { flex: 1; height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 4px; transition: width .25s; }
.tools { display: flex; gap: .6rem; flex-wrap: wrap; }
.tools button { font: inherit; font-size: .88rem; font-weight: 600; background: transparent; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: .5em 1em; cursor: pointer; }
.tools button:hover { background: var(--bg-2); color: var(--ink); }
.pane[hidden] { display: none; }

/* Banner cards (eigene Projekte) */
.banners { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .banners { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .banners { grid-template-columns: repeat(3, 1fr); } }
.banner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.banner-head { padding: 1.2rem 1.3rem 1rem; color: #fff; background: var(--bh, #1a3a2a); }
.banner-head .tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bt, #4ade80); margin-bottom: .4rem; }
.banner-head h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .2rem; }
.banner-head small { color: rgba(255, 255, 255, .7); font-size: .8rem; }
.banner-body { padding: 1rem 1.3rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.banner-body ul { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: var(--ink-2); }
.banner-body li { padding-left: 1.4rem; position: relative; margin-bottom: .3rem; }
.banner-body li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 6px; border: solid var(--teal); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.banner-body .btn { margin-top: auto; justify-content: center; background: var(--bh, #1a3a2a); border-radius: var(--radius-sm); text-align: center; white-space: normal; font-size: .92rem; }
.banner-body .btn:hover { filter: brightness(1.15); transform: none; }
.banner-body .domain { font-size: .75rem; color: var(--ink-3); text-align: center; margin: .6rem 0 0; }

/* Footer */
.site-foot { background: var(--deep-ink); color: #B9C7CE; margin-top: 4rem; padding: 3.5rem 0 2rem; font-size: .92rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1.2fr .8fr; } }
.foot-brand { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; letter-spacing: -0.02em; }
.foot-brand b { color: var(--teal); }
.foot-h { color: #fff; font-weight: 650; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .45rem; }
.site-foot a { color: #D5DEE2; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-note { color: #8FA3AD; font-size: .88rem; max-width: 36ch; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; color: #8FA3AD; font-size: .85rem; }

/* Print */
@media print {
  .site-head, .site-foot, .tabs, .tools, .btn, .crumb, .reco, .banners { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .pane[hidden] { display: block !important; }
  .checklist { break-inside: avoid; border-color: #999; }
  .checklist details { display: block; }
  .checklist details summary { display: none; }
  a { color: #000; text-decoration: none; }
}
