/* A-672 · Unterseiten von exava.ai (Rechtliches, Sicherheit, Partnerprogramm) und A-671 Automatisierungen – im Stil der Startseite.
   Grundlage, Kopf, Knöpfe, Glossy-Schrift und Fuß kommen aus /assets/basis.css; hier nur, was die Unterseiten zusätzlich brauchen:
   Seitenkopf, Abschnitte, Lesesatz für lange Rechtstexte mit Inhaltsverzeichnis, Karten, Fragen, Produktbilder. */

/* ---- Seitenkopf -------------------------------------------------------------------------------------------------------- */
.seitenkopf { position: relative; padding: calc(var(--kopf) + clamp(64px, 11vw, 150px)) var(--seite) clamp(48px, 7vw, 96px); overflow-x: clip; }
.seitenkopf h1 { margin: 22px 0 0; max-width: 940px; font-size: clamp(36px, 4.8vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; text-wrap: balance; }
.seitenkopf h1 .zeile { display: block; }
.seitenkopf .lead { margin-top: 26px; max-width: 680px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(236, 238, 255, .84); text-shadow: var(--aura); }
.seitenkopf .aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.seitenkopf .notiz { margin-top: 18px; max-width: 620px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); text-shadow: var(--aura); }
.sprungmarken { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.sprungmarken a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--text);
  background: rgba(10, 14, 24, .45); box-shadow: inset 0 0 0 1px rgba(150, 160, 255, .2); transition: box-shadow .2s, background .2s; }
.sprungmarken a:hover { background: rgba(20, 24, 48, .6); box-shadow: inset 0 0 0 1px var(--halo-rand); }
.sprungmarken a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---- Abschnitte -------------------------------------------------------------------------------------------------------- */
.teil { position: relative; padding: clamp(64px, 9vw, 128px) var(--seite); overflow-x: clip; }
.seitenkopf + .teil { padding-top: clamp(16px, 3vw, 40px); }
.teil.oben-knapp { padding-top: 0; }
.teil h2 { font-size: clamp(30px, 3.6vw, 52px); }
.teil .lead { margin-top: 20px; max-width: 700px; font-size: clamp(17px, 1.3vw, 19px); color: var(--text-2); text-shadow: var(--schatten-text); }
.teil p { text-shadow: var(--schatten-text); }
.oberzeile { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.zentriert { text-align: center; }
.zentriert .lead, .zentriert .aktionen { margin-left: auto; margin-right: auto; justify-content: center; }
.aktionen-zeile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.zentriert .aktionen-zeile { justify-content: center; }
.notiz-zentriert { margin-top: 18px; font-size: 15px; color: var(--text-2); }
.textlink { color: var(--text); font-weight: 600; text-underline-offset: 3px; border-radius: 4px; }
.textlink:focus-visible, .teil a:not(.knopf):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Kacheln (wie die Funktionen der Startseite) */
.kacheln { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kacheln.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kachel { position: relative; padding: 28px 26px 26px; border-radius: 22px; background: rgba(10, 14, 24, .42); box-shadow: inset 0 0 0 1px rgba(150, 160, 255, .1); }
.kachel::before { content: ""; display: block; width: 10px; height: 10px; margin-bottom: 18px; border-radius: 50%; background: radial-gradient(circle, #fff, var(--lila) 45%, rgba(217, 166, 255, 0) 72%); box-shadow: 0 0 14px rgba(217, 166, 255, .7); }
.kachel .oberzeile { margin-bottom: 8px; }
.kachel p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.kachel .nr { position: absolute; top: 26px; right: 24px; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--text-3); }

/* Gruppen mit Haarlinie (wie „Für wen“ der Startseite) */
.gruppen { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; }
.gruppen.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 32px; }
.gruppen article { padding-top: 20px; border-top: 1px solid var(--haar); }
.gruppen .oberzeile { margin-bottom: 10px; }
.gruppen p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); }

/* Schritte (wie „Anmelden. Verbinden.“ der Startseite) */
.stufen { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: stufe; }
.stufen li { position: relative; padding: 26px 24px 24px; border-radius: 22px; background: rgba(10, 14, 24, .42); box-shadow: inset 0 0 0 1px rgba(150, 160, 255, .1); }
.stufen .zahl { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 15px; font-weight: 700; color: #fff;
  background: radial-gradient(circle at 50% 35%, rgba(170, 140, 255, .55), rgba(40, 30, 120, .6) 70%); box-shadow: inset 0 0 0 1px rgba(200, 180, 255, .45), 0 0 22px rgba(140, 100, 255, .4); }
.stufen .oberzeile { margin: 18px 0 6px; }
.stufen p { margin-top: 8px; font-size: 15.5px; color: var(--text-2); }

/* Karte und Hinweis */
.karte { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); }
.karte p { margin-top: 12px; font-size: 16px; color: var(--text-2); }
.hinweis { margin-top: 36px; max-width: 760px; padding: 16px 22px; border-radius: 18px; font-size: 15px; color: var(--text-2); background: rgba(120, 140, 255, .06); box-shadow: inset 0 0 0 1px rgba(150, 160, 255, .16); }
.zentriert .hinweis { margin-left: auto; margin-right: auto; }

/* Fragen (wie die Startseite) */
.faq { margin: 40px auto 0; max-width: 860px; text-align: left; }
.faq details { border-top: 1px solid var(--haar); }
.faq details:last-child { border-bottom: 1px solid var(--haar); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; text-shadow: var(--schatten-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .nr { flex: none; width: 28px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--text-3); }
.faq summary .frage { flex: 1; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.faq details p { padding: 0 4px 24px 50px; color: var(--text-2); font-size: 16px; max-width: 760px; }

/* ---- Rechtstexte: Inhaltsverzeichnis links, Lesesatz rechts ----------------------------------------------------------- */
.recht { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.verzeichnis { position: sticky; top: calc(var(--kopf) + 28px); max-height: calc(100vh - var(--kopf) - 56px); overflow-y: auto; padding: 4px 6px 12px 2px; font-size: 14px; scrollbar-width: thin; }
.verzeichnis .oberzeile { margin-bottom: 12px; }
.verzeichnis ol { list-style: none; margin: 0; padding: 0; }
.verzeichnis > ol > li + li { margin-top: 14px; }
.verzeichnis a { display: block; padding: 5px 10px; border-radius: 10px; color: var(--text-2); text-decoration: none; line-height: 1.4; transition: color .2s, background .2s; }
.verzeichnis > ol > li > a { color: var(--text); font-weight: 600; }
.verzeichnis ol ol { margin: 4px 0 0; padding-left: 10px; border-left: 1px solid var(--haar); }
.verzeichnis ol ol a { font-size: 13.5px; padding: 3px 10px; }
.verzeichnis a:hover { color: var(--text); background: var(--halo); }
.verzeichnis a[aria-current="true"] { color: var(--text); background: rgba(120, 140, 255, .14); }
.verzeichnis a:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

.lesetext { max-width: 740px; }
.rechtsteil + .rechtsteil { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--haar); }
.rechtsteil, .rechtsteil h3 { scroll-margin-top: calc(var(--kopf) + 24px); }
.rechtsteil > h2 { font-size: clamp(32px, 3.6vw, 50px); }
.rechtsteil .stand { margin-top: 14px; font-size: 14.5px; color: var(--text-3); }
.lesetext h3 { margin-top: 44px; font-size: 19px; letter-spacing: -0.02em; }
.lesetext h3 + p, .lesetext h3 + ul { margin-top: 12px; }
.lesetext p, .lesetext li { font-size: 16.5px; line-height: 1.72; color: var(--text-2); text-shadow: var(--schatten-text); }
.lesetext p + p { margin-top: 14px; }
.lesetext ul { margin: 0; padding-left: 22px; }
.lesetext li + li { margin-top: 8px; }
.lesetext li::marker { color: var(--lila); }
.lesetext a:not(.knopf) { color: var(--text); font-weight: 600; text-underline-offset: 3px; border-radius: 4px; overflow-wrap: anywhere; }

/* Impressum: Angaben als Tabelle */
.angaben { margin: 32px 0 0; padding: 4px 28px; border-radius: 22px; }
.angaben > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 24px; padding: 20px 0; }
.angaben > div + div { border-top: 1px solid var(--haar); }
.angaben dt { padding-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.angaben dd { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.angaben a { color: var(--text); font-weight: 600; text-underline-offset: 3px; border-radius: 4px; }
.verweis { margin-top: 44px; padding: 24px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-radius: 22px; }
.lesetext .verweis p { margin: 0; max-width: 460px; font-size: 15.5px; line-height: 1.55; }

/* ---- Sicherheit: Datenfluss ---------------------------------------------------------------------------------------------- */
.fluss { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) 96px minmax(0, 1fr); align-items: stretch; }
.station { padding: 26px 24px; border-radius: 22px; }
.station h3 { font-size: 22px; letter-spacing: -0.03em; }
.station ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.station li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.station li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lila); box-shadow: 0 0 10px var(--lila); }
.station .fazit { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--haar); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.station .fazit + p { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.pfeil-fluss { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); text-align: center; }
.pfeil-fluss::before { content: ""; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(79, 141, 255, .1), rgba(170, 109, 255, .8), rgba(236, 116, 253, .1)); box-shadow: 0 0 10px rgba(150, 110, 255, .6); }
.haken { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.haken li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--haar); font-size: 15px; color: var(--text); }
.haken li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--lila); border-bottom: 2px solid var(--lila); transform: rotate(-45deg); }
.parteien { margin-top: 44px; }
.partei { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 10px 48px; padding: 26px 0; border-top: 1px solid var(--haar); }
.partei:last-child { border-bottom: 1px solid var(--haar); }
.partei .oberzeile { margin: 8px 0 0; }
.partei p { font-size: 15.5px; color: var(--text-2); }

/* ---- Produktbilder (A-671) ----------------------------------------------------------------------------------------------- */
.bild { margin: 0; }
.bild picture, .bild img { display: block; width: 100%; height: auto; }
.bild img { border-radius: 22px; background: #05070d; box-shadow: 0 40px 120px rgba(90, 100, 255, .16), 0 0 0 1px rgba(150, 160, 255, .16); }
.bild figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--text-3); text-shadow: var(--schatten-text); }
.bild figcaption b { color: var(--text-2); font-weight: 600; }
.bild.gross { margin-top: clamp(8px, 2vw, 24px); }
.bild.gross figcaption { text-align: center; }
.zweierlei { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.zweierlei .bild.hoch img { border-radius: 30px; }

/* ---- Anleitung „Claude mit EXAVA verbinden“ (A-677): Nummer groß, Titel, ein Satz, Bild aus dem PDF ------------------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; letter-spacing: 0; overflow-wrap: anywhere; }
.brauchst { margin: 40px 0 0; max-width: 620px; border-top: 1px solid var(--haar); }
.brauchst > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--haar); }
.brauchst dt, .werte dt { padding-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.brauchst dd { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); text-shadow: var(--schatten-text); }
.anleitung { list-style: none; margin-top: 0; margin-bottom: 0; }
.schritt { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; scroll-margin-top: calc(var(--kopf) + 24px); }
.schritt + .schritt { margin-top: clamp(72px, 9vw, 128px); }
.schritt-text { position: sticky; top: calc(var(--kopf) + 32px); }
.schritt-nr { display: inline-block; font-size: clamp(64px, 7vw, 104px); font-weight: 800; line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.schritt h2 { margin-top: 18px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.035em; text-wrap: balance; }
.schritt .satz { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.schritt .satz b, .schritt .klein b { color: var(--text); font-weight: 600; }
.schritt .klein { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--text-3); }
.werte { margin: 22px 0 0; border-top: 1px solid var(--haar); }
.werte > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--haar); }
.werte dt { padding-top: 2px; font-size: 11px; }
.werte dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.schritt .bild img { border-radius: 18px; }

/* ---- Breiten ------------------------------------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .kacheln.vier, .gruppen.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .haken { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .recht { grid-template-columns: 1fr; gap: 8px; }
  .verzeichnis { display: none; } /* schmal: die Sprungmarken im Seitenkopf genügen */
  .fluss { grid-template-columns: 1fr; gap: 0; }
  .pfeil-fluss { flex-direction: row; min-height: 56px; }
  .pfeil-fluss::before { width: 1px; height: 40px; background: linear-gradient(rgba(79, 141, 255, .1), rgba(170, 109, 255, .8), rgba(236, 116, 253, .1)); }
  .zweierlei { grid-template-columns: 1fr; }
  .zweierlei .bild.hoch { max-width: 360px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .stufen, .gruppen { grid-template-columns: 1fr; }
  .partei { grid-template-columns: 1fr; }
  .schritt { grid-template-columns: 1fr; gap: 24px; }
  .schritt-text { position: static; }
}
@media (max-width: 600px) {
  .seitenkopf h1 { font-size: clamp(30px, 9vw, 42px); letter-spacing: -0.04em; margin-top: 16px; }
  .seitenkopf .lead { margin-top: 18px; font-size: 16.5px; }
  .seitenkopf .aktionen { margin-top: 24px; }
  .seitenkopf .aktionen .knopf { flex: 1 1 auto; height: 48px; padding: 0 18px; }
  .kacheln, .kacheln.vier, .gruppen.vier, .haken { grid-template-columns: 1fr; }
  .kachel { padding: 24px 20px 22px; }
  .angaben { padding: 2px 18px; }
  .angaben > div { grid-template-columns: 1fr; padding: 16px 0; }
  .lesetext p, .lesetext li { font-size: 16px; line-height: 1.68; }
  .faq summary { font-size: 16.5px; padding: 18px 2px; gap: 12px; }
  .faq summary .nr { width: 22px; }
  .faq details p { padding-left: 36px; }
  .bild img { border-radius: 16px; }
  .brauchst > div { grid-template-columns: 1fr; padding: 14px 0; }
  .schritt .bild img { border-radius: 12px; }
  .bild.gross picture { max-width: 360px; margin: 0 auto; }
  .bild.gross img { border-radius: 26px; }
}
