/* Oeffentliche Gastgeber: gemeinsame Bildsprache fuer Detailkarte und Profilseite. */
.host-panel, .public-host-page { --host-surface:var(--page-background); --host-line:var(--border-soft); }
.host-eyebrow { display:block; color:var(--accent-strong); font-size:11px; font-weight:700; letter-spacing:.08em; line-height:1.5; text-transform:uppercase; }
.host-avatar { flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:64px; height:64px; overflow:hidden; border-radius:50%; color:var(--accent-strong); background:var(--accent-tint); }
.host-avatar > .fa { font-size:28px; }
#content .inside .host-avatar img { display:block; float:none; width:100%; height:100%; max-width:none; object-fit:cover; border-radius:50%; }
.host-secondary-name { display:block; margin:3px 0 0; font-size:13px; line-height:1.5; opacity:.8; }
.host-offering-role { margin:10px 0 0; color:var(--accent-strong); font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.host-experience { display:inline-flex; align-items:center; gap:8px; font-size:12px; line-height:1.5; }
.host-experience .fa { color:var(--accent-strong); }
.rating-tile { display:grid; gap:7px; min-width:0; box-sizing:border-box; padding:15px 16px; border:1px solid var(--border-soft); border-radius:var(--radius-surface); margin:0; background:var(--page-background); }
.rating-tile--host { background:var(--accent-tint); border-color:var(--accent-tint); }
.rating-tile-label { display:flex; align-items:center; gap:8px; font-size:12px; line-height:1.4; }
.rating-tile-label > .fa { width:16px; color:var(--accent-strong); font-size:16px; text-align:center; }
.rating-result { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; }
.rating-tile .review-score { display:block; color:inherit; font-size:26px; font-weight:700; line-height:1.2; letter-spacing:-.04em; }
.rating-out-of { font-size:12px; font-weight:400; letter-spacing:0; opacity:.7; }
.rating-count { justify-self:start; color:inherit; font-size:12px; line-height:1.5; opacity:.8; text-underline-offset:3px; }
a.rating-count:hover { color:var(--accent-strong); opacity:1; }
.rating-empty-text { font-size:12px; line-height:1.5; opacity:.75; }
/* Sidebar: Identitaet, Bewertungen und Kontakt bilden eine einzige Karte. */
.host-panel { position:relative; isolation:isolate; overflow:hidden; box-sizing:border-box; border:1px solid var(--border-soft); border-radius:var(--radius); padding:20px; background:var(--page-background); box-shadow:var(--shadow-surface); }
.host-panel-identity { display:flex; align-items:center; gap:13px; }
.host-panel-name { min-width:0; }
.host-panel-name > strong { display:block; margin-top:3px; font-size:19px; line-height:1.3; overflow-wrap:anywhere; letter-spacing:-.025em; }
.host-panel-name .host-phone-link { justify-content:flex-start; gap:5px; margin-top:4px; min-height:24px; overflow-wrap:anywhere; }
/* Abstaende: Telefon zu Fakten ca. 12px, Fakten zum Button 18px (naeher am Kartenrand von 20px). */
.host-panel-meta { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px 6px; margin-top:7px; }
.host-panel-meta .host-experience { gap:5px; font-size:11px; }
/* Gastgeberbewertung als kompakte Faktenzeile ueber "Gastgeber seit". */
.host-panel-facts { display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-width:0; }
.host-rating { display:inline-flex; align-items:baseline; gap:5px; color:inherit; font-size:11px; line-height:1.5; text-decoration:none; }
.host-rating-star { width:11px; color:var(--premium-star); font:13px/1 Arial,sans-serif; text-align:center; }
.host-rating > strong { font-size:13px; }
.host-rating-count { opacity:.8; }
.host-rating:hover .host-rating-count { color:var(--accent-strong); opacity:1; text-decoration:underline; text-underline-offset:3px; }
.host-panel-facts .host-experience .fa { width:11px; text-align:center; }
.host-panel-actions { margin-top:18px; }
/* Die ganze Karte ist der Profillink (ohne sichtbaren Linktext); Rahmenfarbe beim Ueberfahren zeigt das an. */
.host-panel .host-profile-link { position:absolute; inset:0; z-index:1; border-radius:inherit; }
#content .inside .host-panel .host-profile-link:focus-visible { outline:2px solid var(--accent-strong); outline-offset:-2px; }
.host-profile-link-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.host-panel:has(.host-profile-link):hover { border-color:var(--accent-strong); }
/* Eigene Ziele (Kontakt, Telefon, Bewertungen) liegen ueber der flaechigen Profilverlinkung. */
.host-panel :is(.host-contact-button,.host-phone-link,.host-rating) { position:relative; z-index:2; }
#content .inside .host-panel .host-contact-button { display:flex; align-items:center; justify-content:center; box-sizing:border-box; gap:8px; width:100%; min-height:44px; margin:0; padding:10px 12px; text-decoration:none; }
.host-phone-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; color:inherit; font-size:13px; line-height:1.5; text-decoration:none; }
.host-phone-link:hover { color:var(--accent-strong); text-decoration:underline; }
/* Profilseite: volle Portalbreite, persoenlicher Kopf und ruhige Abschnitte. */
#content .inside > .content.public-host-page { box-sizing:border-box; width:100%; max-width:var(--layout-content-width); padding:24px 24px 64px; } /* Hero-Abstand zur Kopfzeilen-Linie = seitlicher Rand */
.host-profile-hero { position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; gap:20px; padding:22px; border:1px solid var(--border-soft); border-radius:var(--radius); background:linear-gradient(125deg,var(--accent-tint),var(--page-background)); }
.messaging-profile-main .host-profile-hero { margin-bottom:calc(2 * var(--layout-panel-gap)); }
.host-profile-hero::after { content:''; position:absolute; z-index:-1; pointer-events:none; width:320px; height:320px; right:-130px; bottom:-230px; border:44px solid var(--accent-tint); border-radius:50%; }
.host-profile-hero-main { display:flex; align-items:center; gap:16px; min-width:0; }
.host-profile-heading { min-width:0; }
.host-profile-hero .host-avatar { width:68px; height:68px; background:var(--page-background); box-shadow:var(--shadow-surface); }
.host-profile-hero .host-avatar > .fa { font-size:38px; }
#content .inside .host-profile-heading :is(h1,h2) { margin:5px 0 0; font-size:clamp(25px,3vw,34px); font-weight:700; line-height:1.15; letter-spacing:var(--font-heading-tracking); overflow-wrap:anywhere; }
.host-profile-heading .host-secondary-name { font-size:15px; }
.host-profile-facts { display:flex; flex-wrap:wrap; gap:6px 16px; margin-top:12px; }
.host-profile-facts > span { display:inline-flex; align-items:center; gap:8px; font-size:13px; line-height:1.5; }
.host-profile-facts .fa { color:var(--accent-strong); }
.host-profile-hero-contact { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
#content .inside .host-profile-hero-contact .button { display:inline-flex; justify-content:center; align-items:center; box-sizing:border-box; gap:9px; min-height:46px; margin:0; padding:12px 20px; text-decoration:none; }
/* Sprungnavigation als ruhige Pillen direkt unter dem Kopf; mobil bei Platzmangel seitlich wischbar statt umbrechend. */
.host-profile-nav { display:flex; gap:8px; padding:16px 0 0; margin:0; }
.host-profile-nav a { flex:0 0 auto; display:inline-flex; align-items:center; min-height:36px; box-sizing:border-box; padding:0 14px; border:1px solid var(--border-soft); border-radius:var(--radius-btn); background:var(--page-background); color:inherit; font-size:13px; font-weight:700; white-space:nowrap; text-decoration:none; transition:border-color .15s ease, color .15s ease; }
.host-profile-nav a:hover { border-color:var(--accent); color:var(--accent-strong); }
.public-host-page :is(section[id]) { scroll-margin-top:100px; }
.public-host-page > section { margin-top:32px; }
/* Vorstellung: gleicher Abschnittskopf wie Bewertungen und Unterkuenfte, der Text in einer ruhigen Karte. */
.host-introduction { padding:24px; border:1px solid var(--border-soft); border-radius:var(--radius); background:var(--page-background); }
#content .inside .host-introduction .review-text { max-width:75ch; margin:0; line-height:1.8; }
.host-section-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:22px; }
#content .inside .host-section-heading h2 { margin:5px 0 0; font-size:25px; line-height:1.25; letter-spacing:var(--font-heading-tracking); }
.host-rating-overview { display:grid; gap:24px; padding:24px; border:1px solid var(--border-soft); border-radius:var(--radius); background:var(--page-background); }
.host-rating-overview .rating-tile { padding:0; border:0; background:none; gap:10px; }
.host-rating-overview .rating-tile-label { font-size:13px; }
.host-rating-overview .review-score { font-size:48px; }
.host-rating-overview .rating-out-of { font-size:16px; }
.host-rating-overview .rating-stars { font-size:22px; }
.host-rating-overview .rating-count { font-size:13px; }
.host-rating-breakdown { display:grid; align-content:center; gap:18px; margin:0; }
.host-rating-breakdown dt { font-size:13px; line-height:1.5; margin-bottom:7px; }
.host-rating-breakdown dd { display:flex; align-items:center; gap:15px; margin:0; }
.host-rating-breakdown strong { flex:0 0 auto; min-width:52px; font-size:13px; }
.host-rating-breakdown strong > span { font-size:11px; font-weight:400; }
.rating-track { flex:1 1 auto; height:5px; overflow:hidden; background:var(--accent-tint); border-radius:var(--radius-btn); }
.rating-track > span { display:block; height:100%; background:var(--accent); border-radius:inherit; }
.host-review-list { display:grid; gap:16px; margin-top:20px; }
.host-review-list:empty { margin:0; }
#content .inside .guest-review { box-sizing:border-box; min-width:0; padding:22px; border:1px solid var(--border-soft); border-radius:var(--radius); margin:0; background:var(--page-background); }
.guest-review-header { display:flex; align-items:center; flex-wrap:wrap; gap:11px; }
.guest-review-avatar { flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:37px; height:37px; border-radius:50%; background:var(--accent-tint); color:var(--accent-strong); }
.guest-review-header > div { flex:1; min-width:120px; }
.guest-review-header strong { display:flex; align-items:center; gap:6px; font-size:13px; line-height:1.4; }
.guest-review-header strong > .fa { color:var(--accent-strong); font-size:13px; }
.guest-review-header time { display:block; margin-top:1px; font-size:12px; line-height:1.4; opacity:.7; }
.guest-review-ratings { display:flex; flex-wrap:wrap; gap:10px 18px; margin:18px 0 0; }
.guest-review-rating { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:11px; }
.guest-review-rating .rating-stars { font-size:14px; }
.guest-review-rating > strong { font-size:12px; }
.guest-review-text { margin:16px 0 0; line-height:1.75; }
.host-more-reviews { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; margin:22px 0 0; box-sizing:border-box; text-decoration:none; }
.host-homes-grid { display:grid; gap:20px; }
.host-homes-grid.has-single-home { grid-template-columns:minmax(0,380px); }
#content .inside .host-home-card { overflow:hidden; padding:0; border:1px solid var(--border-soft); border-radius:var(--radius); background:var(--page-background); box-shadow:var(--shadow-surface); }
.host-home-photo { display:block; aspect-ratio:16 / 9; overflow:hidden; background:var(--accent-tint); }
#content .inside .host-home-photo img { display:block; float:none; width:100%; height:100%; max-width:none; border-radius:0; object-fit:cover; transition:transform .25s ease; }
.host-home-card:hover .host-home-photo img { transform:scale(1.025); }
.host-home-photo.is-without-photo { display:flex; align-items:center; justify-content:center; color:var(--accent-strong); }
.host-home-photo > .fa { font-size:46px; opacity:.5; }
.host-home-body { padding:18px; }
.host-home-location { display:flex; align-items:center; gap:7px; font-size:12px; margin:0 0 7px; opacity:.8; }
.host-home-location .fa { color:var(--accent-strong); }
#content .inside .host-home-body h3 { margin:0; font-size:18px; line-height:1.35; }
.host-home-body h3 a { color:inherit; text-decoration:none; }
.host-home-body h3 a:hover { color:var(--accent-strong); }
.host-home-facts { display:flex; flex-wrap:wrap; gap:8px 16px; list-style:none; padding:0; margin:14px 0 16px; font-size:12px; }
.host-home-facts li { display:flex; align-items:center; gap:7px; }
.host-home-facts .fa { color:var(--accent-strong); }
.host-home-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding-top:12px; border-top:1px solid var(--border-soft); }
.host-home-detail { display:inline-flex; align-items:center; gap:10px; min-height:32px; color:var(--accent-strong); text-decoration:none; font-size:13px; font-weight:700; }
.host-home-contact { color:inherit; font-size:12px; text-underline-offset:3px; }
.host-homes-empty { display:flex; gap:16px; align-items:center; padding:24px; border:1px solid var(--border-soft); border-radius:var(--radius); }
.host-homes-empty .fa { font-size:26px; color:var(--accent-strong); }
.host-homes-empty p { margin:0; }
:is(.host-panel,.public-host-page) a:focus-visible { outline:2px solid var(--accent-strong); outline-offset:4px; }
@media (min-width:600px) {
 .host-profile-hero-main { flex-direction:row; align-items:center; gap:24px; }
 .host-homes-grid, .host-review-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .host-introduction { padding:28px 30px; }
}
@media (max-width:599px) {
 /* Pillen laufen bis an den Bildschirmrand und lassen sich wischen, die Seite selbst bleibt ohne Querscrollen. */
 .host-profile-nav { gap:5px; overflow-x:auto; scrollbar-width:none; margin-inline:-24px; padding-inline:24px; }
 .host-profile-nav a { min-height:34px; padding:0 10px; font-size:12px; }
 .host-profile-nav::-webkit-scrollbar { display:none; }
}
@media (min-width:900px) {
 #content .inside > .content.public-host-page { padding:var(--layout-hero-top) 32px 80px; } /* Desktop: wie die übrigen öffentlichen Heroes */
 .host-profile-hero { flex-direction:row; align-items:center; justify-content:space-between; gap:28px; padding:28px 32px; }
 .host-profile-hero .host-avatar { width:88px; height:88px; }
 .host-profile-hero-contact { flex:0 0 auto; }
 .public-host-page > section { margin-top:40px; }
 .host-rating-overview { grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr); gap:48px; padding:32px; }
 .host-rating-breakdown { border-left:1px solid var(--border-soft); padding-left:40px; }
 .host-homes-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 #content .inside .host-section-heading h2 { font-size:28px; }
}

@media (max-width:360px) {
 #content .inside > .content.public-host-page { padding-top:18px; padding-left:18px; padding-right:18px; }
 .host-profile-hero { padding:20px 16px; }
 .host-profile-hero .host-avatar { width:56px; height:56px; }
 .host-profile-hero-main { gap:12px; }
 .host-profile-facts > span { font-size:12px; }
 .host-introduction { padding:20px; }
 .host-profile-nav { margin-inline:-18px; padding-inline:18px; }
 .host-rating-overview { padding:20px; }
 .host-panel { padding:17px; }
}
@media (prefers-reduced-motion:reduce) { .host-home-photo img { transition:none !important; } }
@media (min-width:700px) {
 .host-homes-grid.has-two-homes { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
