/* Vorführseite Räderwechsel-Assistent (23.10.2026) – CI Graphit & Grün */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --haupt: #23292e; --akzent: #3fa06a; --grund: #f7f7f5; --text: #1d2125; --flaeche: #e8e9e7; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 1rem/1.65 "Inter", "Segoe UI", Arial, sans-serif; }
h1, h2 { font-family: "Sora", "Segoe UI", Arial, sans-serif; color: var(--haupt); line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .2em 0 .4em; }
h2 { font-size: 1.3rem; margin: 0 0 .5em; }
a { color: var(--haupt); }
.demo-band { background: var(--haupt); color: var(--grund); padding: 10px 16px; font-size: .9rem; text-align: center; border-bottom: 3px solid var(--akzent); }
.demo { max-width: 1100px; margin: 0 auto; padding: 24px 16px 40px; }
.etikett { font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--haupt); margin: 0; }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 24px 0; }
.karte { background: #fff; border: 1px solid var(--flaeche); border-radius: 6px; padding: 24px; }
.knopf { background: var(--haupt); color: var(--grund); border: 0; border-radius: 6px; padding: 10px 18px; font: 600 1rem "Inter", "Segoe UI", Arial, sans-serif; cursor: pointer; }
.knopf:disabled { opacity: .6; cursor: wait; }
.status { min-height: 1.5em; font-size: .9rem; }
/* Chatfenster (11.11.2026): als Chat erkennbar, Dialog fließt ohne Scrollen im kleinen Kasten */
@media (min-width: 900px) { .karten { grid-template-columns: minmax(280px, 1fr) minmax(0, 1.7fr); align-items: start; } }
/* Telefon-Karte (11.11.2026): sofort erkennbar, dass man im Browser anrufen kann */
.karte-telefon { text-align: center; }
.tel-symbol { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(63, 160, 106, .14); margin-bottom: 8px; }
.tel-symbol::before, .knopf-anruf::before { content: ""; display: inline-block; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tel-symbol::before { width: 34px; height: 34px; color: var(--akzent); }
.knopf-anruf { display: inline-flex; align-items: center; gap: 10px; background: var(--akzent); color: #fff; border-radius: 999px; padding: 13px 28px; font-size: 1.05rem; box-shadow: 0 6px 18px rgba(63, 160, 106, .35); margin: 6px 0 4px; }
.knopf-anruf::before { width: 20px; height: 20px; }
.knopf-anruf:hover { background: #358c5c; }
.knopf-anruf[aria-pressed="true"] { background: #c0392b; box-shadow: 0 6px 18px rgba(192, 57, 43, .35); }
.knopf-anruf[aria-pressed="true"]::before { transform: rotate(135deg); }
.karte-telefon .klein { color: #5b6166; }
.chat { border: 1px solid #d5d7d4; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(35, 41, 46, .14); display: flex; flex-direction: column; }
.chat-kopf { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--haupt); color: var(--grund); }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--akzent); color: #fff; display: grid; place-items: center; font: 700 .85rem "Sora", "Segoe UI", Arial, sans-serif; flex-shrink: 0; }
.chat-name { margin: 0; font-weight: 600; line-height: 1.3; }
.chat-unter { margin: 0; font-size: .8rem; color: #c9cdd0; line-height: 1.3; }
.chat-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5fd08e; margin-right: 6px; vertical-align: 1px; }
.chat-verlauf { height: clamp(380px, 62vh, 620px); overflow-y: auto; padding: 16px; background: var(--grund); display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.chat-nachricht { margin: 0; padding: 10px 14px; border-radius: 14px; max-width: 85%; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.chat-nachricht.bot { background: #fff; border: 1px solid var(--flaeche); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-nachricht.ich { background: var(--haupt); color: var(--grund); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-nachricht.tippt { color: #6b7075; font-style: italic; }
.chat-kalender { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--akzent); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 4px 12px rgba(63, 160, 106, .3); }
.chat-kalender::before { content: "📅"; }
.chat-kalender:hover { background: #358c5c; }
.chat-eingabe { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--flaeche); background: #fff; margin: 0; }
.chat-eingabe input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid #c9cbc8; border-radius: 999px; font: inherit; }
.chat-eingabe input:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
.chat-eingabe .knopf { border-radius: 999px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.preise table { width: 100%; max-width: 560px; border-collapse: collapse; background: #fff; border: 1px solid var(--flaeche); }
.preise td { padding: 8px 12px; border-bottom: 1px solid var(--flaeche); }
.preise td:last-child { text-align: right; white-space: nowrap; }
.preise .hervor td { font-weight: 600; border-left: 3px solid var(--akzent); }
.klein { font-size: .85rem; }
.demo-fuss { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--flaeche); }

/* Reiter „Assistent | Werkstattkalender“ (04.11.2026) */
[hidden] { display: none !important; }
.reiter { display: inline-flex; gap: 4px; margin: 24px 0 0; padding: 4px; background: var(--flaeche); border-radius: 999px; }
.reiter button { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font: 600 .95rem "Inter", "Segoe UI", Arial, sans-serif; color: var(--haupt); cursor: pointer; }
.reiter button[aria-selected="true"] { background: var(--haupt); color: var(--grund); box-shadow: 0 2px 6px rgba(35, 41, 46, .25); }
.reiter button:focus-visible, .kal-tag:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.kalender { margin: 24px 0; }
.kalender-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; }
.kalender-kopf h2 { margin-bottom: .2em; }
.kalender-kopf p { margin: 0; max-width: 60ch; }
.kalender-aktion { text-align: right; }
.kalender-aktion p { margin-top: 6px; color: #5a6268; }
.knopf-hell { background: #fff; color: var(--haupt); border: 1px solid #c9cbc8; }
.kal-tage { display: flex; gap: 10px; overflow-x: auto; padding: 18px 0 14px; }
.kal-tag { flex: none; min-width: 150px; display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 14px; border: 1px solid var(--flaeche); border-radius: 8px; background: #fff; font: inherit; color: var(--text); cursor: pointer; }
.kal-tag span { font-size: .8rem; color: #5a6268; }
.kal-tag[aria-pressed="true"] { border-color: var(--akzent); box-shadow: inset 0 0 0 1px var(--akzent); }
.kal-balken { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--flaeche); overflow: hidden; }
.kal-balken span { display: block; height: 100%; background: var(--akzent); }
.kal-raster { display: flex; flex-direction: column; border-top: 1px solid var(--flaeche); }
.kal-zeile { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--flaeche); }
.kal-zeit { display: flex; align-items: center; gap: 10px; }
.kal-zeit strong { font-family: "Sora", "Segoe UI", Arial, sans-serif; width: 3.2em; }
.kal-sb { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sb-a { background: #e7f4ec; color: #2c7a4f; }
.sb-b { background: #e6ecf2; color: #2f4a63; }
.kal-plaetze { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.kal-frei { padding: 10px 12px; border: 1px dashed #c9cbc8; border-radius: 6px; color: #8a9196; font-size: .85rem; }
.kal-termin { position: relative; display: flex; flex-direction: column; padding: 8px 12px; border-radius: 6px; background: var(--haupt); color: var(--grund); font-size: .85rem; line-height: 1.4; }
.kal-termin span { opacity: .8; }
.kal-termin.neu { background: var(--akzent); animation: kal-blink 1.2s ease-out 2; }
.kal-neu-etikett { position: absolute; top: 6px; right: 8px; font-style: normal; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #fff; color: var(--akzent); padding: 1px 6px; border-radius: 999px; }
.kal-legende { margin: 12px 0 0; color: #5a6268; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kal-punkt { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--akzent); }
@keyframes kal-blink { 0% { box-shadow: 0 0 0 0 rgba(63, 160, 106, .7); } 100% { box-shadow: 0 0 0 10px rgba(63, 160, 106, 0); } }
@media (max-width: 640px) {
  .kal-zeile { grid-template-columns: 1fr; gap: 6px; }
  .kalender-aktion { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .kal-termin.neu { animation: none; } }
