/* lizenzlos.de – keine externen Schriften, nur System-Fonts */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --paper: #fafaf7;
  --surface: #ffffff;
  --line: #e6e4dd;
  --green: #0b8a4b;
  --green-dark: #07653a;
  --green-tint: #e7f5ec;
  --strike: #dc2626;
  --amber-tint: #fff6e0;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 640px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; font-weight: 650; text-decoration: none; padding: 14px 22px; border-radius: 12px; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: .9rem; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-tint); color: var(--green-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 247, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.logo span { color: var(--ink); }
.logo b { color: var(--green); font-weight: 800; }
.logo-mark { width: 30px; height: 30px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 550; font-size: .95rem; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current] { color: var(--ink); background: rgba(15, 23, 42, .05); }
.nav-cta { margin-left: 8px; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 8px; }

@media (max-width: 880px) {
  .nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; }
  .nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
  .main-nav ul { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; }
  .main-nav a:not(.btn) { display: block; padding: 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; padding: 13px; }
  .nav-toggle:checked ~ ul { display: flex; }
  .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 20px 0 0; margin: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230b8a4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.page-hero { padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 64px); }
.page-hero .lead { margin-top: 8px; }

/* Swap-Karte (durchgestrichene Lizenzen) */
.swap { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 10px; }
.swap-head { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 14px 8px; }
.swap-row { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 8px; padding: 13px 14px; border-radius: 12px; }
.swap-row:nth-child(odd) { background: var(--paper); }
.swap-row .old { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--strike); text-decoration-thickness: 2px; }
.swap-row .arrow { color: var(--green); font-weight: 700; text-align: center; }
.swap-row .new { font-weight: 650; }
.swap-foot { margin: 6px 4px 4px; padding: 14px; border-radius: 12px; background: var(--green-tint); color: var(--green-dark); font-size: .9rem; font-weight: 600; }

/* Karten & Grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); border-color: #c9d8cf; color: inherit; }
.card .link { color: var(--green-dark); font-weight: 650; font-size: .95rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); color: var(--green-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; font-size: 1.1rem; }
.alt-card .from { font-size: .85rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--strike); }
.alt-card h3 { margin-top: 4px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--green-tint); color: var(--green-dark); }
.tag.warn { background: var(--amber-tint); color: #8a5a00; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.steps .dur { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); font-weight: 600; }

/* Preise */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--green); position: relative; }
.price.featured::before { content: "Beliebt"; position: absolute; top: -12px; left: 24px; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 10px 0 4px; }
.price .amount small { font-size: .95rem; font-weight: 550; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.price li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; border-bottom: 1px dashed var(--line); }
.price li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.price .btn { justify-content: center; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.total td { font-weight: 750; background: var(--green-tint); }

/* Prosa */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .35em; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.aside { position: sticky; top: 92px; }
.aside .card { padding: 22px; }
.aside h3 { font-size: 1.05rem; }
.answer { background: var(--surface); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 0 0 32px; box-shadow: var(--shadow); }
.answer p:last-child { margin: 0; }
.note { background: var(--amber-tint); border-radius: 12px; padding: 16px 20px; font-size: .95rem; }
.note p:last-child { margin: 0; }
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.honest .card h3 { display: flex; align-items: center; gap: 10px; }
.check-list, .x-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .x-list li { padding: 6px 0 6px 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.x-list li::before { content: "✕"; position: absolute; left: 2px; color: var(--strike); font-weight: 800; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; position: relative; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--green); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { padding: 0 0 20px; color: var(--ink-2); }

/* CTA-Band */
.cta-band { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #cbd5e1; margin: 0; max-width: 620px; }

/* Trust-Leiste */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; margin: 0 auto; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li span { color: var(--green); }

/* Formular */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-tint); }
.form fieldset { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; }
.form legend { font-weight: 600; font-size: .92rem; padding: 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; background: var(--paper); border: 1px solid var(--line); padding: 7px 12px; border-radius: 99px; cursor: pointer; }
.chips input { width: auto; accent-color: var(--green); }
.form .consent { display: flex; flex-direction: row; gap: 10px; font-weight: 400; font-size: .88rem; color: var(--ink-2); align-items: flex-start; }
.form .consent input { width: auto; margin-top: 4px; accent-color: var(--green); }
.hp { position: absolute; left: -5000px; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: var(--strike); }

/* Footer */
.site-footer { background: #0b1222; color: #cbd5e1; padding: 64px 0 28px; font-size: .95rem; }
.site-footer .logo span { color: #fff; }
.site-footer .muted { color: #94a3b8; margin-top: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #1e293b; font-size: .85rem; color: #94a3b8; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .g3, .price-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g2, .g3, .g4, .steps, .price-grid, .honest, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .swap-row { grid-template-columns: 1fr 18px 1fr; font-size: .92rem; padding: 11px 10px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .trust ul { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
