/* AppointUs public website - separate from the internal application's stylesheet
   (static/style.css) on purpose: different product-facing brand, different audience.
   Colours sampled from marke/AppointUs/A-Emblem-Entwurf.png on 12.09.2026 (approved brand
   reference) - not final brand guidelines, but the best available source right now. */

:root {
  --au-navy: #0e335c;
  --au-navy-dark: #0a2745;
  --au-teal: #018288;
  --au-teal-dark: #016367;
  --au-bg: #f6f8f9;
  --au-surface: #ffffff;
  --au-border: #dde3e6;
  --au-text: #16232e;
  --au-text-weak: #55636d;
  --au-danger: #a02323;
  --au-danger-bg: #fbeae9;
  --au-radius: 10px;
}

* { box-sizing: border-box; }

body.au-site {
  margin: 0;
  /* AUFTRAG UE (26.09.2026), Teil 1 Punkt 8: CJK-Fallback fuer Chinesisch ergaenzt, damit Han-
     Zeichen nicht auf die generische Systemschrift ohne CJK-Glyphen zurueckfallen. */
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, system-ui, "PingFang SC",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--au-bg);
  color: var(--au-text);
  font-size: 16px;
  line-height: 1.55;
}

.au-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: var(--au-surface);
  border-bottom: 1px solid var(--au-border);
}
.au-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--au-navy); }
.au-brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.au-brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.au-brand-text { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.au-brand-text span { color: var(--au-teal); }
.au-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.au-nav a { color: var(--au-navy); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.au-nav a:hover { color: var(--au-teal); }
.au-nav a.au-cta {
  background: var(--au-teal); color: #fff; padding: 9px 18px; border-radius: 8px;
}
.au-nav a.au-cta:hover { background: var(--au-teal-dark); color: #fff; }

/* ---------- Sprachumschalter: Flagge + Pfeil, eigenes Dropdown (kein Browser-<select>) ---------- */
.au-lang-dropdown { position: relative; }
.au-lang-current {
  display: flex; align-items: center; gap: 7px; background: var(--au-surface);
  border: 1px solid var(--au-border); border-radius: 8px; padding: 7px 10px; cursor: pointer;
  color: var(--au-navy);
}
.au-lang-current:hover { border-color: var(--au-teal); }
/* NACHTRAG UE1 (26.09.2026): <img> statt Unicode-Flaggen-Emoji - feste Groesse statt font-size. */
.au-lang-flag { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; flex-shrink: 0; display: block; }
.au-lang-current svg { color: var(--au-text-weak); transition: transform 0.15s ease; flex-shrink: 0; }
.au-lang-dropdown.au-lang-open .au-lang-current svg { transform: rotate(180deg); }
.au-lang-panel {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  background: var(--au-surface); border: 1px solid var(--au-border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(14,51,92,0.16); padding: 6px; min-width: 180px;
  /* AUFTRAG UE (26.09.2026), Teil 1 Punkt 9: mit acht statt zwei Sprachen wird die Liste laenger
     als mancher Handy-Viewport hoch ist - scrollbar statt ueber den Bildschirmrand hinauswachsend. */
  max-height: min(60vh, 420px); overflow-y: auto;
}
.au-lang-dropdown.au-lang-open .au-lang-panel { display: block; }
.au-lang-option {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px;
  color: var(--au-text); text-decoration: none; font-size: 14px; font-weight: 600;
}
.au-lang-option:hover { background: #eef3fb; }
.au-lang-option-active { color: var(--au-navy); background: #eef3fb; }

@media (max-width: 640px) {
  .au-header { padding: 14px 18px; gap: 10px; }
  .au-brand-text { font-size: 17px; }
  .au-nav { gap: 10px; }
  .au-nav a.au-nav-secondary { display: none; }
  .au-nav a.au-cta { padding: 8px 14px; font-size: 14px; }
}

.au-hero {
  background: linear-gradient(135deg, var(--au-navy) 0%, var(--au-navy-dark) 100%);
  color: #fff;
  padding: 72px 32px;
}
.au-hero-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .au-hero-inner { grid-template-columns: 1fr; } }
.au-hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.01em; }
.au-hero h1 em { color: var(--au-teal); font-style: normal; }
.au-hero p { font-size: 17px; color: #cdd9e6; max-width: 46ch; margin: 0 0 28px; }
.au-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.au-button {
  display: inline-block; background: var(--au-teal); color: #fff; padding: 13px 26px;
  border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 15px; border: none; cursor: pointer;
}
.au-button:hover { background: var(--au-teal-dark); }
.au-button.au-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.au-button.au-ghost:hover { border-color: #fff; }
.au-hero-image { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.au-hero-image img { display: block; width: 100%; height: auto; }

.au-section { max-width: 1080px; margin: 0 auto; padding: 64px 32px; }
.au-section h2 { font-size: 28px; text-align: center; margin: 0 0 12px; color: var(--au-navy); letter-spacing: -0.01em; }
.au-section > p.au-lede { text-align: center; color: var(--au-text-weak); max-width: 60ch; margin: 0 auto 40px; font-size: 16px; }

.au-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 780px) { .au-cards { grid-template-columns: 1fr; } }
.au-card { background: var(--au-surface); border: 1px solid var(--au-border); border-radius: var(--au-radius); padding: 26px; }
.au-card-icon { width: 42px; height: 42px; border-radius: 10px; background: #e8f4f4; color: var(--au-teal); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.au-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--au-navy); }
.au-card p { font-size: 14.5px; color: var(--au-text-weak); margin: 0; }

.au-steps { counter-reset: au-step; display: grid; gap: 22px; }
.au-step { display: flex; gap: 18px; align-items: flex-start; }
.au-step-num {
  counter-increment: au-step; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--au-navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.au-step-num::before { content: counter(au-step); }
.au-step h3 { margin: 0 0 4px; font-size: 16px; color: var(--au-navy); }
.au-step p { margin: 0; font-size: 14.5px; color: var(--au-text-weak); }

.au-notice {
  background: #eef3fb; border: 1px solid #c9d9f0; border-radius: var(--au-radius);
  padding: 16px 20px; font-size: 14px; color: var(--au-navy); margin: 24px 0;
}
.au-notice.au-warning { background: #fdf1dc; border-color: #f0dca6; color: #6b4a00; }

.au-footer {
  border-top: 1px solid var(--au-border); padding: 28px 32px; text-align: center;
  color: var(--au-text-weak); font-size: 13px;
}
.au-footer a { color: var(--au-text-weak); }
.au-footer-links { margin-top: 10px; display: flex; gap: 6px 18px; justify-content: center; flex-wrap: wrap; }
.au-footer-links a { text-decoration: underline; text-underline-offset: 2px; }
.au-footer-links a:hover { color: var(--au-navy); }

/* ---------- Formular (Get a quote) ---------- */
.au-form-wrap { max-width: 720px; margin: 0 auto; padding: 48px 32px 72px; }
.au-form-card { background: var(--au-surface); border: 1px solid var(--au-border); border-radius: var(--au-radius); padding: 32px; }
.au-form-card h1 { font-size: 26px; color: var(--au-navy); margin: 0 0 6px; }
.au-form-card > p.au-lede { color: var(--au-text-weak); margin: 0 0 28px; font-size: 15px; }
.au-fieldset { border: none; padding: 0; margin: 0 0 28px; }
.au-fieldset legend { font-weight: 700; color: var(--au-navy); font-size: 15px; padding: 0 0 12px; }
.au-field { margin-bottom: 16px; }
.au-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--au-text-weak); margin-bottom: 4px; }
.au-field input[type=text], .au-field input[type=email], .au-field input[type=number], .au-field select, .au-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--au-border); border-radius: 7px; font-size: 15px;
  font-family: inherit; color: var(--au-text);
}
.au-field input:focus, .au-field select:focus, .au-field textarea:focus { outline: 2px solid var(--au-teal); outline-offset: 1px; }
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .au-row { grid-template-columns: 1fr; } }
.au-field-narrow { max-width: 220px; }
.au-field label.au-inline-radio {
  display: flex; align-items: center; gap: 7px; font-weight: 400; font-size: 14.5px;
  color: var(--au-text); margin-bottom: 0; cursor: pointer;
}
.au-inline-radio input { width: auto; flex-shrink: 0; }
/* AUFTRAG V (26.09.2026), Teil 5: QES sichtbar, aber ausgegraut/nicht waehlbar ("In Kürze verfügbar"). */
.au-inline-radio.au-disabled { color: var(--au-text-weak); cursor: default; }
/* NACHTRAG V1 (26.09.2026), Teil 1: Upload-Knopf mit eigener Beschriftung je Sprache statt der
   Browser-Standardbeschriftung - echtes <input type="file"> bleibt vorhanden (Tastatur-/
   Screenreader-zugaenglich ueber das umschliessende <label>), nur visuell versteckt. */
.au-file-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.au-file-label { display: inline-block; cursor: pointer; }
.au-file-status { margin-left: 10px; font-size: 13px; color: var(--au-text-weak); }

.au-volume-row { border: 1px solid var(--au-border); border-radius: 8px; padding: 16px; margin-bottom: 14px; background: #fbfcfd; position: relative; }
.au-volume-row .au-remove-row { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--au-text-weak); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.au-add-row { background: none; border: 1px solid var(--au-border); border-radius: 7px; padding: 8px 14px; cursor: pointer; font-size: 13.5px; color: var(--au-navy); font-weight: 600; }
.au-add-row:hover { border-color: var(--au-teal); color: var(--au-teal); }

/* 02.11.2026 (Folgejahr-Warnung): rote Warnbox (Angebotsseite, Anfrageformular) und hervorgehobenes Pflicht-Haekchen; auf dem Handy volle Breite, kein Seitwaertsscrollen */
.au-warnbox { border: 2px solid #b42318; background: #fef3f2; color: #7a1710; border-radius: 8px; padding: 12px 14px; margin: 12px 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.au-warnbox[hidden] { display: none; }
.au-warnbox strong { color: #b42318; }
.au-warn-checkbox { display: block; border: 1px solid #b42318; background: #fef3f2; border-radius: 8px; padding: 10px 12px; margin: 14px 0 10px; line-height: 1.45; }
.au-hint { color: var(--au-text-weak); font-size: 12.5px; margin: 4px 0 0; line-height: 1.4; }

.au-jahresblock { border: 1px solid var(--au-border); border-radius: 8px; padding: 18px 16px 8px; margin-bottom: 18px; background: #fbfcfd; position: relative; }
.au-jahresblock .au-remove-row { position: absolute; top: 12px; right: 14px; background: none; border: none; color: var(--au-text-weak); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.au-fraction-list { margin-top: 6px; border-top: 1px solid var(--au-border); padding-top: 10px; }
.au-fraction-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--au-border);
}
.au-fraction-row:last-child { border-bottom: none; }
.au-fraction-info { flex: 1 1 auto; min-width: 0; }
.au-fraction-name { display: block; font-weight: 700; font-size: 14px; color: var(--au-navy); }
.au-fraction-explain { display: block; font-size: 12.5px; color: var(--au-text-weak); margin-top: 2px; }
.au-fraction-input { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.au-fraction-input input[type=number] { width: 110px; padding: 8px 10px; border: 1px solid var(--au-border); border-radius: 7px; font-size: 14.5px; font-family: inherit; }
.au-fraction-input input[type=number]:focus { outline: 2px solid var(--au-teal); outline-offset: 1px; }
.au-fraction-unit { font-size: 13px; color: var(--au-text-weak); font-weight: 600; }
@media (max-width: 560px) {
  .au-fraction-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .au-fraction-input { justify-content: flex-end; }
}

/* ---------- Preise ---------- */
.au-tariff-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .au-tariff-cards { grid-template-columns: 1fr; } }
.au-tariff-card { background: var(--au-surface); border: 1px solid var(--au-border); border-radius: var(--au-radius); padding: 28px 24px; display: flex; flex-direction: column; }
.au-tariff-card h3 { margin: 0 0 4px; font-size: 18px; color: var(--au-navy); }
.au-tariff-price { font-size: 30px; font-weight: 800; color: var(--au-teal); margin: 8px 0 4px; }
.au-tariff-price small { font-size: 14px; font-weight: 600; color: var(--au-text-weak); }
.au-tariff-card p.au-tariff-desc { color: var(--au-text-weak); font-size: 14px; flex: 1 1 auto; margin: 8px 0 18px; }
.au-tariff-card.au-tariff-individual { border-color: var(--au-navy); background: #f3f7fb; }

/* ---------- Kostenuebersicht ---------- */
.au-cost-banner {
  background: #eef3fb; border: 1px solid #c9d9f0; color: var(--au-navy); border-radius: var(--au-radius);
  padding: 14px 18px; font-size: 13.5px; margin-bottom: 18px;
}
.au-cost-table { width: 100%; border-collapse: collapse; background: var(--au-surface); border: 1px solid var(--au-border); border-radius: var(--au-radius); overflow: hidden; }
.au-cost-table th, .au-cost-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--au-border); font-size: 14.5px; }
.au-cost-table th { background: #f2f4f5; color: var(--au-navy); }
.au-cost-table td.au-cost-value { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.au-cost-table tr.au-cost-total td { font-weight: 800; color: var(--au-navy); border-bottom: none; }

/* ---------- Prozessgrafik ---------- */
.au-process { display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: wrap; }
.au-process-box {
  flex: 1 1 220px; max-width: 260px; background: var(--au-surface); border: 1px solid var(--au-border);
  border-radius: var(--au-radius); padding: 22px 18px; text-align: center;
}
.au-process-box.au-process-center { border-color: var(--au-teal); border-width: 2px; }
.au-process-box h4 { margin: 0 0 8px; color: var(--au-navy); font-size: 15.5px; }
.au-process-box p { margin: 0; font-size: 13px; color: var(--au-text-weak); }
.au-process-arrow { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--au-teal); padding: 0 6px; }
@media (max-width: 780px) {
  .au-process { flex-direction: column; align-items: center; }
  .au-process-arrow { transform: rotate(90deg); padding: 6px 0; }
}
.au-process-loop {
  margin: 28px auto 0; max-width: 560px; text-align: center; color: var(--au-text-weak);
  font-size: 13.5px; border-top: 1px dashed var(--au-border); padding-top: 18px;
}

/* ---------- FAQ ---------- */
.au-faq-page { max-width: 880px; margin: 0 auto; padding: 56px 32px 80px; }
.au-faq-header h1 { font-size: 28px; color: var(--au-navy); margin: 0 0 10px; }
.au-faq-header p.au-lede { text-align: left; margin: 0 0 28px; }
.au-faq-search {
  width: 100%; padding: 13px 16px; border: 1px solid var(--au-border); border-radius: 9px;
  font-size: 15px; font-family: inherit; margin-bottom: 36px; color: var(--au-text);
}
.au-faq-search:focus { outline: 2px solid var(--au-teal); outline-offset: 1px; }
.au-faq-kategorie { margin-bottom: 36px; }
.au-faq-kategorie:last-child { margin-bottom: 0; }
.au-faq-kategorie-titel {
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--au-teal-dark); margin: 0 0 6px;
}
.au-faq-item { border-bottom: 1px solid var(--au-border); }
.au-faq-kategorie .au-faq-item:first-child { border-top: 1px solid var(--au-border); }
.au-faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 4px; font-size: 16px; font-weight: 700; color: var(--au-navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.au-faq-question .au-faq-icon { flex-shrink: 0; transition: transform 0.15s ease; color: var(--au-teal); }
.au-faq-question[aria-expanded="true"] .au-faq-icon { transform: rotate(45deg); }
.au-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.au-faq-answer-inner { padding: 0 4px 20px; color: var(--au-text-weak); font-size: 15px; max-width: 68ch; }
.au-faq-item.au-faq-open .au-faq-answer { max-height: 800px; }
.au-faq-empty { display: none; color: var(--au-text-weak); font-size: 14.5px; padding: 20px 4px; }

/* ---------- Pflicht-pruefen: Schritt-Assistent ---------- */
.au-wizard-page { max-width: 640px; margin: 0 auto; padding: 56px 32px 80px; }
.au-wizard-kicker { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--au-teal-dark); margin: 0 0 10px; }
.au-wizard-page-title { font-size: 28px; color: var(--au-navy); margin: 0 0 12px; letter-spacing: -0.01em; }
.au-wizard-progress-label { font-size: 13px; font-weight: 700; color: var(--au-text-weak); margin: 0 0 8px; letter-spacing: 0.02em; }
.au-wizard-progress-track { height: 6px; border-radius: 3px; background: var(--au-border); overflow: hidden; margin-bottom: 32px; }
.au-wizard-progress-fill { height: 100%; background: var(--au-teal); border-radius: 3px; transition: width 0.25s ease; }
.au-wizard-card { background: var(--au-surface); border: 1px solid var(--au-border); border-radius: 14px; padding: 40px 36px; }
.au-wizard-step { display: none; }
.au-wizard-step.au-wizard-step-active { display: block; }
.au-wizard-question { font-size: 21px; font-weight: 800; color: var(--au-navy); margin: 0 0 10px; line-height: 1.3; }
.au-wizard-hint { color: var(--au-text-weak); font-size: 14px; margin: 0 0 28px; }
.au-wizard-options { display: grid; gap: 12px; margin-bottom: 8px; }
.au-wizard-option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--au-surface); border: 1.5px solid var(--au-border); border-radius: 11px;
  padding: 18px 20px; font-size: 16px; font-weight: 600; color: var(--au-text); cursor: pointer;
  font-family: inherit;
}
.au-wizard-option:hover { border-color: var(--au-teal); background: #f5fbfb; }
.au-wizard-option.au-wizard-option-selected { border-color: var(--au-teal); background: #e8f4f4; color: var(--au-navy); }
.au-wizard-option-mark {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--au-border);
  display: flex; align-items: center; justify-content: center;
}
.au-wizard-option.au-wizard-option-selected .au-wizard-option-mark { border-color: var(--au-teal); background: var(--au-teal); color: #fff; }
.au-wizard-nav { display: flex; justify-content: space-between; margin-top: 32px; }
.au-wizard-nav .au-secondary { background: none; border: none; color: var(--au-text-weak); font-weight: 700; cursor: pointer; padding: 10px 4px; font-size: 14.5px; }
.au-wizard-nav .au-secondary:hover { color: var(--au-navy); }
.au-wizard-nav .au-secondary[hidden] { visibility: hidden; }
.au-wizard-result h2 { font-size: 24px; margin: 0 0 6px; }
.au-wizard-result-badge {
  display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.au-wizard-result.au-wizard-result-betroffen .au-wizard-result-badge { background: #e3f3e8; color: #1c6b3a; }
.au-wizard-result.au-wizard-result-nicht .au-wizard-result-badge { background: #eef3fb; color: var(--au-navy); }
.au-wizard-result.au-wizard-result-pruefen .au-wizard-result-badge { background: #fdf1dc; color: #6b4a00; }
.au-wizard-result-begruendung { color: var(--au-text); font-size: 15px; margin: 0 0 22px; line-height: 1.6; }
.au-wizard-result-section { margin-bottom: 22px; }
.au-wizard-result-section h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--au-text-weak); margin: 0 0 10px; }
.au-wizard-result-section ul { margin: 0; padding-left: 20px; color: var(--au-text); font-size: 14.5px; line-height: 1.7; }
.au-wizard-result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.au-wizard-disclaimer { color: var(--au-text-weak); font-size: 12.5px; border-top: 1px solid var(--au-border); padding-top: 16px; margin-top: 4px; }

/* ---------- Rechtstexte (Impressum/Datenschutz/AGB) ---------- */
.au-legal-page { max-width: 720px; margin: 0 auto; padding: 56px 32px 80px; }
.au-legal-page h1 { font-size: 26px; color: var(--au-navy); margin: 0 0 20px; }
.au-legal-page h2 { font-size: 16px; color: var(--au-navy); margin: 28px 0 8px; }
.au-legal-page p { color: var(--au-text); font-size: 15px; line-height: 1.7; margin: 0 0 14px; }
.au-legal-placeholder {
  background: #fdf1dc; border: 1px solid #f0dca6; color: #6b4a00; border-radius: var(--au-radius);
  padding: 16px 20px; font-size: 13.5px; margin-bottom: 28px;
}

.au-flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 10px; font-size: 14px; }
.au-flash-fehler { background: var(--au-danger-bg); color: var(--au-danger); border: 1px solid #f0bcbc; }
.au-flash-erfolg { background: #e3f3e8; color: #1c6b3a; border: 1px solid #b8e0c4; }

.au-summary { display: none; }
.au-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14.5px; margin: 0 0 20px; }
.au-summary dt { color: var(--au-text-weak); font-weight: 600; }
.au-summary dd { margin: 0; word-break: break-word; }
.au-table-scroll { overflow-x: auto; margin-bottom: 20px; }
.au-summary table { width: 100%; min-width: 480px; border-collapse: collapse; margin-bottom: 0; }
.au-summary th, .au-summary td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--au-border); font-size: 13.5px; white-space: nowrap; }
.au-summary th { background: #f2f4f5; }
.au-required-hint { color: var(--au-text-weak); font-size: 13px; margin: 0 0 24px; }

.au-form-actions { display: flex; gap: 12px; margin-top: 8px; }
.au-form-actions .au-secondary { background: var(--au-surface); color: var(--au-navy); border: 1.5px solid var(--au-border); padding: 12px 22px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 15px; }

/* ---------- Danke-Seite ---------- */
.au-thankyou { max-width: 620px; margin: 80px auto; text-align: center; padding: 0 32px; }
.au-thankyou .au-check { width: 60px; height: 60px; border-radius: 50%; background: #e3f3e8; color: #1c6b3a; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.au-thankyou h1 { color: var(--au-navy); font-size: 26px; }
.au-thankyou .au-ref { display: inline-block; background: var(--au-navy); color: #fff; font-weight: 700; padding: 8px 18px; border-radius: 8px; margin: 12px 0 22px; font-size: 16px; letter-spacing: 0.02em; }

/* ---------- Chatbot-Widget (auf allen oeffentlichen Seiten) ---------- */
.au-chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.au-chat-bubble {
  /* 18.10.2026 (Robby): Knopf mit sichtbarem Text ("Robby fragen") statt nur Symbol; im geoeffneten Zustand wieder rund mit "x". */
  height: 54px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--au-navy); color: #fff;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 26px rgba(14,51,92,0.35); font: inherit; font-weight: 700; font-size: 15px; line-height: 1;
}
.au-chat-bubble-text { white-space: nowrap; }
.au-chat.au-chat-open .au-chat-bubble { width: 54px; padding: 0; }
.au-chat.au-chat-open .au-chat-bubble-text { display: none; }
.au-chat-bubble:hover { background: var(--au-navy-dark); }
.au-chat-icon-zu { display: none; }
.au-chat.au-chat-open .au-chat-icon-offen { display: none; }
.au-chat.au-chat-open .au-chat-icon-zu { display: block; }
.au-chat-panel {
  display: none; position: absolute; right: 0; bottom: 72px; width: 360px; max-width: calc(100vw - 32px);
  height: 480px; max-height: calc(100vh - 140px); background: var(--au-surface); border: 1px solid var(--au-border);
  border-radius: 16px; box-shadow: 0 20px 50px rgba(14,51,92,0.28); overflow: hidden;
  flex-direction: column;
}
.au-chat.au-chat-open .au-chat-panel { display: flex; }
.au-chat-header {
  background: var(--au-navy); color: #fff; padding: 16px 18px; display: flex;
  align-items: flex-start; justify-content: space-between; gap: 10px; flex-shrink: 0;
}
.au-chat-titel { font-weight: 800; font-size: 15px; }
.au-chat-unterzeile { font-size: 12px; color: #cdd9e6; margin-top: 2px; }
.au-chat-close { background: none; border: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; }
.au-chat-verlauf { flex: 1 1 auto; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.au-chat-nachricht { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.au-chat-nachricht p { margin: 4px 0 0; }
.au-chat-nachricht-bot { align-self: flex-start; background: #eef3fb; color: var(--au-text); border-bottom-left-radius: 3px; }
.au-chat-nachricht-nutzer { align-self: flex-end; background: var(--au-teal); color: #fff; border-bottom-right-radius: 3px; }
.au-chat-quelle { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--au-teal-dark); margin-bottom: 3px; }
/* Auftrag "APPOINTUS M5" (19.09.2026): Ladeindikator, Fehlerzustand, CTA-Button unter einer
   Bot-Antwort - reine Ergaenzung, bestehendes Chat-Design ansonsten unveraendert. */
.au-chat-nachricht-laedt { font-style: italic; color: var(--au-text-mute, #5b6b7c); }
.au-chat-laedt-punkte { display: inline-block; animation: auChatLaedtBlinken 1.2s infinite; }
@keyframes auChatLaedtBlinken { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.au-chat-cta {
  display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--au-teal); color: #fff; font-size: 12px; font-weight: 700;
  text-decoration: none;
}
.au-chat-cta:hover { background: var(--au-teal-dark); }
.au-chat-eingabe button:disabled { opacity: 0.6; cursor: default; }
.au-chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; flex-shrink: 0; }
.au-chat-chip {
  background: var(--au-surface); border: 1px solid var(--au-border); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--au-navy); cursor: pointer;
}
.au-chat-chip:hover { border-color: var(--au-teal); color: var(--au-teal-dark); }
.au-chat-eingabe { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--au-border); flex-shrink: 0; }
.au-chat-eingabe input {
  flex: 1 1 auto; padding: 9px 12px; border: 1px solid var(--au-border); border-radius: 8px;
  font-size: 13.5px; font-family: inherit; min-width: 0;
}
.au-chat-eingabe input:focus { outline: 2px solid var(--au-teal); outline-offset: 1px; }
.au-chat-eingabe button {
  background: var(--au-teal); color: #fff; border: none; border-radius: 8px; padding: 0 16px;
  font-weight: 700; font-size: 13px; cursor: pointer; flex-shrink: 0;
}
.au-chat-eingabe button:hover { background: var(--au-teal-dark); }
@media (max-width: 480px) {
  .au-chat { right: 14px; bottom: 14px; }
  .au-chat-panel { width: calc(100vw - 28px); height: calc(100vh - 120px); bottom: 68px; }
}
/* 18.10.2026 (Robby): auf Mobilgeraeten etwas kleiner und mit Platz unter dem Seitenende, damit der (feststehende) Knopf weder den
   Absendeknopf eines Formulars noch die Fusszeilenlinks verdeckt - der Inhalt laesst sich immer ueber den Knopf hinaus scrollen. */
@media (max-width: 640px) {
  .au-chat-bubble { height: 46px; padding: 0 16px 0 13px; font-size: 14px; gap: 8px; }
  .au-chat.au-chat-open .au-chat-bubble { width: 46px; padding: 0; }
  .au-chat-panel { bottom: 58px; }
  .au-footer { padding-bottom: 88px; }
  .au-form-wrap { padding-bottom: 28px; }
}

/* AUFTRAG KUNDENGEWINNUNG (09.10.2026): Vertrauensblock, Preissatz, Seite "LUCID verlangt einen
   Bevollmaechtigten?" - nutzt die bestehenden Farben/Variablen, keine neuen Markenwerte. */
.au-trust { max-width: 760px; margin: 0 auto; padding: 8px 0 24px; }
.au-trust h3 { color: var(--au-navy); text-align: center; font-size: 20px; margin: 0 0 16px; }
.au-trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.au-trust-list li {
  background: var(--au-surface); border: 1px solid var(--au-border); border-radius: var(--au-radius);
  padding: 12px 16px; font-size: 15px; color: var(--au-text);
}
.au-trust-list li a { margin-left: 6px; overflow-wrap: anywhere; }
/* NL-Startseite (11.10.2026): Ursache war white-space: nowrap an den Links des Vertrauensblocks - lange Linktexte (z. B. NL "Modelovereenkomst voor dienstverlening (PDF, Duits)") konnten nicht umbrechen, das Grid-Item .au-trust-list li wuchs ueber den Seitencontainer hinaus. Jetzt: Umbruch erlaubt, Grid-Items duerfen schrumpfen (gilt fuer alle Sprachen). */
.au-trust-list li { min-width: 0; overflow-wrap: break-word; }
/* Punkt 2: die drei Links stehen in eigener Zeile unter dem Text; Links duerfen umbrechen (NL-Startseite 11.10.2026) */
.au-trust-links { display: block; margin-top: 4px; }
.au-trust-links a:first-child { margin-left: 0; }
.au-preis-vergleich { text-align: center; font-size: 14px; margin-top: 18px; }
.au-lucid-seite h1 { color: var(--au-navy); font-size: 32px; text-align: center; margin: 0 0 16px; letter-spacing: -0.01em; }
.au-lucid-seite .au-steps { max-width: 760px; margin: 0 auto; }
.au-lucid-preis { max-width: 760px; margin: 40px auto 24px; text-align: center; }
.au-lucid-preis h2 { margin-bottom: 8px; }
.au-lucid-knopf { text-align: center; margin-top: 32px; }

/* AUFTRAG PREISWAFFE (10.10.2026, Fassung 3): Vergleichsblock (Partial site_partial_preisvergleich.html)
   und Hero-Preiszeile. Vorgabe: Spaltenueberschriften mindestens so gross wie die Betraege, unsere
   Betraege mindestens so gross wie die Tarifpreise (30px); mobil bleiben beide Ueberschriften sichtbar. */
.au-vgl { max-width: 1080px; margin: 24px auto 28px; padding: 28px 24px 18px; background: #e8f4f4; border: 2px solid var(--au-teal); border-radius: 14px; }
.au-section .au-vgl-schlagzeile { font-size: 32px; line-height: 1.2; margin: 0 0 22px; }
.au-vgl-tabelle { width: 100%; border-collapse: separate; border-spacing: 8px; table-layout: fixed; }
.au-vgl-tabelle .au-vgl-leer { background: none; }
.au-vgl-kopf { font-size: 30px; font-weight: 800; line-height: 1.15; padding: 14px 10px; text-align: center; border-radius: 10px 10px 0 0; overflow-wrap: anywhere; }
.au-vgl-menge { font-size: 19px; font-weight: 700; text-align: left; color: var(--au-navy); padding: 10px 6px; }
.au-vgl-betrag { text-align: center; font-weight: 800; padding: 16px 10px; border-radius: 8px; }
.au-vgl-andere { background: #d9dee1; color: #1f2a33; }
.au-vgl-betrag.au-vgl-andere { font-size: 28px; }
.au-vgl-wir { background: var(--au-teal); color: #fff; }
.au-vgl-betrag.au-vgl-wir { font-size: 30px; }
.au-vgl-hinweis { color: var(--au-text); font-size: 14.5px; text-align: center; margin: 10px 0 0; line-height: 1.45; }
.au-hero .au-hero-preiszeile { font-size: 18px; font-weight: 600; color: #fff; margin: 22px 0 0; max-width: 52ch; }
.au-hero .au-hero-preiszeile a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .au-vgl { padding: 18px 6px 14px; }
  .au-section .au-vgl-schlagzeile { font-size: 25px; margin-bottom: 14px; }
  .au-vgl-tabelle, .au-vgl-tabelle thead, .au-vgl-tabelle tbody { display: block; }
  .au-vgl-tabelle tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6px; }
  .au-vgl-betrag { display: flex; align-items: center; justify-content: center; }
  .au-vgl-tabelle thead tr { margin-bottom: 4px; }
  .au-vgl-tabelle .au-vgl-leer { display: none; }
  .au-vgl-menge { grid-column: 1 / -1; padding: 10px 2px 4px; font-size: 17px; }
  .au-vgl-kopf { font-size: 28px; padding: 10px 2px; letter-spacing: -0.02em; overflow-wrap: normal; }
  .au-vgl-betrag.au-vgl-andere { font-size: 22px; padding: 14px 2px; }
  .au-vgl-betrag.au-vgl-wir { font-size: 28px; padding: 14px 4px; }
  .au-hero .au-hero-preiszeile { font-size: 17px; }
}

/* NL-Startseite (11.10.2026), zweite Ursache bei 360 px Breite: das einspaltige Hero-Grid (1fr = minmax(auto, 1fr)) wuchs mit dem
   langen Wort der H1 ("vertegenwoordiger" bei 40 px) ueber den Container hinaus. Gilt fuer alle Sprachen: Grid-Spalten duerfen
   schrumpfen, lange Woerter duerfen umbrechen/trennen, die H1 ist auf kleinen Schirmen kleiner. */
.au-hero-inner > div { min-width: 0; }
.au-hero h1 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px) { .au-hero h1 { font-size: 32px; } }

/* 20.10.2026 (Teil 7): Tabelle "Kosten des dualen Systems" mit zwei Jahresspalten - auf dem Handy ohne seitliches Scrollen lesbar:
   kleinere Schrift/Abstaende, lange Spaltenueberschriften umbrechen, die Zahlen bleiben in einer Zeile. */
.au-cost-table-jahre th.au-jahrspalte { text-align: right; }
@media (max-width: 640px) {
  .au-cost-table-jahre { table-layout: fixed; }
  .au-cost-table-jahre th, .au-cost-table-jahre td { padding: 9px 6px; font-size: 12.5px; overflow-wrap: anywhere; hyphens: auto; }
  .au-cost-table-jahre th:first-child { width: 34%; }
  .au-cost-table-jahre th.au-jahrspalte { font-size: 10.5px; line-height: 1.3; padding: 8px 4px; width: 33%; overflow-wrap: break-word; }
  .au-cost-table-jahre td.au-cost-value { font-size: 12.5px; padding-left: 2px; padding-right: 8px; }
}

/* ===== 21.10.2026 (Auftrag China-Seite): Startseite /zh/ (templates/site_index_zh.html). Nur eigene Klassen mit Praefix au-zh-, keine
   bestehende Klasse wird veraendert. Mobil zuerst (eine Spalte), ab Tablet zwei bis vier Spalten. Systemschrift, keine externen Dateien. ===== */
.au-zh { --au-zh-tuerkis: #16C7BE; --au-zh-gruen: #00B98D; --au-zh-preis: #D92D20; --au-zh-orange: #B54708; --au-zh-orange-flaeche: #FFF4E5; }
.au-zh-banner { background: linear-gradient(180deg, #E6FAF8 0%, #FFFFFF 100%); padding: 22px 16px 28px; text-align: center; }
.au-zh-banner-inner { max-width: 880px; margin: 0 auto; }
.au-zh-kicker { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--au-zh-gruen); letter-spacing: 0.02em; }
.au-zh-banner h1 { margin: 0 0 16px; font-size: 26px; line-height: 1.3; color: var(--au-navy); }
.au-zh-preise { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
.au-zh-preiskachel { background: #fff; border: 2px solid var(--au-zh-tuerkis); border-radius: 16px; padding: 16px 14px; text-align: center; }
.au-zh-tarifname { font-size: 18px; font-weight: 800; color: var(--au-navy); }
.au-zh-tarifzeile { font-size: 14px; color: #475467; margin: 2px 0 8px; }
.au-zh-preis { font-size: 36px; font-weight: 800; color: var(--au-zh-preis); line-height: 1.15; font-variant-numeric: tabular-nums; }
.au-zh-pro-jahr { font-size: 14px; color: #475467; }
.au-zh-cny { font-size: 13px; line-height: 1.5; color: #475467; margin-top: 8px; }
.au-zh-cny-karte { text-align: center; margin: 0 0 8px; }
.au-zh-cny-zeile td { text-align: left; background: #fafafa; }
.au-zh-kleingedruckt { margin: 8px auto; max-width: 720px; font-size: 13px; line-height: 1.55; color: var(--au-zh-orange);
  background: var(--au-zh-orange-flaeche); border-radius: 10px; padding: 8px 12px; }
.au-zh-knopf { display: block; box-sizing: border-box; width: 100%; max-width: 420px; margin: 16px auto 0; min-height: 52px; line-height: 28px;
  padding: 12px 18px; font-size: 18px; font-weight: 700; text-align: center; background: var(--au-zh-gruen); border-color: var(--au-zh-gruen); color: #fff; }
.au-zh-abschnitt { max-width: 1000px; margin: 0 auto; padding: 26px 16px; }
.au-zh-abschnitt h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.35; color: var(--au-navy); text-align: center; }
.au-zh-unterueberschrift { margin: 20px 0 8px; font-size: 18px; color: var(--au-navy); text-align: center; }
.au-zh-liste { list-style: none; margin: 0 auto 8px; padding: 0; max-width: 720px; }
.au-zh-liste li { position: relative; padding: 10px 8px 10px 34px; font-size: 16px; line-height: 1.6; border-bottom: 1px solid #EAECF0; }
.au-zh-liste li:last-child { border-bottom: none; }
.au-zh-liste-haken li::before { content: "\2713"; position: absolute; left: 6px; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--au-zh-tuerkis); color: #fff; font-size: 14px; font-weight: 700; line-height: 22px; text-align: center; }
.au-zh-liste-pfeil li::before { content: "\203A"; position: absolute; left: 8px; top: 6px; font-size: 24px; font-weight: 700; color: var(--au-zh-gruen); }
.au-zh-fakten { background: #F6FEFD; border-radius: 16px; margin-top: 8px; }
.au-zh-abschnitt > .au-zh-knopf { margin-top: 12px; }
.au-zh-kacheln { display: grid; grid-template-columns: 1fr; gap: 12px; }
.au-zh-kachel { background: #fff; border: 1px solid #D0F2EF; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.au-zh-kachel svg { color: var(--au-zh-tuerkis); flex: none; }
.au-zh-kachel p { margin: 0; font-size: 16px; line-height: 1.6; }
.au-zh-bezahlung-fuss { text-align: center; font-weight: 700; margin: 12px 0 0; }
.au-zh-faq { max-width: 760px; margin: 0 auto; }
.au-zh-faq-eintrag { border: 1px solid #D0F2EF; border-radius: 12px; margin-bottom: 10px; background: #fff; }
.au-zh-faq-eintrag summary { cursor: pointer; padding: 14px 16px; min-height: 24px; font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--au-navy); }
.au-zh-faq-antwort { padding: 0 16px 14px; font-size: 15px; line-height: 1.7; }
.au-zh-mehr { text-align: center; margin: 14px 0 0; font-size: 16px; }
.au-zh-mehr a { color: var(--au-zh-gruen); font-weight: 700; }
.au-zh-abschluss { text-align: center; }
.au-zh-abschluss p { font-size: 17px; margin: 0 0 6px; }
.au-zh-wechat { text-align: center; }
.au-zh-wechat img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.au-zh-wechat-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: 8px; }
.au-zh-wechat-id { margin: 0; font-size: 20px; font-weight: 700; color: var(--au-navy); }
@media (min-width: 640px) {
  .au-zh-banner h1 { font-size: 32px; }
  .au-zh-preise { grid-template-columns: 1fr 1fr; }
  .au-zh-preise:has(> .au-zh-preiskachel:only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
  .au-zh-kacheln { grid-template-columns: 1fr 1fr; }
  .au-zh-abschnitt h2 { font-size: 26px; }
}
@media (min-width: 960px) {
  .au-zh-kacheln { grid-template-columns: 1fr 1fr 1fr; }
}

/* 01.11.2026: Erklaervideo-Abschnitt auf der Startseite */
.au-video { max-width: 960px; padding-top: 32px; padding-bottom: 32px; }
.au-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; }
