* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #f3f4f6; color: #111827; }

.house-wrap { max-width: 860px; margin: 0 auto; padding: 20px 16px 64px; }
.house-wrap.narrow { max-width: 560px; }
.house-head { display: flex; justify-content: space-between; align-items: center; }
.back { color: #2563eb; text-decoration: none; font-weight: 600; }
.lang-mini a { color: #6b7280; text-decoration: none; padding: 0 4px; font-size: .85rem; }
.lang-mini a.active { color: #111827; font-weight: 700; }
h1 { font-size: 1.6rem; margin: 10px 0 4px; }
h2 { font-size: 1.1rem; margin: 0 0 12px; }
.cat { margin: 0 0 16px; }
.muted { color: #6b7280; }
.small { font-size: .85rem; }

.panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; margin-bottom: 16px; }

.star { color: #d1d5db; }
.star.on { color: #f59e0b; }

.agg { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.agg-overall { display: flex; flex-direction: column; }
.agg-overall .big { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.agg-dims { list-style: none; padding: 0; margin: 0; }
.agg-dims li { padding: 2px 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.gallery img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; display: block; }

.review { border-top: 1px solid #f0f1f3; padding: 12px 0; }
.review:first-of-type { border-top: none; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-meta { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.report { font-size: .82rem; position: relative; }
.report > summary { cursor: pointer; color: #9ca3af; list-style: none; }
.report > summary:hover { color: #dc2626; }
.report > summary::-webkit-details-marker { display: none; }
.report-form {
    position: absolute; right: 0; top: 100%; z-index: 5; margin-top: 6px;
    width: 260px; max-width: 80vw; white-space: normal;
    padding: 10px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.report-form label { font-weight: 400; }
.report-form textarea { width: 100%; box-sizing: border-box; padding: 7px; border: 1px solid #cbd2dc; border-radius: 6px; font-family: inherit; }
.report-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.report-actions button { padding: 6px 14px; border: none; border-radius: 6px; background: #dc2626; color: #fff; font-weight: 600; cursor: pointer; }
.report-actions button:disabled { opacity: .6; cursor: default; }
.review-dims { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; margin: 4px 0; }
.review-media { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.review-media img, .review-media video { width: 140px; height: 100px; object-fit: cover; border-radius: 8px; background: #000; }

.flash { padding: 10px 12px; border-radius: 8px; margin: 10px 0; }
.flash.success { background: #dcfce7; color: #166534; }
.flash.error { background: #fee2e2; color: #b91c1c; }
.errors { background: #fee2e2; color: #b91c1c; border-radius: 8px; padding: 10px 12px 10px 28px; }

.review-form .field { margin-bottom: 14px; }
.review-form .field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.review-form input[type=text], .review-form input[type=email], .review-form input[type=date],
.review-form textarea, .review-form select {
    width: 100%; padding: 9px; border: 1px solid #cbd2dc; border-radius: 8px; font-size: 1rem;
}
.rating-input { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rating-input .star-opt { font-weight: 400; }
.rating-input .none-opt { color: #9ca3af; }
.rating-input .none-opt span { font-weight: 700; }
.rating-input input { margin-right: 3px; }
.review-form button { padding: 11px 22px; border: none; border-radius: 8px; background: #2563eb; color: #fff; font-weight: 700; cursor: pointer; font-size: 1rem; }

.admin-cat { background: #111827; color: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-cat select { padding: 6px; border-radius: 6px; }
.admin-cat button { padding: 7px 14px; border: none; border-radius: 6px; background: #f59e0b; font-weight: 700; cursor: pointer; }

/* ---- Responsive: Handy & kleines Tablet ---- */
@media (max-width: 600px) {
    .house-wrap { padding: 14px 12px 56px; }
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.05rem; }

    /* Zweispaltige Formularfelder auf eine Spalte */
    .review-form .field.two { grid-template-columns: 1fr; gap: 0; }
    .review-form .field.two > div { margin-bottom: 14px; }

    .agg { gap: 16px 22px; }
    .agg-overall .big { font-size: 1.9rem; }

    .review-head { flex-wrap: wrap; gap: 4px 12px; }
    .review-dims { gap: 10px 16px; }

    /* Galerie & Medien dichter packen */
    .gallery { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .gallery img { height: 92px; }
    .review-media img, .review-media video { width: 120px; height: 86px; }

    /* Touch-Targets */
    .review-form button { width: 100%; padding: 13px 22px; }
    .rating-input { gap: 10px; flex-wrap: wrap; }
    .rating-input .star-opt { padding: 4px 2px; }
}
