/* UNBOND · Einheitliche Nothing-Buttons (lädt als letztes Stylesheet der Landingpage)
   Vorbild: der Kaufbutton in der Kopfzeile – eckig (4 px), dunkel getönt, bordeauxrote Linie,
   Space Mono in Versalien; beim Überfahren bordeaux gefüllt.
   Geändert wird nur die Optik. Texte, Links, Tracking und Layout (Breiten, Raster) bleiben unberührt.
   AUSGENOMMEN ist der Hero-Bereich (.hero-cta, .hero-scroll-link, .hero-secondary): Er behält seine bisherigen Stile.
   Die Selektoren tragen zwei :not(#id) vor, damit sie die älteren ID-Regeln der Stylesheet-Schichten sicher überstimmen. */

:root {
  --nb-red: #7d263f;
  --nb-red-hover: #7d263f;
  --nb-text: #e8e8e8;
  --nb-gold: #d2a63b;
  --nb-arrow: #d9879d;
}

/* ── Grundform: alle Knöpfe außer Hero ── */
html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta, .lookinside-cta, .rc-modules-toggle, .akut-bruecke-btn, .cookie-button, .cookie-save):not(.hero-cta) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .45em;
  box-sizing: border-box;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--nb-red) !important;
  border-radius: 4px !important;
  background: rgba(125, 38, 63, .13) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  color: var(--nb-text) !important;
  font-family: "Space Mono", monospace !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .065em !important;
  line-height: 1.25 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background-color .18s cubic-bezier(.25, .1, .25, 1), border-color .18s cubic-bezier(.25, .1, .25, 1), color .18s cubic-bezier(.25, .1, .25, 1) !important;
}

/* Versteckte Knöpfe bleiben versteckt */
html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta, .lookinside-cta, .rc-modules-toggle, .akut-bruecke-btn, .cookie-button, .cookie-save):not(.hero-cta)[hidden] {
  display: none !important;
}

/* ── Hover: bordeaux gefüllt ── */
html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta, .lookinside-cta, .rc-modules-toggle, .akut-bruecke-btn, .cookie-button, .cookie-save):not(.hero-cta):hover {
  border-color: var(--nb-red-hover) !important;
  background: var(--nb-red) !important;
  box-shadow: none !important;
  color: #fff !important;
  transform: none !important;
}

/* ── Tastaturfokus ── */
html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta, .lookinside-cta, .rc-modules-toggle, .akut-bruecke-btn, .cookie-button, .cookie-save, .understand-tile):not(.hero-cta):focus-visible {
  outline: 3px solid var(--unbond-teal, #5e9590) !important;
  outline-offset: 4px !important;
}

/* ── Preis im Knopf: Gold zwischen zwei Strichen, wie in der Kopfzeile ── */
html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta):not(.hero-cta) [data-price] {
  display: inline-block;
  margin-inline: .25em;
  padding-inline: .5em;
  border-inline: 1px solid rgba(232, 232, 232, .30) !important;
  color: var(--nb-gold) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  white-space: nowrap;
}
html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta):not(.hero-cta):hover [data-price] {
  border-color: rgba(255, 255, 255, .42) !important;
  color: #fff !important;
}

/* ── Kaufknöpfe im Angebot und im Schluss-CTA etwas größer, gleiche Form ── */
html body:not(#nb1):not(#nb2) :is(.core-cta, .ed-cta, .price-cta):not(.hero-cta) {
  min-height: 54px;
  padding: 14px 24px;
  font-size: .84rem !important;
}

/* ── Cookie-Knöpfe etwas kleiner ── */
html body:not(#nb1):not(#nb2) :is(.cookie-button, .cookie-save) {
  min-height: 44px;
  padding: 9px 14px;
  font-size: .74rem !important;
}

/* ── Wissensbereich-Kachel (Abschnitt „Du möchtest zuerst verstehen …“) ──
   Eine einzige, ganz anklickbare Rechteckkachel. Aufbau: Beschriftung, Titel, Themenzeile, Pfeilfeld. */
html body:not(#nb1):not(#nb2) .understand-tile {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "kicker go" "title go" "meta go";
  align-items: center;
  gap: 8px 24px;
  box-sizing: border-box;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 24px 26px;
  --ut-green: #5e9590;          /* Salbeigrün wie "Details →" auf den Schmerzpunkt-Karten */
  --ut-green-hover: #5e9590;    /* dunkler, damit weiße Schrift lesbar bleibt */
  --ut-green-light: #5e9590;    /* Beschriftung und Pfeil auf dunklem Grund */
  border: 1px solid var(--ut-green) !important;
  border-radius: 4px !important;
  background: rgba(94, 149, 144, .13) !important;
  box-shadow: none !important;
  color: var(--nb-text) !important;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .18s cubic-bezier(.25, .1, .25, 1), border-color .18s cubic-bezier(.25, .1, .25, 1) !important;
}
html body:not(#nb1):not(#nb2) .understand-tile-kicker {
  grid-area: kicker;
  font-family: "Space Mono", monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ut-green-light);
}
html body:not(#nb1):not(#nb2) .understand-tile-title {
  grid-area: title;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
html body:not(#nb1):not(#nb2) .understand-tile-meta {
  grid-area: meta;
  font-family: "Space Mono", monospace;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #b9b9b9;
}
html body:not(#nb1):not(#nb2) .understand-tile-go {
  grid-area: go;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ut-green);
  border-radius: 4px;
  color: var(--ut-green-light);
  font-family: "Space Mono", monospace;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .18s cubic-bezier(.25, .1, .25, 1), border-color .18s cubic-bezier(.25, .1, .25, 1), color .18s cubic-bezier(.25, .1, .25, 1);
}
html body:not(#nb1):not(#nb2) .understand-tile:hover {
  border-color: var(--ut-green) !important;
  background: var(--ut-green-hover) !important;
}
html body:not(#nb1):not(#nb2) .understand-tile:hover :is(.understand-tile-kicker, .understand-tile-meta) { color: #fff; }
html body:not(#nb1):not(#nb2) .understand-tile:hover .understand-tile-go { border-color: rgba(255, 255, 255, .5); color: #fff; transform: translateX(3px); }

/* ── Mobil ── */
@media (max-width: 760px) {
  html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta, .lookinside-cta, .rc-modules-toggle, .akut-bruecke-btn):not(.hero-cta) {
    font-size: .74rem !important;
  }
  html body:not(#nb1):not(#nb2) :is(.core-cta, .ed-cta, .price-cta):not(.hero-cta) {
    min-height: 54px;
    padding: 13px 18px;
  }
}
@media (max-width: 560px) {
  html body:not(#nb1):not(#nb2) .understand-tile {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "kicker" "title" "meta" "go";
    gap: 8px;
    padding: 20px;
  }
  html body:not(#nb1):not(#nb2) .understand-tile-go { justify-self: start; margin-top: 8px; }
}

/* ── Footer: nur Marke und Rechtliches (zwei statt drei Spalten) ── */
@media (min-width: 900px) {
  html body:not(#nb1):not(#nb2) .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  html body:not(#nb1):not(#nb2) .site-footer .footer-legal { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  html body:not(#nb1):not(#nb2) :is(.button, .core-cta, .ed-cta, .price-cta, .lookinside-cta, .rc-modules-toggle, .akut-bruecke-btn, .cookie-button, .cookie-save):not(.hero-cta),
  html body:not(#nb1):not(#nb2) :is(.understand-tile, .understand-tile-go) {
    transition: none !important;
  }
}
