/* v17 (22/10/2026) — Carlos: "la página se ve apagada". Marke vorne, gelbe Sterne, klares Preis-Versprechen.
   Akzent Gold nur für Sterne und das Heute-Versprechen; Grün bleibt die Markenfarbe für Text und Buttons. */
:root {
  --w48-forest: #174833;
  --w48-forest-deep: #0f3524;
  --w48-leaf: #1f7a4c;
  --w48-gold: #f5b301;
  --w48-gold-ink: #6b4a00;
  --w48-gold-soft: #fff5d9;
  --w48-cream: #f7f5ee;
}

/* Sterne überall gelb */
.stars { color: var(--w48-gold); letter-spacing: 1px; font-size: 1.05em; }
.social-proof .stars { margin-right: 2px; }

/* Marke im Kopf größer und präsenter */
.brand-original .brand-wordmark { font-size: clamp(27px, 2.3vw, 33px); }
.brand-original .brand-symbol { width: 46px; height: 46px; }
.topline { background: var(--w48-forest-deep); }

/* Hero: das Versprechen */
.hero-promise {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 18px; padding: 8px 14px 8px 12px;
  border: 1px solid #f0cf6d; border-radius: 999px;
  background: var(--w48-gold-soft); color: var(--w48-gold-ink);
  font-size: 14px; font-weight: 650; line-height: 1.25;
}
.hero-promise i {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  background: var(--w48-leaf); box-shadow: 0 0 0 0 rgba(31, 122, 76, .45);
  animation: w48-pulse 2.2s ease-out infinite;
}
@keyframes w48-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 122, 76, .45); } 70% { box-shadow: 0 0 0 9px rgba(31, 122, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 122, 76, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-promise i { animation: none; } }

.campaign-copy h1 > span { color: #2c3a33; }
.campaign-copy h1 > strong { color: var(--w48-forest); }
.campaign-copy > p[data-i18n="heroDesc"] { font-size: 17px; line-height: 1.55; color: #33413a; max-width: 34em; }

/* Hero: Preis als Karte */
.hero-price-anchor {
  display: grid; gap: 4px; width: 100%; max-width: 440px;
  margin: 6px 0 18px; padding: 16px 18px 14px;
  border: 1px solid rgba(23, 72, 51, .16); border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, var(--w48-cream) 100%);
  box-shadow: 0 10px 28px -18px rgba(15, 53, 36, .45);
}
.hero-price-anchor .hero-price-label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--w48-leaf); }
.hero-price-anchor strong { font-size: clamp(34px, 3.1vw, 44px); line-height: 1.05; font-weight: 750; letter-spacing: -1px; color: var(--w48-forest); font-variant-numeric: tabular-nums; }
.hero-price-anchor .hero-price-incl { font-size: 14px; color: #33413a; }
.hero-price-details { margin-top: 4px; }
.hero-price-details summary { cursor: pointer; width: max-content; font-size: 13px; color: #526453; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.hero-price-details summary::-webkit-details-marker { display: none; }
.hero-price-details summary::after { content: " ▾"; }
.hero-price-details[open] summary::after { content: " ▴"; }
.hero-price-details small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: #526453; }

/* Hero: Vertrauen */
.hero-trust { display: grid; gap: 10px; margin: 0 0 20px; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  color: #24302a; text-decoration: none; font-size: 15px;
}
.hero-rating .stars { font-size: 19px; }
.hero-rating b { font-size: 16px; }
.hero-rating [data-reviews] { text-decoration: underline; text-decoration-color: rgba(36, 48, 42, .35); text-underline-offset: 3px; }
.hero-rating:hover [data-reviews], .hero-rating:focus-visible [data-reviews] { text-decoration-color: currentColor; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: #33413a; }
.hero-chips li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
  background: var(--w48-leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Hero: Haupt-Button kräftiger */
.campaign-copy .button.primary {
  padding: 16px 26px; font-size: 16px; font-weight: 700; border-radius: 12px;
  background: var(--w48-forest); box-shadow: 0 10px 22px -12px rgba(15, 53, 36, .7);
  transition: transform .15s ease, background-color .15s ease;
}
.campaign-copy .button.primary:hover { background: var(--w48-leaf); transform: translateY(-1px); }
.hero-direct-montage { font-size: 14px; }

/* Marken-Signatur statt Personenname */
.carlos-avatar.brand-avatar { display: grid; place-items: center; background: #fff; border: 1px solid rgba(23, 72, 51, .2); }
.carlos-avatar.brand-avatar img { width: 30px; height: 30px; }

@media (max-width: 700px) {
  .hero-promise { font-size: 13px; }
  .hero-price-anchor { max-width: none; }
  .hero-chips li { font-size: 13px; }
}
.hero-actions-note { margin: 10px 0 20px; }
.hero-trust { margin-top: 2px; }
@media (max-width: 700px) {
  .campaign-copy h1 { font-size: 34px; letter-spacing: -1px; }
  .topline-right { display: none; }
}

/* Fotos tragen schon „Wienstell48 · Beispielfoto“: Text-Bildunterschrift nur noch für Screenreader */
.symbolic-image-caption { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.category-price-scope, .card-breakdown { color: #526453; }
.real-products-note strong { color: var(--w48-forest); }

@media (max-width: 700px) {
  .benefits, .benefit-row, .trust-row { grid-template-columns: 1fr !important; }
}
.card-same-day { color: var(--w48-gold-ink); background: var(--w48-gold-soft); border-radius: 999px; padding: 3px 10px; width: max-content; max-width: 100%; font-weight: 600; font-size: 12.5px; }

/* v17.2 — Carlos: das große Foto war am Desktop zu stark abgeschnitten (Spalte so hoch wie der Text).
   Jetzt feste, ruhige Bildhöhe, die beim Scrollen stehen bleibt. */
@media (min-width: 901px) {
  .campaign { align-items: start; }
  .campaign-image {
    position: sticky; top: var(--w48-header-h, 120px);
    height: min(calc(100vh - var(--w48-header-h, 120px)), 760px) !important;
    min-height: 480px !important; align-self: start !important;
  }
  .campaign-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
}

/* Gabriel: zarte Sprechblase statt großem Fenster (v17.3) */
.gabriel-invitation {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: end;
  width: 318px; padding: 0; border: 0; background: transparent; box-shadow: none;
  bottom: 70px; animation: w48-invite-in .45s cubic-bezier(.2, .8, .2, 1) both;
}
.gabriel-invitation[hidden] { display: none; }
@keyframes w48-invite-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.gabriel-invite-face { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(15, 53, 36, .25); cursor: pointer; }
.gabriel-invite-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gabriel-invite-bubble {
  position: relative; padding: 12px 14px 12px; border-radius: 16px 16px 16px 4px;
  background: #fff; border: 1px solid rgba(23, 72, 51, .12);
  box-shadow: 0 14px 34px -14px rgba(15, 53, 36, .35);
}
.gabriel-invite-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.gabriel-invite-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9db5a3; animation: w48-dot 1s infinite ease-in-out; }
.gabriel-invite-typing i:nth-child(2) { animation-delay: .15s; }
.gabriel-invite-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes w48-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.gabriel-invite-text { display: none; }
.gabriel-invitation.is-ready .gabriel-invite-typing { display: none; }
.gabriel-invitation.is-ready .gabriel-invite-text { display: block; animation: w48-invite-in .3s ease both; }
.gabriel-invite-text small { display: block; font-size: 11.5px; color: #6b7d70; letter-spacing: .02em; }
.gabriel-invite-text strong { display: block; margin-top: 3px; padding-right: 14px; font-size: 15px; font-weight: 650; line-height: 1.3; color: #14211a; cursor: pointer; }
.gabriel-invite-text p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: #4c5d52; }
.gabriel-invite-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gabriel-invitation .gabriel-invite-open, .gabriel-invitation .gabriel-invite-later {
  margin: 0; padding: 7px 13px !important; border-radius: 999px !important; font-size: 13.5px; font-weight: 650; cursor: pointer; border: 1px solid transparent;
}
.gabriel-invitation .gabriel-invite-open { background: var(--w48-forest, #174833); color: #fff; border-bottom: 0; }
.gabriel-invitation .gabriel-invite-later { background: transparent; color: #4c5d52; border-color: rgba(23, 72, 51, .2); }
.gabriel-invitation .gabriel-invite-close { top: -8px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid rgba(23, 72, 51, .15); font-size: 15px; line-height: 1; z-index: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
@media (prefers-reduced-motion: reduce) { .gabriel-invitation, .gabriel-invite-typing i { animation: none; } }
@media (max-width: 700px) { .gabriel-invitation { width: min(318px, calc(100vw - 28px)); } }
.gabriel-invitation { grid-template-columns: 1fr; width: 300px; }
.gabriel-invite-face { display: none; }
.gabriel-invite-bubble { border-radius: 16px 16px 4px 16px; }
@media (max-width: 700px) { .gabriel-invitation { width: min(300px, calc(100vw - 28px)); } }

/* v17.4 — Carlos: "se ve horrible en la computadora". Hero am Desktop neu:
   innerhalb der Seitenbreite, Foto mit runden Ecken, Text daneben vertikal zentriert, alles ohne Scrollen sichtbar. */
@media (min-width: 901px) {
  .campaign {
    display: grid !important; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
    gap: clamp(32px, 4vw, 64px); align-items: center !important;
    max-width: 1280px; min-height: 0 !important; margin: clamp(18px, 2.4vw, 36px) auto 0;
    padding: 0 clamp(24px, 3vw, 40px); background: transparent;
  }
  .campaign-image {
    position: relative !important; top: auto !important; align-self: center !important;
    height: clamp(460px, calc(100vh - var(--w48-header-h, 120px) - 80px), 640px) !important; min-height: 0 !important;
    border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(15, 53, 36, .55);
  }
  .campaign-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
  .campaign-copy { padding: 8px 0 !important; background: transparent !important; max-width: 520px; }
  .campaign-copy h1 { font-size: clamp(38px, 3.3vw, 50px) !important; margin-bottom: 14px; }
  .campaign-copy > p[data-i18n="heroDesc"] { margin-bottom: 4px; }
  .hero-price-anchor { margin: 14px 0 16px; padding: 14px 18px 12px; }
  .hero-price-anchor strong { font-size: clamp(32px, 2.7vw, 40px); }
  .campaign-copy .button.primary { margin-right: 18px; }
  .campaign-copy .quiet-link { display: inline-flex; vertical-align: middle; }
  .hero-actions-note { margin: 10px 0 14px; }
  .hero-trust { gap: 8px; margin-bottom: 12px; }
  .hero-chips { gap: 6px 16px; }
  .campaign-footer { max-width: 1280px; margin: 18px auto 0; }
}
@media (min-width: 901px) and (max-height: 820px) {
  .hero-direct-montage, .hero-actions-note { display: none; }
}
@media (min-width: 901px) {
  .campaign-copy { gap: 14px; justify-content: center; }
  .campaign-copy > * { margin-top: 0 !important; margin-bottom: 0 !important; }
  .campaign-copy .quiet-link, .hero-actions-note { display: none !important; }
  .campaign-copy .hero-promise { margin-bottom: 2px !important; }
  .campaign-copy h1 { margin-bottom: 0 !important; }
  .hero-direct-montage { font-size: 13.5px; color: #526453; }
}
