/* Hilfe für alle – edles Grün mit Lila-Akzent, große Schrift, hoher Kontrast */
:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --text: #1d2420;
  --muted: #55605a;
  --green: #1f5c45;
  --green-dark: #143f2f;
  --green-soft: #e4efe8;
  --purple: #5e4485;
  --purple-soft: #efe9f6;
  --gold: #b08d3c;
  --border: #d6d9d2;
  --error: #a32020;
  --error-soft: #fbeaea;
  --warn-soft: #fff6dc;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(20, 40, 30, .08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
html.gross { font-size: 25px; }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121714; --surface: #1b221e; --text: #eef2ef; --muted: #b3bdb7;
    --green: #6fc39d; --green-dark: #9ad8bb; --green-soft: #1f3329;
    --purple: #c3a9e8; --purple-soft: #2a2236; --border: #34403a;
    --error: #ff8a8a; --error-soft: #3a1f1f; --warn-soft: #3a3320;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 16px; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--purple); }
:focus-visible { outline: 4px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; color: var(--green-dark); }
h1 { font-size: 1.9rem; margin: 1.2rem 0 .8rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 .7rem; }
h3 { font-size: 1.2rem; margin: .2rem 0 .4rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 10; }

/* Kopfbereich */
header { background: linear-gradient(135deg, var(--green-dark), var(--green) 70%, #3c4f73); color: #fff; padding-bottom: 6px; border-bottom: 4px solid var(--gold); }
@media (prefers-color-scheme: dark) { header { background: linear-gradient(135deg, #0d2a1f, #174a37 70%, #2d2846); } }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 6px; flex-wrap: wrap; }
.logo { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .3px; }
.logo:hover { color: #fff; }
.textsize { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; padding: 6px 14px; font-size: .85rem; cursor: pointer; font-family: inherit; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 4px 0 10px; }
nav a, nav .link { color: #fff; text-decoration: none; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
nav a:hover, nav .link:hover { color: #fff; border-bottom-color: var(--gold); }
.link { background: none; border: 0; font: inherit; cursor: pointer; }
.badge { display: inline-block; background: var(--purple); color: #fff; border-radius: 999px; padding: 0 9px; font-size: .8rem; font-weight: 700; margin-left: 4px; }
header .badge { background: var(--gold); color: #1d2420; }

main { padding-bottom: 40px; }
footer { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); padding-top: 14px; padding-bottom: 30px; }

/* Startseite */
.hero { text-align: center; padding: 1.5rem 0 .5rem; }
.hero h1 { font-size: 2.2rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.center { text-align: center; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1rem 0 1.5rem; }
@media (max-width: 640px) { .choice { grid-template-columns: 1fr; } }
.choice-btn { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 20px; border-radius: 20px; text-decoration: none; color: var(--text); background: var(--surface); border: 3px solid var(--border); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.choice-btn:hover { transform: translateY(-3px); color: var(--text); }
.choice-btn.suchend { border-color: var(--purple); background: linear-gradient(180deg, var(--purple-soft), var(--surface)); }
.choice-btn.helfer { border-color: var(--green); background: linear-gradient(180deg, var(--green-soft), var(--surface)); }
.choice-btn strong { font-family: var(--serif); font-size: 1.5rem; color: var(--green-dark); }
.choice-btn.suchend strong { color: var(--purple); }
.big-icon { font-size: 3.2rem; line-height: 1; }
.steps { background: var(--surface); border-radius: var(--radius); padding: 6px 24px 14px; box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.steps li { margin-bottom: .5rem; }

/* Knöpfe */
.btn { display: inline-block; background: var(--green); color: #fff; border: 2px solid var(--green); border-radius: 12px; padding: 12px 22px; font-size: 1rem; font-weight: 600; font-family: inherit; text-decoration: none; cursor: pointer; margin: 6px 8px 6px 0; min-height: 52px; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
@media (prefers-color-scheme: dark) { .btn { color: #0f1a14; } .btn:hover { color: #0f1a14; } }
.btn.big { font-size: 1.1rem; padding: 16px 28px; min-height: 60px; }
.btn.small { font-size: .9rem; padding: 8px 16px; min-height: 44px; }
.btn.secondary { background: transparent; color: var(--green); }
.btn.secondary:hover { background: var(--green-soft); color: var(--green-dark); }
.btn.danger { background: var(--error); border-color: var(--error); }
.actions { display: flex; flex-wrap: wrap; gap: 4px; }
.inline { display: inline; }

/* Formulare */
.form { background: var(--surface); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 1rem 0; }
.form.narrow { max-width: 520px; }
.form label, .filter label { display: block; font-weight: 600; margin-bottom: 16px; }
input, select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 2px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); min-height: 52px; }
input:focus, select:focus, textarea:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px var(--purple-soft); }
.check { display: flex !important; align-items: center; gap: 12px; font-weight: 400 !important; margin-bottom: 10px !important; cursor: pointer; }
.check input { width: 28px; height: 28px; min-height: 0; margin: 0; flex: none; accent-color: var(--green); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
fieldset { border: 2px solid var(--border); border-radius: 12px; padding: 12px 16px 6px; margin: 0 0 18px; }
legend { font-weight: 700; padding: 0 6px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row > label { flex: 1 1 200px; }
.row > label.plz { flex: 0 1 170px; }
.hint { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.codeinput { font-size: 1.8rem; letter-spacing: .5em; text-align: center; max-width: 320px; }
.filter { display: flex; flex-wrap: wrap; gap: 0 14px; align-items: flex-end; background: var(--surface); padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; }
.filter label { flex: 1 1 150px; margin-bottom: 8px; }

/* Hinweise */
.flash { padding: 14px 18px; border-radius: 12px; margin: 14px 0; border-left: 6px solid; }
.flash.ok { background: var(--green-soft); border-color: var(--green); }
.flash.error { background: var(--error-soft); border-color: var(--error); }
.flash.info { background: var(--purple-soft); border-color: var(--purple); }
.flash.test { background: var(--warn-soft); border-color: var(--gold); }
.code { font-size: 1.5rem; letter-spacing: .2em; }
.muted { color: var(--muted); }
.block { display: block; }

/* Karten */
.card { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; margin: 14px 0; box-shadow: var(--shadow); border: 1px solid var(--border); }
.card.detail { border-top: 5px solid var(--green); }
.cat { margin: 0; font-size: .9rem; color: var(--muted); }
.status { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.s-offen { background: var(--green-soft); color: var(--green-dark); }
.s-vergeben { background: var(--purple-soft); color: var(--purple); }
.s-erledigt { background: #e8e8e8; color: #444; }
.price { font-weight: 700; color: var(--purple); font-size: 1.05rem; }
.dist { color: var(--green); }
.agreed { color: var(--green); font-weight: 700; }
.verified { font-size: .8rem; font-family: var(--font); font-weight: 600; color: var(--green); background: var(--green-soft); padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.skills { margin-top: 0; }
.desc { font-size: 1.05rem; }
.benefits { list-style: none; padding: 0; font-size: 1.05rem; }

/* Karte */
.map { height: 380px; border-radius: var(--radius); margin: 10px 0 16px; border: 2px solid var(--border); background: var(--green-soft); }
.map.hidden { display: none; }

/* Nachrichten */
.convs { list-style: none; padding: 0; margin: 0; }
.conv { display: block; background: var(--surface); padding: 14px 18px; border-radius: 12px; margin-bottom: 10px; text-decoration: none; color: var(--text); border: 1px solid var(--border); }
.conv.new { border-left: 6px solid var(--purple); }
.conv .agreed { margin-left: 8px; }
.pricebox { background: var(--purple-soft); border: 2px solid var(--purple); border-radius: var(--radius); padding: 14px 20px; margin: 14px 0; }
.pricebox.agreed { background: var(--green-soft); border-color: var(--green); font-weight: 400; color: var(--text); }
.pricecounter label { display: inline-block; max-width: 260px; margin: 8px 10px 0 0; }
.chat { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; max-height: 60vh; overflow-y: auto; padding: 4px; }
.msg { max-width: 82%; padding: 10px 16px; border-radius: 16px; box-shadow: var(--shadow); }
.msg p { margin: 2px 0 0; }
.msg.mine { align-self: flex-end; background: var(--green-soft); border-bottom-right-radius: 4px; }
.msg.theirs { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.preis { align-self: center; background: var(--purple-soft); border: 1px dashed var(--purple); text-align: center; max-width: 95%; }
.who { font-size: .8rem; color: var(--muted); }
.safety { margin-top: 24px; background: var(--surface); padding: 12px 18px; border-radius: 12px; border: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; padding: 6px 0; }

/* Tabellen */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 10px 0; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { background: var(--green-soft); color: var(--green-dark); }
@media (max-width: 640px) { .table { font-size: .85rem; } .table th, .table td { padding: 8px 6px; } }
.total { font-size: 1.2rem; }

@media print {
  header, footer, nav, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border: 1px solid #000; }
}

/* Leistungen auf der Startseite */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.services .card { margin: 0; }
.services p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Profilfotos und Steckbrief */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--green-soft); border: 3px solid var(--surface); box-shadow: var(--shadow); }
.avatar.m { width: 72px; height: 72px; }
.avatar.l { width: 96px; height: 96px; }
.avatar.xl { width: 160px; height: 160px; }
.avatar.initial { display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; color: var(--green-dark); background: linear-gradient(135deg, var(--green-soft), var(--purple-soft)); }
.avatar.m.initial { font-size: 2rem; } .avatar.l.initial { font-size: 2.6rem; } .avatar.xl.initial { font-size: 4.5rem; }
.person { display: flex; gap: 18px; align-items: flex-start; }
.person > div { flex: 1; min-width: 0; }
.chat-head { align-items: center; margin: 10px 0; }
.chat-head h1 { margin: 0; }
.job { margin: 0 0 6px; font-weight: 600; color: var(--purple); }
.profile-head { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.profile-head h1 { margin: 0 0 4px; }
.profile-head p { margin: 4px 0; }
.profile .verified { display: inline-block; margin: 2px 4px 2px 0; }
.facts { border-collapse: collapse; width: 100%; }
.facts th { text-align: left; width: 34%; padding: 8px 12px 8px 0; color: var(--muted); font-weight: 600; vertical-align: top; }
.facts td { padding: 8px 0; }
.facts tr + tr { border-top: 1px solid var(--border); }
.photo-now { display: flex; align-items: center; gap: 12px; font-weight: 400; margin: 6px 0; }
.licence { align-self: flex-end; margin-bottom: 26px !important; }
input[type=file] { padding: 10px; background: var(--surface); }
@media (max-width: 520px) { .person { flex-direction: column; } .avatar.xl { width: 120px; height: 120px; } }

/* Professionelles Erscheinungsbild ohne Emojis */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.choice-icon { width: 56px; height: 56px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.choice-btn.suchend .choice-icon { stroke: var(--purple); }
.verified::before { content: "\2713"; margin-right: 6px; font-weight: 700; }
.cat { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; font-weight: 700; color: var(--muted); }
.services h3 { font-size: 1.1rem; border-left: 3px solid var(--gold); padding-left: 10px; }
nav a, nav .link { letter-spacing: .01em; }
.textsize { font-weight: 600; }
.price { color: var(--green-dark); }

/* Bewertungen, Verwaltung, Rechtstexte, Städte */
.rating { white-space: nowrap; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1em; }
.reviews { list-style: none; padding: 0; }
.reviews li { border-top: 1px solid var(--border); padding: 12px 0; }
.reviews li p { margin: .3rem 0 0; }
.star-pick { display: grid; gap: 6px; margin: 6px 0 12px; }
.star-pick label { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--gold); cursor: pointer; padding: 6px 10px; border: 2px solid var(--border); border-radius: 10px; background: var(--surface); }
.star-pick label span { color: var(--text); }
.star-pick input { width: 24px; height: 24px; accent-color: var(--purple); }
.star-pick label:has(input:checked) { border-color: var(--purple); background: var(--purple-soft); }
.verified.checked { background: var(--purple-soft); color: var(--purple); border-color: var(--purple); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 1rem 0; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kpi span { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; hyphens: auto; }
.kpi strong { font-family: var(--serif); font-size: 1.6rem; color: var(--green-dark); }
.kpi small { color: var(--muted); font-size: .8rem; }
.error-text { color: var(--error); }
.legal h2 { font-size: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.placeholder { background: var(--warn-soft); padding: 0 6px; border-radius: 4px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 10px 0; padding: 4px 18px; }
.faq summary { font-weight: 600; cursor: pointer; padding: 10px 0; font-size: 1.05rem; }
.cities { columns: 3 180px; padding-left: 1.2rem; }
.cities li { margin-bottom: .3rem; }
.head-tools { display: flex; align-items: center; gap: 10px; }
.langswitch { color: #fff; font-size: .85rem; text-decoration: none; border: 2px solid rgba(255,255,255,.6); border-radius: 999px; padding: 6px 14px; }
.langswitch:hover { color: #fff; background: rgba(255,255,255,.12); }
