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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--gm-bg);
  color: var(--gm-text);
  font-family: var(--gm-font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gm-green-text); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gm-lime); outline-offset: 2px; }

.gj-container { width: 100%; max-width: var(--gm-container); margin: 0 auto; padding: 0 20px; }
.gj-section { padding: 88px 0; }
.gj-section--alt { background: var(--gm-alt); border-top: 1px solid var(--gm-border); border-bottom: 1px solid var(--gm-border); }
.gj-section--tight { padding: 56px 0; }
.gj-center { text-align: center; }
.gj-center .gj-sub { margin-left: auto; margin-right: auto; }

/* Typografie */
.gj-h1 { font-size: 58px; line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 20px; }
.gj-h2 { font-size: 40px; line-height: 1.12; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 16px; }
.gj-h3 { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 8px; }
.gj-lead { font-size: 18px; line-height: 1.5; color: var(--gm-muted); max-width: 560px; margin: 0 0 28px; }
.gj-sub { font-size: 18px; line-height: 1.5; color: var(--gm-muted); max-width: 640px; margin: 0 0 40px; }
.gj-body { font-size: 15px; line-height: 1.55; color: var(--gm-muted); margin: 0; }
.gj-muted { color: var(--gm-muted); }
.gj-green { color: var(--gm-green-text); }
.gj-grey { color: var(--gm-muted); }
.gj-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gm-green-text); margin: 0 0 14px;
}
.gj-card--dark .gj-eyebrow { color: var(--gm-lime); }

/* Buttons */
.gj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.2;
  border-radius: var(--gm-radius-btn); padding: 10px 18px; border: 1px solid transparent;
  box-shadow: var(--gm-shadow-btn); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.gj-btn:hover { transform: translateY(-1px); text-decoration: none; }
.gj-btn:active { transform: translateY(0); }
.gj-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.gj-btn--primary { background: var(--gm-lime); color: var(--gm-black); }
.gj-btn--primary:hover { background: #6be040; }
.gj-btn--dark { background: var(--gm-black-soft); color: #fff; }
.gj-btn--secondary { background: #fff; color: var(--gm-muted); border-color: var(--gm-border); }
.gj-btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.gj-btn--block { width: 100%; }
.gj-btn-arrow { font-size: 18px; line-height: 1; }

/* Karten */
.gj-card {
  background: #fff; border: 1px solid var(--gm-border); border-radius: var(--gm-radius-card);
  padding: 24px; box-shadow: var(--gm-shadow-card);
}
.gj-card--dark { background: var(--gm-black); color: var(--gm-on-dark); border-color: var(--gm-black); }
.gj-card--dark .gj-body, .gj-card--dark .gj-muted, .gj-card--dark .gj-lead, .gj-card--dark .gj-sub { color: var(--gm-on-dark-muted); }
.gj-media { border-radius: var(--gm-radius-media); overflow: hidden; border: 1px solid var(--gm-border); background: var(--gm-alt); }
.gj-media img { width: 100%; height: 100%; object-fit: cover; }

/* Chips + Badge */
.gj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.gj-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gm-border); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--gm-text);
}
.gj-chip b { font-weight: 500; color: var(--gm-muted); }
.gj-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gm-alt); border: 1px solid var(--gm-border); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--gm-text); margin: 0 0 22px;
}
.gj-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--gm-lime); flex: none; }

/* Platzhalter */
.gj-todo {
  background: #fff4c2; color: #6b4e00; border: 1px dashed #d9a400; border-radius: 6px;
  padding: 1px 6px; font-weight: 500; font-size: .92em;
}

/* Formulare */
.gj-label { display: block; font-size: 14px; font-weight: 500; color: var(--gm-text); margin: 0 0 6px; }
.gj-input {
  width: 100%; height: 50px; padding: 0 14px; font-family: inherit; font-size: 16px; color: var(--gm-text);
  background: #fff; border: 1px solid var(--gm-border); border-radius: var(--gm-radius-input);
  transition: border-color .12s ease, box-shadow .12s ease;
}
.gj-input:focus { outline: none; border-color: var(--gm-green-text); box-shadow: 0 0 0 3px var(--gm-lime-tint); }
textarea.gj-input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.gj-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gm-muted); line-height: 1.45; }
.gj-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gm-green-text); flex: none; }

/* Header */
.gj-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--gm-border); }
.gj-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.gj-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gm-text); }
.gj-logo img { height: 26px; width: auto; }
.gj-logo span { font-size: 14px; font-weight: 500; color: var(--gm-muted); padding-left: 10px; border-left: 1px solid var(--gm-border); }
.gj-nav { display: flex; align-items: center; gap: 22px; }
.gj-nav a:not(.gj-btn) { color: var(--gm-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.gj-nav a:not(.gj-btn):hover { color: var(--gm-text); }

/* Footer */
.gj-footer { background: var(--gm-black); color: var(--gm-on-dark-muted); padding: 56px 0 32px; font-size: 14px; }
.gj-footer a { color: #fff; text-decoration: none; }
.gj-footer a:hover { text-decoration: underline; }
.gj-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.gj-footer-claim { color: #fff; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 14px 0 8px; }
.gj-footer h4 { color: #fff; font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.gj-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gj-footer-bottom { border-top: 1px solid var(--gm-on-dark-border); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gj-footer-logo { height: 24px; width: auto; filter: brightness(0) invert(1); }

/* Bewertungszeile */
.gj-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--gm-muted); font-size: 15px; font-weight: 500; }
.gj-stars { display: inline-flex; gap: 2px; }
.gj-stars img { width: 17px; height: 17px; }

/* Listen mit Haken */
.gj-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gj-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--gm-text); }
.gj-checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 999px;
  background: var(--gm-lime) url("/assets/img/check-dark.svg") center / 12px no-repeat;
}

/* Grids */
.gj-grid { display: grid; gap: 20px; }
.gj-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gj-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gj-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Consent-Banner (nur bei aktivem Pixel) */
.gj-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--gm-border); border-radius: var(--gm-radius-card);
  box-shadow: var(--gm-shadow-pop); padding: 20px; font-size: 14px; color: var(--gm-muted);
}
.gj-consent p { margin: 0 0 14px; }
.gj-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 991px) {
  .gj-h1 { font-size: 44px; }
  .gj-h2 { font-size: 32px; }
  .gj-grid--3, .gj-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gj-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .gj-h1 { font-size: 36px; }
  .gj-section { padding: 64px 0; }
  .gj-grid--2, .gj-grid--3, .gj-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .gj-nav a:not(.gj-btn) { display: none; }
  .gj-logo span { display: none; }
  .gj-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .gj-h1 { font-size: 30px; }
  .gj-lead { font-size: 16px; }
  .gj-container { padding: 0 16px; }
}
