/*
 * Cindisauge — Astral Map Theme
 * Style entwickelt 2026-05-15 in mystic-five/, hier als finales Site-Theme verankert.
 */

:root {
  --bg: #080510;
  --surface: rgba(18, 13, 42, 0.78);
  --text: #fff7e9;
  --muted: rgba(255, 247, 233, 0.72);
  --line: rgba(255, 226, 163, 0.24);
  --accent: #9be7ff;
  --accent-2: #8f6dff;
  --shadow: rgba(0, 0, 0, 0.55);
  --display: Georgia, "Times New Roman", serif;
  --ui: Inter, Avenir, Helvetica, Arial, sans-serif;
  --content: 1180px;
  --home-bg-image: url("../assets/crops/startseite-wolfaugen.jpg");
  --home-bg-root-image: url("/images/cindisauge/startseite-wolfaugen.jpg");
  --home-bg-inset: -1.8%;
  --home-bg-position: center 38%;
  --home-bg-size: cover;
  --home-bg-opacity: 0.68;
  --home-bg-filter: saturate(1.24) contrast(1.03) brightness(1.34);
  --home-bg-origin: 50% 42%;
  --home-bg-edge-fade:
    linear-gradient(180deg, rgba(8, 5, 16, 0.96) 0%, rgba(8, 5, 16, 0.72) 5%, rgba(8, 5, 16, 0.28) 14%, rgba(8, 5, 16, 0) 25%),
    linear-gradient(180deg, rgba(8, 5, 16, 0) 42%, rgba(9, 6, 18, 0.2) 52%, rgba(10, 7, 23, 0.68) 66%, rgba(8, 5, 16, 0.94) 82%, rgba(8, 5, 16, 1) 100%);
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at calc(72% + var(--mx, 0px)) calc(14% + var(--my, 0px)),
      color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 28vw),
    radial-gradient(circle at 20% 78%,
      color-mix(in srgb, var(--accent) 14%, transparent), transparent 26vw),
    linear-gradient(145deg, var(--bg), #0d0916 48%, #050408);
}
a { color: inherit; }
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Atmospheric layers ---------- */

.page-transition {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at calc(72% + var(--mx, 0px)) calc(14% + var(--my, 0px)),
      color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 28vw),
    radial-gradient(circle at 20% 78%,
      color-mix(in srgb, var(--accent) 14%, transparent), transparent 26vw),
    linear-gradient(145deg, var(--bg), #0d0916 48%, #050408);
  transition: opacity 360ms ease;
}
.page-transition::before,
.page-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-transition::before {
  inset: var(--home-bg-inset);
  background: var(--home-bg-image) var(--home-bg-position) / var(--home-bg-size) no-repeat;
  opacity: var(--home-bg-opacity);
  filter: var(--home-bg-filter);
  transform: scale(1);
  transform-origin: var(--home-bg-origin);
  animation: wolfEyesBreath 8.5s ease-in-out infinite;
}
.page-transition::after {
  background: var(--home-bg-edge-fade);
}
body.is-leaving .page-transition {
  opacity: 1;
}

.stars {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0.68;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2.1px),
    radial-gradient(circle at 14% 42%, rgba(218, 238, 255, 0.62) 0 0.8px, transparent 1.8px),
    radial-gradient(circle at 16% 63%, rgba(218, 238, 255, 0.68) 0 0.9px, transparent 1.9px),
    radial-gradient(circle at 23% 82%, rgba(255, 255, 255, 0.56) 0 0.75px, transparent 1.7px),
    radial-gradient(circle at 27% 28%, rgba(255, 247, 216, 0.78) 0 1.05px, transparent 2.1px),
    radial-gradient(circle at 36% 15%, rgba(255, 255, 255, 0.6) 0 0.85px, transparent 1.8px),
    radial-gradient(circle at 39% 74%, rgba(255, 255, 255, 0.62) 0 0.85px, transparent 1.8px),
    radial-gradient(circle at 48% 12%, rgba(219, 238, 255, 0.72) 0 0.95px, transparent 1.9px),
    radial-gradient(circle at 57% 49%, rgba(255, 247, 216, 0.76) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 83%, rgba(255, 255, 255, 0.58) 0 0.8px, transparent 1.8px),
    radial-gradient(circle at 69% 22%, rgba(255, 255, 255, 0.7) 0 0.9px, transparent 1.9px),
    radial-gradient(circle at 78% 68%, rgba(218, 238, 255, 0.68) 0 0.95px, transparent 1.9px),
    radial-gradient(circle at 84% 42%, rgba(255, 255, 255, 0.58) 0 0.8px, transparent 1.8px),
    radial-gradient(circle at 91% 34%, rgba(255, 247, 216, 0.76) 0 1px, transparent 2px),
    radial-gradient(circle at 96% 76%, rgba(218, 238, 255, 0.52) 0 0.75px, transparent 1.7px);
}

.stars::before,
.stars::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  will-change: opacity;
}

.stars::before {
  opacity: 0.64;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.96) 0 1.35px, transparent 3px),
    radial-gradient(circle at 33% 58%, rgba(222, 241, 255, 0.86) 0 1.05px, transparent 2.4px),
    radial-gradient(circle at 52% 31%, rgba(255, 249, 224, 0.9) 0 1.15px, transparent 2.6px),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.84) 0 1px, transparent 2.3px),
    radial-gradient(circle at 86% 58%, rgba(222, 241, 255, 0.86) 0 1.05px, transparent 2.4px);
  animation: starTwinkle 5.8s ease-in-out infinite alternate;
}

.stars::after {
  opacity: 0.48;
  background-image:
    radial-gradient(circle at 11% 72%, rgba(222, 241, 255, 0.76) 0 0.95px, transparent 2.1px),
    radial-gradient(circle at 31% 54%, rgba(255, 255, 255, 0.88) 0 1.05px, transparent 2.3px),
    radial-gradient(circle at 63% 78%, rgba(255, 249, 224, 0.82) 0 0.95px, transparent 2.1px),
    radial-gradient(circle at 81% 29%, rgba(255, 255, 255, 0.78) 0 0.95px, transparent 2.1px),
    radial-gradient(circle at 94% 18%, rgba(222, 241, 255, 0.82) 0 0.95px, transparent 2.1px);
  animation: starTwinkle 7.4s ease-in-out 1.6s infinite alternate-reverse;
}

.moon {
  pointer-events: none;
  position: fixed;
  right: clamp(-112px, calc(14px - 10vw), -24px);
  top: clamp(38px, calc(102px - 4vw), 84px);
  z-index: 1;
  width: clamp(132px, 19vw, 318px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("../assets/images/nasa-moon-transparent.png") center / contain no-repeat;
  opacity: 0.92;
  mix-blend-mode: screen;
  filter: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 7%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 7%, #000 22%);
  animation: moonSkyDrift 1800s linear infinite alternate;
  transform: none;
  will-change: transform;
}
.moon::before,
.moon::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.moon::before {
  display: none;
  inset: 0;
  background: none;
  filter: none;
  z-index: -1;
}
.moon::after {
  inset: -4%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 246, 218, 0.32), transparent 35%), radial-gradient(circle at 72% 74%, rgba(5, 7, 18, 0.12), transparent 42%);
}
.moon span {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 42% 34%, rgba(255, 248, 218, 0.24), transparent 36%);
  mix-blend-mode: screen;
}
body.is-leaving .moon {
  z-index: 101;
}

.fog {
  pointer-events: none;
  position: fixed;
  left: -10vw; bottom: -90px;
  z-index: 1;
  width: 120vw; height: 220px;
  opacity: 0.42;
  filter: blur(24px);
  background:
    radial-gradient(ellipse at 10% 70%, rgba(255, 255, 255, 0.24), transparent 42%),
    radial-gradient(ellipse at 44% 70%, rgba(180, 210, 255, 0.16), transparent 44%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 222, 168, 0.14), transparent 40%);
  animation: fogDrift 18s linear infinite;
}
.fog-b { opacity: 0.32; animation-duration: 25s; animation-direction: reverse; }

.home-fixed-background {
  position: fixed;
  inset: var(--home-bg-inset);
  z-index: 0;
  pointer-events: none;
  background: var(--home-bg-image) var(--home-bg-position) / var(--home-bg-size) no-repeat;
  opacity: var(--home-bg-opacity);
  filter: var(--home-bg-filter);
  transform: scale(1);
  transform-origin: var(--home-bg-origin);
  animation: wolfEyesBreath 8.5s ease-in-out infinite;
}
.home-fixed-background::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--home-bg-root-image) var(--home-bg-position) / var(--home-bg-size) no-repeat;
}
.home-fixed-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--home-bg-edge-fade);
}

@media (max-width: 1280px) {
  :root {
    --home-bg-inset: 0;
    --home-bg-position: center clamp(68px, calc(132px - 5vw), 104px);
    --home-bg-size: clamp(403px, 126vw, 1613px) auto;
    --home-bg-opacity: 0.76;
    --home-bg-filter: saturate(1.34) contrast(1.08) brightness(1.42);
    --home-bg-origin: 50% clamp(148px, 32vw, 240px);
  }

  .home-fixed-background {
    inset: var(--home-bg-inset);
    background-position: var(--home-bg-position);
    background-size: var(--home-bg-size);
    opacity: var(--home-bg-opacity);
    filter: var(--home-bg-filter);
    transform-origin: var(--home-bg-origin);
  }
}

@keyframes wolfEyesBreath {
  0%, 100% {
    opacity: 0.66;
    filter: saturate(1.22) contrast(1.02) brightness(1.31);
    transform: scale(1);
  }
  50% {
    opacity: 0.73;
    filter: saturate(1.32) contrast(1.07) brightness(1.42);
    transform: scale(1.018);
  }
}
@keyframes moonSkyDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  45% {
    transform: translate3d(clamp(-8px, -0.55vw, -4px), clamp(2px, 0.22vw, 4px), 0);
  }
  100% {
    transform: translate3d(clamp(-18px, -1.25vw, -9px), clamp(4px, 0.48vw, 8px), 0);
  }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.34; }
  45% { opacity: 0.82; }
  60% { opacity: 0.52; }
}

@keyframes fogDrift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(60px); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .stars::before,
  .stars::after,
  .moon,
  .fog,
  .home-fixed-background,
  .social-dock,
  .social-dock-link img {
    animation: none;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(155, 231, 255, 0.18);
  background:
    radial-gradient(circle at 18% 0%, rgba(90, 40, 140, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(18, 9, 34, 0.88), rgba(7, 4, 15, 0.58) 72%, rgba(7, 4, 15, 0));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.site-header.nav-collapsed {
  grid-template-columns: auto 1fr auto;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -42px;
  height: 42px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 4, 15, 0.54), rgba(7, 4, 15, 0));
  filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.35rem;
  text-decoration: none;
}
.brand img {
  width: 38px; height: 38px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 6px;
  max-height: 126px;
  overflow: visible;
}

.site-nav.nav-measure {
  position: absolute;
  left: -10000px;
  top: 0;
  z-index: -1;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 6px;
  max-height: none;
  overflow: visible;
}

.nav-break {
  flex-basis: 100%;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-nav a {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: rgba(239, 241, 255, 0.72);
  font-size: 0.78rem;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(155, 231, 255, 0.34), 0 0 22px rgba(184, 134, 255, 0.24);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(184, 134, 255, 0.42);
  background: linear-gradient(135deg, rgba(61, 28, 98, 0.86), rgba(34, 14, 64, 0.66));
  box-shadow: 0 0 18px rgba(104, 54, 170, 0.38), inset 0 0 18px rgba(184, 134, 255, 0.12);
  text-shadow: 0 0 12px rgba(255, 247, 233, 0.62), 0 0 30px rgba(155, 231, 255, 0.42), 0 0 46px rgba(184, 134, 255, 0.34);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.meta-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(155, 231, 255, 0.18);
  border-radius: 8px;
  color: rgba(239, 241, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.045);
  text-shadow: 0 0 12px rgba(155, 231, 255, 0.26);
}
.meta-link:hover,
.meta-link[aria-current="page"] {
  color: var(--text);
  border-color: rgba(184, 134, 255, 0.42);
  background: rgba(46, 22, 78, 0.62);
  box-shadow: 0 0 18px rgba(104, 54, 170, 0.28);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #0a0a14;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.cta:hover { background: color-mix(in srgb, var(--accent) 80%, white); }

.menu-toggle {
  display: none;
  min-width: 42px;
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 13px 0 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}

.site-header.nav-collapsed .menu-toggle {
  display: inline-flex;
}

.site-header.nav-collapsed .header-actions,
.site-header.nav-collapsed .cta {
  display: none;
}

.site-header.nav-collapsed .site-nav {
  position: fixed;
  inset: 64px 0 auto 72px;
  z-index: 40;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  max-height: calc(100vh - 64px);
  gap: 4px;
  overflow-y: auto;
  padding: 16px 22px 32px;
  background: rgba(8, 5, 16, 0.96);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-header.nav-collapsed .nav-break {
  display: none;
}

.site-header.nav-collapsed .site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header.nav-collapsed .site-nav a {
  font-size: 0.95rem;
  padding: 12px 14px;
  text-align: left;
  white-space: normal;
  border-radius: 8px;
}
.menu-toggle-bar {
  position: absolute;
  left: 10px;
  right: auto;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease, top 220ms ease;
}
.menu-toggle-bar:nth-child(1) { top: 14px; }
.menu-toggle-bar:nth-child(2) { top: 20px; }
.menu-toggle-bar:nth-child(3) { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.menu-toggle-label {
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .cta { display: none; }
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 72px;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100vh - 64px);
    gap: 4px;
    overflow-y: auto;
    padding: 16px 22px 32px;
    background: rgba(8, 5, 16, 0.96);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .nav-break {
    display: none;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    font-size: 0.95rem;
    padding: 12px 14px;
    text-align: left;
    white-space: normal;
    border-radius: 8px;
  }
}

/* ---------- Main wrappers ---------- */

main {
  position: relative;
  z-index: 5;
}

.site-hero,
.source-note,
.content-grid,
.legacy-section,
.site-footer {
  width: min(var(--content), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

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

.site-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-top: 56px;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  isolation: isolate;
  overflow: hidden;
}

.site-hero.home-hero {
  width: 100%;
  min-height: clamp(620px, 72vh, 820px);
  margin-top: 0;
  padding: clamp(96px, 12vw, 168px) max(24px, calc((100vw - var(--content)) / 2)) clamp(56px, 8vw, 104px);
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-hero.home-hero .hero-content {
  max-width: 680px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.72), 0 0 34px rgba(155, 231, 255, 0.18);
}

.site-hero.home-hero .hero-content .kicker {
  display: none;
}

.site-hero.home-hero .hero-content .lead {
  margin-inline: auto;
}

.site-hero.home-hero .hero-actions {
  justify-content: center;
}

.hero-visual {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  align-self: stretch;
  min-height: clamp(320px, 40vw, 560px);
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(155, 231, 255, 0.13), transparent 42%),
    rgba(4, 3, 9, 0.5);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: var(--hero-position, center);
  filter: saturate(1.05);
}

.site-hero.compact-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(180px, 0.58fr);
  gap: 22px;
}

.site-hero.compact-hero .hero-visual {
  height: clamp(220px, 26vw, 320px);
  min-height: 0;
  max-height: 320px;
  align-self: center;
  padding: clamp(10px, 1.4vw, 16px);
}

.site-hero.compact-hero .hero-visual img {
  width: min(86%, 260px);
  height: min(86%, 260px);
  max-width: 100%;
  max-height: 100%;
}

.site-hero.compact-hero .hero-content h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.8rem);
  overflow-wrap: anywhere;
}

.hero-content {
  padding: 28px 4px 28px 12px;
}
.hero-content .kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-content h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
}

.site-hero.small-title-hero .hero-content h1 {
  max-width: 720px;
  font-size: clamp(1.82rem, 3.6vw, 3.05rem);
  line-height: 1.04;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero-content .lead {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 200ms ease, background 200ms ease;
}
.button:hover {
  border-color: color-mix(in srgb, var(--accent) 70%, white);
  background: rgba(155, 231, 255, 0.12);
}
.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #0a0a14;
}
.button.primary:hover {
  background: color-mix(in srgb, var(--accent) 80%, white);
}

@media (max-width: 760px) {
  .site-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .site-hero.home-hero {
    width: 100%;
    max-width: 100%;
    min-height: clamp(560px, 84svh, 680px);
    margin-top: 0;
    padding: 108px 18px 58px;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    justify-items: stretch;
    overflow: visible;
  }
  .site-hero.compact-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-content { padding: 12px 4px; }
  .site-hero.home-hero .hero-content {
    width: min(100%, 430px);
    max-width: calc(100vw - 36px);
    min-width: 0;
    margin-inline: auto;
    padding: 0;
    justify-self: center;
  }
  .site-hero.home-hero .hero-content h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
    line-height: 0.98;
  }
  .site-hero.home-hero .hero-content h1,
  .site-hero.home-hero .hero-content .lead {
    max-width: 100%;
  }
  .site-hero.home-hero .hero-content .lead {
    width: min(100%, 360px);
    max-width: 100%;
    margin-inline: auto;
    line-height: 1.45;
  }
  .hero-content .lead {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .hero-visual {
    min-height: min(92vw, 440px);
  }
  .site-hero.compact-hero .hero-visual {
    width: 100%;
    height: min(78vw, 340px);
    justify-self: center;
  }
  .feature-flip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-fixed-background {
    background-position: var(--home-bg-position);
    background-size: var(--home-bg-size);
    opacity: 0.72;
    filter: saturate(1.24) contrast(1.05) brightness(1.28);
  }
  .moon {
    right: clamp(-58px, -10vw, -34px);
    top: clamp(72px, 18vw, 98px);
    width: clamp(112px, 34vw, 148px);
    opacity: 0.76;
    filter: none;
  }
}

/* ---------- Source note (status badge) ---------- */

.source-note {
  margin-top: 12px;
  margin-bottom: 24px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  color: var(--muted);
}
.source-note strong {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.source-note a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
}
.page-placeholder .source-note { border-color: rgba(255, 180, 100, 0.3); background: rgba(255, 180, 100, 0.06); }
.page-placeholder .source-note strong { color: #ffba6c; }
.page-partial .source-note     { border-color: rgba(143, 109, 255, 0.32); background: rgba(143, 109, 255, 0.07); }
.page-partial .source-note strong { color: #b8a4ff; }

@media (max-width: 640px) {
  .source-note { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Content grid (copy blocks) ---------- */

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 64px;
}

.flip-section {
  width: min(var(--content), calc(100% - 48px));
  margin: 52px auto 24px;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.04;
}

.feature-flip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 760px) {
  .feature-flip-grid {
    grid-template-columns: 1fr;
  }
}

.flip-card {
  width: 100%;
  min-height: 405px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: inherit;
  cursor: pointer;
  background: transparent;
  perspective: 1400px;
}

.flip-inner {
  position: relative;
  display: block;
  min-height: 405px;
  transform-style: preserve-3d;
  transition: transform 700ms ease;
}

.flip-card:hover .flip-inner,
.flip-card:focus-visible .flip-inner,
.flip-card[data-flipped="true"] .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  backface-visibility: hidden;
  box-shadow: 0 24px 80px var(--shadow);
}

.flip-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  object-fit: contain;
  opacity: 0.94;
}

[data-lightbox-src] {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100%;
  padding: clamp(18px, 4vw, 48px);
  border: 0;
  background: rgba(5, 4, 11, 0.88);
  cursor: zoom-out;
}

.image-lightbox-frame {
  display: grid;
  place-items: center;
  width: min(100%, 1180px);
  max-height: min(88vh, 900px);
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(5, 4, 11, 0.72);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62);
}

.image-lightbox-frame img {
  display: block;
  width: 100%;
  max-height: calc(88vh - 36px);
  object-fit: contain;
}

body :where(#ccm-widget, #ccm-root, #ccm-control-panel, .ccm-root, .ccm-widget, .ccm-modal, [class^="ccm"], [class*=" ccm"]) {
  color-scheme: dark;
}

body > :where(iframe[src*="shopvote" i], [id*="shopvote" i], [class*="shopvote" i]) {
  display: none !important;
}

body :where(#ccm-widget, #ccm-control-panel, .ccm-widget, .ccm-control-panel, [id*="ccm-widget" i], [id*="ccm-control-panel" i], [class*="ccm-widget" i], [class*="ccm-control-panel" i]) {
  position: fixed !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  left: auto !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  width: min(94vw, 560px) !important;
  max-width: min(94vw, 560px) !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(82vh, 660px) !important;
  overflow: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 2147483000 !important;
}

body :where(#ccm-widget, #ccm-root, #ccm-control-panel, .ccm-root, .ccm-widget, .ccm-modal, [class^="ccm"], [class*=" ccm"]) :where([role="dialog"], [class*="modal"], [class*="widget"], [class*="consent"]) {
  width: min(94vw, 560px) !important;
  max-width: min(94vw, 560px) !important;
  max-height: min(82vh, 660px) !important;
  overflow: auto !important;
  padding: clamp(14px, 2.2vw, 20px) !important;
  border-color: rgba(155, 231, 255, 0.34) !important;
  color: #fff8e7 !important;
  background: linear-gradient(135deg, rgba(8, 8, 24, 0.98), rgba(23, 14, 42, 0.96)) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62), 0 0 44px rgba(155, 231, 255, 0.16) !important;
}

body :where(#ccm-widget, #ccm-root, #ccm-control-panel, .ccm-root, .ccm-widget, .ccm-modal, [class^="ccm"], [class*=" ccm"]) :where(h1, h2, h3, h4, p) {
  margin-block: 0 0.7em !important;
  line-height: 1.35 !important;
}

body :where(#ccm-widget, #ccm-root, #ccm-control-panel, .ccm-root, .ccm-widget, .ccm-modal, [class^="ccm"], [class*=" ccm"]) :where(button, a[role="button"], input[type="button"]) {
  min-height: 36px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
}

@media (max-width: 640px) {
  body :where(#ccm-widget, #ccm-root, #ccm-control-panel, .ccm-root, .ccm-widget, .ccm-modal, [class^="ccm"], [class*=" ccm"]) :where([role="dialog"], [class*="modal"], [class*="widget"], [class*="consent"]) {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: min(70vh, 520px) !important;
    padding: 12px !important;
    font-size: 0.92rem !important;
  }

  body :where(#ccm-widget, #ccm-root, #ccm-control-panel, .ccm-root, .ccm-widget, .ccm-modal, [class^="ccm"], [class*=" ccm"]) :where(button, a[role="button"], input[type="button"]) {
    min-height: 34px !important;
    padding: 7px 10px !important;
    font-size: 0.86rem !important;
  }
}

.flip-front span {
  position: relative;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  color: var(--text);
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.16;
}

.feature-flip-card .flip-front span {
  align-self: stretch;
  max-width: 100%;
  padding: 8px 10px;
  font-size: clamp(0.72rem, 1.08vw, 0.9rem);
  line-height: 1.08;
  text-align: center;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.flip-back {
  justify-content: center;
  gap: 14px;
  background: linear-gradient(145deg, rgba(17, 18, 32, 0.98), rgba(8, 5, 16, 0.97));
  transform: rotateY(180deg);
}

.flip-back strong {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.62rem;
  font-weight: 500;
  line-height: 1.12;
}

.flip-back span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
  white-space: pre-line;
}

.flip-back em {
  width: 64px;
  height: 1px;
  background: var(--accent);
}

.copy-block {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.copy-block.in-view {
  opacity: 1;
  transform: translateY(0);
}
body.page-impressum .copy-block,
body.page-widerrufsrecht-digitale-produkte .copy-block,
body.page-agb-und-kundeninformation .copy-block,
body.page-datenschutzerklaerung .copy-block {
  opacity: 1;
  transform: none;
}
.copy-block h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.15;
}
.copy-block p {
  margin: 0 0 12px;
  color: var(--muted);
}
.copy-block.pre-line-block p {
  white-space: pre-line;
}
.copy-block p:last-child { margin-bottom: 0; }
.cms-section-image {
  margin: 0 0 18px;
}
.cms-section-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.cms-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  .site-header {
    top: max(10px, env(safe-area-inset-top));
    width: min(calc(100% - 24px), var(--content));
    padding: 8px 10px;
    gap: 8px;
  }

  .brand span {
    max-width: 40vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0 12px 0 40px;
  }

  .site-nav,
  .site-header.nav-collapsed .site-nav {
    inset: calc(max(10px, env(safe-area-inset-top)) + 58px) max(12px, env(safe-area-inset-right)) auto max(12px, env(safe-area-inset-left));
    max-height: min(74svh, calc(100svh - 88px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav a,
  .site-header.nav-collapsed .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
  }

  .site-hero,
  .content-grid,
  .site-footer {
    width: min(var(--content), calc(100% - 28px));
  }

  .hero-actions,
  .cms-button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cms-button-row .button {
    width: 100%;
    min-height: 46px;
  }

  .copy-block {
    padding: 20px 16px;
    border-radius: 8px;
  }
}
.copy-block .price-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.copy-block .price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, var(--line));
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(155, 231, 255, 0.16), rgba(143, 109, 255, 0.11)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}
.copy-block li.price-line {
  margin-left: -1.1rem;
  list-style: none;
}
.price-amount {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #080510;
  font-family: var(--ui);
  font-size: 1.04em;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(155, 231, 255, 0.18);
}
.copy-block ul {
  margin: 8px 0 12px;
  padding-left: 1.1rem;
  color: var(--muted);
}
.copy-block li { margin-bottom: 6px; }

.copy-block.is-social {
  grid-column: 1 / -1;
}
.copy-block.cta-block {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(26px, 4vw, 54px);
  border-color: rgba(184, 134, 255, 0.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(90, 40, 140, 0.34), transparent 38%),
    radial-gradient(circle at 82% 100%, rgba(184, 134, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 9, 34, 0.72), rgba(7, 4, 15, 0.46));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 247, 233, 0.07);
  backdrop-filter: blur(16px);
}

.copy-block.cta-block h2 {
  margin-inline: auto;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.copy-block.cta-block p {
  max-width: 650px;
  margin-inline: auto;
}

.cta-mail {
  margin-top: 16px;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.social-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.social-card:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, white);
  background: rgba(143, 109, 255, 0.12);
}
.social-card img {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

.social-dock {
  position: fixed;
  left: 16px;
  bottom: calc(18px + 2.5cm);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  animation: socialDockFloat 5.6s ease-in-out infinite;
}

.social-dock-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 211, 154, 0.32);
  border-radius: 999px;
  background: rgba(12, 8, 22, 0.78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  animation: socialIconDrift 4.8s ease-in-out infinite;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.social-dock-link:nth-child(2) { animation-delay: 0.35s; }
.social-dock-link:nth-child(3) { animation-delay: 0.7s; }
.social-dock-link:nth-child(4) { animation-delay: 1.05s; }

.social-dock-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-dock-link::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(232, 211, 154, 0.26);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(10, 7, 18, 0.94);
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.social-dock-link:hover,
.social-dock-link:focus-visible {
  transform: translateX(2px);
  border-color: rgba(232, 211, 154, 0.68);
  background: rgba(23, 14, 40, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.44), 0 0 18px rgba(232, 211, 154, 0.18);
}

.social-dock-link:hover::after,
.social-dock-link:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes socialDockFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

@keyframes socialIconDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(1px, -3px, 0); }
}

/* ---------- Legacy link grid (start page) ---------- */

.legacy-section {
  margin-top: 8px;
  margin-bottom: 64px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.legacy-section h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
}
.legacy-section p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}
.link-list a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.03);
}
.link-list a:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, white);
  background: rgba(155, 231, 255, 0.08);
}

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-top: 16px;
  margin-bottom: 32px;
  padding: 28px 0 12px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.footer-intro {
  max-width: 620px;
  padding: 18px 20px;
  border: 1px solid rgba(155, 231, 255, 0.5);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(6, 6, 18, 0.96), rgba(19, 12, 38, 0.92));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), 0 0 28px rgba(155, 231, 255, 0.18), inset 0 0 0 1px rgba(255, 247, 233, 0.08);
}
.site-footer strong {
  display: block;
  color: #fffdf4;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(155, 231, 255, 0.54), 0 0 28px rgba(184, 134, 255, 0.42), 0 2px 12px rgba(0, 0, 0, 0.64);
}
.site-footer p {
  color: #fff8e7;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.58;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7), 0 0 18px rgba(155, 231, 255, 0.16);
}
.trust-widgets {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.9fr) minmax(240px, 0.8fr);
  gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(184, 134, 255, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(90, 40, 140, 0.34), transparent 36%),
    radial-gradient(circle at 88% 100%, rgba(184, 134, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(18, 9, 34, 0.74), rgba(7, 4, 15, 0.48));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 247, 233, 0.07);
  backdrop-filter: blur(16px);
}
.trust-heading {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}
.trust-heading span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-heading h2 {
  margin: 0;
  color: #fffdf4;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  font-weight: 600;
  text-shadow: 0 0 18px rgba(155, 231, 255, 0.28);
}
.trust-widget {
  min-width: 0;
  border-radius: 14px;
}
.trust-widget-shopvote,
.trust-widget-shopauskunft,
.trust-widget-haendlerbund {
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.22);
}
.trust-widget-shopvote {
  display: block;
  width: min(100%, 340px);
  padding: 10px;
  overflow: hidden;
  background: #fff;
  justify-self: start;
}
.trust-widget iframe {
  width: 100%;
  max-width: 340px;
  height: 300px !important;
  display: block;
  border-radius: inherit;
  background: #fff;
}
.trust-widget-shopauskunft {
  width: 180px;
  max-width: 100%;
  min-height: 72px;
  overflow: hidden;
  background: #fff;
  justify-self: center;
}
.trust-widget-shopauskunft .shopauskunft-widget {
  width: 232px !important;
  max-width: 232px !important;
  overflow: hidden;
  background: #fff;
}
.trust-widget-haendlerbund {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent !important;
  background-image: none !important;
  overflow: visible;
  mix-blend-mode: normal;
  box-shadow: none;
}
.trust-widget-haendlerbund::before {
  content: none;
}
.trust-logo-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: #fff !important;
  background-image: none !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.22);
  mix-blend-mode: normal;
}
.trust-widget-haendlerbund .trust-logo-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border-radius: 4px;
  background: #fff !important;
  background-image: none !important;
  mix-blend-mode: normal;
}
.trust-widget-haendlerbund .sonnenhof-link {
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #fff;
  border-radius: 14px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.22);
}
.trust-widget-haendlerbund img {
  position: relative;
  z-index: 1;
  max-width: 118px;
  max-height: 44px;
  height: auto;
  background: #fff !important;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.trust-widget-haendlerbund .sonnenhof-link img {
  width: min(100%, 142px);
  max-width: 142px;
  height: auto;
}
.site-footer nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  width: 100%;
}
.site-footer nav a {
  white-space: nowrap;
  padding: 11px 15px;
  border: 1px solid rgba(155, 231, 255, 0.72);
  border-radius: 8px;
  color: #fffdf4;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(8, 8, 24, 0.98), rgba(22, 14, 42, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36), 0 0 22px rgba(155, 231, 255, 0.24), inset 0 0 0 1px rgba(255, 247, 233, 0.08);
  text-shadow: 0 0 12px rgba(155, 231, 255, 0.66), 0 0 26px rgba(184, 134, 255, 0.38), 0 1px 8px rgba(0, 0, 0, 0.72);
}
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 60%, white);
  background: linear-gradient(135deg, rgba(15, 19, 42, 0.98), rgba(35, 18, 58, 0.98));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38), 0 0 30px rgba(155, 231, 255, 0.34), 0 0 42px rgba(184, 134, 255, 0.28);
  text-shadow: 0 0 14px rgba(255, 247, 233, 0.78), 0 0 34px rgba(155, 231, 255, 0.58), 0 0 52px rgba(184, 134, 255, 0.42);
}

@media (max-width: 640px) {
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav {
    justify-content: flex-end;
    align-items: flex-end;
    padding-left: 72px;
    text-align: right;
  }
  .trust-widgets {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
    padding: 16px 10px;
  }
  .trust-heading h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }
  .trust-widget-shopvote {
    width: min(100%, clamp(220px, 78vw, 340px));
    justify-self: center;
  }
  .trust-widget iframe {
    max-width: clamp(220px, 78vw, 340px);
    height: clamp(210px, 72vw, 300px) !important;
  }
  .trust-widget-shopauskunft {
    width: min(100%, clamp(156px, 50vw, 180px));
    min-height: clamp(58px, 18vw, 72px);
    justify-self: center;
  }
  .trust-widget-shopauskunft .shopauskunft-widget {
    width: 232px !important;
    max-width: 232px !important;
  }
  .trust-widget-haendlerbund {
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    width: min(100%, clamp(190px, 58vw, 300px));
    justify-self: center;
  }
  .trust-logo-row {
    justify-content: center;
    gap: 6px;
    width: min(100%, clamp(176px, 54vw, 280px));
    padding: clamp(5px, 1.6vw, 8px) clamp(6px, 2vw, 10px);
  }
  .trust-widget-haendlerbund .trust-logo-link {
    padding: 3px 4px;
  }
  .trust-widget-haendlerbund img {
    max-width: clamp(74px, 20vw, 96px);
    max-height: clamp(26px, 7vw, 34px);
    object-fit: contain;
  }
  .trust-widget-haendlerbund .sonnenhof-link {
    width: min(100%, clamp(176px, 54vw, 280px));
    padding: clamp(5px, 1.6vw, 8px) clamp(6px, 2vw, 10px);
  }
  .trust-widget-haendlerbund .sonnenhof-link img {
    width: min(100%, clamp(86px, 24vw, 118px));
    max-width: clamp(86px, 24vw, 118px);
  }
  .social-dock {
    left: 12px;
    bottom: calc(12px + 2.5cm);
    gap: 7px;
  }
  .social-dock-link {
    width: 38px;
    height: 38px;
  }
  .social-dock-link img {
    width: 22px;
    height: 22px;
  }
  .flip-section {
    width: min(100% - 24px, var(--content));
  }

}
