/*
Theme Name:  Silent Truths
Theme URI:   https://www.silent-truths.com
Author:      SilentTruths
Author URI:  https://www.silent-truths.com
Description: Custom Theme fuer silent-truths.com. Dark, minimal, purple-accented emotional content blog.
Version:     2.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silent-truths
*/

/* ====================================================================
   LOKALE FONTS — DSGVO-KONFORM
   Fonts herunterladen: https://gwfh.mranftl.com/fonts/noto-serif
                        https://gwfh.mranftl.com/fonts/montserrat
   Benoetigt: Noto Serif 400/400i/700/700i + Montserrat 300/400/500/600
   Ablegen unter: wp-content/themes/silent-truths/fonts/
   ==================================================================== */

@font-face {
  font-family: 'Noto Serif';
  src: url('fonts/NotoSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif';
  src: url('fonts/NotoSerif-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif';
  src: url('fonts/NotoSerif-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif';
  src: url('fonts/NotoSerif-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ====================================================================
   RESET + CUSTOM PROPERTIES
   ==================================================================== */

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

:root {
  --black:              #000000;
  --dark:               #0a0a0a;
  --card:               #111111;
  --card-border:        #1a1a1a;
  --white:              #ffffff;
  --grey:               #cccccc;
  --muted:              #888888;
  --purple:             #9b59b6;
  --purple-bright:      #a855f7;
  --purple-glow:        rgba(168, 85, 247, 0.25);
  --purple-glow-strong: rgba(168, 85, 247, 0.45);
  --serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ====================================================================
   ANIMATIONEN
   ==================================================================== */

/* Ruhiger, gleichmaessiger Light-Sweep fuer die Free-Download-Box */
@keyframes st-lauflicht {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ====================================================================
   SIGNATURE GLOW LINE
   ==================================================================== */

.glow-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 10%,
    rgba(168, 85, 247, 0.0)  20%,
    rgba(168, 85, 247, 0.7)  40%,
    rgba(200, 140, 255, 1)   50%,
    rgba(168, 85, 247, 0.7)  60%,
    rgba(168, 85, 247, 0.0)  80%,
    transparent 90%
  );
  position: relative;
}

.glow-line::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 10%;
  right: 10%;
  height: 20px;
  background: radial-gradient(
    ellipse at center,
    rgba(168, 85, 247, 0.5)  0%,
    rgba(168, 85, 247, 0.15) 40%,
    transparent 70%
  );
  filter: blur(4px);
}

.glow-line::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 30%;
  right: 30%;
  height: 9px;
  background: radial-gradient(
    ellipse at center,
    rgba(200, 160, 255, 0.8) 0%,
    rgba(168, 85, 247, 0.3)  50%,
    transparent 80%
  );
  filter: blur(6px);
}

.glow-line--small {
  width: 120px;
  margin: 0 auto;
  height: 2px;
}

.glow-line--small::before {
  left: 0;
  right: 0;
  height: 14px;
  top: -6px;
}

.glow-line--small::after {
  left: 10%;
  right: 10%;
  height: 8px;
  top: -2px;
}

/* ====================================================================
   HEADER / BRANDING
   ==================================================================== */

.site-header {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

/* ── Theme-Logo als Fallback (silenttruths_logo.jpg) ── */

.site-logo-img-link {
  display: inline-block;
  margin-bottom: 0.6rem;
  line-height: 0;
  border-radius: 50%;
}

.site-logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 0 18px var(--purple-glow-strong));
}

/* ── WordPress Custom Logo (the_custom_logo()) ── */

.custom-logo-link {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.custom-logo-link img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 18px var(--purple-glow-strong));
  display: block;
}

/* ── Primärnavigation ── */

.site-nav {
  margin-top: 1rem;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.4rem;
  margin: 0;
  padding: 0;
}

.site-nav__item {
  display: flex;
  align-items: center;
}

.site-nav__link {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.07);
}

/* WordPress nav fallback */
.site-nav ul.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.4rem;
  margin: 0;
  padding: 0;
}

.site-nav ul.menu li a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
  display: block;
}

.site-nav ul.menu li a:hover,
.site-nav ul.menu li.current-menu-item > a {
  color: var(--purple-bright);
  background: rgba(168, 85, 247, 0.07);
}

/* ── Brand Name ── */

.site-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
  text-decoration: none;
  display: block;
}

.site-name:hover {
  color: var(--grey);
  text-decoration: none;
}

/* ====================================================================
   HERO SECTION
   ==================================================================== */

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 1.4rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--purple-bright);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.85;
  font-weight: 300;
}

/* ====================================================================
   CONTENT AREA
   ==================================================================== */

.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 2.5rem;
}

/* p-Textbereiche: 10px mehr Innenabstand links+rechts für ruhigere Lesbreite */
.content p {
  padding-left: 10px;
  padding-right: 10px;
}

/* ====================================================================
   QUOTE CARD
   Subtiler lila Hintergrundschimmer über verstärktes ::before
   ==================================================================== */

.quote-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2.4rem 2.2rem;
  margin-bottom: 2.5rem;
  position: relative;
  box-shadow:
    0 0 30px rgba(168, 85, 247, 0.08),
    inset 0 0 40px rgba(168, 85, 247, 0.03);
  transition: box-shadow 0.4s ease;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 13px;
  /* Stärkerer Hintergrundschimmer als bisher */
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.14) 0%,
    rgba(168, 85, 247, 0.06) 40%,
    transparent 70%
  );
  z-index: -1;
  opacity: 1;
}

.quote-card:hover {
  box-shadow:
    0 0 40px rgba(168, 85, 247, 0.14),
    inset 0 0 40px rgba(168, 85, 247, 0.04);
}

.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.quote-dash {
  width: 30px;
  height: 2px;
  background: var(--purple-bright);
  border-radius: 2px;
  margin-top: 1rem;
}

/* ====================================================================
   PROSE BLOCKS
   ==================================================================== */

.prose {
  margin-bottom: 2.5rem;
}

.prose p {
  color: var(--grey);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose p strong {
  color: var(--white);
  font-weight: 500;
}

.prose .highlight {
  color: var(--purple-bright);
  font-weight: 500;
}

/* ====================================================================
   SECTION DIVIDER
   ==================================================================== */

.divider {
  width: 40px;
  height: 2px;
  background: var(--purple-bright);
  margin: 3rem auto;
  border-radius: 2px;
  opacity: 0.4;
}

/* ====================================================================
   INLINE FREEBIE CTA  [st_freebie_cta]
   Lauflicht-Rahmen (::after) + verstärkter Hintergrundschimmer
   ==================================================================== */

.inline-cta {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2.5rem 2.2rem 2.2rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  box-shadow:
    0 0 35px rgba(168, 85, 247, 0.09),
    inset 0 0 40px rgba(168, 85, 247, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Subtiler Hintergrundschimmer */
.inline-cta::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 13px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.18) 0%,
    rgba(168, 85, 247, 0.08) 40%,
    transparent 70%
  );
  z-index: -1;
  opacity: 1;
}

/* Ruhiger animierter Light-Sweep nur auf der Free-Download-Box */
.inline-cta::after {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: 13px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 15%,
    rgba(168, 85, 247, 0.4)  40%,
    rgba(200, 140, 255, 0.6) 50%,
    rgba(168, 85, 247, 0.4)  60%,
    transparent 85%,
    transparent 100%
  );
  background-size: 400% 100%;
  animation: st-lauflicht 9s linear infinite;
  will-change: background-position;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.inline-cta-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.6rem;
}

.inline-cta-title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.inline-cta-text {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  max-width: 480px;
  flex: 1;
}

/* ====================================================================
   CTA SECTION — DUAL PRODUCTS
   Lauflicht-Rahmen (::after) + verstärkter Hintergrundschimmer
   ==================================================================== */

.cta-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
  text-align: center;
}

.cta-section-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 2rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Einspaltig wenn nur 1 Karte aktiv — volle Breite */
.cta-grid--single {
  grid-template-columns: 1fr;
}

.cta-grid--single .cta-card {
  max-width: 100%;
  text-align: center;
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.4rem 1.8rem 2.2rem;
  box-shadow:
    0 0 40px rgba(168, 85, 247, 0.09),
    inset 0 0 40px rgba(168, 85, 247, 0.04);
  text-align: center;
  position: relative;
  /* Flexbox: Button bleibt sauber unten */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Subtiler Hintergrundschimmer */
.cta-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 17px;
  background: linear-gradient(
    160deg,
    rgba(168, 85, 247, 0.16) 0%,
    rgba(168, 85, 247, 0.07) 45%,
    transparent 70%
  );
  z-index: -1;
  opacity: 1;
}

/* Statischer lila Schimmer-Rahmen — kein animierter Effekt */
.cta-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(168, 85, 247, 0.35) 0%,
    rgba(168, 85, 247, 0.15) 35%,
    transparent 65%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Kein versetzter Delay mehr noetig */
.cta-card:nth-child(2)::after {
  background: linear-gradient(
    145deg,
    rgba(168, 85, 247, 0.35) 0%,
    rgba(168, 85, 247, 0.15) 35%,
    transparent 65%
  );
  animation: none;
}

.cta-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.65rem;
}

.cta-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 0.8rem;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.cta-card p {
  color: var(--grey);
  font-size: 0.88rem;
  margin-bottom: 1.6rem;
  line-height: 1.75;
  flex: 1; /* füllt Raum, Button bleibt unten */
}

/* ====================================================================
   BUTTONS
   ==================================================================== */

.cta-button {
  /* ── Silent Truths Primary Button — DailyDrop-Qualität ── */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;

  background: linear-gradient(160deg, #b76ef8 0%, #9333ea 55%, #7c22d4 100%);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;

  /* Großzügiges vertikales Padding = Höhe + Präsenz */
  padding: 1rem 2.5rem;
  min-height: 48px;

  border-radius: 100px;
  border: none;
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;

  /* Dreischichtiger Shadow: Ring + Glow + Depth */
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.5),
    0 0 24px rgba(168, 85, 247, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  transition:
    background     0.2s ease,
    box-shadow     0.2s ease,
    transform      0.15s ease,
    opacity        0.2s ease;

  position: relative;
  overflow: hidden;
}

/* Subtiler Licht-Glanz oben im Button */
.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  pointer-events: none;
}

.cta-button:hover {
  background: linear-gradient(160deg, #c27ff9 0%, #a144f0 55%, #8b30e0 100%);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.7),
    0 0 36px rgba(168, 85, 247, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.cta-button:active {
  transform: translateY(0px) scale(0.985);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.55),
    0 0 16px rgba(168, 85, 247, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.45),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transition-duration: 0.08s;
}

.cta-button:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.85);
  outline-offset: 3px;
}

/* Small variant — gleiche Qualität, kompakter */
.cta-button--small {
  font-size: 0.85rem;
  padding: 0.75rem 1.8rem;
  min-height: 40px;
  letter-spacing: 0.06em;
}

/* Outline / Secondary variant */
.cta-button--outline {
  background: rgba(168, 85, 247, 0.06);
  color: var(--grey);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta-button--outline:hover {
  background: rgba(168, 85, 247, 0.12);
  color: var(--white);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.4),
    0 0 20px rgba(168, 85, 247, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* ====================================================================
   HOME / BLOG ARCHIV
   ==================================================================== */

.home-intro {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.home-intro h1 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.home-intro p {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.8;
}

.posts-grid {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2.2rem 2rem 1.8rem;
  position: relative;
  box-shadow:
    0 0 0 0 rgba(168, 85, 247, 0),
    0 1px 3px rgba(0, 0, 0, 0.35);
  transition:
    box-shadow  0.3s ease,
    border-color 0.3s ease,
    transform   0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(168, 85, 247, 0.08) 0%,
    transparent 60%
  );
  z-index: 0;
  pointer-events: none;
}

.post-card:hover {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.15),
    0 0 24px rgba(168, 85, 247, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  text-decoration: none;
}

.post-card-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.7rem;
  opacity: 0.85;
}

.post-card h2,
.post-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.post-card-excerpt {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 0;
  flex: 1;
}

/* ====================================================================
   ACCESSIBILITY + POST META
   ==================================================================== */

/* ── Skip Link (Accessibility) ── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--purple-bright);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.1s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Global Focus Styles ── */

:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus:not(:focus-visible) {
  outline: none;
}

/* ── Post Meta Bar (single.php) ── */

.post-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 0;
  max-width: 720px;
  margin: 0 auto;
}

.post-meta-category {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-meta-category:hover {
  color: #c084fc;
}

.post-meta-time {
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.post-meta-bar::before,
.post-meta-bar::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--card-border);
}

/* ── Post Card: Read label ── */

.post-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(168, 85, 247, 0.75);
  letter-spacing: 0.08em;
  transition: color 0.2s ease, gap 0.2s ease;
}

.post-card:hover .post-card-read {
  color: var(--purple-bright);
  gap: 0.5em;
}

/* ── Home Empty State ── */

.home-empty-state {
  color: var(--muted);
  text-align: center;
  padding: 2rem;
  font-size: 0.92rem;
  grid-column: 1 / -1;
}

/* ====================================================================
   HOMEPAGE HERO
   ==================================================================== */

.home-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.home-hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}

.home-hero__title span {
  color: var(--purple-bright);
}

.home-hero__sub {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.85;
  font-weight: 300;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.home-hero__secondary-link {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.home-hero__secondary-link:hover {
  color: var(--grey);
}

/* ====================================================================
   BRAND NOTE
   ==================================================================== */

.home-brand-note {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.home-brand-note::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--purple-bright);
  opacity: 0.4;
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}

.home-brand-note__title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.home-brand-note__text {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.85;
  font-weight: 300;
}

/* ====================================================================
   PRODUCT LADDER (Homepage)
   ==================================================================== */

.product-ladder-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.product-ladder-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.product-ladder-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--grey);
  margin-top: 0.5rem;
}

/* Grid: 1 Karte pro Zeile */
.product-ladder-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem 2rem 2rem 5rem;
  position: relative;
  box-shadow:
    0 0 40px rgba(168, 85, 247, 0.07),
    inset 0 0 40px rgba(168, 85, 247, 0.03);
  transition: box-shadow 0.35s ease;
}

/* Statischer Schimmer-Rahmen */
.product-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 17px;
  background: linear-gradient(
    160deg,
    rgba(168, 85, 247, 0.14) 0%,
    rgba(168, 85, 247, 0.06) 45%,
    transparent 70%
  );
  z-index: -1;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(168, 85, 247, 0.32) 0%,
    rgba(168, 85, 247, 0.12) 35%,
    transparent 65%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.product-card:hover {
  box-shadow:
    0 0 55px rgba(168, 85, 247, 0.13),
    inset 0 0 40px rgba(168, 85, 247, 0.05);
  text-decoration: none;
}

.product-card__step {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--card-border);
  line-height: 1;
  user-select: none;
}

.product-card__badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.4rem;
}

.product-card__title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.product-card__desc {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 1.4rem;
  font-weight: 300;
  flex: 1;
}

/* ====================================================================
   START HERE SECTION
   ==================================================================== */

.start-here-section {
  background: var(--dark);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  margin: 0 0 0;
  padding: 4rem 1.5rem;
  text-align: center;
}

.start-here__inner {
  max-width: 560px;
  margin: 0 auto;
}

.start-here__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.start-here__sub {
  font-family: var(--sans);
  font-size: 0.97rem;
  color: var(--grey);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ====================================================================
   HOME ARTICLES SECTION
   ==================================================================== */

.home-articles {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.home-articles__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.home-articles__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ====================================================================
   HOME FINAL CTA
   ==================================================================== */

.home-final-cta {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.home-final-cta__inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow:
    0 0 50px rgba(168, 85, 247, 0.1),
    inset 0 0 50px rgba(168, 85, 247, 0.04);
}

.home-final-cta__inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 21px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.2) 0%,
    rgba(168, 85, 247, 0.07) 40%,
    transparent 70%
  );
  z-index: -1;
}

.home-final-cta__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.home-final-cta__sub {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1.2rem;
}

.home-final-cta__desc {
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--grey);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

/* ====================================================================
   RELATED POSTS (single.php)
   ==================================================================== */

.related-posts {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.related-posts__header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.related-post {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.6rem;
  position: relative;
  transition: box-shadow 0.35s ease;
}

.related-post::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent 60%);
  z-index: -1;
}

.related-post:hover {
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.1);
  text-decoration: none;
}

.related-post__label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.5rem;
}

.related-post__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.related-post__sub {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ====================================================================
   ARCHIVE / CONTENT HUB (archive.php)
   ==================================================================== */

.archive-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.archive-hero__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin: 0.5rem 0 1rem;
  line-height: 1.3;
}

.archive-hero__desc {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-weight: 300;
}

.archive-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.archive-cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ====================================================================
   FOOTER — einmalig sauber
   ==================================================================== */

.site-footer {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer__copy {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.site-footer__copy a {
  color: var(--purple-bright);
  text-decoration: none;
}

.site-footer__copy a:hover {
  text-decoration: underline;
}

/* ====================================================================
   FOOTER LEGAL NAVIGATION
   ==================================================================== */

.legal-nav {
  margin-bottom: 1rem;
}

.legal-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.4rem;
}

.legal-nav ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.4rem;
}

.legal-nav__item,
.legal-nav ul.menu li {
  display: flex;
  align-items: center;
}

.legal-nav__link,
.legal-nav ul.menu li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.legal-nav__link:hover,
.legal-nav ul.menu li a:hover {
  color: var(--purple-bright);
}

.legal-nav__link--active,
.legal-nav ul.menu li.current-menu-item a,
.legal-nav ul.menu li.current_page_item a {
  color: var(--purple-bright);
}

/* ====================================================================
   SHOP SECTION (home.php legacy / Shop-Grid Fallback)
   ==================================================================== */

.shop-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  text-align: center;
}

.shop-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--grey);
  margin-bottom: 2rem;
}

.shop-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.shop-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.2rem 1.6rem;
  text-align: center;
  position: relative;
  box-shadow:
    0 0 40px rgba(168, 85, 247, 0.09),
    inset 0 0 40px rgba(168, 85, 247, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}

.shop-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 17px;
  background: linear-gradient(160deg, rgba(168,85,247,0.16) 0%, rgba(168,85,247,0.07) 45%, transparent 70%);
  z-index: -1;
}

.shop-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(168,85,247,0.35) 0%, rgba(168,85,247,0.15) 35%, transparent 65%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.shop-card:hover {
  box-shadow: 0 0 55px rgba(168, 85, 247, 0.15), inset 0 0 40px rgba(168, 85, 247, 0.06);
  text-decoration: none;
}

.shop-card-badge {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.6rem;
}

.shop-card-title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.7rem;
}

.shop-card-description {
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
  flex: 1;
}

.shop-read-divider {
  width: 40px;
  height: 2px;
  background: var(--purple-bright);
  margin: 2rem auto;
  border-radius: 2px;
  opacity: 0.3;
}

.read-section-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.2rem;
}

/* ====================================================================
   RESPONSIVE
   ==================================================================== */

@media (max-width: 640px) {
  .cta-grid          { grid-template-columns: 1fr; gap: 1.5rem; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .home-hero__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero             { padding: 2rem 1.2rem 1.5rem; }
  .quote-card       { padding: 1.6rem 1.3rem; }
  .cta-card         { padding: 2rem 1.3rem; }
  .product-card     { padding: 1.6rem 1.3rem 1.6rem 4rem; }
  .product-card__step { font-size: 1.5rem; left: 1.2rem; }
  .home-final-cta__inner { padding: 2rem 1.3rem; }
  .start-here-section   { padding: 2.5rem 1.2rem; }
  .home-brand-note  { padding: 0 1.2rem 3rem; }

  .site-logo-img    { width: 56px; height: 56px; }
  .custom-logo-link img { width: 56px; height: 56px; }

  .legal-nav__list,
  .legal-nav ul.menu { gap: 0.4rem 1rem; }

  .post-meta-bar { flex-wrap: wrap; }
  .post-meta-bar::before,
  .post-meta-bar::after { display: none; }
}

/* ====================================================================
   ERWEITERTE BLÖCKE
   ==================================================================== */

/* ── inline-cta--featured Modifier ──
   Größerer Innenabstand + h2 statt h3 für Featured Product */

.inline-cta--featured {
  padding: 2.8rem 2.5rem 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.inline-cta--featured .inline-cta-title {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin-bottom: 1rem;
}

.inline-cta--featured .inline-cta-text {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Statement Block ── */

.statement-block {
  max-width: 680px;
  margin: 0 auto 3rem;
  padding: 2.5rem 3rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.07);
}

.statement-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), transparent 60%);
  z-index: -1;
}

.statement-block__text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.statement-block__sub {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0.8rem;
}

/* ── Page Final CTA Block ── */

.page-final-cta {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.page-final-cta__inner {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 3.2rem 3rem;
  position: relative;
  box-shadow:
    0 0 50px rgba(168, 85, 247, 0.1),
    inset 0 0 50px rgba(168, 85, 247, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-final-cta__inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 21px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.18) 0%,
    rgba(168, 85, 247, 0.07) 40%,
    transparent 70%
  );
  z-index: -1;
}

.page-final-cta__eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.8rem;
}

.page-final-cta__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.page-final-cta__desc {
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--grey);
  line-height: 1.85;
  max-width: 480px;
  margin: 0 auto 2.4rem;
  font-weight: 300;
}

/* ── Hub Template ── */

.hub-intro-content {
  padding-bottom: 1rem;
}

.hub-articles {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.hub-articles__header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .intro-block        { padding: 2rem 1.2rem 1rem; }
  .statement-block    { padding: 1.6rem 1.3rem; }
  .page-final-cta     { padding: 1rem 1.2rem 2rem; }
  .page-final-cta__inner { padding: 2rem 1.3rem; }
  .hub-articles       { padding: 1.5rem 1.2rem; }
  .inline-cta--featured { padding: 2rem 1.3rem; }
}

/* ====================================================================
   BILD-BLÖCKE
   ==================================================================== */

/* ── BILD-BLÖCKE — [st_img1] / [st_img2] / [st_block_img1] / [st_block_img2] ──
   Card-Stil orientiert an .inline-cta:
   gleiche Breite, gleicher Border/Glow/Surface-Look. */

.image-block {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin: 0 auto 2.5rem;
  position: relative;
  /* Kein overflow:hidden — würde ::after des Lauflicht-Rahmens abschneiden */
  box-shadow:
    0 0 35px rgba(168, 85, 247, 0.09),
    inset 0 0 40px rgba(168, 85, 247, 0.04);
}

/* Subtiler lila Hintergrundschimmer */
.image-block::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.18) 0%,
    rgba(168, 85, 247, 0.08) 40%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

/* Überschrift über dem Bild */
.image-block__heading {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-bright);
  padding: 1.2rem 1.5rem 0.75rem;
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Lauflicht-Rahmen — identisch zu .inline-cta::after
   overflow:hidden ist bewusst NICHT auf .image-block gesetzt,
   damit inset:-1px den Rahmen nicht abschneidet. */
.image-block--lauflicht::after {
  content: '';
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: 15px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 15%,
    rgba(168, 85, 247, 0.4)  40%,
    rgba(200, 140, 255, 0.6) 50%,
    rgba(168, 85, 247, 0.4)  60%,
    transparent 85%,
    transparent 100%
  );
  background-size: 400% 100%;
  animation: st-lauflicht 9s linear infinite;
  will-change: background-position;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Pulsieren-Effekt — sanfter Herzschlag-Glow */
/* Pulse: ::before Pseudo-Element pulsiert als äußerer Glow,
   unabhängig vom statischen box-shadow der Card */
@keyframes st-pulse-glow {
  0%   { opacity: 0.25; transform: scale(1);    }
  50%  { opacity: 1;    transform: scale(1.012); }
  100% { opacity: 0.25; transform: scale(1);    }
}

.image-block--pulse::before {
  /* Überschreibt den statischen Schimmer mit einem pulsierenden äußeren Glow */
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(168, 85, 247, 0.45) 0%,
    rgba(168, 85, 247, 0.18) 45%,
    transparent 75%
  );
  animation: st-pulse-glow 3s ease-in-out infinite;
  transform-origin: center;
  border-radius: 20px;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
}

/* Bildcontainer — natürliche Höhe, kein erzwungenes Ratio */
.image-block__frame {
  width: 100%;
  overflow: hidden;
  /* border-radius passend zur Card, Ecken des Bilds runden */
  border-radius: 14px;
  /* Wenn Heading oder Caption: Ecken nur unten/oben runden */
  display: block;
}

/* Heading vorhanden: obere Ecken des Frames eckig lassen */
.image-block__heading + .image-block__frame {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Bild — volle Breite, natürliche Höhe */
.image-block__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Link-Wrapper — Block-Level, umschließt das Bild */
.image-block__link {
  display: block;
  line-height: 0; /* verhindert Lücke unter dem Bild */
}

.image-block__link:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: -3px;
  border-radius: 14px;
}

/* Caption unter dem Bild */
.image-block__caption {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  padding: 0.85rem 1.5rem 1.1rem;
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
  font-style: italic;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--card-border);
}

@media (max-width: 480px) {
  .image-block {
    margin-bottom: 2rem;
  }
  .image-block__heading  { padding: 1rem 1.2rem 0.6rem; }
  .image-block__caption  { padding: 0.7rem 1.2rem 0.9rem; }
}

/* ====================================================================
   LEGAL BACK-LINK + BUTTON ERGÄNZUNGEN
   ==================================================================== */

/* Legal page: Trennung von Header und Inhalt */
.legal-page-header + .legal-content {
  padding-top: 0;
}

/* Back-Link */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(136, 136, 136, 0.7);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.2s ease;
  padding: 0.6rem 0;
}

.legal-back:hover {
  color: var(--purple-bright);
  gap: 0.8rem;
}

/* cta-button als <span> (für Shop-Karten als <a>-Block) */
span.cta-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ====================================================================
   404 PAGE
   ==================================================================== */

.not-found {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
}

.not-found__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Headline — oben, als erste starke Aussage */
.not-found__title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.not-found__title span {
  color: var(--purple-bright);
}

/* 404 — das visuelle Hauptelement darunter */
.not-found__number {
  font-family: var(--serif);
  font-size: clamp(5.5rem, 18vw, 9.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0.2rem 0 1.6rem;
  /* Dunkles lila, passend zur Marke */
  background: linear-gradient(
    150deg,
    rgba(180, 100, 255, 0.65) 0%,
    rgba(140, 50, 220, 0.4)  50%,
    rgba(90, 20, 160, 0.2)   100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* Beschreibungstext */
.not-found__sub {
  font-family: var(--sans);
  font-size: 0.93rem;
  color: var(--grey);
  line-height: 1.85;
  max-width: 400px;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

/* Buttons nebeneinander */
.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.8rem;
}

/* Fußzeile */
.not-found__footnote {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}

.not-found__footnote a {
  color: var(--purple-bright);
  text-decoration: none;
  text-underline-offset: 3px;
}

.not-found__footnote a:hover {
  text-decoration: underline;
}

/* ====================================================================
   LEGAL PAGES
   ==================================================================== */

.legal-page-header {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 1rem;
}

.legal-page-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  color: var(--grey);
  font-size: 0.96rem;
  line-height: 1.85;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--card-border);
}

.legal-content h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
}

.legal-content h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.06em;
  margin-top: 1.4rem;
  margin-bottom: 0.3rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content strong {
  color: var(--white);
  font-weight: 500;
}

.legal-content ul {
  list-style: none;
  margin: 0.8rem 0 1.2rem;
  color: var(--grey);
}

.legal-content ul li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.75;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple-bright);
  opacity: 0.6;
}

.legal-content ol {
  margin: 0.8rem 0 1.2rem 1.4rem;
  color: var(--grey);
}

.legal-content ol li {
  margin-bottom: 0.4rem;
  line-height: 1.75;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 2rem 0;
}

.legal-content a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: #c084fc;
}

.legal-back-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ====================================================================
   INTRO BLOCK
   ==================================================================== */

/* Intro Block direkt nach .content ohne großen Abstand oben */
.content + .intro-block {
  padding-top: 0;
  margin-top: -0.5rem;
}

/* Intro-Block als Kontext-Erweiterung: etwas schmalere Behandlung */
.intro-block {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2rem;
  text-align: center;
}

.intro-block__eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.intro-block__title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.9rem;
}

.intro-block__text {
  font-family: var(--sans);
  font-size: 0.97rem;
  color: var(--grey);
  line-height: 1.85;
  font-weight: 300;
}



@media (max-width: 640px) {
  .not-found__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
  }
  .not-found__actions .cta-button {
    width: 100%;
    justify-content: center;
  }
  .cta-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-width: 480px) {
  .cta-button         { min-height: 46px; padding: 0.9rem 2rem; }
  .cta-button--small  { min-height: 38px; padding: 0.7rem 1.5rem; }
  .hero               { padding: 2.5rem 1.2rem 1.8rem; }
  .not-found          { padding: 2rem 1.2rem 3rem; }
  .not-found__number  { font-size: clamp(4.5rem, 22vw, 7rem); }
  .not-found__title   { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .statement-block    { padding: 2rem 1.5rem; }
  .page-final-cta__inner { padding: 2.5rem 1.5rem; }
  .legal-page-header  { padding: 2rem 1.2rem 2rem; }
  .legal-content      { padding: 0 1.2rem 3rem; }
  .legal-back-wrap    { padding: 0 1.2rem 2.5rem; }
  .inline-cta         { padding: 2rem 1.4rem 1.8rem; }
  .post-card          { padding: 1.7rem 1.4rem 1.4rem; }
}

/* ====================================================================
   SUCHE — Search Form + Results
   ==================================================================== */

.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.search-form label {
  flex: 1;
}

.search-form .search-field {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 0.65rem 1.2rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form .search-field::placeholder {
  color: var(--muted);
}

.search-form .search-field:focus {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.2);
}

.search-form .search-submit {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 100px;
  color: var(--purple-bright);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.search-form .search-submit:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: rgba(168, 85, 247, 0.5);
}

/* Suchergebnisseite */
.search-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.search-hero__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.4rem;
  line-height: 1.3;
}

.search-hero__title span {
  color: var(--purple-bright);
}

.search-no-results {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
  color: var(--grey);
  font-size: 0.96rem;
  line-height: 1.8;
}

/* Newsletter/Opt-in Block */
.optin-block {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  margin: 0 auto 3rem;
  max-width: 580px;
  text-align: center;
  position: relative;
  box-shadow:
    0 0 35px rgba(168, 85, 247, 0.09),
    inset 0 0 40px rgba(168, 85, 247, 0.04);
}

.optin-block::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(168,85,247,0.18) 0%, rgba(168,85,247,0.08) 40%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.optin-block__eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 0.8rem;
}

.optin-block__title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.optin-block__text {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.optin-block__form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.optin-block__input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 0.75rem 1.2rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.optin-block__input::placeholder { color: var(--muted); }

.optin-block__input:focus {
  border-color: rgba(168, 85, 247, 0.5);
}

@media (max-width: 480px) {
  .search-form       { flex-direction: column; }
  .search-form label { width: 100%; }
  .optin-block__form { flex-direction: column; align-items: stretch; }
  .optin-block__input { min-width: 0; width: 100%; }
}

