/* Nachbau-Zusätze der Aufgabe „Website und Datenschutz“ im Automatisierungskatalog (Präfix g-fa-website-).
 * Vorbilder: Cookie-Banner und Platzhalter von Complianz, WordPress-Adminbereich (Werkzeuge, Seitenliste,
 * Hinweise), Bewertungskarten des Datenschutz-Moduls, Protokolle der Wartungsläufe und die Verwaltung
 * einer eigenen Website. Systemschrift, Farbe des Beispielbetriebs, Mindestschrift 13 px.
 * Nichts darin ist bedienbar. Farben nur über Klassen (keine style-Attribute).
 */

/* ---------- Kleine Vorschau auf der Katalogkarte ---------- */

.g-fa-website-mini {
  --g-schrift: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --g-text: #1f2328;
  --g-leise: #5f6670;
  --g-linie: #dfe2e6;
  --g-grund: #f3f4f6;
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-left: 4px solid var(--g-marke);
  border-radius: 10px;
  background: #fff;
  color: var(--g-text);
  font-family: var(--g-schrift);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
.g-fa-website-mini-titel { font-weight: 700; }
.g-fa-website-mini-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.g-fa-website-mini .g-knoepfe .g-knopf { flex: 0 0 auto; }
.g-fa-website-mini .g-fa-website-code { padding: 8px 10px; }

/* ---------- Protokoll und Datei in Festbreitenschrift ---------- */

/* Die Hülle ist ein Container: Im schmalen Fenster bricht eine lange Zeile mit hängendem Einzug um,
   damit die Folgezeile nicht wie eine neue Zeile aussieht. */
.g-fa-website-codehuelle { min-width: 0; container-type: inline-size; }
.g-fa-website-code {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #1d2027;
  color: #e4e7ec;
  font-family: 'Cascadia Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace;
  font-size: 13px;
  line-height: 1.5;
}
.g-fa-website-codezeile { display: block; min-height: 1.5em; white-space: pre-wrap; overflow-wrap: anywhere; }
.g-fa-website-code--ok { color: #86efac; }
.g-fa-website-code--fehler { color: #fca5a5; }
.g-fa-website-code--leise { color: #a8b0bd; }
.g-fa-website-code--hell { border: 1px solid var(--g-linie); background: #f6f8fa; color: #1f2328; }
.g-fa-website-code--hell .g-fa-website-code--leise { color: #5f6670; }
.g-fa-website-code--hell .g-fa-website-code--ok { color: #1d5b21; }
@container (max-width: 560px) {
  .g-fa-website-codezeile { padding-left: 2ch; text-indent: -2ch; }
}

.g-fa-website-dateien { display: grid; gap: 8px; }
.g-fa-website-dateien .g-datei-symbol { flex-shrink: 0; width: 48px; }

/* ---------- Überschriften und Hinweise in Nachbauten ---------- */

.g-fa-website-h2 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.g-fa-website-h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.g-fa-website-h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.g-fa-website-hinweistext { font-size: 13px; color: var(--g-leise); }
.g-fa-website-formfehler,
.g-fa-website-meldung-fehler {
  padding: 8px 10px;
  border-radius: 6px;
  background: #fbe3e3;
  color: #8a1c1c;
  font-size: 13px;
}

/* ---------- Website am Handy: angedeutete Seite ---------- */

.g-fa-website-seitenrest { flex: 1; display: grid; gap: 8px; align-content: start; padding: 14px; }
.g-fa-website-bildflaeche { display: block; height: 96px; border-radius: 8px; background: var(--g-marke-hell); }
.g-fa-website-strich { display: block; height: 10px; border-radius: 5px; background: #e5e7eb; }
.g-fa-website-strich--kurz { width: 55%; }
.g-fa-website-strich--mittel { width: 80%; }
.g-fa-website-adresse {
  margin: 0 10px 2px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef0f3;
  color: var(--g-leise);
  font-size: 13px;
  overflow-wrap: anywhere;
}

/* ---------- Cookie-Banner (Complianz) ---------- */

.g-fa-website-cmplz {
  display: grid;
  gap: 10px;
  margin: 0 8px 10px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
}
.g-fa-website-cmplz-titel { font-size: 15px; font-weight: 700; }
.g-fa-website-cmplz-kategorien { display: grid; gap: 6px; padding: 8px 10px; border-radius: 8px; background: var(--g-grund); }
.g-fa-website-cmplz-knoepfe { display: grid; gap: 6px; }
.g-fa-website-cmplz-knoepfe .g-knopf { width: 100%; }

/* ---------- Platzhalter statt Karte oder Terminkalender (Complianz) ---------- */

.g-fa-website-platzhalter {
  display: grid;
  place-items: center;
  min-height: 176px;
  padding: 12px;
  border-radius: 6px;
  background-color: #e3e5e8;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 28px 28px;
}
.g-fa-website-platzhalter--klein { min-height: 120px; }
.g-fa-website-platzhalter .g-knopf {
  max-width: 88%;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
}

/* ---------- Bewertungskarten des Datenschutz-Moduls ---------- */

.g-fa-website-bewertungen { display: grid; gap: 10px; }
.g-fa-website-bewertung { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; }
.g-fa-website-bewertung-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.g-fa-website-bewertung-name { font-weight: 600; }
.g-fa-website-bewertung-datum { color: var(--g-leise); font-size: 13px; white-space: nowrap; }
.g-fa-website-sterne { color: #e8a317; font-size: 16px; letter-spacing: 2px; line-height: 1.2; }
.g-fa-website-bewertung-text { margin: 4px 0 0; font-size: 14px; }
.g-fa-website-quelle { margin: 0; font-size: 13px; }

/* ---------- WordPress-Adminbereich ---------- */

.g-fa-website-wp {
  --g-marke: #2271b1;
  --g-marke-hell: #f0f6fc;
  display: grid;
  gap: 10px;
  margin: -14px;
  padding: 14px 16px 16px;
  background: #f0f0f1;
  color: #1d2327;
  font-size: 13px;
}
.g-fa-website-wp .g-text { font-size: 13px; }
.g-fa-website-wp-h1 { font-size: 21px; font-weight: 400; line-height: 1.3; }
.g-fa-website-wp-klein { margin-left: 4px; color: #646970; font-size: 13px; }
.g-fa-website-wp .g-knoepfe .g-knopf { flex: 0 0 auto; min-height: 30px; padding: 0 12px; border-radius: 3px; font-weight: 400; }
.g-fa-website-wp .g-knopf--kontur { border-color: #2271b1; background: #f6f7f7; color: #2271b1; }
.g-fa-website-wp-hinweis {
  padding: 9px 12px;
  border-left: 4px solid #dba617;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  overflow-wrap: anywhere;
}
.g-fa-website-wp-hinweis--erfolg { border-left-color: #00a32a; }
.g-fa-website-wp-code {
  padding: 1px 5px;
  background: rgba(0, 0, 0, 0.07);
  font-family: 'Cascadia Mono', 'SF Mono', Consolas, monospace;
  font-size: 13px;
}
.g-fa-website-wp-karte { display: grid; gap: 10px; padding: 12px 14px; border: 1px solid #c3c4c7; background: #fff; }
.g-fa-website-wp-liste { display: grid; border: 1px solid #c3c4c7; background: #fff; }
.g-fa-website-wp-zeile { display: grid; gap: 4px; padding: 10px 12px; border-top: 1px solid #f0f0f1; }
.g-fa-website-wp-zeile:first-child { border-top: 0; }
.g-fa-website-wp-zeile:nth-child(even) { background: #f6f7f7; }
.g-fa-website-wp-seitentitel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #2271b1; font-size: 14px; font-weight: 600; }
.g-fa-website-wp-aktionen { color: #8c8f94; font-size: 13px; }
.g-fa-website-ablage {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 20px 12px;
  border: 2px dashed #8c8f94;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}
.g-fa-website-ergebnis { padding: 6px 10px; border-left: 3px solid #00a32a; background: #f6fbf7; overflow-wrap: anywhere; }

/* ---------- Tabelle, im schmalen Fenster je Zeile untereinander ---------- */

.g-fa-website-tabhuelle { min-width: 0; container-type: inline-size; }
.g-fa-website-tab { display: grid; border: 1px solid var(--g-linie); background: #fff; font-size: 13px; }
.g-fa-website-tab-kopf,
.g-fa-website-tab-zeile {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 8px 10px;
}
.g-fa-website-tab-kopf { border-bottom: 1px solid var(--g-linie); font-weight: 600; }
.g-fa-website-tab-zeile + .g-fa-website-tab-zeile { border-top: 1px solid #eceef1; }
.g-fa-website-tab-zeile:nth-child(odd) { background: #f8f9fa; }
.g-fa-website-tab-zeile > span { min-width: 0; overflow-wrap: anywhere; }
.g-fa-website-tab-name { display: none; }
.g-fa-website-tab .g-schild { justify-self: start; white-space: normal; }
@container (max-width: 520px) {
  .g-fa-website-tab-kopf { display: none; }
  .g-fa-website-tab-zeile { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .g-fa-website-tab-zeile > span { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; align-items: baseline; }
  .g-fa-website-tab-name { display: block; color: var(--g-leise); }
}

/* ---------- Verwaltung einer eigenen Website ---------- */

.g-fa-website-verwaltung { display: grid; gap: 10px; }
.g-fa-website-seitenzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 10px; border: 1px solid var(--g-linie); border-radius: 8px; }
.g-fa-website-pfad { font-family: 'Cascadia Mono', 'SF Mono', Consolas, monospace; font-size: 13px; color: var(--g-leise); }
.g-fa-website-snippet { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--g-linie); border-radius: 8px; background: #fff; }
.g-fa-website-snippet-url { color: #3c4043; font-size: 13px; overflow-wrap: anywhere; }
.g-fa-website-snippet-titel { color: #1a0dab; font-size: 17px; line-height: 1.3; }
.g-fa-website-snippet-text { color: #4d5156; font-size: 13px; }
.g-fa-website-bildvorschau { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.g-fa-website-bildvorschau-bild { flex-shrink: 0; width: 76px; height: 40px; border-radius: 4px; background: linear-gradient(135deg, var(--g-marke), var(--g-marke-hell)); }

/* Farbwahl und Abstufungen (Beispielfarbe Orange) */
.g-fa-website-farbfeld {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #cfd4db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}
.g-fa-website-farbfeld--leer { color: #8c939c; }
.g-fa-website-muster { display: block; width: 44px; height: 22px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 5px; }
.g-fa-website-muster--1 { background: #7c2d12; }
.g-fa-website-muster--2 { background: #c2410c; }
.g-fa-website-muster--3 { background: #f97316; }
.g-fa-website-muster--4 { background: #fdba74; }
.g-fa-website-muster--5 { background: #ffedd5; }
.g-fa-website-abstufungen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.g-fa-website-abstufungen .g-fa-website-muster { width: auto; height: 30px; }

/* Aktionsbanner oben auf jeder Seite */
.g-fa-website-aktion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 12px;
  background: var(--g-marke);
  color: #fff;
  font-size: 13px;
}
.g-fa-website-mini .g-fa-website-aktion { border-radius: 6px; }
.g-fa-website-aktion-pille {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.g-fa-website-aktion-punkt { width: 7px; height: 7px; border-radius: 50%; background: #6ecaff; }
.g-fa-website-aktion-code { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); font-weight: 700; letter-spacing: 0.04em; }
.g-fa-website-aktion-uhr { font-variant-numeric: tabular-nums; }

/* ---------- Praxis-Website: Titel im Browser und Linkblock im Fuß ---------- */

.g-fa-website-reiter {
  padding: 7px 12px;
  border: 1px solid var(--g-linie);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.g-fa-website-browser { display: grid; border: 1px solid var(--g-linie); border-radius: 0 8px 8px 8px; overflow: hidden; background: #fff; }
.g-fa-website-browser .g-fa-website-seitenrest { padding: 12px; }
.g-fa-website-fuss { display: grid; gap: 8px; padding: 12px 14px; background: var(--g-marke); color: #fff; }
.g-fa-website-fuss .g-link { color: #fff; }
.g-fa-website-orte { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }

/* ---------- Shop: Pflichtangaben und Motiv-Freigabe ---------- */

.g-fa-website-produktbild { height: 120px; border-radius: 8px; background: linear-gradient(160deg, #e7e5e4 0%, #a8a29e 55%, #57534e 100%); }
.g-fa-website-preiszusatz { color: var(--g-leise); font-size: 13px; }
.g-fa-website-massanfertigung { margin: 0; padding: 10px 12px; border-left: 3px solid var(--g-marke); background: var(--g-marke-hell); font-size: 13px; }
.g-fa-website-posten { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--g-linie); font-size: 14px; }
.g-fa-website-bestellen { display: grid; }
.g-fa-website-bestellen .g-knopf { width: 100%; }

.g-fa-website-motive { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.g-fa-website-motiv { display: grid; gap: 5px; align-content: start; min-width: 0; padding: 8px; border: 1px solid var(--g-linie); border-radius: 8px; background: #fff; }
.g-fa-website-motiv-bild { display: block; height: 84px; border-radius: 6px; }
.g-fa-website-motiv-bild--1 { background: linear-gradient(160deg, #e2e8f0 0%, #94a3b8 60%, #475569 100%); }
.g-fa-website-motiv-bild--2 { background: linear-gradient(160deg, #fde68a 0%, #f59e0b 55%, #92400e 100%); }
.g-fa-website-motiv-bild--3 { background: linear-gradient(160deg, #d9f99d 0%, #65a30d 55%, #365314 100%); }
.g-fa-website-motiv-titel { font-weight: 600; overflow-wrap: anywhere; }
.g-fa-website-motiv-meta { color: var(--g-leise); font-size: 13px; }
.g-fa-website-motiv .g-schild { justify-self: start; white-space: normal; }
.g-fa-website-motiv .g-knoepfe .g-knopf { flex: 0 0 auto; min-height: 30px; padding: 0 9px; }
.g-fa-website-mini .g-fa-website-motiv { grid-template-columns: 64px minmax(0, 1fr); column-gap: 10px; border: 0; padding: 0; }
.g-fa-website-mini .g-fa-website-motiv > * { grid-column: 2; }
.g-fa-website-mini .g-fa-website-motiv-bild { grid-column: 1; grid-row: 1 / span 4; height: 58px; }
