/* Landingpage und Rechtsseiten */

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.small { font-size: 13px; line-height: 20px; }

/* Kopfzeile */
.site-head { background: var(--brand); }
.head-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s4); padding-block: var(--s2); }
.head-row .logo { font-size: 20px; }
.head-nav { display: flex; flex: 1 1 auto; gap: var(--s3); font-size: 15px; font-weight: 500; }
.head-nav a { color: var(--on-brand); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.head-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.head-cta { margin-left: auto; }

@media (max-width: 760px) {
  .head-row { gap: var(--s1) var(--s2); }
  .head-cta { order: 2; }
  .head-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; gap: var(--s3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .head-nav::-webkit-scrollbar { display: none; }
}

/* Hero */
.hero { background: var(--brand); color: #fff; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s5) clamp(32px, 5vw, 64px); align-items: start; }
.chip { display: inline-block; padding: 4px 12px; margin-bottom: var(--s3); border-radius: 999px; background: var(--brand-2); color: var(--on-brand); font-size: 13px; line-height: 20px; font-weight: 500; }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.1; max-width: 14em; margin-bottom: var(--s3); }
.lead { max-width: 34em; margin-bottom: var(--s2); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--on-brand); }
.byline { max-width: 34em; margin-bottom: var(--s4); color: var(--leaf); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.catalog-card { background: var(--card); color: var(--ink); border-radius: var(--r-md); padding: var(--s3); box-shadow: 0 12px 32px rgba(13, 38, 28, .22); }
.catalog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 var(--s2); margin-bottom: 4px; }
.catalog-head h2 { font-size: 17px; line-height: 28px; }
.catalog-card > p { margin-bottom: var(--s2); }
.catalog-list { display: grid; gap: var(--s1); margin-bottom: var(--s2); }
.catalog-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s1); padding: 12px var(--s2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.cl-name { flex: 1 1 8em; min-width: 0; font-weight: 600; }
.catalog-card > p:last-child { margin: 0; }

@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Abschnitte */
.section { padding-block: var(--section); }
.section-flush { padding-top: 0; }
.h-section { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; max-width: 22em; margin-bottom: var(--s2); }
.h-sub { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin-bottom: var(--s1); }
.intro { max-width: 44em; margin-bottom: var(--s4); font-size: 17px; line-height: 1.6; color: var(--muted); }
.on-dark .intro { color: var(--on-brand); }

.cards { display: grid; gap: var(--s3); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); }
.card .eyebrow { margin-bottom: var(--s1); }
.card h3 { margin-bottom: var(--s1); font-size: 19px; line-height: 28px; }
.card p:last-child { font-size: 15px; line-height: 24px; color: var(--muted); }
.card-dark { background: var(--brand-deep); border-color: var(--brand-2); }
.card-dark h3 { color: var(--leaf); }
.card-dark p:last-child { color: var(--on-brand); }

/* Ablauf */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 48px); }
.panel .intro { margin-bottom: var(--s4); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s4) var(--s3); }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: var(--s2); border-radius: var(--r-sm); background: var(--ok-bg); color: var(--brand); font-size: 14px; font-weight: 700; line-height: 1; }
.steps h3 { margin-bottom: var(--s1); font-size: 18px; line-height: 28px; }
.steps p { font-size: 15px; line-height: 24px; color: var(--muted); }
.panel-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s3) var(--s5); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.panel-split h3 { margin-bottom: var(--s1); font-size: 17px; line-height: 28px; }
.panel-split p { font-size: 15px; line-height: 24px; color: var(--muted); }

/* Katalog */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--s4) var(--s5); align-items: start; }
.split-copy { display: grid; gap: var(--s2); }
.split-copy .h-section { margin-bottom: 0; font-size: clamp(24px, 2.8vw, 34px); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.table-scroll { position: relative; overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: -3px; }
.table-card table { min-width: 420px; font-size: 15px; line-height: 24px; }
.table-card caption { text-align: left; padding: var(--s2) var(--s3) 12px; font-size: 13px; font-weight: 600; }
.table-card th, .table-card td { text-align: left; vertical-align: top; padding: 14px var(--s3); border-bottom: 1px solid var(--line-soft); }
.table-card thead th { padding-block: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); }
.table-card tbody th { font-weight: 400; white-space: nowrap; }
.table-card td { color: var(--muted); }
.table-note { padding: var(--s2) var(--s3); }

/* Sicherheit */
.band { background: var(--brand); color: #fff; }
.band .h-section { color: #fff; }
.scope { margin-top: var(--s4); max-width: 52em; font-size: 15px; line-height: 24px; color: var(--leaf); }
.card code, .scope code { color: inherit; }

/* Preis */
.price-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s3); }
@media (max-width: 860px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.price { margin: var(--s3) 0 4px; font-size: clamp(36px, 4vw, 46px); line-height: 1.1; font-weight: 700; color: var(--brand); }
.checks { display: grid; gap: 12px; margin: var(--s3) 0 var(--s4); font-size: 15px; line-height: 24px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.contact-card { background: var(--tile); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); }
.contact-card h3 { margin-bottom: var(--s1); font-size: 20px; line-height: 28px; }
.contact-card p { margin-bottom: var(--s3); font-size: 15px; line-height: 24px; }
.contact-card dt { font-weight: 600; font-size: 15px; }
.contact-card dd { margin-bottom: var(--s2); font-size: 15px; color: var(--brand); }
.contact-card dd:last-child { margin-bottom: 0; }

/* Fuß */
.site-foot { background: #14281f; color: #c8d6ce; padding-block: var(--s4); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.foot-brand strong { color: #fff; font-weight: 600; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s3); font-size: 14px; }
.site-foot a { display: inline-block; padding: 10px 0; color: #c8d6ce; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }

/* Rechtsseiten */
.legal { padding-block: var(--section); }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: var(--s3); font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.legal h2 { margin: var(--s4) 0 var(--s1); font-size: 20px; line-height: 28px; }
.legal p + p { margin-top: var(--s2); }
.legal .notice { margin-bottom: var(--s4); padding: var(--s2) var(--s3); border: 1px solid #ecd2b0; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--warn-ink); font-size: 15px; }
.legal .back { display: inline-block; margin-bottom: var(--s3); padding: 10px 0; }
