/* Berlin Döner: schlichte öffentliche Seiten (partials/simple-page.php: Bewerten, Bewertungen, Newsletter), Bewertungen auf
   der Startseite und das Aktions-Banner – gleiche Bausteine wie bei Istanbul Döner, Tokens aus css/style.css. */
:root{
  --accent-rgb: 222, 10, 23; --accent-hover: #B90813; --accent-light: #FF6B73;
  --font-display: "RobotoSlab", system-ui, sans-serif; --cream: #F4E6CF; --ink: #111111;
  --radius-sm: 12px; --hard-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.pg{ max-width: 860px; margin: 0 auto; padding: 40px 20px 56px; }
.pg h1{ font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.01em; }
.pg-lead{ color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
.pg-card{ background: var(--glass, rgba(255,255,255,.06)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft, none); }
.pg-card + .pg-card{ margin-top: 16px; }
.pg-field{ display: grid; gap: 6px; margin: 0 0 18px; }
.pg-field label, .pg-label{ font-weight: 600; font-size: 15px; }
.pg-input, .pg-textarea{ width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.25); color: var(--text); font: inherit; font-size: 16px; }
.pg-textarea{ min-height: 130px; resize: vertical; line-height: 1.5; }
.pg-input:focus, .pg-textarea:focus{ outline: 2px solid var(--accent); outline-offset: 1px; }
.pg-hint{ color: var(--faint); font-size: 13.5px; line-height: 1.5; margin: 0; }
.pg-error{ padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(var(--accent-rgb), .14); border: 1px solid rgba(var(--accent-rgb), .45); color: #ffd7d9; margin: 0 0 18px; }
.pg-ok{ padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(48,195,124,.12); border: 1px solid rgba(48,195,124,.4); margin: 0 0 18px; }
.pg-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pg-check{ display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.5; margin: 0 0 18px; cursor: pointer; }
.pg-check input{ width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }

/* Sterne-Eingabe: Radios rückwärts, damit :hover/:checked die linken mitfärbt */
.pg-rate{ display: inline-flex; flex-direction: row-reverse; gap: 4px; border: 0; padding: 0; margin: 0; }
.pg-rate input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-rate label{ font-size: 40px; line-height: 1; color: rgba(255,255,255,.22); cursor: pointer; padding: 2px; min-width: 48px; min-height: 48px; display: grid; place-items: center; }
.pg-rate input:checked ~ label, .pg-rate label:hover, .pg-rate label:hover ~ label{ color: #f5b942; }
.pg-rate input:focus-visible + label{ outline: 3px solid var(--cream); outline-offset: 2px; border-radius: 8px; }
.pg-stars{ color: rgba(255,255,255,.22); letter-spacing: 1px; white-space: nowrap; }
.pg-stars .on{ color: #f5b942; }

/* Bewertungen (Liste und Startseite) */
.rv-summary{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
.rv-summary__avg{ font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; }
.rv-summary .pg-stars{ font-size: 22px; }
.rv-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rv-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.rv-item{ background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; }
.rv-item__head{ display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.rv-item__author{ font-weight: 700; }
.rv-item__date{ color: var(--faint); font-size: 13px; }
.rv-item__body{ margin: 10px 0 0; color: var(--muted); line-height: 1.6; white-space: pre-line; }
.rv-item__reply{ margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.03); color: var(--muted); font-size: 14.5px; white-space: pre-line; }
.rv-item__reply b{ color: var(--text); display: block; margin-bottom: 2px; }
.ist-band--cream .rv-item{ background: #fff; border-color: rgba(26,26,24,.12); color: var(--ink); box-shadow: var(--hard-shadow); }
.ist-band--cream .rv-item__body, .ist-band--cream .rv-item__reply{ color: rgba(26,26,24,.78); }
.ist-band--cream .rv-item__date{ color: rgba(26,26,24,.6); }
.ist-band--cream .pg-stars{ color: rgba(26,26,24,.2); }
.ist-band--cream .pg-stars .on{ color: #c27c00; }
.ist-band--cream .rv-item__reply b{ color: var(--ink); }

@media (max-width: 560px){ .pg{ padding: 28px 16px 44px; } .pg-card{ padding: 18px; } .pg-rate label{ font-size: 34px; min-width: 44px; } }
.pg-sr{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Aktions-Banner (lib/promotions.php) – unter der Navigation von Startseite/Speisekarte */
.promo{ position: relative; z-index: 5; }
.promo__in{ max-width: 1200px; margin: 0 auto; padding: 12px 56px 12px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; position: relative; }
.promo__text{ margin: 0; flex: 1 1 320px; font-size: 15.5px; line-height: 1.45; }
.promo__text b{ font-weight: 700; font-size: 17px; margin-right: 6px; }
.promo__cta{ display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.promo__x{ position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; opacity: .8; }
.promo__x:hover{ opacity: 1; }
.promo--rot{ background: var(--accent); color: #fff; }
.promo--rot .promo__cta{ background: #fff; color: var(--accent-hover); }
.promo--dunkel{ background: var(--ink); color: var(--text); border-bottom: 1px solid var(--line); }
.promo--dunkel .promo__cta{ background: var(--accent); color: #fff; }
.promo--hell{ background: var(--cream); color: var(--ink); }
.promo--hell .promo__cta{ background: var(--ink); color: var(--cream); }
@media (max-width: 560px){ .promo__in{ padding: 10px 48px 10px 16px; } .promo__text b{ display: block; } }
/* Banner läuft wie die Hero-Fotos unter die halbtransparente Navigation; der Hero rückt dann nicht mehr nach oben. */
.promo{ margin-top: calc(-1 * var(--navH)); padding-top: var(--navH); }
.promo ~ main .sk-hero, .promo ~ .hero, .promo ~ main .hero{ margin-top: 0; padding-top: 0; }
