/* =========================================================
   GCGF GREENFEE-TABELLEN
   ========================================================= */

.gcgf-greenfee-prices,
.gcgf-greenfee-prices * {
  box-sizing: border-box;
}


/* Gesamter Bereich */

.gcgf-greenfee-prices {
  --gcgf-table-green: #679938;
  --gcgf-table-darkgreen: #29482f;
  --gcgf-table-bordeaux: #841d5b;
  --gcgf-table-warmwhite: #f8f8f4;
  --gcgf-table-grey: #eef0ec;
  --gcgf-table-text: #35453a;

  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  color: var(--gcgf-table-text);
}


/* =========================================================
   INTRO
   ========================================================= */

.gcgf-greenfee-prices__header {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.gcgf-greenfee-prices__kicker {
  margin-bottom: 8px;
  color: var(--gcgf-table-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gcgf-greenfee-prices__header h2 {
  margin: 0 0 14px !important;
  color: var(--gcgf-table-darkgreen);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.gcgf-greenfee-prices__header p {
  max-width: 700px;
  margin: 0 auto !important;
  font-size: 17px;
  line-height: 1.65;
}


/* =========================================================
   EINZELNE TABELLENBEREICHE
   ========================================================= */

.gcgf-greenfee-prices__block {
  width: 100%;
}

.gcgf-greenfee-prices__block + .gcgf-greenfee-prices__block {
  margin-top: 44px;
}

.gcgf-greenfee-prices__block h3 {
  margin: 0 0 13px !important;
  color: var(--gcgf-table-darkgreen);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}


/* =========================================================
   TABELLENRAHMEN
   ========================================================= */

.gcgf-price-table__shell {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(41, 72, 47, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(24, 61, 37, 0.08);
}


/* =========================================================
   TABELLEN-GRUNDEINSTELLUNGEN
   ========================================================= */

.gcgf-price-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed;
  background: transparent !important;
}

.gcgf-price-table th,
.gcgf-price-table td {
  height: auto;
  border: 0 !important;
  vertical-align: middle;
}


/* Spaltenbreiten: Haupttabellen */

.gcgf-price-table__tariff-column {
  width: 52%;
}

.gcgf-price-table__price-column {
  width: 24%;
}


/* Spaltenbreiten: Service-Tabelle */

.gcgf-price-table__service-column {
  width: 76%;
}

.gcgf-price-table__service-price-column {
  width: 24%;
}


/* =========================================================
   TABELLENKOPF
   ========================================================= */

.gcgf-price-table thead th {
  padding: 15px 14px !important;
  background: var(--gcgf-table-green) !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-align: left;
  text-transform: uppercase;
}

.gcgf-price-table thead th:not(:first-child) {
  text-align: center;
}

.gcgf-price-table thead th + th {
  border-left: 2px solid rgba(255, 255, 255, 0.75) !important;
}

.gcgf-price-table thead th span,
.gcgf-price-table thead th small {
  display: block;
}

.gcgf-price-table thead th small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}


/* =========================================================
   TABELLENINHALT
   ========================================================= */

.gcgf-price-table tbody td {
  padding: 14px !important;
  background: var(--gcgf-table-grey) !important;
  color: var(--gcgf-table-text) !important;
  font-size: 15px;
  line-height: 1.4;
}

.gcgf-price-table tbody tr + tr td {
  border-top: 2px solid #ffffff !important;
}

.gcgf-price-table tbody td + td {
  border-left: 2px solid #ffffff !important;
}

.gcgf-price-table tbody tr.gcgf-price-table__variant td {
  background: var(--gcgf-table-warmwhite) !important;
}


/* Deutlichere Trennung zwischen 18 Loch, 9 Loch und ab 17 Uhr */

.gcgf-price-table tbody tr.gcgf-price-table__group-start td {
  border-top-width: 7px !important;
}


/* Tarifbezeichnung */

.gcgf-price-table__main {
  display: block;
  color: var(--gcgf-table-darkgreen);
  font-weight: 700;
  line-height: 1.3;
}

.gcgf-price-table__sub {
  display: block;
  margin-top: 3px;
  color: #657269;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  hyphens: auto;
  overflow-wrap: break-word;
}


/* Preisfelder */

.gcgf-price-table__price {
  color: var(--gcgf-table-darkgreen) !important;
  font-size: 16px !important;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}


/* =========================================================
   HINWEISBOXEN
   ========================================================= */

.gcgf-price-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(132, 29, 91, 0.16);
  border-left: 4px solid var(--gcgf-table-bordeaux);
  border-radius: 12px;
  background: rgba(132, 29, 91, 0.045);
}

.gcgf-price-notice--green {
  border-color: rgba(103, 153, 56, 0.2);
  border-left-color: var(--gcgf-table-green);
  background: rgba(103, 153, 56, 0.06);
}

.gcgf-price-notice__icon {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gcgf-table-bordeaux);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.gcgf-price-notice--green .gcgf-price-notice__icon {
  background: var(--gcgf-table-green);
}

.gcgf-price-notice__content {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
}

.gcgf-price-notice__content strong,
.gcgf-price-notice__content span {
  display: block;
}

.gcgf-price-notice__content strong {
  margin-bottom: 2px;
  color: var(--gcgf-table-darkgreen);
}


/* =========================================================
   NUR FÜR SCREENREADER
   ========================================================= */

.gcgf-price-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* =========================================================
   TABLET UND SMARTPHONE
   ========================================================= */

@media only screen and (max-width: 767px) {

  .gcgf-greenfee-prices__header {
    margin-bottom: 32px;
  }

  .gcgf-greenfee-prices__header h2 {
    font-size: 28px;
  }

  .gcgf-greenfee-prices__header p {
    font-size: 15px;
    line-height: 1.55;
  }

  .gcgf-greenfee-prices__block + .gcgf-greenfee-prices__block {
    margin-top: 36px;
  }

  .gcgf-greenfee-prices__block h3 {
    font-size: 21px;
  }

  .gcgf-price-table__shell {
    border-radius: 11px;
  }

  .gcgf-price-table__tariff-column {
    width: 50%;
  }

  .gcgf-price-table__price-column {
    width: 25%;
  }

  .gcgf-price-table__service-column {
    width: 72%;
  }

  .gcgf-price-table__service-price-column {
    width: 28%;
  }

  .gcgf-price-table thead th {
    padding: 11px 7px !important;
    font-size: 12px;
    line-height: 1.2;
  }

  .gcgf-price-table thead th small {
    font-size: 9.5px;
  }

  .gcgf-price-table tbody td {
    padding: 11px 8px !important;
    font-size: 13px;
    line-height: 1.35;
  }

  .gcgf-price-table__main {
    line-height: 1.25;
  }

  .gcgf-price-table__sub {
    margin-top: 2px;
    font-size: 11.5px;
    line-height: 1.3;
  }

  .gcgf-price-table__price {
    font-size: 14px !important;
  }

  .gcgf-price-notice {
    gap: 10px;
    padding: 14px;
  }

  .gcgf-price-notice__content {
    font-size: 13px;
  }

}


/* =========================================================
   SEHR KLEINE SMARTPHONES
   ========================================================= */

@media only screen and (max-width: 380px) {

  .gcgf-greenfee-prices__header h2 {
    font-size: 25px;
  }

  .gcgf-price-table__tariff-column {
    width: 48%;
  }

  .gcgf-price-table__price-column {
    width: 26%;
  }

  .gcgf-price-table thead th {
    padding: 10px 5px !important;
    font-size: 10.5px;
  }

  .gcgf-price-table thead th small {
    font-size: 8.5px;
  }

  .gcgf-price-table tbody td {
    padding: 10px 6px !important;
    font-size: 12.5px;
  }

  .gcgf-price-table__sub {
    font-size: 10.5px;
  }

  .gcgf-price-table__price {
    font-size: 13px !important;
  }

  .gcgf-price-notice__icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

}

