/* froops-Viewer · Oberfläche (Neugestaltung 10.11.2026, Sara)
   Gliederung: Schriften · Grundwerte · Grundelemente · Kundenansicht · Verwaltung · Dialoge · Chat · Bewegung */

/* ================================================================ Schriften (lokal, OFL) */
@font-face { font-family: "Barlow"; src: url(../schrift/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../schrift/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../schrift/barlow-600.woff2) format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(../schrift/barlow-condensed-600.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(../schrift/barlow-condensed-700.woff2) format("woff2"); font-weight: 700 900; font-display: swap; }

/* ================================================================ Grundwerte */
:root {
  /* Farben */
  --tinte: #151b1d;
  --tinte-2: #2c3436;
  --grau: #5d6567;
  --grau-2: #8a9193;
  --linie: #e2e5e4;
  --linie-2: #cfd4d3;
  --flaeche: #ffffff;
  --papier: #f4f5f3;
  --papier-2: #eceeeb;
  --gruen: #1a7f5a;
  --gruen-dunkel: #13664a;
  --hauch: #e8f3ed;
  --rot: #c0352b;
  --rot-hauch: #fdecea;
  --orange: #b8650a;
  --orange-hauch: #fdf2e2;
  --blau: #2f6aa6;
  --nacht: #12171a;          /* Seitenleiste Verwaltung */
  --nacht-2: #1c2326;
  --nacht-linie: rgba(255, 255, 255, .08);
  --nacht-text: #e9eded;
  --nacht-grau: #96a0a2;

  /* Schrift */
  --schrift: "Barlow", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --anzeige: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;

  /* Form */
  --r-klein: 8px;
  --radius: 10px;
  --r-gross: 14px;
  --r-blatt: 20px;
  --schatten-1: 0 1px 2px rgba(16, 24, 26, .06);
  --schatten: 0 1px 2px rgba(16, 24, 26, .05), 0 8px 24px rgba(16, 24, 26, .08);
  --schatten-3: 0 2px 6px rgba(16, 24, 26, .06), 0 24px 60px rgba(16, 24, 26, .18);
  --glas: rgba(255, 255, 255, .78);
  --fokus: 0 0 0 3px rgba(26, 127, 90, .28);

  /* Bewegung */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-blatt: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--schrift); font-size: 15px; line-height: 1.4; color: var(--tinte); background: var(--papier);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-user-select: none; user-select: none; }
:focus-visible { outline: none; box-shadow: var(--fokus); }
::selection { background: rgba(26, 127, 90, .2); }

/* Logo (Bilddatei: nur „oo“ farbig) */
.logo { display: inline-flex; align-items: center; line-height: 0; flex: none; }
.logo img { height: 40px; width: auto; display: block; }

/* ================================================================ Grundelemente */
/* Schaltflächen */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--tinte);
  font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap; text-decoration: none;
  box-shadow: var(--schatten-1);
  transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf:active:not(:disabled) { transform: scale(.97); }
.knopf.haupt { background: var(--gruen); border-color: var(--gruen); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(19, 102, 74, .3); }
.knopf.leise { background: transparent; border-color: transparent; box-shadow: none; color: var(--grau); }
.knopf.gefahr { color: var(--rot); }
.knopf.klein { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--r-klein); }
.knopf.klein.haupt { color: #fff; }
.knopf.breit { width: 100%; min-height: 44px; }
.knopf:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
a.knopf { color: inherit; }
a.knopf.haupt { color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover:not(:disabled) { border-color: var(--grau-2); }
  .knopf.haupt:hover:not(:disabled) { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }
  .knopf.leise:hover:not(:disabled) { background: var(--papier-2); color: var(--tinte); }
  .knopf.gefahr:hover:not(:disabled) { background: var(--rot-hauch); border-color: transparent; }
}

/* Runde Symbolknöpfe */
.rund {
  width: 40px; height: 40px; padding: 0; border-radius: 50%; flex: none;
  border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--tinte);
  display: inline-grid; place-items: center; font-size: 14px; line-height: 1;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.rund svg { width: 18px; height: 18px; }
.rund:active:not(:disabled) { transform: scale(.94); }
.rund.an { background: var(--tinte); border-color: var(--tinte); color: #fff; }
@media (hover: hover) and (pointer: fine) { .rund:hover:not(.an) { background: var(--papier); } }

/* Umschalter mit gleitender Markierung (siehe js/oberflaeche.js) */
.segment {
  position: relative; display: inline-flex; gap: 2px; padding: 3px;
  background: var(--papier-2); border-radius: 999px; isolation: isolate;
}
.segment button {
  position: relative; z-index: 1; border: 0; background: transparent; border-radius: 999px;
  min-height: 34px; padding: 0 16px; font-weight: 600; font-size: 14px; color: var(--grau);
  transition: color 180ms ease, transform 160ms var(--ease-out);
}
.segment button[aria-pressed="true"] { color: var(--tinte); }
.segment:not(.belebt) button[aria-pressed="true"] { background: var(--flaeche); box-shadow: var(--schatten-1); }
.segment button:active:not(:disabled) { transform: scale(.96); }
.segment button:disabled { opacity: .35; cursor: not-allowed; }
.segment .daumen {
  position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px;
  background: var(--flaeche); box-shadow: 0 1px 2px rgba(16, 24, 26, .1), 0 2px 8px rgba(16, 24, 26, .06);
  opacity: 0; pointer-events: none;
}
.segment .daumen.sichtbar { opacity: 1; }
.segment .daumen.gleitet { transition: transform 240ms var(--ease-out), width 240ms var(--ease-out), opacity 150ms ease; }
@media (hover: hover) and (pointer: fine) { .segment button:hover:not([aria-pressed="true"]):not(:disabled) { color: var(--tinte); } }

/* Auswahlchips */
.chip {
  border: 1px solid var(--linie-2); background: var(--flaeche); border-radius: 999px;
  min-height: 32px; padding: 0 13px; font-size: 13px; font-weight: 600; color: var(--grau);
  transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.chip[aria-pressed="true"] { border-color: var(--gruen); background: var(--hauch); color: var(--gruen-dunkel); }
.chip:active:not(:disabled) { transform: scale(.96); }
.chip:disabled { cursor: not-allowed; opacity: .6; }
@media (hover: hover) and (pointer: fine) { .chip:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--grau-2); color: var(--tinte); } }

/* Eingabefelder */
.feld { display: grid; gap: 6px; min-width: 0; }
.feld > label, .feld > .bez, .kleinbez {
  font-size: 13px; font-weight: 600; color: var(--tinte-2); display: flex; align-items: center; gap: 6px;
}
.optional { font-weight: 400; color: var(--grau-2); }
.feld input[type=text], .feld input[type=email], .feld input[type=password], .feld input[type=search], .feld textarea, .feld select,
.anmeldung input, .dialog.blatt textarea, .dialog.blatt input[type=text], .link input, .tabelle select {
  width: 100%; min-height: 40px; border: 1px solid var(--linie-2); border-radius: var(--r-klein);
  padding: 9px 12px; background: var(--flaeche); font-size: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.feld textarea { min-height: 72px; resize: vertical; line-height: 1.45; }
.feld input:focus, .feld textarea:focus, .feld select:focus, .anmeldung input:focus, .link input:focus, .tabelle select:focus,
.dialog.blatt textarea:focus, .dialog.blatt input:focus, .chat-zeile textarea:focus, .chat-eingabe input:focus {
  outline: none; border-color: var(--gruen); box-shadow: var(--fokus);
}
.feld input:disabled, .feld textarea:disabled, .feld select:disabled { background: var(--papier); color: var(--grau); cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: var(--grau-2); }
select { appearance: none; -webkit-appearance: none; padding-right: 34px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6567' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.schalter { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--tinte-2); line-height: 1.4; cursor: pointer; }
.schalter input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--gruen); cursor: pointer; }
.hinweis { margin: 0; font-size: 13px; color: var(--grau); line-height: 1.45; }
.status { font-size: 13px; color: var(--grau); min-height: 18px; }
.status.fehler { color: var(--rot); font-weight: 600; }
.status.ok { color: var(--gruen); font-weight: 600; }
.reihe { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.reihe.eng { gap: 6px; flex-wrap: nowrap; }
.reihe.eng input { flex: 1; min-width: 0; }

/* i-Hilfe */
.i {
  width: 20px; height: 20px; padding: 0; border-radius: 50%; flex: none;
  border: 1px solid var(--linie-2); background: var(--flaeche); color: var(--grau);
  font: italic 700 11px/1 Georgia, serif; display: inline-grid; place-items: center; vertical-align: middle;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.i[aria-expanded="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.hilfe {
  position: absolute; z-index: 60; max-width: min(320px, calc(100vw - 32px));
  background: var(--tinte); color: #fff; font-size: 13px; line-height: 1.5; padding: 10px 12px;
  border-radius: var(--radius); box-shadow: var(--schatten-3);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
@starting-style { .hilfe { opacity: 0; transform: translateY(4px) scale(.98); } }

/* Ladekreis */
.kreis { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(21, 27, 29, .1); border-top-color: var(--gruen); animation: dreh .7s linear infinite; margin: 0 auto 12px; }
@keyframes dreh { to { transform: rotate(360deg); } }

/* Kundenstatus-Punkte */
.punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; flex: none; }
.punkt.passt { background: #2fbf86; }
.punkt.aendern { background: #f29a2e; }
.punkt.offen { background: var(--grau-2); }
.punkt.neu { box-shadow: 0 0 0 2px var(--nacht), 0 0 0 4px #5b9cf0; }

/* ================================================================ Bühne (3D) – gemeinsam */
.buehne { position: relative; min-height: 0; touch-action: none; overflow: hidden;
  background:
    radial-gradient(48% 40% at 50% 44%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #f2f3f1 0%, #e9ebe8 72%, #e2e5e1 100%);
}
.buehne::after { /* weicher Bodenschatten unter dem Trikot */
  content: ""; position: absolute; left: 50%; bottom: 7%; width: min(46%, 420px); height: 34px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(21, 27, 29, .13), rgba(21, 27, 29, 0)); pointer-events: none; z-index: 0;
}
.buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; z-index: 1; }
.buehne canvas:active { cursor: grabbing; }
.glas { background: var(--glas); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(21, 27, 29, .05), 0 10px 30px rgba(16, 24, 26, .10); }
.zoom { position: absolute; z-index: 4; right: 20px; top: 50%; transform: translateY(-50%); display: grid; gap: 0; padding: 4px; border-radius: 999px;
  background: var(--glas); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(21, 27, 29, .06), 0 8px 24px rgba(16, 24, 26, .08); }
.zoom .rund { border-color: transparent; background: transparent; width: 38px; height: 38px; }
@media (hover: hover) and (pointer: fine) { .zoom .rund:hover { background: rgba(21, 27, 29, .06); } }
.laden { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; color: var(--grau); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ================================================================ Kundenansicht */
.ansicht { position: fixed; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); background: #e9ebe8; }
.ansicht header {
  position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
  background: #f2f3f1;
}
.ansicht .kopf-links { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ansicht .titel {
  min-width: 0; padding-left: 16px; border-left: 1px solid var(--linie-2);
  font-family: var(--anzeige); font-weight: 600; font-size: 20px; letter-spacing: .01em; color: var(--tinte);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ansicht header .i { width: 36px; height: 36px; font-size: 14px; background: var(--flaeche); }
.auswahl { position: absolute; left: 16px; right: 16px; top: 12px; z-index: 4; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; pointer-events: none; }
.auswahl .chip { pointer-events: auto; background: var(--glas); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(21, 27, 29, .1); color: var(--tinte-2); }
.auswahl .chip[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.fehlerseite { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--grau); line-height: 1.5; }
.fehlerseite strong { display: block; color: var(--tinte); font-family: var(--anzeige); font-weight: 700; font-size: 26px; margin-bottom: 6px; }

/* Untere Leiste als schwebendes Dock */
.leiste { position: relative; z-index: 5; display: flex; justify-content: center; padding: 0 16px calc(18px + env(safe-area-inset-bottom)); background: #e2e5e1; }
.dock { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; max-width: 100%;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(21, 27, 29, .06), 0 12px 32px rgba(16, 24, 26, .12); }
.dock .segment { background: transparent; }
.dock .segment .daumen { background: var(--tinte); box-shadow: 0 2px 8px rgba(16, 24, 26, .2); }
.dock .segment button[aria-pressed="true"] { color: #fff; }
.dock .segment:not(.belebt) button[aria-pressed="true"] { background: var(--tinte); }
.trenner { width: 1px; height: 24px; background: var(--linie-2); flex: none; }
.leiste .aktionen { display: flex; align-items: center; gap: 6px; }
.leiste .aktionen .rund { border-color: transparent; background: transparent; }
.leiste .aktionen .rund.an { background: var(--tinte); color: #fff; }
@media (hover: hover) and (pointer: fine) { .leiste .aktionen .rund:hover:not(.an) { background: rgba(21, 27, 29, .06); } }
.leiste .knopf.haupt { border-radius: 999px; min-height: 40px; padding: 0 18px 0 14px; }

@media (max-width: 640px) {
  .logo img { height: 32px; }
  .ansicht header { padding: calc(10px + env(safe-area-inset-top)) 16px 10px; gap: 10px; }
  .ansicht .kopf-links { gap: 12px; }
  .ansicht .titel { font-size: 17px; padding-left: 12px; }
  .ansicht header .i { width: 32px; height: 32px; }
  .zoom { display: none; }
  .buehne::after { bottom: 9%; width: 60%; }
  .leiste { padding: 0 12px calc(12px + env(safe-area-inset-bottom)); }
  .dock { width: 100%; flex-wrap: wrap; border-radius: var(--r-blatt); padding: 6px; gap: 6px; }
  .dock .segment { display: flex; width: 100%; }
  .dock .segment button { flex: 1; padding: 0 6px; min-height: 38px; }
  .dock .trenner { display: none; }
  .leiste .aktionen { width: 100%; }
  .leiste .aktionen .knopf.haupt { flex: 1; min-height: 44px; order: -1; }
  .leiste .aktionen .rund { width: 44px; height: 44px; background: var(--papier-2); }
}

/* ================================================================ Anmeldung */
.anmeldung { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; overflow: auto;
  background: radial-gradient(60% 50% at 50% 35%, #ffffff 0%, rgba(255, 255, 255, 0) 100%), linear-gradient(180deg, #f2f3f1, #e4e7e3); }
.anmeldung .karte { width: min(400px, 100%); background: var(--flaeche); border-radius: var(--r-blatt); box-shadow: var(--schatten-3); padding: 32px 28px 28px; display: grid; gap: 16px; }
.anmeldung .karte .marke-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.anmeldung .karte .marke-kopf small, .seitenkopf small { font-family: var(--anzeige); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--grau-2); }
.anmeldung h1 { margin: 0; font-family: var(--anzeige); font-weight: 700; font-size: 30px; line-height: 1.05; letter-spacing: .005em; }
.anmeldung .feld input { min-height: 44px; }
.anmeldung .status:empty { display: none; }

/* ================================================================ Verwaltung */
.verwaltung { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: 100vh; height: 100dvh; }

/* Seitenleiste (dunkel) */
.verwaltung > aside { display: flex; flex-direction: column; min-height: 0; background: var(--nacht); color: var(--nacht-text); color-scheme: dark; }
.verwaltung > aside .kopf { padding: 18px 16px 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.seitenkopf { display: flex; align-items: center; gap: 10px; min-width: 0; }
.seitenkopf .logo img { height: 34px; }
.seitenkopf small { color: var(--nacht-grau); padding-left: 10px; border-left: 1px solid var(--nacht-linie); }
.verwaltung > aside .knopf.haupt { min-height: 36px; padding: 0 14px; border-radius: 999px; }
.nutzer { position: relative; padding: 0 10px 8px; }
.menue-knopf { width: 100%; justify-content: flex-start; gap: 10px; padding: 0 8px; min-height: 44px; border-radius: var(--radius); color: var(--nacht-text) !important; }
.menue-knopf::after { content: ""; margin-left: auto; width: 12px; height: 12px; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9eded' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 200ms var(--ease-out); }
.menue-knopf[aria-expanded="true"]::after { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .menue-knopf:hover { background: var(--nacht-2) !important; } }
.kreis-name { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #24a372, #146a4b); color: #fff; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; flex: none; }
.menue { position: absolute; left: 10px; right: 10px; top: 48px; z-index: 40; display: grid; padding: 6px;
  background: var(--flaeche); color: var(--tinte); color-scheme: light; border-radius: var(--r-gross); box-shadow: var(--schatten-3);
  transform-origin: top center; transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); }
@starting-style { .menue { opacity: 0; transform: translateY(-4px) scale(.97); } }
.menue button { text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: var(--r-klein); font-weight: 600; font-size: 14px; }
.menue button:hover, .menue button:focus-visible { background: var(--papier); box-shadow: none; }

.verwaltung > aside .suche {
  margin: 0 16px 8px; width: auto; min-height: 38px; padding: 8px 12px; border-radius: var(--r-klein);
  border: 1px solid var(--nacht-linie); background-color: var(--nacht-2); color: var(--nacht-text); font-size: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.verwaltung > aside select.suche { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2396a0a2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.verwaltung > aside input.suche { padding-left: 36px; margin-top: 4px;
  background: var(--nacht-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2396a0a2' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center no-repeat; }
.verwaltung > aside .suche::placeholder { color: var(--nacht-grau); }
.verwaltung > aside .suche:focus { outline: none; border-color: rgba(47, 191, 134, .7); box-shadow: 0 0 0 3px rgba(47, 191, 134, .2); }
.filterreihe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 16px 8px; }
.filterreihe .suche { margin: 0 !important; min-width: 0; font-size: 13px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.liste { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 6px 8px 16px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.liste > p { color: var(--nacht-grau) !important; padding: 12px 10px !important; }
.eintrag {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%;
  text-align: left; border: 0; background: transparent; color: inherit; padding: 8px; border-radius: var(--radius);
  transition: background-color 120ms ease;
}
.eintrag > div { min-width: 0; }
.eintrag img, .eintrag .leer { width: 48px; height: 48px; border-radius: var(--r-klein); object-fit: contain; background: #e9ebe8; display: block; }
.eintrag .leer { background: var(--nacht-2); }
.eintrag b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eintrag small { display: block; color: var(--nacht-grau); font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eintrag[aria-current="true"] { background: rgba(255, 255, 255, .09); box-shadow: inset 2px 0 0 #2fbf86; }
.eintrag:focus-visible { box-shadow: 0 0 0 2px rgba(47, 191, 134, .6); }
@media (hover: hover) and (pointer: fine) { .eintrag:hover:not([aria-current="true"]) { background: rgba(255, 255, 255, .045); } }

/* Arbeitsfläche */
.arbeit { display: grid; grid-template-columns: minmax(0, 1fr) 400px; min-height: 0; }
.arbeit .buehne .ansichten { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: var(--glas); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(21, 27, 29, .06), 0 10px 30px rgba(16, 24, 26, .10); padding: 4px; }
.arbeit .buehne .ansichten .daumen { background: var(--tinte); }
.arbeit .buehne .ansichten button[aria-pressed="true"] { color: #fff; }
.arbeit .buehne .ansichten:not(.belebt) button[aria-pressed="true"] { background: var(--tinte); }
.arbeit .buehne .zoom { right: 20px; }
.ziehen { position: absolute; z-index: 6; inset: 16px; border: 2px dashed var(--gruen); border-radius: var(--r-blatt);
  background: rgba(232, 243, 237, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: grid; place-items: center; font-family: var(--anzeige); font-weight: 700; font-size: 24px; color: var(--gruen-dunkel); pointer-events: none;
  transition: opacity 150ms ease, transform 200ms var(--ease-out); }
@starting-style { .ziehen { opacity: 0; transform: scale(.98); } }
.leerhinweis { position: absolute; z-index: 4; top: 20px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 140px);
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; pointer-events: none;
  background: var(--glas); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(21, 27, 29, .06), 0 10px 30px rgba(16, 24, 26, .10);
  color: var(--tinte-2); font-weight: 600; font-size: 14px; line-height: 1.3; }
.leerhinweis::before { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--hauch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a7f5a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E") center no-repeat; }
.arbeitet { position: absolute; inset: 0; z-index: 8; display: grid; place-items: center; text-align: center;
  background: rgba(242, 243, 241, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--tinte); font-weight: 600; font-size: 14px; }

/* Rechte Spalte */
.panel { position: relative; background: var(--papier); border-left: 1px solid var(--linie); overflow-y: auto; overflow-x: hidden; padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.panel > .hinweis { background: var(--orange-hauch); color: #7a4a0a; border-radius: var(--radius); padding: 10px 12px; }
.gruppe, .link { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 16px; display: grid; gap: 14px; box-shadow: var(--schatten-1); }
.gruppe > h3, .link > .kleinbez:first-child {
  margin: 0; font-family: var(--anzeige); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte);
  display: flex; align-items: center; gap: 8px;
}
.gruppe > h3 .zahl { margin-left: auto; font-family: var(--schrift); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--grau); }
.kunde-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kunde-felder .feld:first-child { grid-column: 1 / -1; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Schnittbogen */
.upload { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  border: 1px dashed var(--linie-2); border-radius: var(--radius); padding: 10px; background: var(--papier);
  transition: border-color 150ms ease, background-color 150ms ease; }
.upload img, .upload .leer { width: 56px; height: 56px; border-radius: var(--r-klein); object-fit: cover; background: var(--papier-2); display: block; }
.upload .leer { background: var(--papier-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%238a9193' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center no-repeat; }
.upload .name { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.upload .info { font-size: 12px; color: var(--grau); margin-top: 2px; }
@media (hover: hover) and (pointer: fine) { .upload:hover { border-color: var(--grau-2); } }

/* Schnitt-Kacheln */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kacheln.schnitte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kachel {
  border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); padding: 10px; text-align: left; font-size: 13px; font-weight: 600; min-height: 52px;
  transition: transform 160ms var(--ease-out), border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.kacheln.schnitte .kachel { display: grid; justify-items: center; gap: 4px; padding: 8px 4px 9px; text-align: center; font-size: 12px; line-height: 1.2; color: var(--tinte-2); }
.kacheln.schnitte .kachel img { width: 100%; max-width: 72px; aspect-ratio: 1; object-fit: contain; }
.kachel[aria-pressed="true"] { border-color: var(--gruen); background: var(--hauch); color: var(--gruen-dunkel); box-shadow: inset 0 0 0 1px var(--gruen); }
.kachel:active:not(:disabled) { transform: scale(.97); }
.kachel:disabled { opacity: .4; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .kachel:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--linie-2); background: var(--papier); } }
.haken { display: flex; flex-wrap: wrap; gap: 6px; }

/* Farbtupfer */
.farben { display: flex; gap: 10px; flex-wrap: wrap; }
.farbe { width: 28px; height: 28px; border-radius: 50%; padding: 0; border: 0; box-shadow: inset 0 0 0 1px rgba(21, 27, 29, .18);
  transition: transform 160ms var(--ease-out), box-shadow 150ms ease; }
.farbe[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(21, 27, 29, .18), 0 0 0 2px var(--flaeche), 0 0 0 4px var(--gruen); }
.farbe:active:not(:disabled) { transform: scale(.92); }
.farbe:disabled { cursor: not-allowed; }

/* Kundenlink */
.link .reihe.eng input { font-size: 13px; color: var(--tinte-2); background: var(--papier); }
.vorschauen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vorschauen img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--papier); border-radius: var(--r-klein); display: block; }

/* Speichern-Leiste */
.panel .speichern { position: sticky; bottom: 0; z-index: 6; margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  background: rgba(244, 245, 243, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--linie); }
.panel .speichern .knopf.haupt { min-width: 140px; }
.panel > #loeschen { align-self: flex-start; }

/* Kunde, Chat in der Verwaltung */
.kunde-box { gap: 12px; }
.kunde-zeile { font-size: 13px; color: var(--grau); }
.kunde-box .chat-verlauf { max-height: 340px; min-height: 72px; background: var(--papier); border-radius: var(--radius); padding: 10px; }
.kunde-box .chat-zeile textarea { font-size: 14px; }
.kunde-box .chat-eingabe { border-top: 0; padding-top: 0; }

/* Instagram */
.social { gap: 12px; }
.social-bilder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.social-bilder figure { margin: 0; display: grid; gap: 6px; }
.social-bild { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-klein); background: var(--nacht-2); overflow: hidden; display: grid; place-items: center; }
.social-bild.story { aspect-ratio: 9 / 16; }
.social-bild img, .social-bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.social-bild span { color: rgba(255, 255, 255, .6); font-size: 11px; font-weight: 600; text-align: center; padding: 4px; }
.social-bilder figure.veraltet .social-bild { box-shadow: inset 0 0 0 2px #f29a2e; }
.social-bilder figcaption { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.social-bilder figcaption .knopf { min-height: 28px; padding: 0 9px; font-size: 12px; }
.social-bilder.zwei { grid-template-columns: 1fr 1fr; }

/* Anfrage-Auswahl */
.anfrage-wahl { position: relative; }
.anfrage-liste { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; max-height: 300px; overflow: auto; padding: 4px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten-3);
  transform-origin: top center; transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); }
@starting-style { .anfrage-liste { opacity: 0; transform: translateY(-4px) scale(.98); } }
.anfrage-liste button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: var(--r-klein); font-size: 13px; line-height: 1.35; }
.anfrage-liste button:hover, .anfrage-liste button:focus-visible { background: var(--papier); box-shadow: none; }
.anfrage-liste b { font-size: 14px; }
.anfrage-liste small { color: var(--grau); }
.anfrage-hinweis { font-size: 12px; color: var(--grau); }
.anfrage-hinweis:empty { display: none; }
.marke { display: inline-block; font-size: 11px; font-weight: 700; color: var(--gruen-dunkel); background: var(--hauch); border-radius: 6px; padding: 1px 6px; margin-right: 4px; }

@media (max-width: 1280px) {
  .verwaltung { grid-template-columns: 260px minmax(0, 1fr); }
  .arbeit { grid-template-columns: minmax(0, 1fr) 360px; }
  .seitenkopf small { display: none; }
}
@media (max-width: 900px) {
  .verwaltung { grid-template-columns: 1fr; height: auto; }
  .verwaltung > aside { max-height: 320px; }
  .arbeit { grid-template-columns: 1fr; }
  .arbeit .buehne { height: 68vh; }
  .panel { border-left: 0; overflow: visible; }
}

/* ================================================================ Dialoge */
.dialog {
  border: 0; border-radius: var(--r-blatt); padding: 22px 24px; color: var(--tinte); background: var(--flaeche);
  box-shadow: var(--schatten-3); width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  display: grid; gap: 16px;
  opacity: 1; transform: none;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete;
}
.dialog form { display: grid; gap: 16px; }
.dialog:not([open]) { display: none; opacity: 0; transform: scale(.98); transition-duration: 140ms; }
@starting-style { .dialog[open] { opacity: 0; transform: translateY(6px) scale(.97); } }
.dialog::backdrop { background: rgba(12, 17, 19, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: opacity 200ms ease, overlay 200ms allow-discrete, display 200ms allow-discrete; }
.dialog:not([open])::backdrop { opacity: 0; }
@starting-style { .dialog[open]::backdrop { opacity: 0; } }
.dialog.breit { width: min(1240px, calc(100vw - 32px)); }
.dialog.mittel { width: min(720px, calc(100vw - 32px)); }
.dialog-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog h2 { margin: 0; font-family: var(--anzeige); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: .005em; }
.dialog h3 { margin: 0; font-family: var(--anzeige); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.dialog-kopf .rund { width: 36px; height: 36px; border-color: transparent; background: var(--papier); color: var(--grau); }
@media (hover: hover) and (pointer: fine) { .dialog-kopf .rund:hover { background: var(--papier-2); color: var(--tinte); } }

/* Tabellen (Benutzer) */
.tabelle-huelle { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--r-gross); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabelle th { text-align: left; font-size: 12px; font-weight: 600; color: var(--grau); padding: 10px; background: var(--papier); border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle td { padding: 8px 10px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle tr.gesperrt td { opacity: .5; }
.tabelle .haken { flex-direction: column; align-items: flex-start; gap: 4px; }
.tabelle .chip { white-space: nowrap; min-height: 26px; padding: 0 10px; font-size: 12px; }
.tabelle .klein-eingabe[maxlength="120"] { min-width: 170px; }
.tabelle td:last-child .reihe { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
.tabelle td:last-child .knopf { width: 100%; }
.tabelle code { font-size: 13px; background: var(--papier); padding: 2px 6px; border-radius: 6px; }
.tabelle select { min-width: 132px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.klein-eingabe { width: 100%; min-width: 120px; border: 1px solid transparent; border-radius: var(--r-klein); padding: 6px 8px; background: transparent; transition: border-color 150ms ease, background-color 150ms ease; }
.klein-eingabe:hover, .klein-eingabe:focus { border-color: var(--linie-2); background: var(--flaeche); outline: none; }
.neu-benutzer { border-top: 1px solid var(--linie); padding-top: 18px; }
.raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.raster.zwei { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .raster { grid-template-columns: 1fr 1fr; } }
.postausgang { display: grid; gap: 6px; max-height: 260px; overflow: auto; }
.postausgang .zeile { font-size: 13px; border: 1px solid var(--linie); border-radius: var(--r-klein); padding: 8px 10px; display: grid; gap: 2px; }
.postausgang .zeile small { color: var(--grau); }
.postausgang .fehler { color: var(--rot); }
.einladung-link { font-size: 12px; word-break: break-all; background: var(--papier); border-radius: var(--r-klein); padding: 10px; font-family: ui-monospace, Consolas, monospace; }
.dialog .segment { display: flex; }
.dialog .segment button { flex: 1; }

/* Unteres Blatt auf dem Handy */
@media (max-width: 640px) {
  .dialog.blatt { margin: auto 0 0; width: 100vw; max-width: 100vw; max-height: 92dvh; border-radius: var(--r-blatt) var(--r-blatt) 0 0;
    padding: 10px 18px calc(16px + env(safe-area-inset-bottom));
    transition: transform 320ms var(--ease-blatt), opacity 200ms ease, overlay 320ms allow-discrete, display 320ms allow-discrete; }
  .dialog.blatt::before { content: ""; justify-self: center; width: 40px; height: 5px; border-radius: 999px; background: var(--linie-2); margin-bottom: -6px; }
  .dialog.blatt:not([open]) { transform: translateY(100%); opacity: 1; transition-duration: 220ms; }
  @starting-style { .dialog.blatt[open] { transform: translateY(100%); opacity: 1; } }
  .raster.zwei, .kunde-felder, .zwei-spalten { grid-template-columns: 1fr; }
}

/* ================================================================ Chat */
.chat-fenster { width: min(520px, calc(100vw - 32px)); max-height: min(780px, calc(100dvh - 32px)); grid-template-rows: auto minmax(0, 1fr) auto; padding: 18px 20px; gap: 12px; }
.chat-fenster[open] { display: grid; }
.chat-verlauf { overflow-y: auto; min-height: 160px; max-height: 52dvh; display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; scrollbar-width: thin; }
.chat-leer { color: var(--grau); font-size: 14px; line-height: 1.5; margin: 8px 0; text-align: center; padding: 18px 12px; background: var(--papier); border-radius: var(--r-gross); }
.blase { max-width: 82%; padding: 8px 12px; border-radius: 16px 16px 16px 6px; font-size: 14px; line-height: 1.45; background: var(--papier-2); color: var(--tinte); align-self: flex-start; overflow-wrap: anywhere; }
.blase.kunde { align-self: flex-end; background: var(--gruen); color: #fff; border-radius: 16px 16px 6px 16px; }
.blase.system { align-self: center; max-width: 90%; background: transparent; color: var(--grau); font-size: 12px; font-weight: 600; text-align: center; padding: 4px 8px; border-radius: 0; }
.blase-kopf { font-size: 11px; color: var(--grau); margin-bottom: 2px; font-weight: 500; }
.blase.kunde .blase-kopf { color: rgba(255, 255, 255, .72); }
.blase-art { font-weight: 700; font-size: 13px; }
.blase-art.aendern { color: var(--orange); }
.blase-art.passt { color: var(--gruen); }
.blase.kunde .blase-art { color: #fff; }
.blase-text { white-space: pre-wrap; display: block; }
.blase-bilder { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.blase-bilder img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; display: block; background: var(--flaeche); }
@keyframes blase-rein { from { opacity: 0; transform: translateY(4px); } }
.chat-eingabe { display: grid; gap: 10px; border-top: 1px solid var(--linie); padding-top: 12px; }
.chat-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.chat-zeile .rund { border-color: transparent; background: var(--papier); color: var(--grau); }
.chat-zeile .knopf.haupt { border-radius: 999px; min-height: 40px; }
.chat-zeile textarea, .chat-eingabe input[type=text] { width: 100%; border: 1px solid var(--linie-2); border-radius: 20px; padding: 9px 14px; background: var(--flaeche); resize: none; min-height: 40px; font-size: 16px; line-height: 1.35;
  transition: border-color 150ms ease, box-shadow 150ms ease; }
.chat-eingabe input[type=text] { font-size: 14px; border-radius: var(--r-klein); }
.wahl-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wahl-zwei .knopf { min-height: 48px; white-space: normal; border-radius: var(--radius); }
.wahl-zwei .knopf[aria-pressed="true"] { border-color: var(--gruen); background: var(--hauch); color: var(--gruen-dunkel); box-shadow: inset 0 0 0 1px var(--gruen); }
.anhaenge { display: flex; gap: 6px; flex-wrap: wrap; }
.anhaenge:empty { display: none; }
.anhang { position: relative; width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; background: var(--papier); animation: blase-rein 200ms var(--ease-out) both; }
.anhang img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 200ms ease; }
.anhang.laedt img { opacity: .4; }
.anhang-weg { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(12, 17, 19, .65); color: #fff; font-size: 11px; padding: 0; display: grid; place-items: center; }
/* alte Rückmeldungsliste (nur noch Altbestand) */
.rm-liste { display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.rm-eintrag { background: var(--flaeche); border-radius: var(--radius); padding: 8px 10px; font-size: 13px; border: 1px solid var(--linie); }
.rm-eintrag .kopf { display: flex; justify-content: space-between; gap: 8px; color: var(--grau); font-size: 12px; margin-bottom: 2px; }
.rm-eintrag.alt { opacity: .6; }
.chat-eingabe .status:empty { min-height: 0; margin-top: -10px; }
@media (max-width: 640px) {
  .wahl-zwei .knopf { padding: 0 8px; gap: 6px; font-size: 13px; }
  .chat-fenster { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; }
  .chat-verlauf { max-height: 46dvh; }
}

/* ================================================================ Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .kreis { animation: dreh 1.4s linear infinite !important; }
  .segment .daumen.gleitet { transition: opacity 150ms ease; }
  .dialog, .dialog.blatt, .menue, .hilfe, .anfrage-liste, .ziehen { transform: none !important; }
  .knopf:active, .rund:active, .chip:active, .kachel:active, .farbe:active, .segment button:active { transform: none; }
}

/* ================================================================ Rechtliches (Datenschutzseite, Link im Kundenlink) */
.rechtliches { position: absolute; z-index: 4; left: 16px; bottom: 10px; font-size: 11px; color: var(--grau-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .rechtliches:hover { color: var(--tinte-2); text-decoration: underline; } }
.textseite { background: var(--papier); }
.text-inhalt { max-width: 720px; margin: 0 auto; padding: 32px 20px 56px; line-height: 1.6; font-size: 15px; color: var(--tinte-2); }
.text-inhalt .logo img { height: 36px; }
.text-inhalt h1 { font-family: var(--anzeige); font-weight: 700; font-size: 32px; line-height: 1.1; color: var(--tinte); margin: 28px 0 16px; }
.text-inhalt h2 { font-family: var(--anzeige); font-weight: 700; font-size: 19px; letter-spacing: .02em; color: var(--tinte); margin: 26px 0 6px; }
.text-inhalt p { margin: 0 0 10px; }
.text-inhalt a { color: var(--gruen-dunkel); }
.text-fuss { margin-top: 32px !important; padding-top: 16px; border-top: 1px solid var(--linie); }
