/* ==========================================================================
   G-Deposito Landingpage
   Ergaenzt design.css — Farben und Schrift werden von dort uebernommen.
   Alles unter .gd-page gescopet, damit nichts auf die uebrigen Seiten wirkt.
   ========================================================================== */

.gd-page {
  --gd-gold: #c69b4c;
  --gd-gold-dark: #b0862f;
  --gd-ink: #141414;
  --gd-beige: #f3ece0;
  --gd-beige-strong: #ebdcc1;
  --gd-grey: #f2f3f3;
  --gd-grey-bar: #dddfdf;
  --gd-line: #d9dbdb;
  --gd-muted: #7f8384;
}

/* ---------- Sektionen ---------------------------------------------------- */

.gd-section { padding: 80px 0; }
.gd-section--grey { background-color: var(--gd-grey); }
.gd-section--beige { background-color: var(--gd-beige); }
.gd-section--tight { padding: 48px 0; }
/* Kachel-Sektionen (Vergleich, Münzreihe) schliessen ohne Aussenabstand an den
   Block darüber an. Der Abstand zur nächsten Kachel ist bewusst PADDING und
   nicht margin: bei padding:0 am Elternelement bricht der Aussenabstand des
   Kindes aus der Sektion aus (margin collapsing) und erzeugt einen weissen
   Streifen zwischen zwei grauen Sektionen. */
.gd-section--flush { padding: 0 0 32px; }

.gd-section > .container > h2:first-child,
.gd-section h2.gd-heading {
  /* Fluid: bei 40px sprengen lange Komposita wie "Sicherheitsmassnahmen"
     (557px breit) die schmale Spalte im Zweispalter. */
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.3;
  margin-bottom: 48px;
}

.gd-lead { max-width: 62ch; }

/* Deutsche Komposita brechen sonst aus schmalen Spalten heraus. Weil design.css
   overflow-x:hidden setzt, würde der Überhang still abgeschnitten statt zu
   scrollen — also hier erzwungen umbrechen und wo möglich trennen. */
.gd-page h1,
.gd-page h2,
.gd-page h3,
.gd-page p,
.gd-page li,
.gd-page dt,
.gd-page dd {
  overflow-wrap: break-word;
  hyphens: auto;
}

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

.gd-hero { position: relative; background: #fff; }
.gd-hero__media { position: relative; overflow: hidden; }
.gd-hero__media img { width: 100%; height: auto; display: block; }
.gd-hero__body {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 100%;
}
.gd-hero__kicker {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.2;
  color: var(--gd-gold);
  margin: 0 0 8px;
}
.gd-hero__kicker sup { color: #d0021b; padding-left: 4px; }
/* Produkt-Logo: viewBox 722.83 x 113.39, also rund 6.4:1 — Breite begrenzen,
   Hoehe folgt automatisch. */
.gd-hero__logo { margin: 0 0 14px; }
.gd-hero__logo img { width: 100%; max-width: 330px; height: auto; display: block; }
.gd-hero__title {
  font-size: 52px;
  line-height: 64px;
  margin: 0 0 12px;
  padding: 0;
}
.gd-hero__sub {
  font-size: 22px;
  line-height: 32px;
  color: var(--gd-ink);
  margin: 0;
}

@media (max-width: 991.98px) {
  .gd-hero__body { position: static; transform: none; padding: 32px 0 8px; }
  .gd-hero__kicker { font-size: 28px; }
  .gd-hero__logo img { max-width: 230px; }
  .gd-hero__title { font-size: 34px; line-height: 44px; }
  .gd-hero__sub { font-size: 18px; line-height: 28px; }
}

/* ---------- USP-Leiste --------------------------------------------------- */
/* Layout kommt vollständig aus design.css (.bc-silver-10 / .sd-uvp), damit die
   Zeile exakt wie auf der S-Deposito-Landingpage sitzt — inklusive der dortigen
   Breitenverteilung und Media Queries. Hier wird nur der Haken ausgetauscht:
   haken-silber.svg und haken-gold.svg sind baugleich (283.5², Scheibe + weisser
   Haken), es unterscheidet sich nur die Scheibenfarbe. */

.gd-uvp li::before {
  background-image: var(--gd-uvp-haken, url(/assets/img/haken-gold.svg));
}

/* ---------- Text / Bild -------------------------------------------------- */

/* Immer innerhalb des Containers — kein randloser Vollbreiten-Block. */
.gd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.gd-split--reverse .gd-split__media { order: -1; }
/* min-width:0 ist Pflicht: Grid-Items haben von Haus aus min-width:auto, dann
   drückt die Eigenbreite eines Bildes die Spalte über den Container hinaus
   ("Grid-Blowout"). Weil design.css overflow-x:hidden setzt, gäbe es dabei
   nicht einmal einen Scrollbalken — der Inhalt würde still abgeschnitten. */
.gd-split__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.gd-split__media { position: relative; min-height: 320px; min-width: 0; }
.gd-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gd-split--beige .gd-split__body { background: var(--gd-beige); padding: 56px 48px; }
.gd-split--plain { gap: 48px; align-items: start; }
.gd-split--plain .gd-split__body { padding: 0; }
.gd-split--plain .gd-split__media { min-height: 0; }
.gd-split--plain .gd-split__media img { position: static; height: auto; max-width: 100%; }
/* Ohne Bild einspaltig — sonst stuende der Text in halber Breite. */
.gd-split--single { grid-template-columns: minmax(0, 1fr); }
.gd-split--single .gd-lead { max-width: none; }

@media (max-width: 991.98px) {
  .gd-split { grid-template-columns: minmax(0, 1fr); }
  .gd-split--reverse .gd-split__media { order: 0; }
  .gd-split--beige .gd-split__body { padding: 32px 24px; }
  .gd-split__media { min-height: 240px; }
}

/* ---------- Vergleichs-Kachel (Brot, Auto, Roche-Turm) ------------------- */

.gd-compare {
  background: #fff;
  padding: 44px 56px;
  margin-bottom: 0;
}
.gd-compare__label { color: var(--gd-muted); margin: 0 0 32px; padding-left: 4%; }
.gd-compare__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}
.gd-compare__fig { margin: 0; text-align: center; }
/* Ohne Deckelung rendern die PNGs in voller Spaltenbreite — in der Vorlage
   sind sie rund 200 px hoch. Der Einzelbild-Fall (Roche-Turm) ist hochformatig
   und darf deutlich höher werden. */
.gd-compare__fig img { max-width: 100%; max-height: 200px; width: auto; height: auto; }
/* Das Roche-JPG enthält Turm und Goldwürfel bereits maßstäblich komponiert
   (1365 x 1718). Die Maßklammern der Vorlage sind reine Grafik und fehlen —
   die Werte stehen stattdessen in den Datenspalten. */
.gd-compare--single .gd-compare__fig img { max-height: 320px; }
.gd-compare__fig figcaption { font-size: 12px; color: var(--gd-muted); margin-top: 12px; }
.gd-compare__arrow { width: 48px; opacity: .8; }
.gd-compare__data { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.gd-compare__data dt { font-weight: 700; margin-bottom: 8px; }
.gd-compare__data dd { margin: 0 0 4px; }
.gd-compare__note { font-size: 12px; color: var(--gd-muted); }

.gd-callout {
  border-left: 5px solid var(--gd-gold);
  background: var(--gd-grey-bar);
  padding: 16px 22px;
  margin-top: 24px;
  font-size: 16px;
}

@media (max-width: 991.98px) {
  .gd-compare { padding: 24px; }
  .gd-compare__label { padding-left: 0; }
  .gd-compare__row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gd-compare__arrow { transform: rotate(90deg); margin: 0 auto; }
  .gd-compare__fig img { max-height: 160px; }
}

/* ---------- Muenzreihe --------------------------------------------------- */

.gd-coins {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.gd-coins__img { height: 110px; display: flex; align-items: center; justify-content: center; }
.gd-coins__img img { max-width: 100%; max-height: 100%; }
.gd-coins__name { font-weight: 700; margin: 16px 0 4px; }
.gd-coins__meta { margin: 0; font-size: 15px; }
@media (max-width: 991.98px) { .gd-coins { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px)  { .gd-coins { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Dreispalter mit Bild ---------------------------------------- */

.gd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.gd-cards__item h3 { font-size: 24px; line-height: 32px; margin-bottom: 20px; }
.gd-cards__item img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 20px; }
@media (max-width: 991.98px) { .gd-cards { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- Icon-Grid ---------------------------------------------------- */

/* Die Icons sind fertige Badges: goldene Scheibe mit ausgespartem Symbol.
   Kein eigener Hintergrundkreis — der ergäbe Gold auf Gold. Größe kommt
   von .s-icon aus design.css, hier nur Abstand und Beschriftung. */
.gd-icon-box { margin-bottom: 40px; }
.gd-icons__label { color: var(--gd-gold); margin: 16px 0 0; }

/* ---------- Testimonials ------------------------------------------------- */

/* Spaltenzahl richtet sich nach der Anzahl Karten (Modifier aus dem Modul).
   Bei weniger als vier Stimmen wird die Gruppe mittig gesetzt, statt links
   im Vierer-Raster zu kleben. */
.gd-quotes {
  display: grid;
  gap: 24px;
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gd-quotes--1 { grid-template-columns: minmax(0, 360px); max-width: 360px; }
.gd-quotes--2 { grid-template-columns: repeat(2, minmax(0, 340px)); max-width: 704px; }
.gd-quotes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; }
.gd-quote {
  border: 1px solid var(--gd-gold);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
/* sterne.svg ist eine feste Fuenfer-Leiste. Fuer weniger Sterne wird sie
   von rechts beschnitten statt Einzelsterne zu wiederholen. */
.gd-quote__stars {
  --gd-star-fill: 100%;
  display: block;
  width: 140px;
  margin: 0 auto 24px;
}
.gd-quote__stars img {
  display: block;
  width: 140px;
  height: auto;
  clip-path: inset(0 calc(100% - var(--gd-star-fill)) 0 0);
}
.gd-quote__text { flex: 1 1 auto; }
.gd-quote__author { color: var(--gd-gold); margin: 24px 0 0; }
.gd-quote__role { color: var(--gd-muted); }
@media (max-width: 1199.98px) {
  .gd-quotes,
  .gd-quotes--3,
  .gd-quotes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  /* Muss nach der Basisregel stehen, sonst hebt deren max-width:none die
     Begrenzung auf und zwei Karten ziehen sich auf die volle Breite. */
  .gd-quotes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 704px; }
}
@media (max-width: 575.98px) {
  .gd-quotes,
  .gd-quotes--1,
  .gd-quotes--2,
  .gd-quotes--3,
  .gd-quotes--4 { grid-template-columns: minmax(0, 1fr); max-width: none; }
}

/* ---------- Naechste Schritte -------------------------------------------- */

/* list-style zuruecksetzen: sonst steht die schwarze Zaehlung des <ol>
   zusaetzlich vor der goldenen Ziffer. */
.gd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.gd-steps > li::marker { content: none; }
.gd-step__num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: var(--gd-gold);
  line-height: 1;
  margin: 0 0 8px;
}
.gd-step__body { border-top: 1px solid var(--gd-gold); padding-top: 16px; }
.gd-step__title { color: var(--gd-gold); font-weight: 700; margin: 0 0 8px; }
@media (max-width: 991.98px) { .gd-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.gd-contactbox {
  background: var(--gd-gold);
  color: #fff;
  padding: 48px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.gd-contactbox h2, .gd-contactbox p { color: #fff; }
.gd-contactbox h2 { font-size: 28px; line-height: 38px; margin-bottom: 16px; }
.gd-contactbox p { margin: 0; }
.gd-contactbox__actions { display: flex; flex-direction: column; gap: 14px; }
.gd-contactbox__btn {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border: 1px solid #fff;
  color: #fff;
}
.gd-contactbox__btn:hover { background: #fff; color: var(--gd-gold); }
.gd-contactbox__btn--solid { background: #fff; color: var(--gd-gold); }
.gd-contactbox__btn--solid:hover { background: transparent; color: #fff; }
@media (max-width: 991.98px) {
  .gd-contactbox { grid-template-columns: minmax(0, 1fr); padding: 32px; }
}

/* ---------- CTA-Button --------------------------------------------------- */
/* Der Button selbst ist .bb-gold-button aus design.css — bewusst nicht neu
   gebaut, damit das CI der Seite erhalten bleibt. Hier nur der Abstand. */

.gd-cta { padding: 56px 0; }

/* ---------- Akkordeon (Preise / Charts / FAQ) --------------------------- */
/* Markup und Styling kommen aus design.css (.partner-ul / .accordion-head /
   .g-box-plus|minus) — identisch zum FAQ-Modul und zur S-Deposito-Seite.
   Hier nur der Abstand der Sektion. */

.gd-acc-section { padding: 48px 0; }

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

.gd-footer { position: relative; background: var(--gd-grey-bar); padding: 72px 0 40px; margin-top: 0; }
.gd-footer .menu { list-style: none; margin: 0; padding: 0; }
.gd-footer .menu a { color: var(--gd-ink); }
.gd-footer .menu a:hover { color: var(--gd-gold); }
.gd-footer-diagonal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.gd-footer-diagonal::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 46%;
  background: var(--gd-beige-strong);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}
.gd-footer > .container { position: relative; z-index: 1; }
.gd-footer-copy { margin-top: 48px; margin-bottom: 0; font-size: 14px; }
@media (max-width: 767.98px) { .gd-footer-diagonal::before { display: none; } }

/* ---------- Navigation: Login hervorheben ------------------------------- */

.gd-page .gd-nav-login > a { color: var(--gd-gold); }
