/* Hoyshoyahouse — design system
   Light, plant-led, a little playful (G-04/G-05). One signature: the "leaf corner"
   radius on photos and cards. Body text 17.5px (NF-03), strong contrasts (NF-04). */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.89d06ba6eee3.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.072a3d16a166.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-400.d444e1815a3a.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-700.c6b471cbb2b9.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("../fonts/atkinson-400i.66d79cf044cb.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #FBF8FD;
  --surface: #FFFFFF;
  --ink: #2A2333;
  --muted: #6B6376;
  --line: #E9E2F1;
  --line-strong: #D6CCE3;

  --rose: #F6CBDB;
  --rose-soft: #FBE7EE;
  --rose-deep: #A83B63;
  --lav: #DDD2F4;
  --lav-soft: #F0EAFA;
  --lav-deep: #6347AD;
  --lav-ink: #4E3790;
  --teal: #C3ECE5;
  --teal-soft: #E4F6F3;
  --teal-deep: #146F68;

  --leaf: 22px 22px 22px 6px;
  --leaf-sm: 14px 14px 14px 4px;
  --r: 14px;
  --shadow: 0 1px 2px rgba(42,35,51,.05), 0 8px 24px -12px rgba(99,71,173,.18);

  --display: "Fraunces", Georgia, serif;
  --body: "Atkinson", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 64px;
  --pad: 20px;
}
@media (min-width: 720px) { :root { --pad: 32px; } }
@media (min-width: 1100px) { :root { --pad: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
a { color: var(--lav-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lav-ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5.5vw, 3.2rem); font-variation-settings: "SOFT" 50, "opsz" 72; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.num { font-variant-numeric: tabular-nums; }
.ic { flex: none; vertical-align: -4px; }

/* layout ------------------------------------------------------------------ */
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: 36px; padding-bottom: 36px; }
.section + .section { padding-top: 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; text-decoration: none; }

/* header / nav ------------------------------------------------------------ */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,248,253,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 10px; font-variation-settings: "SOFT" 50, "opsz" 24; }
.brand small { font-family: var(--body); font-size: .8rem; color: var(--muted); font-weight: 400; letter-spacing: 0; display: none; }
@media (min-width: 500px) { .brand small { display: inline; } }
.brand-mark { width: 30px; height: 30px; border-radius: 50% 50% 50% 4px; background: linear-gradient(135deg, var(--rose) 0%, var(--lav) 55%, var(--teal) 100%); flex: none; }
.top-nav { display: none; margin-left: auto; gap: 4px; }
.top-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem; }
.top-nav a:hover, .top-nav a[aria-current] { background: var(--lav-soft); color: var(--lav-ink); }
.top-cta { margin-left: auto; }
@media (min-width: 900px) { .top-nav { display: flex; } .top-cta { margin-left: 0; } }

.bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
.bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: .76rem; font-weight: 700; position: relative; }
.bottom a[aria-current] { color: var(--lav-deep); }
.bottom a[aria-current]::before { content: ""; position: absolute; top: 0; width: 36px; height: 3px; border-radius: 0 0 4px 4px; background: var(--lav-deep); }
.badge { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--rose-deep); color: #fff; font-size: .74rem; line-height: 20px; text-align: center; }
@media (min-width: 900px) { .bottom { display: none; } }

/* buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  background: var(--lav-deep); color: #fff; transition: transform .08s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--lav-ink); color: #fff; }
.btn:active { transform: scale(.985); }
.btn-wa { background: #1E8A5A; }
.btn-wa:hover { background: #16704A; }
.btn-teal { background: var(--teal-deep); }
.btn-teal:hover { background: #0F5A54; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--lav-soft); border-color: var(--lav); color: var(--lav-ink); }
.btn-soft { background: var(--lav-soft); color: var(--lav-ink); }
.btn-soft:hover { background: var(--lav); color: var(--lav-ink); }
.btn-rose { background: var(--rose-soft); color: var(--rose-deep); }
.btn-rose:hover { background: var(--rose); color: var(--rose-deep); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* chips (filters, traits) ------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--ink); font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--lav-deep); color: var(--lav-ink); }
.chip.on { background: var(--lav-deep); border-color: var(--lav-deep); color: #fff; }
.chip.on:hover { background: var(--lav-ink); color: #fff; }
.chip-teal.on { background: var(--teal-deep); border-color: var(--teal-deep); }
.chip .ic { opacity: .8; }
.chip-x { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; margin-right: -6px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: .86rem; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .9; }
.pill-teal { background: var(--teal-soft); color: var(--teal-deep); }
.pill-lav { background: var(--lav-soft); color: var(--lav-ink); }
.pill-rose { background: var(--rose-soft); color: var(--rose-deep); }
.pill-grey { background: #F0EDF3; color: var(--muted); }
.pill-plain::before { display: none; }

/* cards & photos ---------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); box-shadow: var(--shadow); overflow: hidden; }
.photo { position: relative; background: linear-gradient(160deg, var(--lav-soft), var(--teal-soft)); border-radius: var(--leaf); overflow: hidden; aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.sq { aspect-ratio: 1; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 12px; }
.photo-wait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); animation: shimmer 1.8s infinite; }
@keyframes shimmer { from { transform: translateX(-100%);} to { transform: translateX(100%);} }
.photo-tag { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.photo .pill { backdrop-filter: blur(6px); background: rgba(255,255,255,.88); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1400px) { .grid { grid-template-columns: repeat(5, 1fr); } }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.a-card { text-decoration: none; color: inherit; display: block; }
.a-card .photo { margin-bottom: 10px; }
.a-card h3 { font-size: 1.02rem; margin: 0 0 2px; line-height: 1.25; }
.a-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.a-card .preis { font-weight: 700; font-size: 1.1rem; }
.a-card .typ { font-size: .88rem; color: var(--muted); }
.a-card:hover h3 { color: var(--lav-deep); }

/* tiles on the start page (F-NAV-05) --------------------------------------- */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(5, 1fr); } }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 118px; padding: 16px;
  border-radius: var(--leaf); text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  transition: transform .12s ease, box-shadow .12s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tile .ic { color: var(--lav-deep); }
.tile strong { font-size: 1.05rem; line-height: 1.2; }
.tile span { font-size: .9rem; color: var(--muted); }
.tile-rose { background: var(--rose-soft); border-color: transparent; } .tile-rose .ic { color: var(--rose-deep); }
.tile-lav { background: var(--lav-soft); border-color: transparent; }
.tile-teal { background: var(--teal-soft); border-color: transparent; } .tile-teal .ic { color: var(--teal-deep); }

/* hero -------------------------------------------------------------------- */
.hero { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; gap: 48px; padding-top: 48px; padding-bottom: 40px; } }
.hero h1 { margin-bottom: 14px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--lav-deep); }
.hero .lead { margin-bottom: 22px; }
.hero-photo { border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%; overflow: hidden; aspect-ratio: 1; max-width: 440px; margin: 0 auto; background: linear-gradient(160deg, var(--rose-soft), var(--lav-soft) 60%, var(--teal-soft)); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.empty { display: flex; align-items: center; justify-content: center; color: var(--lav-deep); }

.notice { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--leaf-sm); background: var(--rose-soft); color: var(--rose-deep); font-weight: 700; }
.notice .ic { color: var(--rose-deep); }
.notice a { color: inherit; }

/* steckbrief ----------------------------------------------------------------- */
.sb-head { display: grid; gap: 20px; padding-top: 20px; }
@media (min-width: 900px) { .sb-head { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.sb-photos { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.sb-photos .photo:first-child { grid-row: span 2; aspect-ratio: 4/5; }
.sb-photos .photo:not(:first-child) { aspect-ratio: 1; }
.sb-status { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--muted); }

.traits { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .traits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .traits { grid-template-columns: repeat(3, 1fr); } }
.trait { display: flex; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf-sm); }
.trait .ic { color: var(--lav-deep); margin-top: 2px; }
.trait b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.trait span { display: block; }
.trait small { display: block; color: var(--muted); font-size: .9rem; }
.scale { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.scale i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.scale i.on { background: var(--teal-deep); }

details.info { display: inline; }
.info summary { list-style: none; cursor: help; display: inline-flex; align-items: center; color: var(--lav-deep); }
.info summary::-webkit-details-marker { display: none; }
.info[open] summary { color: var(--lav-ink); }
.info .tip { display: block; margin-top: 6px; padding: 10px 12px; background: var(--lav-soft); border-radius: 10px; font-size: .95rem; color: var(--ink); }

.offer-list { display: grid; gap: 14px; }
@media (min-width: 720px) { .offer-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .offer-list { grid-template-columns: repeat(3, 1fr); } }
.offer { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px; }
.offer .photo { aspect-ratio: 1; border-radius: var(--leaf-sm); }
.offer h3 { font-size: 1.02rem; margin: 0 0 4px; }
.offer .preis { font-size: 1.25rem; font-weight: 700; }
.offer .facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.offer .btn-row { gap: 8px; }

/* angebot detail ------------------------------------------------------------- */
.ad { display: grid; gap: 22px; padding-top: 16px; }
@media (min-width: 900px) { .ad { grid-template-columns: 1.1fr .9fr; gap: 40px; } }
.gallery { display: grid; gap: 10px; }
.gallery .photo { aspect-ratio: 4/5; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery .thumbs .photo { aspect-ratio: 1; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.gallery .thumbs .photo.on { border-color: var(--lav-deep); }
.price-big { font-size: 2rem; font-weight: 700; line-height: 1; margin: 6px 0 4px; }
.facts-table { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0; }
.facts-table dt { color: var(--muted); }
.facts-table dd { margin: 0; font-weight: 700; }
.hint { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--leaf-sm); background: var(--lav-soft); color: var(--lav-ink); font-size: .97rem; }
.hint.teal { background: var(--teal-soft); color: var(--teal-deep); }
.hint.rose { background: var(--rose-soft); color: var(--rose-deep); }
.hint .ic { flex: none; margin-top: 2px; }
.sticky-cta { position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 30; padding: 10px 0; margin: 6px calc(-1 * var(--pad)) 0; padding-left: var(--pad); padding-right: var(--pad); background: linear-gradient(to top, var(--bg) 75%, transparent); }
@media (min-width: 900px) { .sticky-cta { position: static; margin: 12px 0 0; padding: 0; background: none; } }

/* filter sheet ------------------------------------------------------------- */
.searchbar { display: flex; gap: 10px; align-items: center; }
.searchbar .field { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 16px; min-height: 52px; }
.searchbar input { flex: 1; border: 0; background: transparent; font: inherit; min-width: 0; outline: none; }
.searchbar .ic { color: var(--muted); }
.filter-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--leaf); padding: 18px; margin-top: 14px; }
.sheet h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }
.sheet h3:first-child { margin-top: 0; }
.sheet label.chip { user-select: none; }
.sheet label.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.sheet label.chip:has(input:checked) { background: var(--lav-deep); border-color: var(--lav-deep); color: #fff; }
.price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-row input { width: 96px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; font: inherit; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.count { color: var(--muted); font-weight: 700; }

/* forms -------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field-g label, .field-g .lbl { display: block; font-weight: 700; margin-bottom: 6px; }
.field-g input[type=text], .field-g input[type=email], .field-g input[type=number], .field-g input[type=password], .field-g input[type=url], .field-g textarea, .field-g select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; font: inherit; background: var(--surface); color: var(--ink);
}
.field-g textarea { min-height: 80px; resize: vertical; }
.field-g input:focus, .field-g textarea:focus { border-color: var(--lav-deep); outline: none; box-shadow: 0 0 0 3px var(--lav-soft); }
.field-g .help { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.field-g .err { color: var(--rose-deep); font-weight: 700; margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--lav-deep); flex: none; }
.check:has(input:checked) { border-color: var(--lav-deep); background: var(--lav-soft); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 2px solid var(--line-strong); border-radius: 14px; font-weight: 700; cursor: pointer; background: var(--surface); }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { border-color: var(--lav-deep); background: var(--lav-soft); color: var(--lav-ink); }
.errorlist { margin: 0 0 8px; padding: 12px 14px; list-style: none; background: var(--rose-soft); color: var(--rose-deep); border-radius: 12px; font-weight: 700; }
.hp { position: absolute; left: -9999px; }

/* messages ------------------------------------------------------------------ */
.msgs { position: fixed; top: 72px; left: var(--pad); right: var(--pad); z-index: 60; display: grid; gap: 8px; pointer-events: none; }
.msg { pointer-events: auto; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; }
.msg.success { background: var(--teal-deep); }
.msg.info { background: var(--lav-deep); }
.msg.error { background: var(--rose-deep); }

/* footer ------------------------------------------------------------------- */
.foot { margin-top: 48px; padding: 32px var(--pad) 32px; border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { display: grid; gap: 20px; }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--lav-deep); }

/* anfrageliste ------------------------------------------------------------- */
.list-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-row .photo { aspect-ratio: 1; border-radius: 10px; }
.list-row b { display: block; }
.list-row .x { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.list-row .x:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-weight: 700; font-size: 1.1rem; }
.empty { padding: 36px 20px; text-align: center; border: 2px dashed var(--line-strong); border-radius: var(--leaf); color: var(--muted); }
.empty .ic { color: var(--lav); margin-bottom: 8px; }

/* prose pages ---------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }

/* youtube / testimonials ----------------------------------------------------- */
.video { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; text-decoration: none; color: inherit; padding: 12px; }
.video .photo { aspect-ratio: 16/10; border-radius: var(--leaf-sm); }
.video .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(42,35,51,.25); }
.video b { display: block; margin-bottom: 2px; }
.video small { color: var(--muted); display: block; }
.quote { padding: 18px; }
.quote p { font-size: 1.05rem; margin-bottom: 10px; }
.quote footer { color: var(--muted); font-weight: 700; }

/* pflege (mobile back office) -------------------------------------------- */
.pf-top { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.pf-top h1 { font-family: var(--body); font-size: 1.25rem; margin: 0; font-variation-settings: normal; letter-spacing: 0; font-weight: 700; }
.pf-top .spacer { flex: 1; }
.pf-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row .photo { aspect-ratio: 1; border-radius: 10px; }
.row h3 { margin: 0; font-size: 1.02rem; }
.row .sub { color: var(--muted); font-size: .92rem; display: flex; gap: 8px; flex-wrap: wrap; }
.row .acts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.row.done { opacity: .55; }
.row .undo { background: var(--teal-soft); color: var(--teal-deep); padding: 10px 14px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font-weight: 700; }
.fab { position: fixed; right: 16px; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px); z-index: 35; box-shadow: 0 10px 30px -8px rgba(99,71,173,.5); }
@media (min-width: 900px) { .fab { bottom: 24px; } }
.thumbs-edit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumbs-edit .photo { aspect-ratio: 1; border-radius: 10px; }
.thumbs-edit .t-acts { display: flex; justify-content: space-between; margin-top: 6px; }
.thumbs-edit button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.thumbs-edit button.on { background: var(--lav-deep); border-color: var(--lav-deep); color: #fff; }
.upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; border: 2px dashed var(--lav); border-radius: var(--leaf); background: var(--lav-soft); color: var(--lav-ink); font-weight: 700; cursor: pointer; text-align: center; padding: 16px; }
.upload input { position: absolute; opacity: 0; width: 0; height: 0; }
.upload .ic { color: var(--lav-deep); }
.login { max-width: 420px; margin: 40px auto; }
.banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--leaf-sm); background: var(--teal-soft); color: var(--teal-deep); font-weight: 700; margin-bottom: 14px; }
.banner .btn { margin-left: auto; }

/* print (A5 Steckbrief, F-HST-10) ------------------------------------------ */
@media print {
  @page { size: A5; margin: 12mm; }
  body { background: #fff; padding: 0; font-size: 10.5pt; }
  .top, .bottom, .foot, .no-print, .msgs { display: none !important; }
}
.druck { font-size: 10.5pt; line-height: 1.4; }
.druck h1 { font-size: 20pt; margin-bottom: 2mm; }
.druck .traits { grid-template-columns: 1fr 1fr; gap: 2mm; }
.druck .trait { padding: 2mm 3mm; border-radius: 3mm; box-shadow: none; }
.druck .photo { border-radius: 4mm; }
.druck .sb-photos { gap: 2mm; margin-bottom: 4mm; }

/* --- mobile refinements after first review ------------------------------- */
.btn { white-space: nowrap; }
@media (max-width: 520px) {
  .top-cta span { display: none; }
  .top-cta { padding: 0 14px; }
  .hero-photo.empty { display: none; }
  .pf-top h1 { font-size: 1.1rem; }
  .pf-top .btn-sm span { display: none; }
}
.a-card .pill { white-space: normal; font-size: .8rem; line-height: 1.3; padding: 3px 9px; }
.sb-photos:has(> :nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.sb-photos:has(> :nth-child(2):last-child) .photo:first-child { grid-row: auto; }
.sb-photos:has(> :nth-child(2):last-child) .photo { aspect-ratio: 1; }
.row .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row .acts .btn { width: 100%; padding: 0 10px; }
main.wrap { padding-bottom: 96px; }
.searchbar input::placeholder { color: var(--muted); }
.sb-photos:has(> :only-child) { grid-template-columns: 1fr; max-width: 520px; }
.sb-photos:has(> :only-child) .photo { grid-row: auto; aspect-ratio: 4 / 5; }
