/* ==========================================================
   10 gute Gründe – Kachel-Raster
   Scope: .maincontent .sgg  (Schriften Oswald + Open Sans
   werden vom Template bereits geladen)
   ========================================================== */

.maincontent .sgg {
  --sgg-red: #E00000;
  --sgg-red-dark: #B80000;
  --sgg-red-soft: #FDECEC;
  --sgg-navy: #273F59;
  --sgg-dark: #1C2127;
  --sgg-light: #F3F5F7;
  --sgg-line: #DDE2E8;
  --sgg-text: #22262A;
  --sgg-muted: #515C70;
  --sgg-radius: 8px;
  --sgg-head: "Oswald", Arial, sans-serif;

  container-type: inline-size;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--sgg-text);
}

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

.maincontent .sgg p { margin: 0; }

/* ---------- Intro ---------- */
.maincontent .sgg__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 56px;
  margin-bottom: 48px;
}
.maincontent .sgg__intro-head { flex: 1 1 440px; min-width: 0; }
.maincontent .sgg__intro-text {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--sgg-muted);
}
.maincontent .sgg__eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C40000;
}
.maincontent .sgg__title {
  margin: 0;
  font-family: var(--sgg-head);
  font-weight: 600;
  font-size: clamp(30px, 4.6cqi, 46px);
  line-height: 1.1;
  color: #111418;
}

/* ---------- Raster ---------- */
.maincontent .sgg__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.maincontent .sgg__tile--wide { grid-column: span 2; }
.maincontent .sgg__tile--tall { grid-row: span 2; }

/* ---------- Kachel ---------- */
.maincontent .sgg__tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--sgg-radius);
  background: var(--sgg-light);
  transition: transform .25s ease, box-shadow .25s ease;
}
.maincontent .sgg__tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(39, 63, 89, .45);
}

.maincontent .sgg__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--sgg-red-soft);
  flex: none;
}
.maincontent .sgg__icon img { display: block; width: 26px; height: 26px; }

.maincontent .sgg__h {
  margin: 0;
  font-family: var(--sgg-head);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.maincontent .sgg__h--lg { font-size: 28px; line-height: 1.15; }

.maincontent .sgg__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--sgg-muted);
}
.maincontent .sgg__h--lg + .sgg__text { font-size: 16px; line-height: 1.6; }

/* ---------- Varianten ---------- */
.maincontent .sgg__tile--red,
.maincontent .sgg__tile--navy,
.maincontent .sgg__tile--dark { color: #fff; }

.maincontent .sgg__tile--red  { background: var(--sgg-red); }
.maincontent .sgg__tile--navy { background: var(--sgg-navy); padding: 32px; }
.maincontent .sgg__tile--dark { background: var(--sgg-dark); padding: 32px; }

.maincontent .sgg__tile--red  .sgg__text { color: #fff; }
.maincontent .sgg__tile--navy .sgg__text { color: #E3E9EF; }
.maincontent .sgg__tile--dark .sgg__text { color: #D5DBE0; }

.maincontent .sgg__tile--navy .sgg__icon,
.maincontent .sgg__tile--dark .sgg__icon { background: rgba(255, 255, 255, .12); }

.maincontent .sgg__tile--outline {
  background: #fff;
  border: 1px solid var(--sgg-line);
  padding: 32px;
}

/* Hero „30+“ */
.maincontent .sgg__tile--hero {
  justify-content: space-between;
  gap: 32px;
  min-height: 440px;
  padding: 40px;
}
.maincontent .sgg__kicker {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.maincontent .sgg__hero-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
}
.maincontent .sgg__big {
  font-family: var(--sgg-head);
  font-weight: 700;
  font-size: clamp(88px, 14cqi, 150px);
  line-height: .9;
  letter-spacing: -.02em;
}
.maincontent .sgg__tile--hero .sgg__h--lg { font-size: 30px; }
.maincontent .sgg__deco {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 420px;
  height: 420px;
  opacity: .12;
  pointer-events: none;
}

/* Verkaufspreis mit Kurve */
.maincontent .sgg__tile--split {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
}
.maincontent .sgg__split-text {
  flex: 1 1 190px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.maincontent .sgg__chart { flex: 0 0 150px; width: 150px; height: auto; }

/* Button */
.maincontent .sgg__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--sgg-red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}
.maincontent .sgg__btn:hover,
.maincontent .sgg__btn:focus-visible { background: var(--sgg-red-dark); color: #fff; }
.maincontent .sgg__btn img { width: 18px; height: 18px; }

/* ---------- Responsive (nach Breite des Inhaltsbereichs) ---------- */
@container (max-width: 820px) {
  .maincontent .sgg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maincontent .sgg__tile--hero { min-height: 380px; }
}
@container (max-width: 520px) {
  .maincontent .sgg__grid { grid-template-columns: minmax(0, 1fr); }
  .maincontent .sgg__tile--wide,
  .maincontent .sgg__tile--tall { grid-column: auto; grid-row: auto; }
  .maincontent .sgg__tile,
  .maincontent .sgg__tile--hero { padding: 24px; }
  .maincontent .sgg__tile--hero { min-height: 0; }
  .maincontent .sgg__chart { display: none; }
}

/* Fallback für Browser ohne Container Queries */
@supports not (container-type: inline-size) {
  @media (max-width: 900px) {
    .maincontent .sgg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    .maincontent .sgg__grid { grid-template-columns: minmax(0, 1fr); }
    .maincontent .sgg__tile--wide,
    .maincontent .sgg__tile--tall { grid-column: auto; grid-row: auto; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .maincontent .sgg__tile,
  .maincontent .sgg__btn { transition: none; }
  .maincontent .sgg__tile:hover { transform: none; }
}

/* 10 gute Gründe Variante Lines  */
.clsGruende {
  --cls-gruende-blau: #273f59;
  --cls-gruende-rot: #f50000;
  --cls-gruende-text: #22262a;
  --cls-gruende-flaeche: #f5f6f7;
  --cls-gruende-linie: #d3d8dd;
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: var(--cls-gruende-text);
  font-family: "Open Sans", Arial, Verdana, sans-serif;
}

.clsGruendeZeile {
  display: grid;
  grid-template-columns: minmax(190px, 21%) minmax(0, 1fr);
  min-height: 126px;
  background: var(--cls-gruende-flaeche);
}

.clsGruendeThema {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 24px 28px;
  color: #fff;
  background: var(--cls-gruende-blau);
  font-family: Oswald, Arial, Verdana, sans-serif;
  font-size: clamp(1.25rem, 1.35vw, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
}

.clsGruendeArgumente {
  position: relative;
  display: grid;
  align-content: center;
  padding: 17px 32px 17px 38px;
}

.clsGruendeArgumente::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 3px;
  background: var(--cls-gruende-rot);
  content: "";
}

.clsGruendeArgumente p {
  margin: 0;
  padding: 9px 0;
  font-size: 1rem;
  line-height: 1.45;
}

.clsGruendeArgumente p + p {border-top: 1px solid var(--cls-gruende-linie);}
.clsGruendeArgumente strong {color: var(--cls-gruende-blau);  font-weight: 700;}
.clsGruendeArgumente strong::after {content: " – ";}

@media (max-width: 760px) {
  .clsGruende {gap: 12px; margin: 36px 0;}
  .clsGruendeZeile {grid-template-columns: 1fr; min-height: 0;}
  .clsGruendeThema {min-height: 0; padding: 14px 20px; font-size: 1.25rem;}
  .clsGruendeArgumente {padding: 10px 20px 10px 28px;}
  .clsGruendeArgumente::before {top: 14px; bottom: 14px; left: 14px; width: 2px;}
  .clsGruendeArgumente p {display: block; padding: 11px 0; font-size: 0.96rem;}
}

@media (prefers-reduced-motion: no-preference) {
  .clsGruendeZeile {transition: transform 180ms ease, box-shadow 180ms ease;}
  .clsGruendeZeile:hover {transform: translateX(3px); box-shadow: 0 8px 22px rgba(39, 63, 89, 0.08);}
}
