/* MatchPunkt – gemeinsames Stylesheet. Systemschriften: keine externen Anfragen (DSGVO). */
:root {
  --ground: #FBFAF8; --paper: #FFFFFF; --ink: #16161D; --muted: #4A4954; --soft: #6B6A73;
  --line: #E8E5DF; --line-strong: #D6D2CA; --coral: #E5484D; --coral-text: #C8323A; --coral-dark: #A3242B;
  --coral-tint: #FDECEC; --indigo: #2B2F77; --indigo-tint: #EEF0FB; --green: #1F6F43; --green-tint: #E6F4EC;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--ground); line-height: 1.5; font-size: 16px; }
a { color: var(--ink); }
a:hover { color: var(--coral-text); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.soft { color: var(--soft); font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf und Fuß */
.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; }
.nav { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 500; }
.nav a { text-decoration: none; }
.foot { background: var(--ink); color: #C9C8D1; margin-top: 64px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.foot a { color: #C9C8D1; }

/* Bedienelemente */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--ink); border-color: var(--ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn.coral { background: var(--coral); border-color: var(--coral); color: #FFFFFF; }
.btn.danger { color: var(--coral-dark); border-color: var(--coral-text); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .chip:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=date], select, textarea {
  font: inherit; font-weight: 400; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); color: var(--ink);
}
textarea { min-height: 88px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

/* Karten und Hinweise */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.note { border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.note.info { background: var(--indigo-tint); color: var(--indigo); }
.note.ok { background: var(--green-tint); color: var(--green); }
.note.err { background: var(--coral-tint); color: var(--coral-dark); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge.indigo { background: var(--indigo-tint); color: var(--indigo); }
.badge.coral { background: var(--coral-tint); color: var(--coral-dark); }
.badge.green { background: var(--green-tint); color: var(--green); }

/* Fotos */
.photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.photo { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo button { position: absolute; top: 6px; right: 6px; min-height: 36px; padding: 0 10px; border-radius: 8px; border: 0; background: rgba(22,22,29,0.8); color: #FFFFFF; font: inherit; font-size: 13px; cursor: pointer; }
.photo .first { position: absolute; left: 6px; bottom: 6px; background: #FFFFFF; border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.photo.add { display: flex; align-items: center; justify-content: center; border: 2px dashed var(--line-strong); background: var(--paper); cursor: pointer; font-weight: 600; color: var(--muted); text-align: center; padding: 8px; }

/* Startseite */
.hero { padding: 64px 0 48px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.trust { background: var(--ink); color: #FFFFFF; }
.trust .wrap { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: 26px; padding-bottom: 26px; }
.trust span { color: #C9C8D1; display: block; font-size: 15px; }
.section { padding: 72px 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.price { font-size: 40px; font-weight: 800; }
ul.list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.9; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.ph { background: #FFF3D6; color: #6B4500; padding: 0 4px; border-radius: 4px; }
main { min-height: 60vh; }
