/* quik Websites: Seiten je Werkzeug und je Branche (server/landing-seo.mjs, Daten in shared/website-seo.js; de und en).
   Ergänzt landing.css und effekte.css; eigene Klassen beginnen mit seo-. Keine Inline-Stile (CSP).
   Gelb heißt wie überall: Feld, das der Kunde ändern darf. Schraffur: gesperrte Gestaltung. */

/* ---------- Kopf: Text links, Bild rechts (seiten-held aus landing.css) ---------- */
.seo-held .seiten-held-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.seo-held .krumen { margin-bottom: 18px; }
.seo-held-text { min-width: 0; }
/* Lange deutsche Wörter (übergeben, Handwerksbetrieb) passen in die Spalte: etwas kleiner, notfalls Trennung */
.seo-held .h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* Bild rechts so breit wie die Karte, damit das Etikett an deren Ecke sitzt */
.seo-buehne { position: relative; display: grid; justify-items: stretch; gap: 16px; justify-self: end; width: min(460px, 100%); min-width: 0; }
.seo-pruef { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.seo-pruef .chip { min-height: 28px; font-size: .75rem; }
.hat-etk.seo-buehne > .etk { top: -34px; }

/* Tafel: Ausschnitt der Pflegeansicht */
.seo-tafel { display: grid; gap: 8px; width: 100%; padding: 20px; border-radius: 20px; background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--linie-3), 0 40px 80px -40px rgb(0 0 0 / calc(.9 * var(--schatten-k))); }
.seo-tafel-kopf { display: flex; align-items: center; gap: 10px; min-height: 36px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--linie); font-size: .9375rem; }
.seo-tafel-kopf .chip { margin-left: auto; }
.seo-kuerzel { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--knopf); color: #fff; font-size: .625rem; font-weight: 800; }
.seo-zl { display: grid; grid-template-columns: minmax(84px, .75fr) minmax(0, 1.5fr) auto; gap: 12px; align-items: center; min-height: 46px; padding: 8px 12px; border-radius: 12px; background: rgb(var(--hell) / .035); font-size: .8438rem; }
.seo-zl > span { font-weight: 600; color: var(--tinte); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-zl > b { justify-self: start; max-width: 100%; padding: 3px 8px; border-radius: 6px; background: var(--marker-soft); outline: 1.5px dashed var(--marker); outline-offset: 0; color: var(--marker-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-zl > em { font-style: normal; font-size: .75rem; color: var(--grau); white-space: nowrap; }
.seo-zu { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: repeating-linear-gradient(-45deg, rgb(var(--hell) / .06) 0 2px, transparent 2px 8px); box-shadow: inset 0 0 0 1px var(--linie); font-size: .8125rem; color: var(--grau); }
.seo-zu em { margin-left: auto; font-style: normal; font-weight: 650; color: var(--tinte-2); }

/* Logowand der Übersicht Werkzeuge: jede Kachel führt zur Seite des Werkzeugs */
.seo-logowand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; padding: 16px; border-radius: 22px; background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--linie-3), 0 40px 80px -40px rgb(0 0 0 / calc(.9 * var(--schatten-k))); }
.seo-logowand a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 92px; padding: 10px 6px; border-radius: 14px; background: rgb(var(--hell) / .04); box-shadow: inset 0 0 0 1px var(--linie); font-size: .875rem; font-weight: 600; color: var(--tinte-2); text-align: center; text-decoration: none; transition: background-color .25s, box-shadow .25s, color .25s; }
.seo-logowand a:hover { background: rgba(124, 92, 255, .12); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); color: var(--weiss); }
.seo-logowand .wz { width: 28px; height: 28px; }

/* ---------- Schritte ---------- */
.seo-schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.seo-schritte-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-nr { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 11px; background: var(--knopf); color: #fff; font-family: var(--display); font-size: 1rem; font-weight: 800; box-shadow: var(--schein); }
@media (max-width: 1000px) { .seo-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .seo-schritte-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .seo-schritte { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.karte > .seo-chip-k:first-child { align-self: flex-start; }
.seo-chip-k { min-height: 26px; padding: 0 10px; font-size: .75rem; }
.karte .seo-weiter { margin-top: auto; padding-top: 8px; }
.seo-wz { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: rgb(var(--hell) / .05); box-shadow: inset 0 0 0 1px var(--linie); }
.seo-wz .wz { width: 24px; height: 24px; }
.seo-wz-karte h4 { font-family: var(--display); font-size: 1.25rem; font-weight: 780; letter-spacing: -.02em; line-height: 1.2; margin: 0; }
.seo-nachlink { margin-top: 28px; }
.seo-gruppe + .seo-gruppe { margin-top: clamp(44px, 5vw, 64px); }
.seo-gruppe-kopf { display: grid; gap: 6px; margin-bottom: 20px; }
.seo-gruppe-kopf p { color: var(--grau); }
.seo-logos { margin-top: auto; padding-top: 8px; }
.seo-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 9px; border-radius: 10px; background: rgb(var(--hell) / .05); box-shadow: inset 0 0 0 1px var(--linie); font-size: .8438rem; font-weight: 600; color: var(--tinte-2); }
.seo-logo .wz { width: 18px; height: 18px; }
.p-logos { display: flex; flex-wrap: wrap; gap: 8px; }

/* Grenzen: Kreuz statt Haken */
.seo-nein { display: grid; gap: 12px; margin-top: 4px; }
.seo-nein li { position: relative; padding-left: 32px; color: var(--tinte-2); line-height: 1.5; }
.seo-nein li::before { content: ""; position: absolute; left: 0; top: .1em; width: 21px; height: 21px; border-radius: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23aea8bd' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7'/%3E%3C/svg%3E") center / 12px no-repeat, rgb(var(--hell) / .07); }
.seo-paket-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: auto; padding-top: 8px; }

/* Links zu den Hauptseiten unter den Schritten */
.seo-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }

/* Querverweise: Branchen auf der Übersicht Werkzeuge und umgekehrt */
.seo-quer { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-quer-link { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 18px; border-radius: 14px; background: var(--flaeche); box-shadow: var(--karte-rand); font-size: .9375rem; font-weight: 600; color: var(--tinte-2); text-decoration: none; transition: background-color .25s, box-shadow .25s, color .25s; }
.seo-quer-link:hover { background: rgba(124, 92, 255, .12); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); color: var(--weiss); }
.seo-quer-link .wz { width: 18px; height: 18px; }

/* Fragen über die volle Breite der rechten Spalte */
.seo-fragen .fr-liste { width: 100%; }

/* ---------- Handy ---------- */
@media (max-width: 960px) {
  .seo-held .seiten-held-in { grid-template-columns: minmax(0, 1fr); }
  .seo-buehne { justify-self: center; margin-top: 24px; }
  .hat-etk.seo-buehne > .etk { right: 0; }
  .hat-etk.seo-buehne > .etk-links { left: 0; }
}
@media (max-width: 420px) {
  .seo-tafel { padding: 16px 14px; }
  .seo-zl { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .seo-zl > span { grid-column: 1 / -1; font-size: .78rem; color: var(--grau); }
  .seo-logowand { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px; gap: 8px; }
  .seo-logowand a { min-height: 84px; font-size: .8125rem; }
}
