/* ==========================================================================
   pagewerbung – Website zum Festpreis
   Umsetzung nach Masterlayout (Prioritaet 1).
   Keine eigenen Farben, Radien, Verlaeufe oder Schatten.
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--pw-white);
  color: var(--pw-black);
  font-family: var(--pw-font-body);
  font-weight: 400;
  font-size: var(--pw-body);
  line-height: var(--pw-lh-body);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--pw-yellow); outline-offset: 3px; }

/* --------------------------------------------------------------- Raster */

.pw-wrap {
  width: 100%;
  max-width: var(--pw-max-width);
  margin: 0 auto;
  padding-left: var(--pw-space-24);
  padding-right: var(--pw-space-24);
}

.pw-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--pw-grid-gutter); }

.pw-section { padding-top: var(--pw-section-space); padding-bottom: var(--pw-section-space); }
.pw-section--dark { background: var(--pw-black); color: var(--pw-white); }
.pw-section--grey { background: var(--pw-light-grey); }

/* ----------------------------------------------------------- Typografie */

h1, h2, h3, h4 {
  font-family: var(--pw-font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 { font-size: clamp(40px, 5vw, var(--pw-h1)); line-height: var(--pw-lh-h1); }
h2 { font-size: clamp(28px, 3vw, var(--pw-h2)); line-height: var(--pw-lh-h2); }
h3 { font-size: clamp(20px, 2vw, var(--pw-h3)); line-height: var(--pw-lh-h3); }

p { margin: 0; }

.pw-small { font-size: var(--pw-body-small); }
.pw-yellow { color: var(--pw-yellow); }

/* Eyebrow mit gelber Unterlinie, siehe Master Hero und Teaser */
.pw-eyebrow {
  display: inline-block;
  font-size: var(--pw-body-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pw-yellow);
  margin-bottom: var(--pw-space-24);
}

.pw-section-head { text-align: center; margin-bottom: var(--pw-space-48); }
.pw-section-head p { margin-top: 12px; }

/* --------------------------------------------------------------- Buttons */

.pw-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--pw-font-body);
  font-weight: 600;
  font-size: var(--pw-body-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pw-btn--primary { background: var(--pw-yellow); color: var(--pw-black); border-color: var(--pw-yellow); }
.pw-btn--primary:hover { background: var(--pw-white); border-color: var(--pw-white); }

.pw-btn--secondary { background: var(--pw-black); color: var(--pw-white); border-color: var(--pw-white); }
.pw-btn--secondary:hover { border-color: var(--pw-yellow); color: var(--pw-yellow); }

.pw-btn--outline { background: transparent; color: var(--pw-black); border-color: var(--pw-black); }
.pw-btn--outline:hover { background: var(--pw-black); color: var(--pw-white); }

.pw-btn--sm { padding: 11px 20px; font-size: 12px; }

.pw-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--pw-body-small);
  text-decoration: none;
  color: var(--pw-yellow);
}

.pw-btn-row { display: flex; flex-wrap: wrap; gap: var(--pw-space-24); align-items: center; }

/* ----------------------------------------------------------- Asset-Slot */

.pw-slot { position: relative; background: var(--pw-light-grey); overflow: hidden; }
.pw-slot img { width: 100%; height: 100%; object-fit: cover; }
.pw-slot.is-empty img { visibility: hidden; }

.pw-slot.is-empty::after {
  content: "ASSET FEHLT\A" attr(data-asset);
  white-space: pre-wrap;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px dashed var(--pw-dark-grey);
  color: var(--pw-dark-grey);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  word-break: break-all;
}

.pw-section--dark .pw-slot { background: var(--pw-dark-grey); }
.pw-section--dark .pw-slot.is-empty::after { color: var(--pw-light-grey); border-color: var(--pw-light-grey); }

/* ------------------------------------------------------------ Navigation */

.pw-nav { background: var(--pw-black); color: var(--pw-white); }

.pw-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pw-space-24);
  min-height: 80px;
}

.pw-nav__brand { width: 190px; height: 32px; flex: 0 0 auto; }

/* Wortmarke: freigestelltes p-Zeichen plus Schriftzug.
   Sobald das offizielle Logo als SVG vorliegt, wird der Block durch
   eine einzelne Bilddatei ersetzt. */
.pw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.pw-brand__mark { height: 39px; width: auto; }

.pw-brand__word {
  font-family: var(--pw-font-body);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.005em;
}

.pw-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.pw-nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pw-nav__menu a { font-size: var(--pw-body-small); text-decoration: none; }
.pw-nav__menu a:hover { color: var(--pw-yellow); }

/* ----------------------------------------------------------------- Hero */

.pw-hero { background: var(--pw-black); color: var(--pw-white); }
.pw-hero__grid { align-items: center; }
.pw-hero__text { grid-column: 1 / span 6; }
.pw-hero__visual { grid-column: 7 / span 6; }
.pw-hero__visual .pw-slot { aspect-ratio: 16 / 10; }
.pw-hero__sub { margin-top: var(--pw-space-24); max-width: 34em; }
.pw-hero__actions { margin-top: var(--pw-space-48); }

/* ------------------------------------------------------------- Vorteile */

.pw-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pw-space-48) var(--pw-grid-gutter);
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.pw-feature__icon { width: 73px; height: 73px; margin: 0 auto var(--pw-space-24); }
.pw-feature h3 { margin-bottom: 10px; }

.pw-features--four { grid-template-columns: repeat(4, 1fr); }

/* -------------------------------------------------------------- Galerie */

.pw-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pw-space-24);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pw-card { background: var(--pw-white); display: flex; flex-direction: column; }
.pw-card__media { aspect-ratio: 16 / 9; background: var(--pw-dark-grey); }
.pw-card__body { padding: 20px var(--pw-space-24) var(--pw-space-24); }
.pw-card__body h3 { margin-bottom: 4px; }
.pw-card__branche { font-size: var(--pw-body-small); }
.pw-card img { transition: transform 0.35s ease; }
.pw-card:hover img { transform: scale(1.02); }

/* --------------------------------------------------------------- Preise */

.pw-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pw-grid-gutter); align-items: stretch; }

.pw-price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--pw-white);
  border: 1px solid var(--pw-light-grey);
  padding: var(--pw-space-48) var(--pw-space-24) var(--pw-space-24);
}

.pw-price--featured { border: 2px solid var(--pw-yellow); }

.pw-price__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--pw-yellow);
  color: var(--pw-black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.pw-price__claim { margin-top: 10px; }

.pw-price__amount {
  font-family: var(--pw-font-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin: var(--pw-space-24) 0;
}

.pw-price__list { list-style: none; margin: 0 0 var(--pw-space-48); padding: 0; }

/* Liste mit gelbem Haken, siehe Master UI-Elemente */
.pw-check { list-style: none; margin: 0; padding: 0; }

.pw-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: var(--pw-body-small);
}

.pw-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='%23FFD100'/><path d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230D0D0D' stroke-width='2.4' stroke-linecap='square'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.pw-price .pw-btn { margin-top: auto; justify-content: center; }

/* ------------------------------------------------------ Vergleichsband */

.pw-versus { background: var(--pw-black); color: var(--pw-white); }
.pw-versus__head { text-align: center; margin-bottom: var(--pw-space-48); }

.pw-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; }

.pw-split__side { padding: var(--pw-space-48); }
.pw-split__side--dark { background: var(--pw-black); color: var(--pw-white); }
.pw-split__side--light { background: var(--pw-light-grey); color: var(--pw-black); }

.pw-split__kicker {
  font-size: var(--pw-body-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pw-split__brand {
  font-family: var(--pw-font-headline);
  font-weight: 700;
  font-size: var(--pw-h2);
  line-height: var(--pw-lh-h2);
  text-transform: none;
  margin: 0 0 6px;
}

.pw-split__logo { width: 100%; max-width: 230px; margin-bottom: 6px; }
.pw-split__logo img { width: 100%; height: auto; }

.pw-split__lead { margin-bottom: var(--pw-space-24); }
.pw-split__side .pw-btn { margin-top: var(--pw-space-24); }

.pw-split__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--pw-black);
  border: 4px solid var(--pw-white);
  color: var(--pw-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pw-font-headline);
  font-weight: 700;
  font-size: var(--pw-h3);
  letter-spacing: 0.04em;
}

/* ---------------------------------------------------------------- Teaser */

.pw-teaser { background: var(--pw-black); color: var(--pw-white); }
.pw-teaser__grid { align-items: center; }
.pw-teaser__text { grid-column: 1 / span 6; }
.pw-teaser__side { grid-column: 7 / span 6; }
.pw-teaser__side .pw-slot { aspect-ratio: 4 / 3; }
.pw-teaser__sub { margin-top: var(--pw-space-24); }
.pw-teaser__actions { margin-top: var(--pw-space-48); flex-direction: column; align-items: flex-start; gap: 20px; }

/* ---------------------------------------------------------------- ESTATE */

.pw-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 var(--pw-space-48);
  padding: 0;
  font-size: var(--pw-body-small);
}

.pw-crumbs a { text-decoration: none; }
.pw-crumbs li + li::before { content: "> "; }

.pw-detail__intro { margin-top: var(--pw-space-24); }

.pw-devices { margin-top: var(--pw-space-48); }
.pw-devices__desktop .pw-slot { aspect-ratio: 16 / 10; }

.pw-devices__row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--pw-grid-gutter);
  margin-top: var(--pw-grid-gutter);
}

.pw-devices__row .pw-slot { aspect-ratio: 4 / 3; }

.pw-impressions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pw-grid-gutter); }
.pw-impressions .pw-slot { aspect-ratio: 16 / 9; }

.pw-cta-box {
  border: 1px solid var(--pw-light-grey);
  padding: var(--pw-space-48) var(--pw-space-24);
  text-align: center;
}

.pw-cta-box p { margin-top: 12px; }
.pw-cta-box .pw-btn { margin-top: var(--pw-space-48); }

/* ---------------------------------------------------------------- Footer */

.pw-footer {
  background: var(--pw-black);
  color: var(--pw-white);
  padding-top: var(--pw-space-48);
  padding-bottom: var(--pw-space-48);
}

.pw-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pw-space-24);
}

.pw-footer .pw-brand__mark { height: 34px; }
.pw-footer .pw-brand__word { font-size: 19px; }

.pw-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pw-space-24);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--pw-body-small);
}

.pw-footer__links a { text-decoration: none; }
.pw-footer__links a:hover { color: var(--pw-yellow); }

/* ------------------------------------------------------------- Animation */

.pw-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.pw-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pw-reveal { opacity: 1; transform: none; transition: none; }
  .pw-card img, .pw-card:hover img { transition: none; transform: none; }
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
  .pw-features, .pw-features--four { grid-template-columns: repeat(2, 1fr); }
  .pw-gallery { grid-template-columns: repeat(2, 1fr); }
  .pw-impressions { grid-template-columns: repeat(2, 1fr); }
  .pw-prices { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --pw-section-space: 72px; }

  .pw-hero__text, .pw-hero__visual,
  .pw-teaser__text, .pw-teaser__side { grid-column: 1 / -1; }

  .pw-hero__visual, .pw-teaser__side { margin-top: var(--pw-space-48); }

  .pw-split { grid-template-columns: 1fr; }
  .pw-split__badge { top: 50%; }
  .pw-devices__row { grid-template-columns: 1fr; }
  .pw-nav__menu { display: none; }
}

@media (max-width: 640px) {
  .pw-features, .pw-features--four { grid-template-columns: 1fr; }
  .pw-gallery { grid-template-columns: 1fr; }
  .pw-impressions { grid-template-columns: 1fr; }
  .pw-split__side { padding: var(--pw-space-24); }
  .pw-btn { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Branchen-Unterseiten
   ========================================================================== */

/* ------------------------------------------------------- Screenshot + Lupen */

.pw-shotgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pw-space-48);
  align-items: start;
}

.pw-shot {
  position: relative;
  margin: 0;
  background: var(--pw-white);
  line-height: 0;
}

.pw-shot img { width: 100%; height: auto; }

/* Lupe: Kreis mit Nummer, sitzt prozentual auf dem Screenshot */
.pw-lupe {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--pw-black);
  border-radius: 50%;
  background: var(--pw-yellow);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.pw-lupe:hover { transform: translate(-50%, -50%) scale(1.12); }

.pw-lupe__num {
  font-family: var(--pw-font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--pw-black);
}

.pw-lupe.is-active {
  background: var(--pw-black);
  border-color: var(--pw-yellow);
}

.pw-lupe.is-active .pw-lupe__num { color: var(--pw-yellow); }

.pw-notes { list-style: none; margin: 0; padding: 0; counter-reset: none; }

.pw-note {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.pw-note__num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 2px solid var(--pw-black);
  border-radius: 50%;
  background: var(--pw-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.pw-note h3 { margin-bottom: 4px; }

.pw-note.is-active .pw-note__num { background: var(--pw-black); color: var(--pw-yellow); }

/* ------------------------------------------------------------------ Ablauf */

.pw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--pw-grid-gutter);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pw-step {
  background: var(--pw-white);
  border: 1px solid var(--pw-light-grey);
  padding: var(--pw-space-24);
}

.pw-step__icon { width: 68px; height: 68px; margin-bottom: 18px; }
.pw-step h3 { margin-bottom: 8px; }

/* ------------------------------------------------------------- Leistungen */

.pw-services {
  columns: 2;
  column-gap: var(--pw-space-48);
  max-width: 900px;
  margin: 0 auto;
}

.pw-services li { break-inside: avoid; }

.pw-hinweis { margin-top: var(--pw-space-24); max-width: 760px; }

/* --------------------------------------------------------- Karten-Button */

.pw-card__start { margin-top: 14px; }

.pw-rocket { width: 20px; height: 20px; }

.pw-gallery--two { grid-template-columns: repeat(2, 1fr); }

/* ---------------------------------------------------------------- Formular */

.pw-form { max-width: 900px; margin: 0 auto; }

.pw-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pw-space-24);
}

.pw-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.pw-field--wide { grid-column: 1 / -1; }

.pw-field label {
  font-size: var(--pw-body-small);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pw-field input,
.pw-field select,
.pw-field textarea {
  font-family: var(--pw-font-body);
  font-size: var(--pw-body);
  color: var(--pw-white);
  background: var(--pw-dark-grey);
  border: 1px solid var(--pw-anthracite, #333);
  border-radius: 0;
  padding: 13px 14px;
}

.pw-field input:focus,
.pw-field select:focus,
.pw-field textarea:focus {
  outline: none;
  border-color: var(--pw-yellow);
}

.pw-field input[readonly] { color: var(--pw-yellow); }

.pw-field--check label {
  flex-direction: row;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.pw-field--check input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }

.pw-field__err {
  display: none;
  font-size: 13px;
  color: var(--pw-yellow);
}

.pw-field.has-error input,
.pw-field.has-error select,
.pw-field.has-error textarea { border-color: var(--pw-yellow); }

.pw-field.has-error .pw-field__err { display: block; }

.pw-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pw-space-24);
  margin-top: var(--pw-space-48);
}

.pw-form__foot .pw-small { max-width: 420px; }

.pw-form__msg {
  margin-top: var(--pw-space-24);
  padding: 16px 18px;
  border: 1px solid var(--pw-yellow);
  font-size: var(--pw-body-small);
}

.pw-form__msg--ok { background: var(--pw-yellow); color: var(--pw-black); }

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
  .pw-steps { grid-template-columns: repeat(2, 1fr); }
  .pw-shotgrid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pw-steps { grid-template-columns: 1fr; }
  .pw-services { columns: 1; }
  .pw-form__grid { grid-template-columns: 1fr; }
  .pw-gallery--two { grid-template-columns: 1fr; }
  .pw-lupe { width: 32px; height: 32px; }
  .pw-lupe__num { font-size: 13px; }
}

/* ==========================================================================
   Vergleichsband: fliessender Ring und Liquid-Balken.
   Optik nach dem PageCharge-Keyvisual. Nur Schwarz, Weiss, Hellgrau
   und pagewerbung-Gelb, kein Gold, keine Farbverlaeufe.
   ========================================================================== */

.pw-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 210px;
  height: 210px;
  pointer-events: none;
}

.pw-ring__svg { width: 100%; height: 100%; overflow: visible; }

.pw-ring__base {
  fill: none;
  stroke: var(--pw-yellow);
  stroke-width: 10;
  opacity: 0.16;
}

.pw-ring__flow {
  fill: none;
  stroke: var(--pw-yellow);
  stroke-width: 13;
  stroke-linecap: round;
}

.pw-ring__flow--thin { stroke-width: 5; opacity: 0.8; }
.pw-ring__flow--inner { stroke-width: 7; opacity: 0.55; }
.pw-ring__flow--outer { stroke-width: 3; opacity: 0.9; }

.pw-ring__spin { transform-origin: 120px 120px; }
.pw-ring__spin--a { animation: pw-spin 9s linear infinite; }
.pw-ring__spin--b { animation: pw-spin-back 14s linear infinite; }
.pw-ring__spin--c { animation: pw-spin 5.5s linear infinite; }

.pw-ring__seam { stroke: var(--pw-yellow); stroke-width: 1; opacity: 0.5; }

.pw-ring__core--dark { fill: var(--pw-black); }
.pw-ring__core--light { fill: var(--pw-light-grey); }

.pw-ring__spark { fill: var(--pw-white); animation: pw-flicker 3.2s ease-in-out infinite; }
.pw-ring__spark--b { fill: var(--pw-yellow); animation-delay: 1.4s; }

.pw-ring__word {
  font-family: var(--pw-font-headline);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.04em;
  text-anchor: middle;
  text-transform: uppercase;
}

.pw-ring__word--light { fill: var(--pw-white); }
.pw-ring__word--dark { fill: var(--pw-black); }

@keyframes pw-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pw-spin-back { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes pw-flicker {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 1; }
}

/* ------------------------------------------------------- Entscheidungsfeld */

.pw-scale { margin-top: var(--pw-space-48); }

.pw-scale__row,
.pw-scale__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.pw-scale__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 16px;
  border: 1px solid var(--pw-yellow);
  border-radius: 0;
  font-family: var(--pw-font-body);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pw-scale__side--dark { background: var(--pw-black); color: var(--pw-white); }
.pw-scale__side--light { background: var(--pw-light-grey); color: var(--pw-black); }
.pw-scale__side:hover { background: var(--pw-yellow); color: var(--pw-black); }

.pw-scale__cap {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pw-scale__sub {
  font-family: var(--pw-font-headline);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  text-transform: none;
}

/* Prozente mittig unter den Feldern, gleiche Breite wie darueber */
.pw-scale__values { margin-top: var(--pw-space-24); }

.pw-scale__val {
  text-align: center;
  font-family: var(--pw-font-headline);
  font-weight: 700;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1;
  color: var(--pw-yellow);
  font-variant-numeric: tabular-nums;
}

.pw-scale__val i { font-style: normal; font-size: 0.48em; margin-left: 4px; }

/* --------------------------------------------------------- Liquid-Balken */

.pw-meter { margin-top: 18px; }

.pw-meter__svg { display: block; width: 100%; height: 82px; }

.pw-meter__track { fill: var(--pw-black); }

.pw-meter__frame {
  fill: none;
  stroke: var(--pw-yellow);
  stroke-width: 2;
  opacity: 0.85;
}

.pw-meter__base { fill: var(--pw-yellow); opacity: 0.42; }

.pw-meter__wave { fill: var(--pw-yellow); opacity: 0.85; }
.pw-meter__wave--a { animation: pw-drift 7s linear infinite; }
.pw-meter__wave--b { opacity: 0.6; animation: pw-drift 11s linear infinite reverse; }

.pw-meter__line {
  fill: none;
  stroke: var(--pw-white);
  stroke-width: 2.5;
  opacity: 0.75;
}

.pw-meter__line--a { animation: pw-drift 5s linear infinite; }
.pw-meter__line--b { stroke-width: 1.6; opacity: 0.5; animation: pw-drift 9s linear infinite reverse; }

.pw-meter__edge {
  stroke: var(--pw-white);
  stroke-width: 3;
  opacity: 0.9;
  transition: transform 0.5s ease;
}

@keyframes pw-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(1200px); }
}

.pw-scale__note { margin-top: 18px; text-align: center; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  .pw-ring__spin--a,
  .pw-ring__spin--b,
  .pw-ring__spin--c,
  .pw-ring__spark,
  .pw-meter__wave,
  .pw-meter__line { animation: none; }
  .pw-meter__edge { transition: none; }
}

@media (max-width: 900px) {
  .pw-ring { width: 150px; height: 150px; }
  .pw-ring__word { font-size: 26px; }
  .pw-meter__svg { height: 62px; }
}

@media (max-width: 640px) {
  .pw-scale__sub { font-size: 18px; }
  .pw-meter__svg { height: 52px; }
}

/* ==========================================================================
   Marke, Footer, KI-Hinweis, Schnellzugriff, Cookies, FAQ, Prosa
   ========================================================================== */

/* ------------------------------------------------------------ Wortmarke */

.pw-brand { align-items: center; }
.pw-brand__text { display: flex; flex-direction: column; line-height: 1; }

.pw-brand__word {
  font-family: var(--pw-font-body);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
}

.pw-brand__by,
.pw-by {
  font-family: var(--pw-font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: 0.75;
  margin-top: 3px;
}

.pw-nav__menu a { text-transform: lowercase; }

/* --------------------------------------------------------------- Footer */

.pw-footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: var(--pw-space-48) var(--pw-grid-gutter);
}

.pw-footer__brandcol { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.pw-footer__head {
  font-family: var(--pw-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pw-yellow);
  margin-bottom: 14px;
}

.pw-footer__list { list-style: none; margin: 0; padding: 0; }
.pw-footer__list li { margin-bottom: 9px; }

.pw-footer__list a {
  font-size: var(--pw-body-small);
  text-decoration: none;
  text-transform: lowercase;
}

.pw-footer__list a:hover { color: var(--pw-yellow); }

.pw-backlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--pw-yellow);
  font-size: var(--pw-body-small);
  text-decoration: none;
  text-transform: lowercase;
}

.pw-backlink img { height: 26px; width: auto; }
.pw-backlink:hover { background: var(--pw-yellow); color: var(--pw-black); }

.pw-footer__seo { margin-top: var(--pw-space-48); }
.pw-footer__seo .pw-small { opacity: 0.6; line-height: 1.9; }

.pw-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pw-space-24);
  margin-top: var(--pw-space-48);
  padding-top: var(--pw-space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pw-footer__bottom .pw-by { display: inline; margin: 0; }

/* ------------------------------------------------------------ KI-Hinweis */

.pw-ki-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 18px;
  padding: 0 7px;
  background: var(--pw-yellow);
  color: var(--pw-black);
  font-family: var(--pw-font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.pw-haski { position: relative; }

.pw-haski > .pw-ki-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  top: auto;
  z-index: 2;
  min-width: 0;
  height: 16px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.pw-ki-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: var(--pw-space-48);
  padding: 16px 18px;
  border: 1px solid rgba(255, 209, 0, 0.4);
  font-size: var(--pw-body-small);
  line-height: 1.6;
}

.pw-ki-note .pw-ki-pill { flex: 0 0 auto; margin-top: 2px; }

/* ------------------------------------------------------- Schnellzugriff */

.pw-rail {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  padding: 4px;
  border: 1px solid rgba(255, 209, 0, 0.35);
  border-left: none;
  border-radius: 0 12px 12px 0;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(8px);
}

.pw-rail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  padding: 0;
  background: transparent;
  color: var(--pw-white);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--pw-font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  opacity: 0.75;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.pw-rail__btn:hover,
.pw-rail__btn[aria-pressed="true"] {
  background: var(--pw-yellow);
  color: var(--pw-black);
  opacity: 1;
}

.pw-rail__btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.pw-rail__wert {
  text-align: center;
  font-family: var(--pw-font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pw-yellow);
  opacity: 0.85;
}

body.pw-hell .pw-rail { background: rgba(255, 255, 255, 0.7); }
body.pw-hell .pw-rail__btn { color: var(--pw-white); }

/* ------------------------------------------------------------- Cookies */

.pw-cookie {
  position: fixed;
  left: 52px;
  bottom: 18px;
  z-index: 70;
  width: min(290px, calc(100vw - 76px));
  background: rgba(13, 13, 13, 0.94);
  color: var(--pw-white);
  border: 1px solid rgba(255, 209, 0, 0.5);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.pw-cookie[hidden] { display: none; }

.pw-cookie__close {
  position: absolute;
  top: 4px;
  right: 10px;
  background: none;
  border: none;
  color: var(--pw-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.pw-cookie__close:hover { opacity: 1; color: var(--pw-yellow); }

.pw-cookie__head {
  font-family: var(--pw-font-headline);
  font-size: 21px;
  text-transform: lowercase;
  margin-bottom: 6px;
}

.pw-cookie .pw-small { font-size: 12px; line-height: 1.5; }
.pw-cookie__list { list-style: none; margin: 12px 0; padding: 0; }
.pw-cookie__list li { margin-bottom: 5px; }

.pw-cookie__list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: lowercase;
}

.pw-cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pw-cookie__btns .pw-btn { padding: 8px 12px; font-size: 11px; }

.pw-linkbtn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ----------------------------------------------------------- Lupenmodus */

body.pw-zoom .pw-shot img,
body.pw-zoom .pw-card__media img { cursor: zoom-in; }

.pw-zoomview {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(13, 13, 13, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pw-space-24);
  overflow: auto;
}

.pw-zoomview[hidden] { display: none; }
.pw-zoomview img { max-width: none; width: min(1600px, 190vw); height: auto; }

.pw-zoomview__close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 91;
}

/* ---------------------------------------------------------------- FAQ */

.pw-faq { max-width: 900px; margin: 0 auto; }

.pw-faq__item { border-bottom: 1px solid var(--pw-light-grey); }

.pw-faq__item summary {
  padding: 20px 0;
  font-family: var(--pw-font-body);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.pw-faq__item summary::-webkit-details-marker { display: none; }
.pw-faq__item summary::after { content: "+"; color: var(--pw-yellow); font-size: 24px; line-height: 1; }
.pw-faq__item[open] summary::after { content: "–"; }
.pw-faq__item p { padding-bottom: 22px; max-width: 70ch; }

/* -------------------------------------------------------------- Prosa */

.pw-prose { max-width: 800px; }
.pw-prose h2 { margin-top: var(--pw-space-48); margin-bottom: 12px; }
.pw-prose p { margin-bottom: 14px; }
.pw-prose a { color: inherit; }

/* --------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
  .pw-footer__cols { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 700px) {
  .pw-footer__cols { grid-template-columns: 1fr 1fr; }
  /* Auf dem Smartphone entfaellt die Leiste komplett */
  .pw-rail { display: none; }
  .pw-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
}


/* ------------------------------------------------- Marke pagewerbung.de */

.pw-pw {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.pw-pw img { height: 1.24em; width: auto; display: inline-block; }

.pw-brand__by { display: inline-flex; align-items: center; gap: 4px; }
.pw-brand__by img { height: 12px; width: auto; }

.pw-seo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--pw-body-small);
  line-height: 1.8;
  opacity: 0.6;
}

.pw-seo-list strong { color: var(--pw-yellow); font-weight: 600; }

/* ------------------------------------------------------------- Hover */

.pw-hover {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pw-space-24);
  background: rgba(13, 13, 13, 0.9);
}

.pw-hover[hidden] { display: none; }

.pw-hover__box {
  position: relative;
  width: min(460px, 100%);
  background: var(--pw-black);
  border: 1px solid var(--pw-yellow);
  padding: var(--pw-space-48) var(--pw-space-24) var(--pw-space-24);
  text-align: center;
  color: var(--pw-white);
}

.pw-hover__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: var(--pw-white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.pw-hover__close:hover { color: var(--pw-yellow); }

.pw-hover__figur {
  width: 130px;
  height: auto;
  margin: 0 auto 10px;
  animation: pw-schweben 4s ease-in-out infinite;
}

.pw-hover__soon {
  font-family: var(--pw-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--pw-yellow);
}

.pw-hover__name {
  font-family: var(--pw-font-headline);
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  text-transform: none;
  margin: 4px 0 2px;
}

.pw-hover__claim {
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 14px;
}

.pw-hover__box .pw-small { opacity: 0.8; max-width: 34ch; margin: 0 auto 22px; }

@keyframes pw-schweben {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .pw-hover__figur { animation: none; }
}

/* ==========================================================================
   Paketdetails, Zahlungsarten, Gutschein, Referenzen, Liquid-Formular,
   Hell-Dunkel-Modus
   ========================================================================== */

.pw-price__mwst {
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: -14px;
  margin-bottom: var(--pw-space-24);
  opacity: 0.7;
}

.pw-umfang { margin-bottom: var(--pw-space-24); border-top: 1px solid var(--pw-light-grey); }

.pw-umfang summary {
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pw-umfang summary::-webkit-details-marker { display: none; }
.pw-umfang summary::after { content: "+"; color: var(--pw-yellow); font-size: 20px; line-height: 1; }
.pw-umfang[open] summary::after { content: "–"; }
.pw-umfang > p { margin-bottom: 14px; }
.pw-umfang__kontakt { margin-top: 12px; padding-bottom: 8px; }
.pw-umfang__kontakt a { font-weight: 600; }

.pw-gutschein {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pw-space-24);
  margin-top: var(--pw-space-48);
  padding: var(--pw-space-24);
  border: 2px dashed var(--pw-yellow);
}

.pw-gutschein__code {
  font-family: var(--pw-font-headline);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--pw-yellow);
  background: var(--pw-black);
  padding: 10px 20px;
}

.pw-zahlung { margin-top: var(--pw-space-48); }

.pw-zahlung__head {
  font-family: var(--pw-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pw-pays { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; }

.pw-pay {
  padding: 9px 16px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

/* ------------------------------------------------------------ Referenzen */

/* Referenzkarten im Liquid-Look */

.pw-refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pw-space-24);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pw-ref {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 209, 0, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.pw-ref::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 90%;
  background:
    radial-gradient(55% 60% at 25% 20%, rgba(255, 209, 0, 0.20), transparent 70%),
    radial-gradient(45% 50% at 85% 0%, rgba(255, 209, 0, 0.12), transparent 70%);
  pointer-events: none;
  animation: pw-fliessen 16s ease-in-out infinite alternate;
}

.pw-ref:hover { transform: translateY(-4px); border-color: var(--pw-yellow); }

.pw-ref > * { position: relative; z-index: 1; }

.pw-ref__shot {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: rgba(13, 13, 13, 0.6);
  overflow: hidden;
}

.pw-ref__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.pw-ref__domain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.92), transparent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pw-yellow);
}

.pw-ref__shot.is-empty .pw-ref__domain { display: none; }

.pw-ref__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: var(--pw-space-24);
}

.pw-ref__body h3 { font-size: 28px; }
.pw-ref__body .pw-btn { margin-top: auto; }

body.pw-hell .pw-ref { background: rgba(13, 13, 13, 0.03); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10); }

/* -------------------------------------------------------- Liquid-Formular */

.pw-form {
  position: relative;
  padding: var(--pw-space-48) var(--pw-space-24);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 209, 0, 0.35);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.pw-form::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -60%;
  height: 140%;
  background:
    radial-gradient(60% 40% at 30% 20%, rgba(255, 209, 0, 0.16), transparent 70%),
    radial-gradient(50% 40% at 80% 10%, rgba(255, 209, 0, 0.10), transparent 70%);
  pointer-events: none;
  animation: pw-fliessen 14s ease-in-out infinite alternate;
}

.pw-form > * { position: relative; z-index: 1; }

@keyframes pw-fliessen {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to   { transform: translate3d(3%, -4%, 0) scale(1.06); }
}

.pw-field input,
.pw-field select,
.pw-field textarea {
  background: rgba(13, 13, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.pw-field input:focus,
.pw-field select:focus,
.pw-field textarea:focus {
  border-color: var(--pw-yellow);
  box-shadow: 0 0 0 3px rgba(255, 209, 0, 0.16);
}

.pw-gutschein-feld {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: var(--pw-space-24);
  padding: 14px 16px;
  border: 1px dashed rgba(255, 209, 0, 0.55);
  border-radius: 12px;
  font-size: var(--pw-body-small);
}

.pw-gutschein-feld strong { color: var(--pw-yellow); letter-spacing: 0.08em; }

.pw-form__msg { border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  .pw-form::before { animation: none; }
}

/* ------------------------------------------------------ Hell-Dunkel-Modus */

body.pw-hell {
  --pw-black: #FFFFFF;
  --pw-dark-grey: #F2F2F2;
  --pw-light-grey: #1A1A1A;
  --pw-white: #0D0D0D;
  background: #FFFFFF;
  color: #0D0D0D;
}

body.pw-hell .pw-section--dark { background: #F2F2F2; color: #0D0D0D; }
body.pw-hell .pw-section--grey { background: #FFFFFF; }
body.pw-hell .pw-nav,
body.pw-hell .pw-footer { background: #0D0D0D; color: #FFFFFF; }
body.pw-hell .pw-card,
body.pw-hell .pw-price,
body.pw-hell .pw-ref { background: #FFFFFF; border-color: rgba(13, 13, 13, 0.14); }
body.pw-hell .pw-split__side--dark { background: #0D0D0D; color: #FFFFFF; }
body.pw-hell .pw-split__side--light { background: #F2F2F2; color: #0D0D0D; }
body.pw-hell .pw-scale__side--dark { background: #0D0D0D; color: #FFFFFF; }
body.pw-hell .pw-scale__side--light { background: #F2F2F2; color: #0D0D0D; }
body.pw-hell .pw-meter__track { fill: #0D0D0D; }
body.pw-hell .pw-form { background: rgba(13, 13, 13, 0.04); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12); }
body.pw-hell .pw-field input,
body.pw-hell .pw-field select,
body.pw-hell .pw-field textarea { background: rgba(255, 255, 255, 0.85); color: #0D0D0D; border-color: rgba(13, 13, 13, 0.18); }
body.pw-hell .pw-haski > .pw-ki-pill { border-color: rgba(13, 13, 13, 0.5); color: rgba(13, 13, 13, 0.5); }

/* ------------------------------------------------------------- Lupenmodus */

.pw-shot img,
.pw-card__media img,
.pw-devices img,
.pw-hero__visual img,
.pw-ref__shot img { cursor: zoom-in; }



@media (max-width: 1100px) {
  .pw-refs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pw-refs { grid-template-columns: 1fr; }
  .pw-gutschein__code { font-size: 30px; }
}

.pw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ------------------------------------------------- Marke mit altem Logo */

.pw-brand__ring {
  height: 0.9em;
  width: auto;
  margin-left: 7px;
  vertical-align: -0.08em;
  display: inline-block;
}

.pw-brand__word { display: inline-flex; align-items: center; }

.pw-footer__pay { margin-top: var(--pw-space-48); }
.pw-footer__pay .pw-small { opacity: 0.7; max-width: 60ch; }
.pw-footer__pay .pw-pay { border-color: rgba(255, 255, 255, 0.35); }

/* PageCharge-Nennungen als Hinweisauslöser erkennbar machen */
.pw-split__brand a {
  text-decoration: none;
  border-bottom: 2px solid var(--pw-yellow);
  padding-bottom: 2px;
}

.pw-split__brand a:hover { color: var(--pw-yellow); }


/* Bei reduzierter Bewegung bleibt der Balken sichtbar, nur ohne Fluss */
.pw-scale[data-ruhig] .pw-meter__wave,
.pw-scale[data-ruhig] .pw-meter__line { animation: none; }
.pw-scale[data-ruhig] .pw-scale__note::after {
  content: " Die Bewegung ist ausgeschaltet, weil Ihr System weniger Animation anfordert.";
  opacity: 0.7;
}

/* ==========================================================================
   Hover, der Assistent
   ========================================================================== */

.pw-hover-figur {
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
  animation: pw-schweben 5s ease-in-out infinite;
}

/* Neben der Hero-Headline, mittelgross */
.pw-h1-hover { position: relative; }

.pw-hover-figur--hero {
  display: inline-block;
  width: 112px;
  vertical-align: middle;
  margin-left: 18px;
  animation-delay: 0.4s;
}

/* Neben einer Seitenüberschrift */
.pw-kopf-hover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pw-space-48);
}

.pw-hover-figur--kopf { width: 100px; flex: 0 0 auto; }

/* Klein über einer Sektionsüberschrift */
.pw-hover-figur--klein {
  width: 68px;
  margin: 18px auto 0;
  display: block;
}

/* Fehlerseite */
.pw-fehler {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: var(--pw-space-48);
  align-items: center;
}

.pw-hover-figur--gross { width: 100%; max-width: 190px; }

@keyframes pw-schweben {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .pw-hover-figur { animation: none; }
}

@media (max-width: 900px) {
  .pw-hover-figur--hero { width: 84px; margin-left: 10px; }
  .pw-kopf-hover { flex-direction: column; align-items: flex-start; gap: var(--pw-space-24); }
  .pw-hover-figur--kopf { width: 80px; }
  .pw-fehler { grid-template-columns: 1fr; }
  .pw-hover-figur--gross { max-width: 140px; }
}

@media (max-width: 560px) {
  .pw-hover-figur--hero { display: block; width: 80px; margin: 14px 0 0; }
}
