/* ============================================================================
   BEAUTY4YOU — STYLESHEET
   ----------------------------------------------------------------------------
   Helles System "Warmes Atelier". Tiefe entsteht durch Flaechenwechsel
   (Cream / Sand / Paper), Haarlinien und Weissraum — nicht durch Glow,
   Verlaeufe oder Schatten.
   Farbwerte kommen ausschliesslich aus assets/css/tokens.css.
   Diese Datei wird von allen Sprachversionen geteilt: eine Aenderung hier
   wirkt in de/en/tr/fr/es/it gleichzeitig.
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--b4y-font-sans);
  background: var(--b4y-cream);
  color: var(--b4y-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--b4y-font-display);
  color: var(--b4y-ink);
  text-wrap: balance;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--b4y-caramel-deep); outline-offset: 3px; }

/* ----------------------------------------------------------------------------
   TEXT- UND FLAECHEN-HILFSKLASSEN
   Ersetzen die frueheren Dark-Mode-Utilities (text-gray-400, text-white, ...).
   -------------------------------------------------------------------------- */
.t-ink     { color: var(--b4y-ink); }
.t-soft    { color: var(--b4y-ink-soft); }
.t-body    { color: var(--b4y-body); }
.t-muted   { color: var(--b4y-muted); }
.t-accent  { color: var(--b4y-caramel-deep); }

.hov-accent { transition: color .2s ease; }
.hov-accent:hover { color: var(--b4y-caramel-deep); }

.hov-tint  { transition: background .2s ease; }
.hov-tint:hover { background: var(--b4y-sand); }

.surf-soft   { background: var(--b4y-sand); }
.surf-accent { background: var(--b4y-clay); }
.surf-paper  { background: var(--b4y-paper); }

.b-line   { border-color: var(--b4y-line); }
.b-accent { border-color: var(--b4y-line-strong); }

/* Sektionsbaender: der Wechsel Cream -> Sand ersetzt die alten
   Schwarzverlaeufe und traegt die vertikale Gliederung der Seite. */
.band-sand { background: var(--b4y-sand); }

/* Elemente, die es im hellen System nicht mehr gibt (Blur-Glows hinter
   Mockups und CTA-Flaechen). Nicht geloescht, damit das Markup mit den
   Uebersetzungen deckungsgleich bleibt. */
.u-hide { display: none !important; }

/* ----------------------------------------------------------------------------
   HERVORHEBUNG IN UEBERSCHRIFTEN
   Frueher ein Farbverlauf im Text. Auf Creme ist das unlesbar und wirkt
   billig — jetzt eine zweite, waermere Tintenstufe.
   -------------------------------------------------------------------------- */
.text-gradient {
  color: var(--b4y-body);
  -webkit-text-fill-color: currentColor;
  background: none;
}

/* ----------------------------------------------------------------------------
   BUTTONS
   Flach, 4px Radius, kein Shimmer, kein Lift. Karamell traegt genau einen
   Button pro Bildschirm. Textfarbe ist Ink, nicht Weiss: Weiss auf Karamell
   erreicht nur 2,2:1 Kontrast und ist nicht lesbar.
   -------------------------------------------------------------------------- */
.btn-primary {
  background: var(--b4y-caramel);
  color: var(--b4y-ink);
  padding: 15px 34px;
  border-radius: var(--b4y-radius-control);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--b4y-caramel);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.btn-primary:hover {
  background: var(--b4y-caramel-deep);
  border-color: var(--b4y-caramel-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--b4y-ink);
  padding: 15px 34px;
  border-radius: var(--b4y-radius-control);
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--b4y-line-strong);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.btn-secondary:hover {
  border-color: var(--b4y-ink-soft);
  background: var(--b4y-paper);
}

/* ----------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 244, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--b4y-line);
  color: var(--b4y-ink);
  transition: background .3s ease, border-color .3s ease;
}
nav.scrolled {
  background: rgba(253, 248, 244, .97);
  border-bottom-color: var(--b4y-line-strong);
}

/* ----------------------------------------------------------------------------
   KARTEN
   Paper auf Cream, Haarlinie statt Schatten, kein Backdrop-Blur.
   Beim Hover wandert die Linie eine Stufe dunkler — mehr passiert nicht.
   -------------------------------------------------------------------------- */
.feature-card,
.testimonial-card {
  background: var(--b4y-paper);
  border: 1px solid var(--b4y-line);
  border-radius: var(--b4y-radius-card);
  padding: 36px;
  transition: border-color .25s ease;
}
.feature-card:hover,
.testimonial-card:hover { border-color: var(--b4y-line-strong); }

.gradient-border {
  position: relative;
  background: var(--b4y-clay);
  border: 1px solid var(--b4y-line-strong);
}
.gradient-border::before { content: none; }

/* Icon-Kreise: Clay-Flaeche, beim Hover der Karte Karamell.
   Kein Verlauf, keine Rotation. */
.icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b4y-clay);
  border: 1px solid var(--b4y-line);
  color: var(--b4y-ink);
  margin-bottom: 24px;
  font-size: 28px;
  transition: background .25s ease, border-color .25s ease;
}
.feature-card:hover .icon-circle {
  background: var(--b4y-peach);
  border-color: var(--b4y-caramel);
}

/* ----------------------------------------------------------------------------
   GERAETE-MOCKUP — der einzige Ort mit Schatten auf der Seite
   -------------------------------------------------------------------------- */
.phone-mockup {
  width: 300px;
  max-width: 100%;
  height: 600px;
  background: var(--b4y-paper);
  border: 1px solid var(--b4y-line-strong);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--b4y-shadow-media);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--b4y-sand);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--b4y-ink);
  border-radius: 0 0 20px 20px;
  z-index: 2;
}

.glow,
.glow-soft { box-shadow: none; }

/* ----------------------------------------------------------------------------
   SCREENSHOT-GALERIE
   -------------------------------------------------------------------------- */
.screenshot-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
}
.screenshot-gallery::-webkit-scrollbar { height: 8px; }
.screenshot-gallery::-webkit-scrollbar-track {
  background: var(--b4y-clay);
  border-radius: 10px;
}
.screenshot-gallery::-webkit-scrollbar-thumb {
  background: var(--b4y-caramel);
  border-radius: 10px;
}
.screenshot-item {
  min-width: 220px;
  height: 480px;
  background: var(--b4y-paper);
  border: 1px solid var(--b4y-line);
  border-radius: var(--b4y-radius-media);
  scroll-snap-align: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color .25s ease;
}
.screenshot-item:hover { border-color: var(--b4y-line-strong); }

.stars { color: var(--b4y-caramel-deep); }

/* ----------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon { transition: transform .3s ease; color: var(--b4y-caramel-deep); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }

/* ----------------------------------------------------------------------------
   HINTERGRUND-WASCHUNG IM HERO
   Kein Glow mehr, sondern eine sehr flache warme Waschung, die den oberen
   Rand aus dem flaechigen Creme herausholt.
   -------------------------------------------------------------------------- */
.hero-gradient {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .5;
  pointer-events: none;
}
.hero-gradient-1 { background: var(--b4y-peach); top: -260px; right: -240px; }
.hero-gradient-2 { background: var(--b4y-clay);  bottom: -260px; left: -240px; }

/* ----------------------------------------------------------------------------
   ANIMATIONEN (unveraendert uebernommen — das Skript in index.html
   haengt an .scroll-reveal / .hidden-before-reveal / .revealed)
   -------------------------------------------------------------------------- */
@keyframes float     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn   { from { opacity: 0; transform: scale(.9); }        to { opacity: 1; transform: scale(1); } }

.animate-float    { animation: float 6s ease-in-out infinite; }
.animate-fadeInUp { animation: fadeInUp .8s ease-out forwards; }
.animate-scaleIn  { animation: scaleIn .6s ease-out forwards; }

.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.scroll-reveal.hidden-before-reveal { opacity: 0; transform: translateY(50px); }
.scroll-reveal.revealed             { opacity: 1; transform: translateY(0); }

.parallax { transition: transform .1s ease-out; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .scroll-reveal.hidden-before-reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------------------
   MOBIL
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Auf dem Handy schwebt nichts: das Mockup steht still, damit der
     Play-Button ein ruhiges Ziel fuer den Daumen ist. */
  .animate-float { animation: none; }
  .phone-mockup { width: 250px; height: 500px; }
  .hero-gradient { width: 300px; height: 300px; }
  .feature-card, .testimonial-card { padding: 26px; }
}


/* ----------------------------------------------------------------------------
   RECHTSSEITEN (Impressum, Datenschutz, AGB)
   Reine Lesetypografie: eine Spalte, feste Lesebreite, Haarlinien als
   Gliederung. Kein Karamell ausser in Links.
   -------------------------------------------------------------------------- */
.legal-page { padding: 132px 0 96px; }
.legal-shell {
  max-width: 780px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}
.legal-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--b4y-caramel-deep);
  margin-bottom: 1rem;
}
.legal-shell h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.legal-meta {
  color: var(--b4y-muted);
  font-size: .9375rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--b4y-line);
  margin-bottom: 2.5rem;
}
.legal-shell h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--b4y-line);
}
.legal-shell h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-shell h3 {
  font-family: var(--b4y-font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--b4y-ink-soft);
  margin: 1.75rem 0 .5rem;
}
.legal-shell p { margin-bottom: 1rem; max-width: 68ch; }
.legal-shell ul { margin: 0 0 1.25rem 1.1rem; max-width: 68ch; }
.legal-shell li { margin-bottom: .4rem; }
.legal-shell a { color: var(--b4y-caramel-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-shell a:hover { color: var(--b4y-ink-soft); }
.legal-shell strong { color: var(--b4y-ink); font-weight: 600; }
.legal-address {
  background: var(--b4y-paper);
  border: 1px solid var(--b4y-line);
  border-radius: var(--b4y-radius-card);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.legal-note {
  background: var(--b4y-sand);
  border-left: 3px solid var(--b4y-caramel);
  border-radius: 0 var(--b4y-radius-card) var(--b4y-radius-card) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: .9375rem;
}
.legal-note p:last-child { margin-bottom: 0; }
.legal-back {
  display: inline-block;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--b4y-line);
  width: 100%;
  font-size: .9375rem;
}

/* ----------------------------------------------------------------------------
   MOBILE NAVIGATION
   Die Seite hatte auf dem Handy ueberhaupt kein Menue: die Links hingen an
   "hidden md:flex", ein Umschalter fehlte. Unter 768px uebernimmt jetzt ein
   Button, darueber bleibt die Leiste wie sie war.
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;              /* Touch-Ziel, nicht kleiner */
  height: 44px;
  border: 1px solid var(--b4y-line);
  border-radius: var(--b4y-radius-control);
  background: transparent;
  color: var(--b4y-ink);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover { border-color: var(--b4y-line-strong); background: var(--b4y-paper); }
.nav-toggle .bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars span {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span    { top: 6.25px; }
.nav-toggle .bars::after  { bottom: 0; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span    { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6.25px) rotate(-45deg); }

#mobile-menu {
  display: none;
  border-top: 1px solid var(--b4y-line);
  background: var(--b4y-cream);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
#mobile-menu .mm-inner { padding: 8px 24px 24px; }
#mobile-menu a {
  display: block;
  padding: 14px 0;            /* 44px+ Zeilenhoehe fuer den Daumen */
  color: var(--b4y-ink-soft);
  border-bottom: 1px solid var(--b4y-line);
  font-size: 1.0625rem;
}
#mobile-menu a:last-child { border-bottom: 0; }
#mobile-menu a:hover,
#mobile-menu a:focus-visible { color: var(--b4y-caramel-deep); }
#mobile-menu .mm-label {
  display: block;
  margin-top: 22px;
  margin-bottom: 4px;
  font-size: .6875rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--b4y-muted);
}
#mobile-menu a[aria-current="true"] { color: var(--b4y-caramel-deep); font-weight: 600; }

/* ----------------------------------------------------------------------------
   SPRACHMENUE
   Vorher rein per :hover geoeffnet — auf einem Touchscreen nicht bedienbar.
   Jetzt per Klick, auf allen Geraeten.
   -------------------------------------------------------------------------- */
.lang-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

/* Die Grenze zwischen Burger und ausgeschriebener Leiste liegt bei 1024 px,
   nicht bei Tailwinds 768. Grund: mit acht Punkten braucht der Linkblock
   555 px, auf einem 768er iPad bleiben nach Logo und Sprachwahl aber nur
   528 - die Leiste wurde dort zweizeilig. Deshalb uebernimmt bis 1023 px
   das Burger-Menue, das ohnehin dieselben acht Links enthaelt. */
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  #mobile-menu.is-open { display: block; }
  #navbar .nav-links { display: none; }
  /* Sprachwahl bleibt sichtbar und steht links vom Menue-Button. */
  .lang-switch #lang-button { padding: 10px 12px; }   /* groesseres Touch-Ziel */
  .lang-menu { width: 11rem; }
}
@media (min-width: 1024px) {
  #mobile-menu { display: none !important; }
}


/* ----------------------------------------------------------------------------
   HERO-VIDEO
   Das Video ist mit Abstand die schwerste Datei der Seite. Auf dem Desktop
   startet es wie bisher automatisch; auf dem Handy wird zuerst nur das
   Vorschaubild gezeigt und die Datei erst auf Tippen geladen. Bei
   aktiviertem Datensparen oder 2G bleibt es auch am Desktop beim Bild.
   -------------------------------------------------------------------------- */
.video-holder { position: relative; cursor: pointer; }
.video-holder.is-playing { cursor: default; }

.video-play {
  position: absolute;
  left: 50%;
  top: 68%;                 /* unterhalb des Schriftzugs im Poster */
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--b4y-caramel);
  box-shadow: 0 6px 20px rgba(74, 44, 26, .18);
  background: rgba(253, 248, 244, .92);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.video-play::before {
  content: '';
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--b4y-ink);
}
.video-play:hover { background: var(--b4y-peach); }
.video-play:active { transform: translate(-50%, -50%) scale(.95); }
.video-holder.is-playing .video-play { display: none; }

/* ----------------------------------------------------------------------------
   PLATTFORM-AUSWAHL
   Der Haupt-CTA fuehrte vorher direkt in den App Store, Android-Nutzer
   standen daneben. Jetzt fragt ein kleiner Dialog, womit sie starten wollen;
   das erkannte Geraet steht oben und ist markiert.
   -------------------------------------------------------------------------- */
.store-dialog {
  /* Das globale "* { margin: 0 }" ganz oben killt die Zentrierung, die der
     Browser fuer <dialog> vorsieht - deshalb hier ausdruecklich zurueck. */
  margin: auto;
  width: min(420px, calc(100vw - 32px));
  padding: 32px;
  border: 1px solid var(--b4y-line);
  border-radius: var(--b4y-radius-card);
  background: var(--b4y-paper);
  color: var(--b4y-body);
  box-shadow: 0 28px 70px rgba(74, 44, 26, .22);
}
.store-dialog::backdrop { background: rgba(74, 44, 26, .38); }
.store-dialog h2 {
  font-family: var(--b4y-font-display);
  font-size: 1.625rem;
  line-height: 1.2;
  margin-bottom: .5rem;
  padding-right: 28px;
}
.store-dialog-note {
  font-size: .9375rem;
  color: var(--b4y-muted);
  margin-bottom: 1.75rem;
}
.store-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  font-size: 1.5rem;
  line-height: 1;
  border: 0;
  background: transparent;
  color: var(--b4y-muted);
  cursor: pointer;
  border-radius: var(--b4y-radius-control);
}
.store-dialog-close:hover { color: var(--b4y-ink); background: var(--b4y-sand); }

.store-dialog-options { display: flex; flex-direction: column; gap: 12px; }

.store-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--b4y-line-strong);
  border-radius: var(--b4y-radius-control);
  background: var(--b4y-cream);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.store-option:hover { border-color: var(--b4y-caramel); background: var(--b4y-sand); }


/* Erkanntes Geraet: Karamellrahmen und ein kleines Etikett */
.store-option.is-suggested { border-color: var(--b4y-caramel); background: var(--b4y-sand); }
.store-option.is-suggested::after {
  content: attr(data-badge);
  position: absolute;
  top: -9px;
  right: 14px;
  padding: 2px 8px;
  font-size: .625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--b4y-ink);
  background: var(--b4y-caramel);
  border-radius: 999px;
}

@media (max-width: 480px) {
  .store-dialog { padding: 26px 20px; }
  .store-dialog h2 { font-size: 1.375rem; }
}

/* ----------------------------------------------------------------------------
   OFFIZIELLE STORE-BADGES
   Apple und Google stellen ihre Badges als fertige Dateien bereit; beide
   Marken duerfen nicht nachgezeichnet werden. Die Dateien liegen als
   assets/images/apple_logo.svg und assets/images/google_logo.png.

   Ausgemessen:
     Apple  119,66 x 40 px, randlos             -> sichtbar 2,99:1
     Google 646 x 250 px, davon 646 x 192 sichtbar (oben und unten je 29 px
            Freiraum im Bild, seitlich keiner)  -> sichtbar 3,37:1
   Damit beide gleich hoch WIRKEN, ist Google rund 1,125x breiter gesetzt und
   der mitgelieferte Freiraum per negativem Aussenabstand oben/unten abgezogen
   (etwa 4,5 % der Bildbreite). Nur vertikal - seitlich hat Google keinen Rand.
   Fehlt eine Datei, springt ueber onerror die Textfassung ein.
   -------------------------------------------------------------------------- */
.store-badge-img { display: block; height: auto; }
.badge-apple  { width: 150px; }
.badge-google { width: 169px; margin-block: -8px; }

.store-badge-link {
  display: inline-block;
  border-radius: var(--b4y-radius-control);
  transition: opacity .2s ease;
}
.store-badge-link:hover { opacity: .82; }
.store-badge-link .badge-apple  { width: 180px; }
.store-badge-link .badge-google { width: 202px; margin-block: -9px; }

/* Optionen im Auswahl-Dialog: Badge oben, Geraetezeile darunter */
.store-option {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px;
}
.store-option-sub { color: var(--b4y-muted); font-size: .875rem; line-height: 1.3; }

/* Textfassung nur zeigen, wenn das Badge-Bild fehlt */
.store-badge-fallback {
  display: none;
  font-family: var(--b4y-font-display);
  font-size: 1.25rem;
  color: var(--b4y-ink);
}
.store-option.no-badge .store-badge-img { display: none; }
.store-option.no-badge .store-badge-fallback { display: block; }

@media (max-width: 480px) {
  .store-badge-link .badge-apple  { width: 158px; }
  .store-badge-link .badge-google { width: 178px; margin-block: -8px; }
}

/* ============================================================
   PREISE
   Zwei Karten. Die jaehrliche ist hervorgehoben, weil sie die
   guenstigere ist - der Rechenweg (25,00 EUR im Monat) geht
   sonst in der groesseren Zahl unter.
   Haken in ink-soft statt caramel: auf Weiss kaeme caramel-deep
   nur auf 3,2:1, und ein Haken traegt hier Bedeutung.
   ============================================================ */
.price-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    max-width: 840px;
    margin-inline: auto;
}

.price-card {
    position: relative;
    background: var(--b4y-paper);
    border: 1px solid var(--b4y-line);
    border-radius: var(--b4y-radius-card);
    padding: 38px 32px 34px;
    display: flex;
    flex-direction: column;
}

.price-card--featured {
    border-color: var(--b4y-caramel);
    box-shadow: 0 10px 40px rgba(184, 132, 90, .16);
}

.price-flag {
    position: absolute;
    top: -13px;
    left: 32px;
    background: var(--b4y-caramel);
    color: var(--b4y-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 999px;
    white-space: nowrap;
}

.price-term {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--b4y-muted);
    margin-bottom: 14px;
}

.price-amount {
    font-family: var(--b4y-font-display);
    font-size: 44px;
    line-height: 1;
    color: var(--b4y-ink);
}

.price-unit {
    font-size: 16px;
    color: var(--b4y-muted);
    margin-left: 7px;
}

.price-sub {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--b4y-body);
}

.price-list {
    margin-top: auto;
    padding-top: 24px;
    display: grid;
    gap: 11px;
    list-style: none;
}

.price-list::before {
    content: "";
    display: block;
    border-top: 1px solid var(--b4y-line);
    margin-bottom: 13px;
}

.price-list li {
    font-size: 15px;
    color: var(--b4y-body);
    padding-left: 27px;
    position: relative;
}

.price-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--b4y-ink-soft);
    font-weight: 700;
}

.price-note {
    max-width: 780px;
    margin: 30px auto 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--b4y-muted);
    text-align: center;
}

@media (max-width: 480px) {
    .price-card  { padding: 34px 22px 30px; }
    .price-amount { font-size: 38px; }
    .price-flag  { left: 22px; }
}

/* ============================================================
   NAVIGATION AUF MITTLEREN BREITEN
   Mit "Preise" sind es acht Punkte. Zwischen 768 und 1279 px
   brach die Leiste dadurch auf zwei Zeilen um. Dort tritt der
   Claim zurueck - er ist Zierde, die Links sind es nicht - und
   die Abstaende ruecken von 2rem auf 1,5rem zusammen.
   Gemessen bei 1024 px: Linkblock 626 statt 682 px, passt.
   ============================================================ */
@media (min-width: 768px) and (max-width: 1279px) {
    #navbar .nav-claim { display: none; }

    #navbar .nav-links { gap: 1.5rem; }
    #navbar .nav-links > a + a { margin-left: 0; }
}
