/* Gemeinsame Gestaltung der Unterseiten – wie Startseite und Toolkit-Seite.
   Schriften lokal vom eigenen Webspace, keine Verbindung zu Google. */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/roboto-5.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/roboto-6.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: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/roboto-7.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/roboto-8.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: 'Montserrat'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/montserrat-3.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/montserrat-4.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: 'Caveat'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(../fonts/caveat-2.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(../fonts/caveat-1.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; }

:root {
  --night: #070b22; --navy: #10163a;
  --green: #126f43; --green-2: #3e9a80; --green-3: #a8d2c4; --green-4: #d4e8e0; --green-5: #eef6f2;
  --gold: #eabd23;
  --ink: #1b2140; --muted: #5b6275; --line: #e1e7e4; --paper: #ffffff;
  --grad: linear-gradient(118deg, #070b22 0%, #10163a 58%, #13363f 100%);
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Roboto', 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 860px; }
.kicker { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--navy); }
h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 900; letter-spacing: -.01em; margin: 6px 0 14px; }
h3 { font-size: 19px; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); font-weight: 300; color: var(--muted); max-width: 760px; }
section { padding: 64px 0; }
@media (max-width: 719px) { section { padding: 44px 0; } }
.tint { background: var(--green-5); }
.fine { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; text-align: center; font-weight: 700; font-size: 16px; text-decoration: none; border-radius: 999px; padding: 12px 24px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 8px 24px rgba(234,189,35,.35); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--navy); border: 2px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--green-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }

/* Kopfzeile mit mobilem Menü */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
header.top .logo img { height: 40px; width: auto; }
header.top nav.main { display: flex; align-items: center; gap: 22px; }
header.top nav.main > a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
header.top nav.main > a:hover, header.top nav.main > a[aria-current="page"] { color: var(--green); }
header.top nav.main > .btn { padding: 10px 20px; font-size: 15px; white-space: nowrap; color: var(--navy); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: ""; }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu nav { position: absolute; right: 0; top: 54px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(16,22,58,.15); padding: 10px; display: grid; min-width: 220px; }
.menu nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.menu nav a:hover { background: var(--green-5); }
@media (max-width: 980px) {
  header.top nav.main > a:not(.btn) { display: none; }
  .menu { display: block; }
  header.top .logo img { height: 32px; }
}
@media (max-width: 420px) { header.top nav.main > .btn { padding: 9px 14px; font-size: 14px; } header.top nav.main { gap: 12px; } }

/* Seitenkopf */
.page-head { position: relative; overflow: hidden; background: var(--grad); color: #e9edf1; padding: 64px 0 56px; }
.page-head::after { content: ""; position: absolute; right: -6%; top: -30%; width: 38%; height: 160%; background: rgba(62,154,128,.12); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .kicker { color: var(--gold); }
.page-head h1 { color: #fff; font-size: clamp(32px, 5vw, 50px); font-weight: 900; letter-spacing: -.02em; margin: 10px 0 12px; }
.page-head p { margin: 0; max-width: 720px; color: #cdd6dc; font-size: clamp(17px, 2vw, 20px); font-weight: 300; }

/* Karten und Listen */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.card .meta { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card.media { padding: 0; overflow: hidden; }
.card.media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card.media .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.hexlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hexlist li { position: relative; padding-left: 30px; }
.hexlist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 16px; background: var(--green-2); clip-path: var(--hex); }
.hexlist b { color: var(--navy); display: block; }
.hexlist span { color: var(--muted); font-size: 15px; }

/* Downloads */
.dl { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.dl + .dl { margin-top: 14px; }
.dl .ic { width: 52px; height: 46px; clip-path: var(--hex); background: var(--grad); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px; }
.dl h3 { font-size: 18px; margin-bottom: 2px; }
.dl p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .dl { grid-template-columns: 48px 1fr; } .dl .btn { grid-column: 1 / -1; justify-self: start; } }

/* Rechtstexte */
.legal section { padding: 0; }
.legal h2 { font-size: clamp(21px, 2.6vw, 26px); margin: 40px 0 10px; scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2b3150; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal li::marker { color: var(--green); }
.legal address { font-style: normal; }
.box { background: var(--green-5); border: 1px solid var(--green-4); border-radius: 14px; padding: 18px 22px; margin: 0 0 16px; }
.box p:last-child, .box address:last-child { margin-bottom: 0; }
.summary { background: var(--green-5); border-left: 5px solid var(--green); border-radius: 14px; padding: 22px 26px; margin-bottom: 28px; }
.legal .summary { padding: 22px 26px; }
.summary h2 { margin-top: 0; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.summary li { position: relative; padding-left: 26px; }
.summary li::before { content: ""; position: absolute; left: 0; top: .38em; width: 14px; height: 12px; background: var(--green-2); clip-path: var(--hex); }
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; margin-bottom: 36px; }
.toc strong { display: block; margin-bottom: 6px; color: var(--navy); }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 36px; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 680px) { .toc ol { columns: 1; } }
.objection { border: 2px solid var(--green); border-radius: 14px; padding: 18px 22px; margin: 0 0 16px; }
.objection p:last-child { margin-bottom: 0; }
.stand { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 680px) { .legal a { overflow-wrap: anywhere; } }

/* Abschluss und Fuß */
.cta { background: var(--grad); color: #e9edf1; text-align: center; padding: 56px 0; }
.cta h2 { color: #fff; }
.cta p { color: #cdd6dc; margin: 0 auto 22px; max-width: 640px; }
footer { background: var(--night); color: #9aa4b2; font-size: 14px; padding: 36px 0; }
footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }
footer img { height: 34px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; }
@media (max-width: 760px) { footer nav { justify-content: flex-start; } }
footer a { color: #cdd6dc; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }
