/* Belegerl – Sicherheit (12.10.2026): sechs eigene Zusagen als „Stempel“, die Seite /sicherheit/ und der AVV unter /avv/.
   Die Stempel sind unsere eigenen Zusagen, keine Prüfzeichen Dritter – das steht auch sichtbar dabei. */
:root { --seal-ink: #3F51E0; --seal-soft: rgba(79, 70, 229, .08); --ok: #0E9F6E; --warn-bg: #FFF7ED; --warn-bd: #FDBA74; --warn-tx: #7C2D12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --seal-ink: #A5B4FC; --seal-soft: rgba(165, 180, 252, .10); --ok: #34D399; --warn-bg: #2A1B0B; --warn-bd: #7C4A12; --warn-tx: #FCD9A8; } }
:root[data-theme="dark"] { --seal-ink: #A5B4FC; --seal-soft: rgba(165, 180, 252, .10); --ok: #34D399; --warn-bg: #2A1B0B; --warn-bd: #7C4A12; --warn-tx: #FCD9A8; }

/* Zeile im Hero */
.trust-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; list-style: none; padding: 0; margin: 14px auto 2px; max-width: 640px; }
.trust-line a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--muted); font: 600 .84rem/1.2 var(--body); text-decoration: none; transition: color .2s, border-color .2s, transform .2s var(--ease); }
.trust-line a:hover { color: var(--text); border-color: color-mix(in srgb, var(--seal-ink) 45%, var(--border)); transform: translateY(-1px); }
.trust-line svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Abschnitt auf der Startseite */
.trust { text-align: center; }
.trust .eyebrow { margin-bottom: .4rem; }
.trust h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.trust-lead { max-width: 40rem; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.seals { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 28px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .seals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; } }
.seal { display: grid; justify-items: center; align-content: start; gap: 4px; }
.seal a.seal-mark { display: block; border-radius: 50%; }
.seal-svg { width: clamp(112px, 26vw, 148px); height: auto; display: block; transform: rotate(var(--tilt, -6deg)); transition: transform .5s var(--spring); filter: drop-shadow(0 10px 18px rgba(79, 70, 229, .16)); }
.seal:nth-child(2n) .seal-svg { --tilt: 5deg; }
.seal:nth-child(3n) .seal-svg { --tilt: -3deg; }
.seal:hover .seal-svg, .seal a:focus-visible .seal-svg { transform: rotate(0deg) scale(1.04); }
.seal-ring { fill: var(--card); stroke: var(--seal-ink); stroke-width: 2.4; }
.seal-dash { fill: none; stroke: var(--seal-ink); stroke-width: 1.2; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .7; }
.seal-text { fill: var(--seal-ink); font: 800 10.4px var(--display); letter-spacing: .6px; text-transform: uppercase; }
.seal-core { fill: url(#seal-grad); }
.seal-ico { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.seal h3 { font-size: 1.08rem; margin: .7rem 0 .15rem; }
.seal p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; max-width: 30ch; }
.trust-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; margin-top: 2.2rem; }
.trust-note { margin: 1.1rem auto 0; max-width: 40rem; color: var(--muted); font-size: .88rem; }
@media (prefers-reduced-motion: reduce) { .seal-svg { transition: none; transform: none; } }

/* Seite /sicherheit/ und /avv/ */
.sec-page { max-width: 62rem; margin: 0 auto; padding: 32px var(--gutter) 72px; }
.sec-hero { text-align: center; padding: 18px 0 8px; }
.sec-hero h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); line-height: 1.02; letter-spacing: -.045em; margin: .3em auto .35em; max-width: 16ch; }
.sec-hero .lead { max-width: 40rem; margin: 0 auto; color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.18rem); }
.sec-stand { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1rem; padding: 6px 14px; border-radius: 999px; background: var(--seal-soft); color: var(--seal-ink); font: 600 .86rem var(--body); }
.sec-page section { margin-top: 56px; }
.sec-page section > h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.08; margin-bottom: .35em; }
.sec-page section > .sub { color: var(--muted); max-width: 44rem; margin: 0 0 1.4rem; }
.sec-page .seals { margin-top: 1.6rem; }
.sec-page .seal { text-align: center; }

/* Der Weg eines Belegs */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: flow; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.flow li { position: relative; background: var(--card); border-radius: 24px; padding: 20px 20px 18px; box-shadow: var(--shadow); counter-increment: flow; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--grad); color: #fff; font: 800 1rem var(--display); margin-bottom: 12px; }
.flow h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.flow p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.flow .tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px; border-radius: 999px; background: var(--seal-soft); color: var(--seal-ink); font: 700 .78rem var(--body); }
.flow .tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .flow li:not(:last-child)::after { content: ""; position: absolute; top: 36px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--seal-ink); border-right: 2px solid var(--seal-ink); transform: rotate(45deg); opacity: .55; } }
@media (max-width: 899px) { .flow li:not(:last-child)::after { content: ""; position: absolute; left: 32px; bottom: -11px; width: 10px; height: 10px; border-bottom: 2px solid var(--seal-ink); border-right: 2px solid var(--seal-ink); transform: rotate(45deg); opacity: .55; } }

/* Karten mit Fakten */
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.fact { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.fact h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin: 0 0 .5rem; }
.fact h3 svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--seal-soft); fill: none; stroke: var(--seal-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fact p, .fact li { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.fact p { margin: 0 0 .6em; } .fact p:last-child { margin-bottom: 0; }
.fact ul { margin: 0; padding-left: 1.1rem; } .fact li { margin: .15rem 0; }
.fact b { color: var(--text); font-weight: 600; }

/* Tabellen */
.tbl-wrap { overflow-x: auto; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.tbl th { text-align: left; font: 700 .8rem var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 16px 18px 10px; white-space: nowrap; }
.tbl td { padding: 14px 18px; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.45; color: var(--muted); }
.tbl td:first-child { color: var(--text); font-weight: 600; min-width: 10.5rem; }
.tbl td small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; }
.pill-ok, .pill-us { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 700 .76rem var(--body); white-space: nowrap; }
.pill-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.pill-us { background: var(--warn-bg); color: var(--warn-tx); border: 1px solid var(--warn-bd); }

/* Fristen */
.times { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.time { background: var(--card); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); }
.time b { display: block; font: 800 clamp(1.5rem, 4vw, 2rem)/1.05 var(--display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.time span { display: block; margin-top: .45rem; color: var(--muted); font-size: .94rem; line-height: 1.4; }

/* Ehrlich-Kasten */
.honest { background: var(--warn-bg); border: 1px solid var(--warn-bd); color: var(--warn-tx); border-radius: 24px; padding: 22px 24px; }
.honest h2 { font-size: 1.35rem !important; margin: 0 0 .5rem; color: inherit; }
.honest ul { margin: 0; padding-left: 1.15rem; } .honest li { margin: .3rem 0; line-height: 1.5; }
.honest a { color: inherit; }

.sec-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 48px; }
.sec-page .back { text-align: center; margin-top: 18px; font-size: .92rem; }

/* AVV */
.avv { max-width: 50rem; }
.avv h2 { font-size: 1.25rem; margin-top: 2rem; }
.avv h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.avv ol, .avv ul { padding-left: 1.3rem; } .avv li { margin: .35rem 0; }
.avv .parties { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 1.2rem 0; }
.avv .party { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
.avv .party b { display: block; font: 700 .8rem var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.avv .tbl { min-width: 560px; font-size: .92rem; }
.avv .sign { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 2.4rem; }
.avv .sign div { border-top: 1px solid var(--text); padding-top: .5rem; font-size: .9rem; color: var(--muted); }
.avv .sign .fill { height: 56px; border: 0; padding: 0; }
.avv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2rem 0 0; }
@media print {
  .top, .skip, .avv-actions, .foot, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .legal, .avv { max-width: none; padding: 0; }
  .avv .party, .tbl-wrap { box-shadow: none; border: 1px solid #bbb; }
  .avv h2 { break-after: avoid; } .avv .sign { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
