/* ============================================================
   GREEN TOOLKIT · RESOURCE HUB
   WordPress / In-App Version
   Page ID: 5780
   ============================================================ */


/* ============================================================
   PAGE 5780 · WORDPRESS THEME CLEANUP
   ============================================================ */

/* WordPress-Seitentitel ausblenden */
.page-id-5780 .entry-title {
  display: none;
}

/* Alte Storefront-Navigation ausblenden */
.page-id-5780 .storefront-primary-navigation {
  display: none !important;
}

/* Unsere Resource-Hub-Navigation ausdrücklich erhalten */
.page-id-5780 .gtk-nav {
  display: flex !important;
}

/* Hub näher an den oberen Seitenbereich holen */
.page-id-5780 .gtk-hub {
  margin-top: -45px;
}


/* ============================================================
   BASE
   ============================================================ */

.gtk-hub,
.gtk-hub *,
.gtk-hub *::before,
.gtk-hub *::after {
  box-sizing: border-box;
}

.gtk-hub {
  --gtk-green: #74be56;
  --gtk-green-dark: #2f6224;
  --gtk-green-soft: rgba(116, 190, 86, 0.14);

  --gtk-bg: #f3f8ed;
  --gtk-surface: #ffffff;

  --gtk-text: #111a15;
  --gtk-muted: #66746c;
  --gtk-border: #dfe8dc;
  --gtk-ink: #1c2b20;

  --gtk-radius: 14px;
  --gtk-radius-sm: 8px;

  display: block;

  width: 100%;
  max-width: 1080px;

  margin-right: auto;
  margin-left: auto;

  padding: 0 16px 48px;

  color: var(--gtk-text);
  background: transparent;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;

  font-size: 15px;
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* ============================================================
   BASIC RESET INSIDE HUB
   ============================================================ */

.gtk-hub h1,
.gtk-hub h2,
.gtk-hub h3,
.gtk-hub p {
  margin-top: 0;
}

.gtk-hub h1,
.gtk-hub h2,
.gtk-hub h3 {
  margin-bottom: 0;

  color: var(--gtk-text);

  font-family: inherit;
  font-weight: 750;
  line-height: 1.15;

  letter-spacing: -0.03em;
}

.gtk-hub p {
  margin-bottom: 0;

  color: var(--gtk-muted);

  font-size: 0.95rem;
  line-height: 1.55;
}

.gtk-hub a {
  color: inherit;
  text-decoration: none;
}

.gtk-hub img,
.gtk-hub svg {
  max-width: 100%;
}

.gtk-hub svg {
  display: block;
  flex-shrink: 0;
}

.gtk-hub button,
.gtk-hub input,
.gtk-hub select,
.gtk-hub textarea {
  font: inherit;
}


/* ============================================================
   HUB NAV
   ============================================================ */

.gtk-nav {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin: 0 0 28px;

  padding: 10px 12px;

  background: rgba(243, 248, 237, 0.92);

  border: 1px solid var(--gtk-border);
  border-radius: 999px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gtk-nav-brand {
  display: flex;
  align-items: center;

  gap: 10px;

  min-width: 0;

  padding-left: 4px;
}

.gtk-mark {
  display: grid;
  place-items: center;

  flex: 0 0 auto;

  width: 28px;
  height: 28px;

  border-radius: 8px;

  background: var(--gtk-ink);

  color: #eaf4ee;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.04em;
}

.gtk-nav-brand strong {
  display: block;

  font-size: 13px;
  font-weight: 800;

  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gtk-nav-brand span {
  display: block;

  color: var(--gtk-muted);

  font-size: 11px;
  font-weight: 600;

  line-height: 1.3;
}

.gtk-nav-links {
  display: flex;
  align-items: center;

  gap: 2px;

  overflow-x: auto;

  scrollbar-width: none;
}

.gtk-nav-links::-webkit-scrollbar {
  display: none;
}

.gtk-nav-links a {
  display: inline-flex;
  align-items: center;

  padding: 7px 11px;

  border-radius: 999px;

  color: var(--gtk-muted);

  font-size: 12.5px;
  font-weight: 700;

  letter-spacing: -0.01em;

  white-space: nowrap;

  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.gtk-nav-links a:hover,
.gtk-nav-links a:focus-visible {
  color: var(--gtk-text);
  background: var(--gtk-green-soft);
}


/* ============================================================
   HERO
   ============================================================ */

.gtk-hero {
  display: block;

  margin-bottom: 30px;

  padding: 14px 6px 4px;
}

.gtk-hero > div {
  max-width: 720px;
}

.gtk-kicker {
  margin: 0 0 10px;

  color: #6b8a80;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gtk-hero h1 {
  margin: 0 0 14px;

  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;

  letter-spacing: -0.045em;
  line-height: 1.06;
}

.gtk-hero h1 em {
  font-style: normal;

  color: var(--gtk-green-dark);
}

.gtk-hero p {
  max-width: 48ch;

  font-size: 0.98rem;
  line-height: 1.6;
}


/* ============================================================
   COMMON SURFACES
   ============================================================ */

.gtk-stage,
.gtk-card,
.gtk-index,
.gtk-learn {
  background: var(--gtk-surface);

  border: 1px solid var(--gtk-border);
  border-radius: var(--gtk-radius);
}


/* ============================================================
   FUEL LOCATOR
   ============================================================ */

.gtk-stage {
  margin-bottom: 18px;

  overflow: hidden;
}

.gtk-stage-head {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 16px;

  padding: 18px 20px 16px;

  border-bottom: 1px solid var(--gtk-border);
}

.gtk-tool-title {
  display: flex;
  align-items: flex-start;

  gap: 14px;

  min-width: 0;
}

.gtk-icon {
  display: grid;
  place-items: center;

  flex: 0 0 auto;

  width: 40px;
  height: 40px;

  border-radius: 10px;

  background: var(--gtk-green-soft);

  color: var(--gtk-green-dark);
}

.gtk-icon svg,
.gtk-icon-sm svg {
  width: 18px;
  height: 18px;
}

.gtk-tool-title h2 {
  margin: 0 0 4px;

  font-size: 1.12rem;
  font-weight: 800;
}

.gtk-tool-title p {
  max-width: 52ch;

  font-size: 0.88rem;
}

.gtk-live {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  flex: 0 0 auto;

  padding: 6px 10px;

  border: 1px solid var(--gtk-border);
  border-radius: 999px;

  background: #f7fbf4;

  color: var(--gtk-green-dark);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.04em;
  text-transform: uppercase;

  white-space: nowrap;
}

.gtk-live i {
  display: block;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--gtk-green);
}

.gtk-stage-body {
  position: relative;

  width: 100%;
  min-height: 540px;

  background: #fbfdf8;
}

.gtk-hub #afdc-stations {
  width: 100%;
  min-height: 540px;
}

.gtk-hub #afdc-stations-loading {
  display: grid;
  place-items: center;

  min-height: 540px;

  padding: 30px;

  color: var(--gtk-muted);

  font-size: 13px;
  font-weight: 650;

  text-align: center;
}

.gtk-stage-foot {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding: 14px 20px;

  border-top: 1px solid var(--gtk-border);

  background: #f7fbf4;
}

.gtk-stage-foot-copy {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  min-width: 0;
}

.gtk-icon-sm {
  flex: 0 0 auto;

  margin-top: 1px;

  color: var(--gtk-green-dark);
}

.gtk-stage-foot strong {
  display: block;

  font-size: 13px;
  font-weight: 750;

  letter-spacing: -0.02em;
}

.gtk-stage-foot span {
  display: block;

  color: var(--gtk-muted);

  font-size: 12.5px;
}


/* ============================================================
   LINKS
   ============================================================ */

.gtk-link {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  flex: 0 0 auto;

  color: var(--gtk-green-dark);

  font-size: 13px;
  font-weight: 750;

  letter-spacing: -0.01em;

  white-space: nowrap;

  transition: color 0.18s ease;
}

.gtk-link:hover {
  color: var(--gtk-text);
}


/* ============================================================
   ACTION GRID
   ============================================================ */

.gtk-actions {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;

  margin-bottom: 14px;
}

.gtk-card {
  display: flex;
  flex-direction: column;

  min-height: 220px;

  padding: 20px;
}

.gtk-card-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 14px;

  margin-bottom: 16px;
}

.gtk-badge {
  display: inline-flex;
  align-items: center;

  flex: 0 0 auto;

  padding: 4px 8px;

  border: 1px solid var(--gtk-border);
  border-radius: 999px;

  color: var(--gtk-muted);

  font-size: 10.5px;
  font-weight: 800;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gtk-card h3 {
  margin: 0 0 8px;

  font-size: 1.18rem;
  font-weight: 800;
}

.gtk-card > p {
  flex: 1;

  margin-bottom: 20px;
}

.gtk-card-bottom {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 12px 16px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.gtk-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 10px 14px;

  border-radius: var(--gtk-radius-sm);

  background: var(--gtk-ink);

  color: #eaf4ee !important;

  font-size: 13.5px;
  font-weight: 750;

  letter-spacing: -0.01em;

  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}

.gtk-btn:hover {
  background: #24362a;

  transform: translateY(-1px);
}

.gtk-btn--green {
  background: var(--gtk-green);

  color: #143016 !important;
}

.gtk-btn--green:hover {
  background: #67b049;
}

.gtk-btn--ghost {
  background: transparent;

  color: var(--gtk-text) !important;

  border: 1px solid var(--gtk-border);
}

.gtk-btn--ghost:hover {
  background: #f7fbf4;
}

.gtk-note {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: var(--gtk-muted);

  font-size: 12px;
  font-weight: 650;
}


/* ============================================================
   BUDGET TRACKER · CLOSED BETA
   ============================================================ */

.gtk-product {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 36px;

  padding: 18px 20px;

  border-radius: var(--gtk-radius);

  background: var(--gtk-ink);

  color: #eaf4ee;
}

.gtk-product-copy {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  min-width: 0;
}

.gtk-gt {
  display: grid;
  place-items: center;

  flex: 0 0 auto;

  width: 42px;
  height: 42px;

  border-radius: 10px;

  background: rgba(116, 190, 86, 0.18);

  color: var(--gtk-green);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.06em;
}

.gtk-product .gtk-kicker {
  margin-bottom: 4px;

  color: var(--gtk-green);
}

.gtk-product h3 {
  margin: 0 0 6px;

  color: #f3f8ed;

  font-size: 1rem;
  font-weight: 750;
}

.gtk-product p {
  max-width: 62ch;

  color: rgba(234, 244, 238, 0.72);

  font-size: 0.84rem;
}

.gtk-beta {
  display: inline-flex;
  align-items: center;

  flex: 0 0 auto;

  padding: 6px 10px;

  border: 1px solid rgba(234, 244, 238, 0.16);
  border-radius: 999px;

  color: rgba(234, 244, 238, 0.78);

  font-size: 11px;
  font-weight: 750;

  letter-spacing: 0.04em;
  text-transform: uppercase;

  white-space: nowrap;
}


/* ============================================================
   SECTION INTRO
   ============================================================ */

.gtk-intro {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin: 0 0 14px;

  padding: 0 4px;
}

.gtk-intro h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.gtk-intro p {
  max-width: 42ch;

  text-align: right;

  font-size: 0.88rem;
}


/* ============================================================
   KNOWLEDGE INDEX
   ============================================================ */

.gtk-index {
  display: grid;

  margin-bottom: 36px;

  overflow: hidden;
}

.gtk-index a {
  display: grid;

  grid-template-columns:
    48px
    minmax(0, 1fr)
    120px
    28px;

  align-items: center;

  gap: 8px 16px;

  padding: 16px 18px;

  border-bottom: 1px solid var(--gtk-border);

  transition: background-color 0.18s ease;
}

.gtk-index a:last-child {
  border-bottom: 0;
}

.gtk-index a:hover {
  background: #f7fbf4;
}

.gtk-num {
  color: var(--gtk-green-dark);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.06em;
}

.gtk-index h3 {
  margin: 0 0 3px;

  font-size: 0.98rem;
  font-weight: 750;
}

.gtk-index p {
  font-size: 0.82rem;
}

.gtk-cat {
  justify-self: end;

  color: var(--gtk-muted);

  font-size: 11px;
  font-weight: 750;

  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gtk-index > a > span:last-child {
  justify-self: end;

  color: var(--gtk-green-dark);

  font-size: 16px;

  opacity: 0.5;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.gtk-index a:hover > span:last-child {
  opacity: 1;

  transform: translateX(3px);
}


/* ============================================================
   ACADEMY / LEARN
   ============================================================ */

.gtk-learn-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;

  margin-bottom: 28px;
}

.gtk-learn {
  display: flex;

  flex-direction: column;
  justify-content: space-between;

  min-height: 210px;

  padding: 22px;
}

.gtk-learn h3 {
  margin: 6px 0 10px;

  font-size: 1.25rem;
  font-weight: 800;
}

.gtk-learn .gtk-link {
  margin-top: 22px;
}

.gtk-learn--academy {
  background: var(--gtk-ink);

  border-color: transparent;

  color: #eaf4ee;
}

.gtk-learn--academy .gtk-kicker {
  color: var(--gtk-green);
}

.gtk-learn--academy h3 {
  color: #f3f8ed;
}

.gtk-learn--academy p {
  color: rgba(234, 244, 238, 0.72);
}

.gtk-learn--academy .gtk-link {
  color: var(--gtk-green);
}

.gtk-learn--academy .gtk-link:hover {
  color: #f3f8ed;
}


/* ============================================================
   FOOTER
   ============================================================ */

.gtk-foot {
  display: flex;

  justify-content: space-between;

  gap: 12px;

  padding: 16px 4px 0;

  border-top: 1px solid var(--gtk-border);

  color: var(--gtk-muted);

  font-size: 12px;
  font-weight: 650;
}

.gtk-foot strong {
  color: var(--gtk-text);

  font-weight: 750;
}


/* ============================================================
   NOSCRIPT
   ============================================================ */

.gtk-hub noscript {
  display: block;

  padding: 32px 20px;

  color: var(--gtk-muted);

  text-align: center;
}


/* ============================================================
   ANCHORS
   ============================================================ */

.gtk-hub #locator,
.gtk-hub #learn,
.gtk-hub #guides,
.gtk-hub #academy {
  scroll-margin-top: 20px;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.gtk-hub a:focus-visible,
.gtk-hub button:focus-visible {
  outline: 2px solid var(--gtk-green);
  outline-offset: 3px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 820px) {

  .gtk-actions,
  .gtk-learn-grid {
    grid-template-columns: 1fr;
  }

  .gtk-intro {
    align-items: flex-start;
    flex-direction: column;

    gap: 6px;
  }

  .gtk-intro p {
    text-align: left;
  }

  .gtk-index a {
    grid-template-columns:
      36px
      minmax(0, 1fr)
      22px;
  }

  .gtk-cat {
    display: none;
  }

  .gtk-product {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtk-nav-brand span {
    display: none;
  }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 560px) {

  .page-id-5780 .gtk-hub {
    margin-top: -20px;
  }

  .gtk-hub {
    padding-right: 12px;
    padding-left: 12px;
  }

  .gtk-nav {
    align-items: stretch;
    flex-direction: column;

    border-radius: 16px;
  }

  .gtk-nav-links {
    width: 100%;
  }

  .gtk-hero {
    padding-top: 8px;
  }

  .gtk-hero h1 {
    font-size: 1.9rem;
  }

  .gtk-stage-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtk-stage-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtk-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .gtk-hub #afdc-stations,
  .gtk-hub #afdc-stations-loading,
  .gtk-stage-body {
    min-height: 460px;
  }

  .gtk-foot {
    flex-direction: column;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .gtk-nav-links a,
  .gtk-link,
  .gtk-btn,
  .gtk-index a,
  .gtk-index > a > span:last-child {
    transition: none;
  }
}