/* Farben etwas gedämpft */
:root {
  --bg: #0b0c0f;
  --text: #e0dacd;
  --muted: #a7a094;
  --gold: #c9a34a;
  --card: rgba(255, 255, 255, 0.045);
  --card-bd: rgba(201, 163, 74, 0.25);
  --radius: 14px;
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 700px at 70% -10%, #141820 0%, #0b0c0f 60%)
    fixed;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Inter,
    Arial,
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

header,
section,
footer {
  padding: 22px 16px;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.section-title {
  font-size: 22px;
  margin: 0 0 10px;
  text-align: center;
}
.section-sub {
  max-width: 900px;
  margin: 0 auto 16px;
  text-align: center;
  color: var(--muted);
}
.small-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ----- Topbar ----- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(10, 12, 16, 0.9),
    rgba(10, 12, 16, 0.6)
  );
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid rgba(201, 163, 74, 0.18);
  isolation: isolate;
  contain: paint;
}
.topbar__wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 96px;
  height: 96px;
}
.brand-title {
  font-family: "Marcellus SC", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}
.right-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav.topnav {
  display: flex;
  gap: 16px;
}
nav.topnav a {
  opacity: 0.9;
  border-bottom: 1px solid transparent;
  padding: 6px 0;
}
nav.topnav a:hover {
  opacity: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

/* ----- Language pill switch ----- */
.lang-switch {
  position: relative;
  width: 116px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(201, 163, 74, 0.55);
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(15, 16, 20, 0.65),
    rgba(15, 16, 20, 0.45)
  );
  box-shadow: 0 0 0 1px rgba(201, 163, 74, 0.12) inset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  cursor: pointer;
}
.lang-switch .seg {
  position: relative;
  z-index: 1;
  width: 50%;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #dcd8cd;
  opacity: 0.95;
  line-height: 34px;
}
.lang-switch .thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  transition: transform 0.2s ease;
  box-shadow: 0 0 0 1px rgba(201, 163, 74, 0.12) inset;
}
.lang-switch[data-lang="en"] .thumb {
  transform: translateX(0);
}
.lang-switch[data-lang="de"] .thumb {
  transform: translateX(100%);
}
.lang-switch[data-lang="en"] .seg[data-lang="en"],
.lang-switch[data-lang="de"] .seg[data-lang="de"] {
  color: #ffffff;
}

/* ----- Hero ----- */
.hero {
  padding-top: 64px;
  padding-bottom: 10px;
}
.hero h1 {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0.3px;
  font-size: 40px;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}
.hero-quote {
  font-size: 16px;
  margin: 8px 0 0;
  font-style: italic;
  opacity: 0.9;
}

/* ----- Buttons ----- */
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px 0;
}
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  background: #0f1014;
  color: #f4e8c8;
  border: 1px solid #a9852a;
  box-shadow: 0 0 0 1px rgba(169, 133, 42, 0.2) inset;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px var(--gold) inset,
    0 0 12px rgba(201, 163, 74, 0.22);
}

/* ----- Grid / Cards ----- */
.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 12;
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(3px);
  max-width: 400px;
  margin-left: auto; /* zentriert die Karte in der Spalte */
  margin-right: auto;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
  color: #f4e8c8;
  border: 1px solid #a9852a;
  background: rgba(169, 133, 42, 0.15);
}
.list {
  margin: 8px 0 0 0;
  padding-left: 20px; /* statt Default ~40px */
}
.list li::marker {
  color: var(--gold);
}
@media (min-width: 880px) {
  .third {
    grid-column: span 4;
  }
}
/* Extras: zwei Karten über den Produkten sollen zusammen die volle Breite (12) einnehmen */
@media (min-width: 880px) {
  #extras .card {
    grid-column: span 6;
    max-width: none; /* volle Spaltenbreite nutzen */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Buttons in #extras unten rechts platzieren */
#extras .card {
  display: flex;
  flex-direction: column;
}
#extras .btn-row {
  justify-content: flex-end;
  margin-top: auto;
}
/* Zusätzlicher Abstand oberhalb der zwei Kästen */
#extras .cards {
  margin-top: 50px;
}

/* Kontakt erst bei Klick sichtbar machen */
#contact {
  display: none;
}
#contact:target {
  display: block;
}

/* Ganze Karten anklickbar via JS (ohne Overlay) */
.card[data-link] {
  cursor: pointer;
}
.card[data-link]:hover {
  box-shadow:
    0 0 0 1px var(--gold) inset,
    0 0 12px rgba(201, 163, 74, 0.18);
  border-color: var(--gold);
}
.card .btn,
.card a,
.card button,
.card input,
.card textarea,
.card label {
  position: relative;
}
.card .btn-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Rundes Bullauge für Portrait */
.porthole-circle {
  position: relative;
  width: 140px; /* kleiner statt 180px */
  aspect-ratio: 1 / 1; /* perfekt rund */
  margin: 0 auto 16px; /* mittig + unten etwas Abstand */
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201, 163, 74, 0.75);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #1b2026, #101316);

  /* Safari-/iOS Fix */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  contain: paint;
}

.porthole-circle > img {
  display: block;
  width: 150px;
}

.porthole-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 220, 170, 0.45);
  pointer-events: none;
}
.porthole-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(
      120% 90% at 28% 0%,
      rgba(255, 255, 255, 0.16) 0%,
      transparent 58%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0.35) 100%
    );
  opacity: 0.95;
  mix-blend-mode: screen;
}

.porthole-circle:hover > img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.06);
}

/* Bullauge – weiteres Format */
/* —— Ovale Produkt-Bullaugen —— */
.porthole {
  position: relative;
  width: 100%;
  aspect-ratio: 1.75 / 1; /* weniger „eierig“ */
  margin: 8px 0 16px;

  /* sauberes Oval, kein echter Border */
  border: 0;
  border-radius: 50% / 65%; /* 34–38% je nach Geschmack */
  clip-path: ellipse(50% 65% at 50% 50%);
  overflow: hidden;

  background: linear-gradient(135deg, #1b2026, #101316);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);

  /* iOS/Safari Clipping */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  contain: paint;
}

/* Goldring AUF dem Bild rendern */
.porthole::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2; /* <- über dem Bild */
  box-shadow:
    inset 0 0 0 2px rgba(201, 163, 74, 0.8),
    /* Gold */ inset 0 0 0 4px rgba(0, 0, 0, 0.55); /* dunkle Fase */
}

.porthole::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3; /* über Bild und über Goldring */
  background:
    radial-gradient(
      120% 90% at 28% 0%,
      rgba(255, 255, 255, 0.12) 0%,
      transparent 60%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0.25) 70%
    );
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Bild unter den Ring legen und sauber füllen */
.porthole > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--obj, center 50%);
  z-index: 1; /* <- unter dem Ring */
  transform: translateZ(0);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.porthole:hover > img {
  transform: scale(1.03) translateY(-1px);
  filter: saturate(1.03) contrast(1.06);
}

/* Reviews */
.reviews .quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: var(--radius);
  padding: 16px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #1c1f23;
  border: 1px solid rgba(201, 163, 74, 0.25);
  color: #d9d4c6;
}
.stars {
  letter-spacing: 2px;
  font-size: 14px;
}
.stars .on {
  color: #c9a34a;
}
.stars .off {
  color: #6b6356;
}

/* Kontaktformular */
.form {
  max-width: 780px;
  margin: 0 auto;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .form .row.two {
    grid-template-columns: 1fr 1fr;
  }
}
.input,
.textarea,
.checkbox {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--card-bd);
  background: #0f1115;
  color: var(--text);
  padding: 10px 12px;
}
.textarea {
  min-height: 140px;
  resize: vertical;
}
label {
  display: block;
  font-size: 0.95rem;
  margin: 6px 0 4px;
  color: var(--muted);
}
.form .actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.small {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.social {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  display: flex;
  gap: 14px;
  justify-content: center;
}
.copy {
  display: flex;
  gap: 10px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ----- Animated Water ----- */
.water-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}
.water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 65vh;
  background: linear-gradient(
    to top,
    rgba(18, 22, 28, 0.95),
    rgba(18, 22, 28, 0) 70%
  );
  mask: linear-gradient(to top, black 40%, transparent 100%);
  -webkit-mask: linear-gradient(to top, black 40%, transparent 100%);
}
.water svg {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
}
.w1 {
  animation: drift1 24s linear infinite;
  opacity: 0.95;
}
.w2 {
  animation: drift2 42s linear infinite;
  opacity: 0.6;
  transform: translate3d(-25%, 0, 0);
}
.w1,
.w2 {
  animation-timing-function: linear;
  will-change: transform;
  transform: translateZ(0);
}
@keyframes drift1 {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@keyframes drift2 {
  from {
    transform: translate3d(-25%, 0, 0);
  }
  to {
    transform: translate3d(-75%, 0, 0);
  }
}

/* Chart im Wasser */
.water-canvas {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16%;
  height: 38%;
  width: 100%;
  opacity: 0.22;
}

/* Sterne */
.net-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    radial-gradient(
      2px 2px at 20% 30%,
      rgba(255, 255, 255, 0.12) 40%,
      transparent 41%
    ),
    radial-gradient(
      2px 2px at 70% 60%,
      rgba(255, 255, 255, 0.1) 40%,
      transparent 41%
    ),
    radial-gradient(
      2px 2px at 35% 80%,
      rgba(255, 255, 255, 0.08) 40%,
      transparent 41%
    );
}

/* Isoliere Paint der Overlays zur Reduzierung von Repaints */
.water,
.net-overlay {
  contain: paint;
}

.topbar,
.hero,
section,
footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .w1,
  .w2 {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Burger-Button */
.menu-btn {
  display: none;
  background: #0f1014;
  color: var(--text);
  border: 1px solid var(--card-bd);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 18px;
}

/* Volle Breite für "Über Arty"-Kasten */
.card.full {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* === Mobile-Header-Layout === */
@media (max-width: 820px) {
  .topbar__wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
  }
  .right-tools {
    display: contents;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .brand img {
    width: 64px;
    height: 64px;
  }
  .brand-title {
    font-size: 20px;
  }
  .lang-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .menu-btn {
    display: none;
  }
  .topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    background: transparent;
    border: 0;
    padding: 6px 0 0;
    margin: 0;
  }
  .topnav a {
    display: inline-block;
    padding: 4px 0;
    border: 0;
    opacity: 1;
  }
}

/* Laufband-Styles (Reviews) */
.reviews-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 14px;
  isolation: isolate;
  contain: paint;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
}
.reviews-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}


/* ===== Account Guard (seiten­spezifisches Layout) ===== */
/* Überschrift im Hero der Produktseiten */
.hero-title {
  margin: 45px 0 6px;
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1.15;
  font-size: 40px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

/* Container der Account‑Guard Sektion */
.ag {
  margin-top: 80px;
  padding: 22px 16px 72px;
  position: relative;
  z-index: 1;
}
.ag-wrap {
  position: relative;
  display: grid;
  align-items: stretch;
  gap: 10px;
  grid-template-columns: 1fr minmax(520px, 640px) 1fr;
}
.ag-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  padding-block: 8px;
  position: relative;
  z-index: 3;
}
.ag-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.ag-hero {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(201, 163, 74, 0.22) inset;
}

/* Hotspots auf dem Bild (Zielpunkte der Tentakel) */
.ag-hotspot { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.ag-hotspot#hotspot-tl { top: 15%; left: 33%; }
.ag-hotspot#hotspot-tr { top: 15%; right: 23%; }
.ag-hotspot#hotspot-bl { bottom: 15%; left: 47%; }
.ag-hotspot#hotspot-br { bottom: 23%; right: 5%; }

/* Tentakel-Overlay (über Bild, unter Karten) */
.ag-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.ag-links path.t-shadow {
  stroke: rgba(0, 0, 0, 0.65);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: .55;
}
.ag-links path.t-line {
  stroke: url(#agTentacleGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.ag-links circle.t-dot { fill: #C9A34A; opacity: .95; }

/* Feature-Karten neben dem Bild (nur auf AG) */
.ag .feature {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 40%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1));
  border: 1px solid rgba(201, 163, 74, 0.38);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow:
    0 0 0 1px rgba(201, 163, 74, 0.12) inset,
    0 10px 28px rgba(0, 0, 0, 0.28);
}
.ag .feature h3 {
  margin: 0 0 8px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: .4px;
  font-size: 17px;
  color: var(--gold);
}
.ag .feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Kasten an Bildober-/unterkante andocken */
.ag-left .feature:first-child,
.ag-right .feature:first-child { margin-top: -8px; }
.ag-left .feature:last-child,
.ag-right .feature:last-child { margin-bottom: -8px; }

/* Sicherheit: kein zusätzlicher Spalt zwischen den beiden Kästen in einer Spalte */
.ag-col { gap: 0; justify-content: space-between; }
.ag-col .feature:first-child { margin-top: var(--mt, 0px); }
.ag-col .feature:last-child  { margin-bottom: var(--mb, 0px); }

/* Responsive Tweaks für AG */
@media (max-width: 1100px) {
  .ag-wrap { grid-template-columns: 1fr minmax(440px, 560px) 1fr; }
}
@media (max-width: 980px) {
  .ag-wrap { grid-template-columns: 1fr; gap: 18px; }
  .ag-col { order: 2; }
  .ag-center { order: 1; }
  .ag-links { display: none; }
}

/* Mobile-Layout: Bild oben, Kästen sauber darunter */
@media (max-width: 980px) {
  .ag { margin-top: 0; }
  .ag-wrap { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .ag-center { order: 1; }
  .ag-left  { order: 2; }
  .ag-right { order: 3; }
  .ag-links { display: none !important; }
  .ag-col { gap: 16px; justify-content: flex-start; padding-block: 0; }
  .ag-left .feature:first-child,
  .ag-right .feature:first-child,
  .ag-left .feature:last-child,
  .ag-right .feature:last-child { margin: 0 !important; transform: none !important; }
  .ag-hero { max-width: 100%; height: auto; }
  .ag .feature { width: 100%; max-width: 640px; margin-inline: auto; }
}

.reviews .quote {
  flex: 0 0 320px;
  background: var(--card);
  border: 1px solid var(--card-bd);
  border-radius: var(--radius);
  padding: 16px;
}
@media (max-width: 520px) {
  .reviews .quote {
    flex-basis: 260px;
  }
}
.reviews-slider:hover {
  cursor: grab;
}
.reviews .cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.reviews .quote {
  grid-column: span 12;
}
@media (min-width: 880px) {
  .reviews .quote {
    grid-column: span 4;
  }
}

/* Mehr Abstand zwischen Hero und Produkte */
#products {
  margin-top: 20px;
  padding-bottom: 48px;
}
#products .section-title {
  margin-bottom: 22px;
}
.cards {
  align-items: stretch;
}
.card {
  display: flex;
  flex-direction: column;
}
.card .btn-row {
  margin-top: auto;
  padding-top: 14px;
}
.card .badge {
  align-self: flex-start;
}
.card .list {
  margin-bottom: 6px;
}

/* ===================== */
/*  Überlappung Arty + Karte – text-sicher + viewport-fit */
/* ===================== */

.focus-wrap {
  position: relative;

  /* Look: hier stellst du die Ecke/Größe ein */
  --artySize: clamp(120px, 16vw, 160px); /* Bildgröße (wie bisher) */
  --artyPad: 16px; /* Abstand Text zum Bild */
  --artyOffX: -50px; /* NEGATIV = Bild greift über linken Kartenrand */
  --artyOffY: -30px; /* NEGATIV = näher an obere Kartenkante */

  /* Mindestabstand zum Viewportrand */
  --edgeGap: 16px;

  /* SICHERUNG: verhindert, dass das Bild weiter als -edgeGap nach links darf */
  --safeOffX: max(calc(-1 * var(--edgeGap)), var(--artyOffX));

  /* Wieviel die Karte nach rechts geschoben werden muss,
     damit links trotz Überstand ein Rand bleibt */
  --pushLeft: max(0px, calc(var(--edgeGap) - var(--safeOffX)));
}

/* Karte: Platz fürs Bild + an den Viewport anpassen */
.focus-card {
  position: relative;
  box-sizing: border-box;

  /* Textkissen links = (Überstand + Bildbreite) + Abstand */
  padding-left: calc(
    max(16px, var(--safeOffX) + var(--artySize) + var(--artyPad))
  );
  padding-top: 18px;

  /* Karte so verschieben/verkürzen, dass (Karte + Bild) <= 100% bleibt */
  margin-left: var(--pushLeft);
  margin-right: var(--edgeGap);
  width: calc(100% - var(--pushLeft) - var(--edgeGap));
}

.focus-card .porthole-circle {
  margin: 0;
}
.focus-card .arty-overlap {
  position: absolute;
  top: var(--artyOffY);
  left: var(--safeOffX); /* <- WICHTIG: die „gesicherte“ Variante verwenden */
  width: var(--artySize);
  z-index: 3;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Mobil-Feintuning */
@media (max-width: 680px) {
  .focus-wrap {
    --artySize: 120px; /* etwas kleiner */
    --artyPad: 14px;
    --edgeGap: 16px;

    /* ggf. etwas weniger Überstand auf kleineren Screens */
    --artyOffX: -20px;
    --artyOffY: -10px;

    /* Sicherung neu berechnen */
    --safeOffX: max(calc(-1 * var(--edgeGap)), var(--artyOffX));
    --pushLeft: max(0px, calc(var(--edgeGap) - var(--safeOffX)));
  }

  .porthole-circle > img {
    width: 120px;
  }
}
/* ===== Extras-Section: Coaching als Haupt-Highlight ===== */
.extras-grid {
  align-items: stretch;
}

@media (min-width: 880px) {
  /* 7/12 vs 5/12 auf Desktop */
  .extras-grid .card--coaching {
    grid-column: span 7;
  }
  .extras-grid .card--strategy {
    grid-column: span 5;
  }
}

/* Gemeinsamer Hero-Look für die Top-Karten */
.card--hero {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  border: 1px solid rgba(201, 163, 74, 0.32);
  box-shadow:
    0 0 0 1px rgba(201, 163, 74, 0.1) inset,
    0 10px 24px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(4px) saturate(108%);
}
.card--hero h3 {
  font-size: 22px;
  letter-spacing: 0.2px;
}
.card--hero p {
  margin-top: 6px;
}

/* Dezente „Glass“-Kante oben */
.card--hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  pointer-events: none;
}

/* Coaching: dezentes Coach-Icon + Gold-Glow */
.card--coaching {
  background:
    radial-gradient(
      600px 260px at 20% -10%,
      rgba(201, 163, 74, 0.2),
      transparent 60%
    ),
    radial-gradient(
      400px 200px at 100% 120%,
      rgba(201, 163, 74, 0.1),
      transparent 70%
    ),
    var(--card);
  border-color: rgba(201, 163, 74, 0.45);
}
.card--coaching::after {
  /* kleines „Coach/Person“-Icon rechts oben, daturiert als SVG */
  content: "";
  position: absolute;
  top: -14px;
  right: -10px;
  width: 180px;
  height: 180px;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23C9A34A' stroke-width='2'>\
      <circle cx='32' cy='22' r='10' fill='none'/>\
      <path d='M12 56c0-10 9-18 20-18s20 8 20 18'/>\
    </svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* Strategie: dunkles Candles-Pattern */
.card--strategy {
  background:
    radial-gradient(
      520px 240px at 85% -20%,
      rgba(120, 160, 220, 0.12),
      transparent 70%
    ),
    var(--card);
}
.card--strategy::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 220px;
  height: 140px;
  opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 140'>\
      <g stroke='%23C9A34A' stroke-width='2' stroke-linecap='round'>\
        <line x1='10' y1='20' x2='10' y2='100'/><rect x='4' y='40' width='12' height='40' fill='none'/>\
        <line x1='60' y1='10' x2='60' y2='110'/><rect x='54' y='30' width='12' height='56' fill='none'/>\
        <line x1='110' y1='26' x2='110' y2='120'/><rect x='104' y='60' width='12' height='46' fill='none'/>\
        <line x1='160' y1='18' x2='160' y2='96'/><rect x='154' y='36' width='12' height='36' fill='none'/>\
      </g>\
    </svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* CTAs präsenter in den Top-Karten */
#extras .btn-row {
  justify-content: flex-start;
}
#extras .card--strategy .btn-row {
  justify-content: flex-end;
}

/* Spacing-Feinschliff oben */
#extras .cards {
  margin-top: 34px;
}

/* 1) Badges oben ausblenden */
.card--hero .badge {
  display: none;
}

/* 2) Kerzen-Pattern links statt rechts, stört Button nicht mehr */
.card--strategy::after {
  left: 30px; /* schiebt die Grafik etwas nach innen */
  bottom: 10px; /* leicht höher */
  width: 180px; /* kleinere Breite */
  height: 120px; /* kleinere Höhe */
  opacity: 0.22;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* 3) Button-Ausrichtung: Coaching unten rechts, Strategie bleibt rechts */
#extras .card--coaching .btn-row {
  justify-content: flex-end;
}

/* Optional: etwas extra Platz unten, damit nichts kollidiert */
.card--hero {
  padding-bottom: 18px;
}
.card--hero .btn-row {
  margin-top: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.card--hero {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s;
}
.card--hero:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--gold) inset,
    0 12px 26px rgba(0, 0, 0, 0.34);
  border-color: var(--gold);
}

.btn {
  position: relative;
  overflow: hidden;
}
.btn:hover::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(201, 163, 74, 0.26);
  animation: btnGlow 0.9s ease-out forwards;
}
@keyframes btnGlow {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover::after {
    animation: none;
  }
}

.porthole,
.porthole-circle {
  perspective: 600px;
}
.porthole:hover img,
.porthole-circle:hover img {
  transform: translateZ(12px) scale(1.02);
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}
.card--strategy::after {
  transition: opacity 0.4s ease;
}
.card--strategy.reveal:not(.in)::after {
  opacity: 0;
}
.card--strategy.reveal.in::after {
  opacity: 0.22;
  animation: candlesIn 0.7s ease both;
}
@keyframes candlesIn {
  from {
    transform: translateY(6px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 0.22;
  }
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 10px;
}

.section-title {
  position: relative;
  display: inline-block;
}
.section-title:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(201, 163, 74, 0.45),
    transparent
  );
}

/* Fix: Section-Überschriften zentriert anzeigen */
.section-title {
  display: block; /* volle Breite */
  text-align: center; /* Text zentrieren */
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 680px) {
  .focus-card {
    padding-left: 16px;      /* kein Platz mehr links fürs Bild */
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: left;        /* Text bleibt linksbündig */
  }

  .focus-card .arty-overlap {
    position: relative;      /* Bild nicht mehr überlappend */
    top: 0;
    left: 0;
    margin: 0 auto 16px;     /* mittig über dem Text */
    display: block;
  }
}
/* Lead-Box direkt unter H3 */
.card--coaching .lead {
  display:flex; align-items:flex-start; gap:12px;
  background: rgba(12,17,23,.58);
  border: 1px solid rgba(212,179,111,.35);
  border-left: 4px solid var(--arty-gold);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 8px 0 18px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  max-width: var(--content-max);   /* gleiche Breite wie die Timeline */
  margin: 0 auto 18px auto;        /* mittig, unten etwas Abstand */
}

/* User-Icon: Kopf-Kreis + Schulter-Halbkreis in Gold */
.card--coaching .lead .ico{
  flex: 0 0 30px;
  width:30px; height:30px; margin-top:2px;
  background: center/contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='%23d4b36f' stroke-width='2'/%3E%3Cpath d='M4 20a8 8 0 0 1 16 0' fill='none' stroke='%23d4b36f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity:.95;
}
.card--coaching .lead p { margin:0;  }
.card--coaching .lead-title {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--arty-gold);   /* gleiche Farbe wie die Bubble-Titel */
}

/* H3 über dem Lead-Kasten bündig (gleiche Breite + zentriert) */
.card--coaching > h3{
  max-width: var(--content-max);   /* wie Lead/Bubbles */
  margin: 0 auto 40px;             /* mittig + kleiner Abstand nach unten */
  padding: 0;                      /* keine Einrückung links/rechts */
}
.card--coaching .timeline .bubble h4 {
  font-size: 20px;   /* Standard war ~16px, hier etwas größer */
  font-weight: 700;  /* etwas kräftiger */
}
