/* =========================================================
   Kundenportal – Design angelehnt an altersvorsorge-depot
   Keine externen Schriften (DSGVO): Inter, falls installiert,
   sonst Segoe UI / Systemschrift
   ========================================================= */
:root {
  /* Farbwelt angelehnt an Ihre Berater-Homepage bei Swiss Life Select */
  --accent: #D82034;        /* Rot – Buttons, Icons */
  --crimson: #A11C36;       /* Dunkelrot – Bänder, Akzentflächen */
  --crimson-2: #8E1830;
  --gold: #A11C36;
  --peach: #F7E7EB;         /* Zartrosa – Hervorhebungen */
  --ink: #000000;
  --head-ink: #000000;
  --muted: #555555;
  --line: #d8d8d8;
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --tile: #F7E7EB;
  --head: #ffffff;
  --foot: #353535;
  --field: #ffffff;
  --error: #b42318;
  --error-bg: #fdf0ee;
  --radius: 2px;
  --sans: Calibri, Carlito, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --serif: "ITC Legacy Serif", Georgia, "Times New Roman", serif;
  --grad: linear-gradient(0deg, #A11C36, #A11C36);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17.5px/1.6 var(--sans); }
h1, h2, h3, .h2, .brand strong, .stepper-name, .foot-brand { font-family: var(--serif); }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
.ico { flex: none; }

/* ---------- Kopfzeile ---------- */
.site-header { background: var(--head); border-bottom: 1px solid #ececec; box-shadow: 0 1px 6px rgba(0,0,0,.05); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; padding: 8px 0; }
.brand strong { color: var(--ink); font-size: 22px; font-weight: 400; letter-spacing: 0; }
.brand small { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone { display: flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.head-phone .ico { color: var(--accent); }
@media (max-width: 560px) { .head-phone span { display: none; } .head-phone { width: 40px; height: 40px; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); } .brand small { display: none; } }
.admin-nav { display: flex; gap: 18px; font-size: 14px; }
.admin-nav a { text-decoration: none; color: var(--muted); }
.admin-nav a:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px var(--sans); padding: 13px 24px; border-radius: 0; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; min-height: 50px; transition: transform .12s, filter .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.red, .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: none; }
.btn.red:hover, .btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: #fff; color: var(--ink); border-color: #bdbdbd; }
.btn.light { background: #fff; color: var(--accent); border-color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn.outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn.big { padding: 16px 30px; font-size: 16.5px; }
.btn.small-btn { min-height: 40px; padding: 9px 20px; font-size: 15px; }
.btn.small { padding: 7px 12px; font-size: 14px; min-height: 36px; font-weight: 600; }
.btn.danger { color: var(--error); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.btn.loading .btn-label::after { content: " …"; }
.block-btn { width: 100%; margin-top: 18px; }

/* ---------- Kopfbereich (Hero) ---------- */
.hero { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.hero::after { display: none; content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 217, 194, .14), transparent 65%); pointer-events: none; }
.hero-inner { padding: 64px 16px 72px; max-width: 1080px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 50px); line-height: 1.12; font-weight: 400; letter-spacing: 0; margin: 18px 0 16px; max-width: 820px; }
.hero .hl { color: var(--peach); }
.hero .lead { font-size: clamp(16.5px, 2vw, 19px); color: rgba(255, 255, 255, .88); max-width: 680px; margin: 0 0 28px; }
.pill { display: inline-block; background: var(--peach); color: var(--crimson); font-weight: 700; font-size: 13.5px; padding: 6px 14px; border-radius: 0; letter-spacing: .2px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 26px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust .ico { color: var(--peach); }
.hero-small .wrap { padding-top: 26px; padding-bottom: 96px; position: relative; z-index: 1; }
.hero-small h1 { font-size: clamp(28px, 4.6vw, 42px); margin: 14px 0 10px; }
.hero-small .lead { margin-bottom: 0; font-size: 17px; }
.hero-small .trust { margin-top: 18px; }
.crumb { display: block; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 14px; margin-bottom: 16px; }
.crumb:hover { color: #fff; }

/* ---------- Abschnitte Startseite ---------- */
.main-public { display: block; }
.block { padding: 64px 0; }
.block.soft { background: var(--bg-soft); }
.eyebrow { display: block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.h2 { color: var(--head-ink); font-size: clamp(26px, 3.4vw, 33px); font-weight: 400; letter-spacing: 0; line-height: 1.15; margin: 0 0 10px; }
.sub { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 0 30px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .03); transition: border-color .15s, transform .15s, box-shadow .15s; }
.card { border-top: 3px solid var(--accent); }
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.card-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { color: var(--head-ink); font-size: 22px; font-weight: 400; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 20px; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--tile); color: var(--crimson); padding: 4px 10px; border-radius: 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.go { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; white-space: nowrap; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 21px; font-weight: 400; color: var(--head-ink); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15.5px; }
.facts .ico { color: var(--accent); margin-top: 2px; }
.contact-card { background: var(--peach); border: 0; border-radius: 0; padding: 26px; }
.contact-card h3 { margin: 0 0 14px; color: var(--head-ink); font-size: 22px; font-weight: 400; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid #e6c9d0; word-break: break-all; }
.contact-line .ico { color: var(--accent); }

.cta-band { background: var(--grad); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 400; margin: 0 0 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0 0 24px; font-size: 17px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--foot); color: #d8d8d8; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { color: #fff; font-size: 21px; font-weight: 400; }
.site-footer p { margin: 6px 0; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; margin: 4px 0 10px; }
.site-footer a { display: block; color: #d8d8d8; text-decoration: none; padding: 3px 0; word-break: break-all; }
.site-footer a:hover { color: #fff; }
.site-footer .secure { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; padding-bottom: 22px; font-size: 13px; color: #9d9397; }

/* ---------- Formularseite ---------- */
.form-wrap { max-width: 880px; margin-top: -64px; position: relative; z-index: 2; padding-bottom: 64px; }
.form-card { background: #fff; border: 1px solid #e6e6e6; border-top: 4px solid var(--accent); border-radius: 0; padding: clamp(20px, 5vw, 44px); box-shadow: 0 20px 50px -28px rgba(0, 0, 0, .35); }

.stepper { margin-bottom: 26px; }
.stepper-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.stepper-count { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.stepper-name { color: var(--head-ink); font-weight: 400; font-size: 23px; }
.stepper-dots { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.stepper-dots li { flex: 1; height: 5px; border-radius: 0; background: var(--line); transition: background .25s; }
.stepper-dots li.done { background: var(--crimson-2); }
.stepper-dots li.active { background: var(--accent); }
.is-wizard .grid > .section-title:not(.final-title) { display: none; }
.step-off { display: none !important; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.full { grid-column: 1 / -1; }
.half { grid-column: span 1; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .half { grid-column: 1 / -1; } }

.section-title { color: var(--head-ink); font-weight: 400; font-size: 23px; margin: 18px 0 -4px; padding-top: 22px; border-top: 1px solid var(--line); }
.grid > .section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.is-wizard .final-title { margin-top: 8px; }
.note { margin: 0; background: var(--peach); border-left: 3px solid var(--accent); padding: 11px 14px; border-radius: 0 8px 8px 0; font-size: 14.5px; color: #3d3438; }

.field label, .field legend { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; padding: 0; }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.req { color: var(--accent); }
input[type=password], input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--field);
  border: 1px solid #bdbdbd; border-radius: 0; padding: 11px 12px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 104px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d5d63' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--crimson-2); box-shadow: 0 0 0 3px rgba(200, 16, 46, .14); background: #fff; }
.help { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.choice { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; font-size: 15px !important; margin: 0 !important;
  border: 1px solid #bdbdbd; border-radius: 0; padding: 11px 13px; background: var(--field); cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--crimson-2); }
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--peach); }
.field .choice.consent { border: 0; background: var(--bg-soft); padding: 14px 16px; font-size: 15px !important; color: #333; border-radius: 0; }

.dropzone { position: relative; border: 1.5px dashed #bdbdbd; border-radius: 0; background: var(--bg-soft); transition: border-color .15s, background .15s; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone.has-files input[type=file] { height: 126px; }
.dz-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 24px 16px; pointer-events: none; }
.dz-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.dz-text strong { color: var(--accent); }
.dz-hint, .dz-camera { font-size: 13px; color: var(--muted); }
.dz-camera { display: none; }
@media (hover: none) { .dz-camera { display: block; } }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #fdf3f4; }
.file-list { list-style: none; margin: 0; padding: 0 12px; position: relative; z-index: 1; }
.file-list:not(:empty) { padding-bottom: 12px; }
.file-list li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 8px 8px 10px; margin-top: 6px; font-size: 14px; }
.fi-type { font-size: 10.5px; font-weight: 700; letter-spacing: .4px; color: var(--crimson); background: var(--tile); border-radius: 5px; padding: 3px 6px; min-width: 40px; text-align: center; }
.fi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-size { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.fi-remove { border: 0; background: none; color: var(--muted); font-size: 15px; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; }
.fi-remove:hover { background: var(--error-bg); color: var(--error); }

.error-msg { display: none; color: var(--error); font-size: 13.5px; margin-top: 5px; }
.has-error .error-msg { display: block; }
.has-error input, .has-error select, .has-error textarea, .has-error .dropzone, .has-error .choice:not(.consent) { border-color: var(--error); }
.has-error .choice.consent { box-shadow: inset 0 0 0 1px var(--error); }
.global-error { background: var(--error-bg); color: var(--error); border: 1px solid #f3c7c1; border-radius: 9px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; }

.actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.actions .step-back { margin-right: auto; }
.req-note { color: var(--muted); font-size: 13px; margin: 0; flex-basis: 100%; }
.req-note { order: 9; }
@media (max-width: 480px) { .actions .btn.red { flex: 1; } }
.progress { margin-top: 16px; background: #eee6e7; border-radius: 99px; height: 8px; position: relative; }
.progress .bar { background: var(--accent); height: 100%; border-radius: 99px; width: 0; transition: width .2s; }
.progress-text { display: block; font-size: 13px; color: var(--muted); padding-top: 12px; }

.success { text-align: center; padding: 30px 10px; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.success h2 { color: var(--head-ink); font-size: 32px; font-weight: 400; margin: 0 0 10px; }
.success p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; font-size: 16.5px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rechtstexte ---------- */
main.wrap:not(.form-wrap):not(.main-public) { padding-top: 36px; padding-bottom: 56px; }
.back { display: inline-block; margin-bottom: 14px; text-decoration: none; font-size: 14px; color: var(--muted); }
.legal h1 { color: var(--head-ink); font-weight: 400; font-size: clamp(28px, 5vw, 38px); margin: 0 0 18px; }
.legal h2 { color: var(--head-ink); font-weight: 400; font-size: 22px; margin: 30px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h1 + h2, .legal h1 + p + h2 { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 16px; margin: 18px 0 4px; }
.legal p, .legal li { color: #3d3438; font-size: 15.5px; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal a { word-break: break-word; }

/* ---------- Admin ---------- */
.admin-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 18px; }
.admin-box h1 { color: var(--head-ink); font-weight: 400; margin: 0 0 6px; font-size: 30px; }
.admin-box > p { color: var(--muted); margin-top: 0; }
.is-admin { background: var(--bg-soft); }
.login { max-width: 420px; margin: 30px auto; }
.login .field { margin-bottom: 14px; }
.flash { background: #eef7f1; border: 1px solid #bfe3cd; color: #155b33; border-radius: 9px; padding: 11px 14px; margin-bottom: 16px; }
.flash.err { background: var(--error-bg); border-color: #f3c7c1; color: var(--error); }
.form-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.form-table td, .form-table th { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.form-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
.form-table a { color: var(--crimson); }
.form-table .acts { text-align: right; white-space: nowrap; }
.form-table .acts > * { margin-left: 4px; }
.status { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.status.on { background: #e3f3ec; color: #13633f; }
.status.off { background: #eee; color: #666; }
.link-copy { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .admin-grid { grid-template-columns: 1fr; } .form-table .hide-m { display: none; } }
.admin-grid .field label { font-size: 13.5px; }
.fe-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.fe-item { border: 1px solid var(--line); border-radius: 10px; background: var(--field); }
.fe-item.is-heading { background: var(--tile); }
.fe-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; }
.fe-head .fe-type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--accent); min-width: 92px; }
.fe-head .fe-label { flex: 1; font-weight: 600; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-head .fe-badges { font-size: 12px; color: var(--muted); white-space: nowrap; }
.fe-tools { display: flex; gap: 2px; }
.fe-tools button { border: 0; background: none; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; color: var(--muted); font-size: 15px; }
.fe-tools button:hover { background: #fff; color: var(--ink); }
.fe-body { padding: 4px 12px 14px; border-top: 1px solid var(--line); }
.fe-body .admin-grid { margin-top: 10px; }
.fe-body label.inline { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14.5px; }
.fe-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fe-add span { color: var(--muted); font-size: 14px; margin-right: 4px; }
.sticky-save { position: sticky; bottom: 0; background: var(--bg-soft); padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; z-index: 5; }
.muted { color: var(--muted); font-size: 13.5px; }
code { background: #efe9e8; padding: 1px 6px; border-radius: 5px; font-size: 13.5px; }

/* ---------- Aktionsleiste (wie auf der Berater-Homepage) ---------- */
.action-bar { background: #353535; color: #fff; }
.action-bar ul { list-style: none; margin: 0 auto; padding: 22px 16px; display: flex; justify-content: center; gap: clamp(18px, 6vw, 64px); flex-wrap: wrap; }
.action-bar a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 14px; }
.action-bar .circle { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .15s, filter .15s; }
.action-bar a:hover .circle { transform: translateY(-2px); filter: brightness(1.08); }
.hero .lead { color: rgba(255, 255, 255, .92); }
.hero .trust .ico { color: #fff; }
.eyebrow { letter-spacing: 1.2px; }
.stepper-dots li.done { background: var(--crimson); }

/* ---------- Schlanke Werkzeug-Variante ---------- */
.hero-small .wrap { padding-top: 26px; padding-bottom: 76px; }
.hero-small h1 { margin-top: 0; }
.hero-small .lead { font-size: 16.5px; max-width: 720px; }
.trust-line { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: rgba(255,255,255,.85); }
.form-wrap { margin-top: -48px; }
.head-phone small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; line-height: 1; }
.head-phone span { line-height: 1.15; }
.form-wrap > .cards { margin-top: 0; }
.form-wrap .card { padding: 22px; }
.form-wrap .card h3 { margin-bottom: 18px; }
@media (max-width: 600px) {
  .hero-small .wrap { padding-top: 18px; padding-bottom: 62px; }
  .hero-small h1 { font-size: 27px; }
  .hero-small .lead { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .trust-line { font-size: 12.5px; }
}

/* ---------- Conversion-Elemente ---------- */
.hero-split { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 0; } .advisor { display: none; } }
.duration { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); color: #fff; font-size: 13.5px; font-weight: 600; padding: 5px 12px; margin-bottom: 12px; }
.benefits { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: #fff; }
.benefits .ico { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #fff; color: var(--accent); margin-top: 1px; }
@media (max-width: 600px) { .benefits { gap: 6px; } .benefits li { font-size: 14.5px; } .benefits .ico { width: 20px; height: 20px; } }

.advisor { background: #fff; color: var(--ink); padding: 22px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.45); margin-top: 6px; }
.advisor-top { display: flex; gap: 14px; align-items: center; }
.avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 400 22px var(--serif); flex: none; }
.advisor-top div small { display: block; color: var(--muted); font-size: 12.5px; }
.advisor-top div strong { display: block; font: 400 21px/1.2 var(--serif); }
.advisor-top div span { display: block; color: var(--muted); font-size: 13.5px; }
.advisor-quote { font: italic 16px/1.5 var(--serif); color: #333; margin: 16px 0 12px; padding-left: 12px; border-left: 3px solid var(--accent); }
.advisor-badge { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
.stars { color: #e3a008; letter-spacing: 1px; }
.advisor-phone { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); padding: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.advisor-phone .ico { color: var(--accent); }
.advisor-phone:hover { border-color: var(--accent); }

.reassure { flex-basis: 100%; order: 10; display: flex; align-items: center; gap: 7px; margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.reassure .ico { color: #1f8a4c; }
.submit-btn { min-width: 260px; }
@media (max-width: 480px) { .submit-btn, .step-next { flex: 1 1 100%; min-width: 0; } .actions .step-back { order: 8; margin-right: 0; flex: 1 1 100%; } }

.next { text-align: left; max-width: 460px; margin: 6px auto 26px; background: var(--bg-soft); padding: 20px 22px; }
.next h3 { margin: 0 0 12px; font-size: 20px; font-weight: 400; }
.next ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.next li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.next li span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 700; display: grid; place-items: center; }
.success-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.success-text:empty { display: none; }

.site-footer.slim { font-size: 13.5px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.foot-row nav { display: flex; gap: 18px; }
.foot-row a { display: inline; padding: 0; }
@media (max-width: 600px) { .hero-small .lead { display: none; } .hero-small h1 { margin-bottom: 4px; } }

/* Kurzanleitung + Sicherheitszeile unten */
.mini-steps { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.mini-steps li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 16px; font-weight: 600; }
.mini-steps span { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
@media (max-width: 600px) { .mini-steps { flex-direction: column; gap: 8px; } .mini-steps li { font-size: 15px; } }
.foot-trust { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 16px; padding-bottom: 14px; font-size: 13.5px; color: #d8d8d8; border-bottom: 1px solid rgba(255,255,255,.1); text-align: center; flex-wrap: wrap; }

.foot-row nav { align-items: center; }
.admin-link { display: inline-flex !important; align-items: center; opacity: .55; transition: opacity .15s; }
.admin-link:hover { opacity: 1; }
.book-hint { color: var(--ink) !important; font-weight: 600; margin: 0 auto 14px !important; }

/* Korrekturen 10/2026 */
.field .choice { padding: 11px 13px; }
.card h3 { margin-bottom: 10px; }
.card p { line-height: 1.5; }
.card-foot { justify-content: flex-end; }
.admin-box form > div[style*="display:flex"] { margin-top: 22px; }
@media (max-width: 600px) {
  .success h2 { font-size: 26px; line-height: 1.25; }
  .admin-nav { flex-wrap: wrap; gap: 4px 16px; }
  .form-table, .form-table tbody, .form-table tr, .form-table td { display: block; width: 100%; }
  .form-table thead { display: none; }
  .form-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .form-table td { padding: 4px 0; border: 0; }
  .form-table td.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
  .form-table td.acts form { display: contents !important; }
  .link-copy { word-break: break-all; }
}

/* Ansprechpartner-Zeile (nur Handy/Tablet) */
.advisor-mini { display: none; }
@media (max-width: 900px) {
  .advisor-mini { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 10px 12px; margin: 16px 0 4px; box-shadow: 0 10px 26px -16px rgba(0,0,0,.5); }
  .advisor-mini .avatar { width: 40px; height: 40px; font-size: 15px; flex: none; }
  .advisor-mini .am-text { flex: 1; min-width: 0; line-height: 1.25; }
  .advisor-mini small { display: block; color: var(--muted); font-size: 12px; }
  .advisor-mini strong { display: block; font: 400 18px/1.2 var(--serif); color: var(--head-ink); }
  .advisor-mini .am-phone { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); flex: none; }
}

/* Statistik & QR */
.stat-table .num { text-align: right; white-space: nowrap; }
.stat-table tr.sum td { font-weight: 700; border-top: 2px solid var(--line); }
.stat-q { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.stat-q li { display: flex; justify-content: space-between; gap: 12px; max-width: 420px; padding: 2px 0; }
.qr-dlg { border: 0; padding: 28px; max-width: 440px; width: calc(100% - 32px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.qr-dlg::backdrop { background: rgba(0,0,0,.45); }
.qr-close { position: absolute; right: 14px; top: 14px; margin: 0; }
.qr-box { display: grid; place-items: center; padding: 10px; border: 1px solid var(--line); margin: 6px 0 10px; }
.qr-box canvas { width: 240px; height: 240px; image-rendering: pixelated; }
@media (max-width: 600px) { .stat-table .num { display: table-cell !important; } .stat-table, .stat-table tbody, .stat-table tr, .stat-table td { display: revert; } .stat-table thead { display: table-header-group; } }
@media (max-width: 600px) { .stat-q li { flex-direction: column; gap: 0; margin-bottom: 6px; } }

/* Formular-Center */
.center-tools { display: grid; gap: 12px; margin-top: 8px; }
.center-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 12px; font: inherit; font-size: 13.5px; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.center-kat { margin: 26px 0 0; }
.center-h { font-size: 22px; font-weight: 400; margin: 0 0 12px; }
.center-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.vl-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 18px; display: flex; flex-direction: column; }
.vl-card[hidden], .center-kat[hidden] { display: none; }
.vl-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.vl-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.vl-card h3 { font-size: 18px; font-weight: 400; margin: 0 0 6px; color: var(--head-ink); }
.vl-card p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.vl-card .vl-meta { font-size: 12.5px; }
.vl-card .vl-warn { font-size: 12.5px; color: #8a4b00; background: #fff7e6; padding: 6px 8px; }
.vl-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }

/* Eigene Vorlagen */
.ev-bereich { background: #fff; border: 1px solid var(--line); padding: 22px; margin-top: 18px; }
.ev-bereich .vl-card { background: var(--bg-soft, #f7f7f7); }
.ev-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ev-tag { font-size: 12px; font-weight: 600; padding: 3px 8px; background: #eef3ff; color: #1d3f8a; }
.ev-tag.priv { background: #f3f3f3; color: #555; }
.ev-leer { color: var(--muted); margin: 0; font-size: 14.5px; }
.vl-acts form { margin: 0; }
@media (max-width: 600px) { .sticky-save { flex-wrap: wrap; gap: 6px; } .sticky-save .btn { flex: 1 1 auto; padding-left: 12px; padding-right: 12px; font-size: 14px; } }

/* ===== Formular-Center (Reiter-Layout) ===== */
.fc-hero { padding-bottom: 0 !important; }
.fc-hero .wrap { padding-bottom: 0; }
.fc-hero h1 { margin-bottom: 4px; }
.fc-hero .lead { margin-bottom: 22px !important; }
.fc-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 22px; }
.fc-tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1.5px solid rgba(255,255,255,.85); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; transition: background .15s, color .15s; }
.fc-tab:hover { background: rgba(255,255,255,.14); }
.fc-tab.on { background: #fff; color: var(--crimson, #a11c36); border-color: #fff; }
.fc-count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; background: rgba(255,255,255,.22); font-size: 12.5px; }
.fc-tab.on .fc-count { background: var(--crimson, #a11c36); color: #fff; }
.fc-toolbar { display: flex; gap: 10px; align-items: center; margin: 22px 0 14px; flex-wrap: wrap; }
.fc-toolbar input[type=search] { flex: 1 1 280px; max-width: 520px; }
.fc-toolbar .fc-new { margin-left: auto; }
.fc-intro { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; max-width: 820px; }
.fc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.fc-chip { border: 1px solid var(--line); background: #fff; padding: 7px 12px; font: inherit; font-size: 13.5px; cursor: pointer; color: var(--ink); }
.fc-chip:hover { border-color: var(--accent); }
.fc-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fc-group[hidden], .fc-card[hidden], [data-only][hidden] { display: none !important; }
.fc-h { font-size: 21px; font-weight: 400; margin: 26px 0 12px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.fc-add { font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.fc-add:hover { text-decoration: underline; }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.fc-card { background: #fff; border: 1px solid var(--line); padding: 18px 18px 14px; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.fc-card:hover { border-color: #cfcfcf; box-shadow: 0 10px 26px -18px rgba(0,0,0,.35); }
.fc-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.fc-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.fc-card h3 { font-size: 18px; font-weight: 400; margin: 0 0 6px; color: var(--head-ink); line-height: 1.3; }
.fc-kurz { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.fc-meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.fc-warn { font-size: 12.5px; color: #8a4b00; background: #fff7e6; padding: 6px 8px; margin: 0 0 8px; }
.fc-badge { font-size: 12px; font-weight: 700; padding: 3px 8px; white-space: nowrap; }
.fc-badge.ok { background: #e7f5ec; color: #1e6b3a; }
.fc-badge.blue { background: #eef3ff; color: #1d3f8a; }
.fc-badge.grey { background: #f0f0f0; color: #555; }
.fc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.fc-acts { display: flex; gap: 6px; align-items: center; }
.fc-acts form { margin: 0; }
.fc-more { position: relative; }
.fc-more summary { list-style: none; cursor: pointer; min-width: 38px; text-align: center; font-weight: 700; letter-spacing: 1px; }
.fc-more summary::-webkit-details-marker { display: none; }
.fc-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); min-width: 250px; padding: 6px 0; }
.fc-menu form { margin: 0; }
.fc-mi { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 14px; font: inherit; font-size: 14px; color: var(--ink); text-decoration: none; cursor: pointer; }
.fc-mi:hover { background: var(--bg-soft, #f5f5f5); }
.fc-mi.danger { color: #b42318; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 11px; }
.fc-empty { background: #fff; border: 1px dashed #cfcfcf; padding: 26px; text-align: center; color: var(--muted); }
.lib-meta { background: #fff7e6; padding: 14px; margin: 6px 0 18px; }
@media (max-width: 600px) {
  .fc-tabs { gap: 6px; }
  .fc-tab { flex: 1 1 calc(50% - 6px); justify-content: center; padding: 10px 8px; font-size: 14px; }
  .fc-toolbar .fc-new { margin-left: 0; width: 100%; text-align: center; }
  .fc-menu { right: 0; min-width: 230px; }
}
.fc-toolbar { margin-top: -10px; }
.fc-toolbar input[type=search] { font: inherit; font-size: 16px; padding: 11px 14px 11px 40px; border: 1px solid #bdbdbd; background: #fff 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='%23777' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 13px center; border-radius: 0; min-height: 46px; }
.fc-toolbar input[type=search]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,16,46,.14); }
.fc-add { font: 600 13.5px/1.4 var(--sans); }
@media (max-width: 600px) {
  .fc-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .fc-chip { flex: none; }
  .fc-toolbar input[type=search] { flex-basis: 100%; max-width: none; }
}

/* Startseite je Berater */
.start-url { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--bg-soft); padding: 10px 12px; margin: 0 0 16px; }
.start-url code { font-size: 14px; word-break: break-all; margin-right: 6px; }
@media (min-width: 900px) { .admin-grid.start-grid { grid-template-columns: repeat(3, 1fr); } }
.admin-grid.start-grid .full { grid-column: 1 / -1; }
.start-h { font-size: 18px; font-weight: 400; margin: 18px 0 6px; }
.start-table td:first-child, .start-table th:first-child { width: 80px; text-align: center; }
.start-table td:last-child, .start-table th:last-child { width: 110px; }
.start-table input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); }
.pos-input { width: 80px !important; min-height: 40px; }
@media (max-width: 600px) { .start-table tr { display: grid !important; grid-template-columns: 40px 1fr 90px; align-items: center; gap: 8px; } .start-table td:first-child { width: auto; } .start-table thead { display: none; } }
/* Startseite: Kacheln mittig, auch bei wenigen Formularen */
.form-wrap > .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 268px)); justify-content: center; }
@media (max-width: 600px) { .form-wrap > .cards { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .start-hero .lead { display: block !important; font-size: 15.5px; margin: 0 0 14px !important; } }

/* Online-Anzeige (Admin) */
.online-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.online-ampel { font-size: 13px; font-weight: 700; padding: 5px 10px; }
.online-ampel.gruen { background: #e7f5ec; color: #1e6b3a; }
.online-ampel.gelb { background: #fff4d6; color: #7a5200; }
.online-liste { list-style: none; margin: 0; padding: 0; }
.online-liste li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.online-liste .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22a05a; margin-right: 8px; }
.nav-online { color: var(--muted) !important; font-weight: 600; }
.nav-online.an { color: #1e8a4c !important; }

/* Auswertung (Admin) */
.aw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.aw-filter { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 0; }
.aw-filter label { font-size: 13px; font-weight: 600; display: grid; gap: 4px; }
.aw-filter select { min-width: 220px; }
.aw-seg { display: flex; border: 1px solid var(--line); background: #fff; }
.aw-seg a { padding: 10px 12px; font-size: 13.5px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); white-space: nowrap; }
.aw-seg a:last-child { border-right: 0; }
.aw-seg a.on { background: var(--crimson); color: #fff; }
.aw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 18px; }
.aw-tile { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--crimson); padding: 14px 16px; display: grid; gap: 2px; }
.aw-tile span { font-size: 13px; color: var(--muted); font-weight: 600; }
.aw-tile strong { font: 400 34px/1.1 var(--serif); color: var(--head-ink); }
.aw-tile small { font-size: 12.5px; color: var(--muted); }
.aw-h { font-size: 20px; font-weight: 400; margin: 0 0 12px; }
.aw-note { font-size: 12.5px; margin: 8px 0 0; }
.aw-tablehead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.aw-table .num { text-align: right; white-space: nowrap; }
.aw-scroll { overflow-x: auto; }
.aw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aw-grid2 > .admin-box { margin-top: 0; min-width: 0; overflow-x: auto; }
@media (max-width: 900px) { .aw-grid2 { grid-template-columns: 1fr; } }
.aw-chart { display: flex; align-items: flex-end; gap: 2px; height: 190px; padding: 18px 0 0; border-bottom: 1px solid var(--line); }
.aw-chart.aw-klein { height: 150px; gap: 6px; }
.aw-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; outline: none; }
.aw-bar { width: 100%; max-width: 46px; background: var(--accent); border-radius: 4px 4px 0 0; transition: opacity .15s; }
.aw-col:hover .aw-bar, .aw-col:focus .aw-bar { opacity: .75; }
.aw-val { font-size: 11.5px; color: var(--ink); margin-bottom: 3px; min-height: 14px; }
.aw-lab { position: absolute; top: 100%; margin-top: 4px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.aw-chart { margin-bottom: 22px; }
.aw-tage .aw-lab { display: none; }
.aw-tage .aw-col:nth-child(5n+1) .aw-lab { display: block; }
.aw-tage .aw-val { display: none; }
@media (max-width: 600px) {
  .aw-seg { flex-wrap: wrap; } .aw-seg a { flex: 1 1 45%; text-align: center; border-bottom: 1px solid var(--line); }
  .aw-filter select { min-width: 0; width: 100%; } .aw-filter label { width: 100%; }
  .aw-monat .aw-lab { font-size: 9.5px; } .aw-monat .aw-col:nth-child(2n) .aw-lab { display: none; }
  .aw-table, .aw-table tbody, .aw-table tr, .aw-table td { display: revert !important; } .aw-table thead { display: table-header-group !important; }
}
.aw-hinweis { font-size: 13px; margin: 0 0 18px; padding: 10px 14px; border-left: 3px solid var(--line); background: #fff; }
@media (max-width: 600px) { .aw-table th, .aw-table td { white-space: nowrap; padding-left: 8px; padding-right: 8px; } }
/* Auswertung: Vergleich, Ziele, Hinweise, Abbruch, Einstellungen */
.aw-d { font-style: normal; font-weight: 600; margin-right: 4px; }
.aw-d.up { color: #2f7d4f; } .aw-d.down { color: #b42318; } .aw-d.gleich { color: var(--muted); font-weight: 400; }
.aw-von { font: 400 16px var(--sans, inherit); color: var(--muted); }
.aw-ziel { display: inline-block; vertical-align: middle; width: 70px; height: 7px; background: #ececec; border-radius: 4px; overflow: hidden; }
.aw-tile .aw-ziel { width: 100%; margin: 4px 0 2px; }
.aw-ziel > span { display: block; height: 100%; border-radius: 4px; }
.aw-tipps { border-left: 4px solid #f0c36d; }
.aw-tipps ul { margin: 0; padding-left: 18px; } .aw-tipps li { margin-bottom: 6px; }
.aw-einheit { font-size: 14px; }
.aw-trichter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px 28px; }
.aw-trichter h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.aw-stufe { display: grid; grid-template-columns: minmax(0, 1.3fr) 1fr auto; gap: 8px; align-items: center; font-size: 13px; padding: 3px 0; }
.aw-stufe-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-stufe-b { height: 10px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.aw-stufe-b > span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.aw-stufe-v { text-align: right; white-space: nowrap; min-width: 64px; } .aw-stufe-v small { color: var(--muted); }
.aw-zielinput { width: 76px; text-align: right; padding: 6px 8px; }
.aw-einst .choice { margin-bottom: 8px; }
.aw-tage-input { width: 64px; padding: 3px 6px; display: inline-block; }
.aw-testform { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.aw-sub { font-size: 15px; font-weight: 600; margin: 18px 0 6px; }
.aw-log { margin: 0; padding-left: 18px; font-size: 13px; } .aw-log li { margin-bottom: 4px; }
.aw-fehler { color: #b42318; }
.admin-box input.aw-zielinput { width: 80px; text-align: right; padding: 6px 8px; display: inline-block; margin-right: 6px; }
.aw-einst .choice input.aw-tage-input { width: 64px; height: auto; padding: 2px 6px; margin: 0 4px; display: inline-block; vertical-align: baseline; accent-color: auto; }
.aw-einst .choice span { line-height: 1.6; }
/* Auszeichnung (statt Sternen – keine Bewertung vortäuschen) */
.advisor-badge { display: flex; align-items: center; gap: 6px; }
.badge-ico { color: var(--crimson); display: inline-flex; }
/* Startseite auf dem Handy: kompakte Karten, mehr Formulare auf einen Blick */
@media (max-width: 600px) {
  .cards { gap: 10px; }
  .cards .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; align-items: start; }
  .cards .card .card-ico { width: 44px; height: 44px; margin: 0; grid-row: span 3; }
  .cards .card .card-ico svg { width: 22px; height: 22px; }
  .cards .card h3 { font-size: 19px; margin: 0 0 4px; }
  .cards .card p { font-size: 14px; margin: 0 0 8px; }
  .cards .card .card-foot { grid-column: 2; }
}
.acts .fc-more { display: inline-block; vertical-align: top; }
a.fc-mi, a.fc-mi:visited { color: var(--ink); text-decoration: none; }
@media (min-width: 901px) { .form-table td.acts { white-space: nowrap; } }
@media (max-width: 900px) { .acts .fc-menu { left: 0; right: auto; } }
/* WhatsApp-Kontakt (Button mit neutralem Sprechblasen-Symbol) */
.head-actions { display: flex; align-items: center; gap: 22px; }
.head-wa { display: flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.head-wa .ico { color: #1f8f4e; }
.head-wa small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; line-height: 1; }
.head-wa span { line-height: 1.15; }
@media (max-width: 560px) { .head-actions { gap: 8px; } .head-wa span { display: none; } .head-wa { width: 40px; height: 40px; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); } }
.advisor-wa { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-top: 0; padding: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.advisor-wa .ico { color: #1f8f4e; }
.advisor-wa:hover { border-color: #1f8f4e; }
.advisor-mini .am-wa { color: #1f8f4e; margin-left: auto; }
.advisor-mini .am-wa + .am-phone { margin-left: 6px; }
/* Erstinformation-Hinweis unter dem Absende-Button */
.erstinfo { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.erstinfo a { color: inherit; }
.wa-logo { display: block; flex: none; object-fit: contain; }
.head-wa .wa-logo, .advisor-wa .wa-logo { width: 22px; height: 22px; }
.advisor-mini .am-wa .wa-logo { width: 22px; height: 22px; }
/* Zeile unter dem Namen in der Kopfzeile (Kundenseiten) */
.brand small.brand-line { display: block; }
.brand-tag { font-style: italic; }
@media (max-width: 560px) { .brand small.brand-line { display: block !important; } .brand-sls { display: none; } }
