/* =========================================
   Reset & Basis
   ========================================= */

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Body als Rahmen: Header oben, Footer unten, Mitte scrollt */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #344021;
  background: radial-gradient(circle at top left, #f7ffe9 0, #f4f8e8 40%, #edf3e1 100%);
  display: flex;
  flex-direction: column;
}

/* Nur der Main-Bereich scrollt */
main {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Zentraler Inhaltsbereich */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
}

/* Standardbild: nie breiter als der Container */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Kleine generische Hilfsklassen */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   Header & Navigation
   ========================================= */

header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dde6cc;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Logo links */

.nav-left {
  display: flex;
  align-items: center;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 62px;
  width: auto;
}

/* Menüpunkte in der Mitte */

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.nav-center a {
  font-size: 0.94rem;
  color: #6b7853;
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: #b9dd4d;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-center a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Pillen rechts */

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(169, 196, 88, 0.7);
  background: radial-gradient(circle at 10% 0%, #f9ffdb 0, #eff8dd 40%, #e9f4d7 100%);
  color: #36401f;
  box-shadow: 0 0 0 rgba(146, 176, 70, 0.25);
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.nav-pill-primary {
  font-weight: 500;
}

.nav-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(146, 176, 70, 0.45);
}

/* Burger-Button rechts für Mobile */

.burger {
  margin-left: auto;
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(169, 196, 88, 0.7);
  background: radial-gradient(circle at 10% 0%, #f9ffdb 0, #eff8dd 40%, #e9f4d7 100%);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger-lines span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #4d5b33;
  margin: 3px 0;
}

/* Mobiles Menü */

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem 1rem;
  border-top: 1px solid #dde6cc;
  background: rgba(248, 253, 239, 0.98);
}

.nav-mobile.show {
  display: flex;
}

.nav-mobile a {
  font-size: 0.95rem;
  text-decoration: none;
  color: #36401f;
}

/* =========================================
   Buttons
   ========================================= */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(circle at 10% 0%, #d7f872 0, #bfe750 40%, #9ccf33 100%);
  color: #253210;
  box-shadow: 0 16px 36px rgba(125, 164, 49, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 20px 44px rgba(110, 149, 39, 0.65);
}

.btn-ghost {
  background: transparent;
  color: #4f5e33;
  border: 1px solid rgba(169, 196, 88, 0.7);
}

/* Inline-Button (z.B. im Login-Abschnitt) */
.btn-inline {
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
}

/* =========================================
   Hero-Section (Startseite)
   ========================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(169, 196, 88, 0.7);
  background: rgba(248, 253, 239, 0.95);
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #a5d728;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.hero-highlight {
  color: #6ca52a;
  display: block;
}

.hero-text {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #4f5e33;
}

.hero-text-small {
  font-size: 0.9rem;
  color: #657253;
}

.hero-list {
  margin: 0.6rem 0 0.6rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: #4f5e33;
}

.hero-list li {
  margin-bottom: 0.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Hero-Karte rechts */

.hero-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #dfe8c9;
  box-shadow: 0 22px 50px rgba(103, 128, 52, 0.2);
  padding: 1.1rem 1.2rem 1.2rem;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card-pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f2f8e2;
  color: #556238;
}

.hero-card-grid {
  display: grid;
  gap: 0.6rem;
}

.hero-card-block h3 {
  margin: 0 0 0.1rem;
  font-size: 0.98rem;
}

.hero-card-block small {
  font-size: 0.78rem;
  color: #6a7550;
}

.hero-tariff-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0;
}

.hero-tariff-tag {
  flex: 1 1 120px;
  border-radius: 14px;
  background: #f5fbe6;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
}

.hero-tariff-tag .label {
  font-weight: 600;
}

.hero-tariff-tag .value {
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.hero-chip {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #f1f6e3;
}

.hero-footer-note {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: #657253;
}

/* =========================================
   Generische Sektionen & Karten
   ========================================= */

.section-header {
  margin-bottom: 1rem;
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f9550;
}

.section-title {
  margin: 0.1rem 0 0.3rem;
  font-size: 1.5rem;
}

.section-lead {
  margin: 0;
  font-size: 0.95rem;
  color: #5f6b46;
}

.paragraph-soft {
  font-size: 0.9rem;
  color: #657253;
}

.paragraph-soft.small {
  font-size: 0.8rem;
}

/* Karten */

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.3rem 1.2rem;
  border: 1px solid #dfe8c9;
  box-shadow: 0 18px 40px rgba(103, 128, 52, 0.15);
}

/* 2-Spalten-Layout */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* Listen */

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* =========================================
   Vorteile / Benefits
   ========================================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-col h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.benefit-col ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

/* =========================================
   Leitfaden / Versorgungsgebiet
   ========================================= */

.leitfaden-figure {
  margin: 0.6rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dfe8c9;
  background: #fff;
}

/* =========================================
   Tarife
   ========================================= */

.tariff-grid-new {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.tariff-card {
  /* card-Design kommt von .card */
}

.tariff-card-basis {
  background: linear-gradient(145deg, #ffffff, #f4f9e7);
}

.tariff-card-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7f9550;
  margin-bottom: 0.2rem;
}

.tariff-note {
  font-size: 0.86rem;
  color: #657253;
  margin-top: 0.6rem;
}

.tariff-card-half {
  /* wird via Grid platziert, optisch wie card */
}

.tariff-pill-row {
  margin: 0.4rem 0 0.3rem;
}

.pill-tag {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f1f6e3;
  font-size: 0.78rem;
}

.tariff-value-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.tariff-value-box {
  flex: 1 1 140px;
  background: #f5fbe6;
  border-radius: 14px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
}

.tariff-label {
  font-weight: 600;
}

.tariff-value {
  font-size: 0.96rem;
  font-weight: 600;
}

.tariff-caption {
  font-size: 0.8rem;
  color: #606c44;
}

.tariff-caption strong {
  color: #1a260e;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);
}




.tariff-foot {
  font-size: 0.82rem;
  color: #657253;
}

/* Extra-Karten Abrechnung */

.tariff-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.tariff-current-price {
  margin: 0.7rem 0 0.7rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #f1f6e3;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
  font-size: 0.92rem;
}

.tariff-current-price strong {
  font-size: 1rem;
  color: #2f3f1d;
}


/* =========================================
   Team
   ========================================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.team-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #dfe8c9;
  padding: 0.8rem 0.9rem 0.9rem;
  text-align: center;
  box-shadow: 0 14px 32px rgba(103, 128, 52, 0.15);
}

.team-photo-wrapper {
  border-radius: 999px;
  overflow: hidden;
  width: 120px;
  height: 120px;
  margin: 0 auto 0.5rem;
  background: #f1f6e3;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.team-role {
  font-size: 0.82rem;
  color: #6d7854;
  margin-bottom: 0.2rem;
}

.team-meta {
  font-size: 0.82rem;
  color: #5c6845;
  margin-bottom: 0.2rem;
}

.team-email {
  font-size: 0.8rem;
  color: #55752a;
  text-decoration: none;
}

.team-email:hover {
  text-decoration: underline;
}

.team-extra {
  margin-top: 0.4rem;
}

/* =========================================
   Kontakt & Impressum (Startseite)
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1rem;
}

.contact-box h3 {
  margin-top: 0;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
}

.contact-form label {
  font-size: 0.86rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  border-radius: 999px;
  border: 1px solid #d7e2c6;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  outline: none;
}

.contact-form textarea {
  border-radius: 16px;
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9ec44a;
  box-shadow: 0 0 0 2px rgba(158, 196, 74, 0.26);
}

.contact-impressum-card p {
  font-size: 0.9rem;
}

.link-muted {
  color: #55752a;
  text-decoration: none;
}

.link-muted:hover {
  text-decoration: underline;
}

/* =========================================
   Footer
   ========================================= */

footer {
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid #dde6cc;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-supporters {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-supporters-title {
  font-size: 0.8rem;
  color: #6c7854;
}

.footer-supporters-logos {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.supporter-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #6c7854;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.footer-meta a {
  color: #5e7c2f;
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

/* =========================================
   Mitglied-werden Seite (einspaltiges Formular)
   ========================================= */

body.page-member {
  /* gleiche Optik, nur Marker falls später nötig */
}

.member-intro {
  margin-bottom: 1rem;
}

.member-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7f9550;
  margin: 0 0 0.2rem;
}

.member-title {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.member-lead {
  margin: 0;
  font-size: 0.95rem;
  color: #5f6b46;
}

.member-card {
  margin-bottom: 1rem;
}

.member-card-info {
  background: linear-gradient(145deg, #ffffff, #f4f9e7);
}

.member-card ul {
  margin: 0.5rem 0 0.4rem;
  padding-left: 1.2rem;
  font-size: 0.93rem;
}

.member-small {
  font-size: 0.85rem;
  color: #657253;
}

.mitglied-form {
  margin-top: 0.7rem;
}

/* Formabschnitte – EINSPALTIG */

.form-section {
  border: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.form-section legend {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Felder */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.6rem;
}

.field label {
  font-size: 0.86rem;
}

/* Textfelder im Mitglied-Formular */

.mitglied-form input[type="text"],
.mitglied-form input[type="email"],
.mitglied-form input[type="tel"],
.mitglied-form input[type="date"] {
  border-radius: 999px;
  border: 1px solid #d7e2c6;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  outline: none;
  background-color: #fff;
}

.mitglied-form input:focus {
  border-color: #9ec44a;
  box-shadow: 0 0 0 2px rgba(158, 196, 74, 0.26);
}

/* Zählpunkte */

.zaehlpunkt {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.zp-prefix {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #d7e0cf;
  background: #f6f8f1;
  font-size: 0.78rem;
  white-space: nowrap;
  color: #6d7658;
}

.zaehlpunkt input {
  flex: 1 1 auto;
}

.hint {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: #6d7658;
}

/* Checkboxen */

.checkbox-field {
  margin-bottom: 0.6rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
}

.checkbox-label span a {
  color: #5e7c2f;
  text-decoration: underline;
}

/* Submit-Button */

.member-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 900px) {
  .nav-center {
    display: none;
  }

  .nav-right {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 800px) {
  .page {
    padding-inline: 1.2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.3rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tariff-extra-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .page {
    padding-inline: 1rem;
  }

  .benefits-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-submit-row .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .zaehlpunkt {
    flex-direction: column;
    align-items: stretch;
  }

  .zp-prefix {
    text-align: center;
  }
}


/* =========================================
   STARKE Sektionen-Abstände (überschreiben alles)
   ========================================= */

section {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

@media (max-width: 700px) {
  section {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
}

/* =========================================
   TEAM-FOTOS Schwarz/Weiß → Farbe beim Hover
   ========================================= */

.team-photo {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
}

/* =========================================
   Vorteile wieder als KACHELN darstellen
   ========================================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-col {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.3rem 1.2rem;
  border: 1px solid #dfe8c9;
  box-shadow: 0 18px 40px rgba(103, 128, 52, 0.15);
}

.benefit-col h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: #344021;
}

.benefit-col ul {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.9rem;
  color: #4f5e33;
}

.benefit-col ul li {
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================
   KONTAKT – Formular wieder als KACHEL
   ========================================= */

.contact-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1.3rem 1.2rem;
  border: 1px solid #dfe8c9;
  box-shadow: 0 18px 40px rgba(103, 128, 52, 0.15);
}

.contact-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  color: #344021;
}

.contact-box p {
  font-size: 0.92rem;
  color: #4f5e33;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.contact-form .field {
  margin-bottom: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  background: #fff;
}
/* =========================================
   Vorteile – Info-Kachel
   ========================================= */

.card-info {
  margin: 1.2rem 0 1.5rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  border: 1px solid #dfe8c9;
  box-shadow: 0 16px 38px rgba(103, 128, 52, 0.15);
}

.card-info p {
  margin: 0 0 0.7rem;
  font-size: 0.94rem;
  color: #4f5e33;
}
/* =========================================
   MOBILE: Grids einspaltig, damit nichts gestaucht wirkt
   ========================================= */

/* Der Verein, Versorgungsgebiet, Struktur (verwenden .grid-2)
   + Team-Gitter + Tarif-Extras + Kontakt-Grid */
@media (max-width: 900px) {
  .grid-2,
  .contact-grid,
  .tariff-extra-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* WhatsApp-Kontaktbox */
.contact-whatsapp {
  background: #e8ffe5;
  border: 1px solid #b6e6b4;
  border-radius: 18px;

  padding: 1rem 1.4rem;
  
  /* harmonisiert mit card-Abständen */
  margin: 0 0 1.5rem 0;

  box-shadow: 0 12px 28px rgba(130, 182, 59, 0.12);
}

.contact-whatsapp p {
  margin: 0 0 0.4rem 0;
  font-weight: 600;
  color: #2d3c20;
}

.whatsapp-btn {
  color: #1b7f13;
  font-weight: 600;
  text-decoration: none;
}

.whatsapp-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.3rem 0 0.2rem 0;
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-link {
  font-weight: 700;
  color: #1b7f13;
  text-decoration: none;
  font-size: 1.05rem;
}

.whatsapp-link:hover {
  text-decoration: underline;
}


.card-highlight {
  background: #f4ffe0;
  border-left: 6px solid #82b63b;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(130,182,59,0.25);
}

.card-highlight h3 {
  margin-top: 0;
  color: #2d3c20;
}

.card-highlight p {
  margin-bottom: 0.8rem;
  color: #49583a;
}

.card-highlight .important {
  margin-top: 1rem;
  font-size: 1rem;
  color: #30480f;
}

/* =========================================
   Tag-Pills (z.B. in Struktur-Kacheln)
   ========================================= */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.2;
  background: #f3f9e6;
  border: 1px solid #d5e6b3;
  color: #4f5e33;
  white-space: nowrap;
}

.contact-alert {
  border-radius: 12px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.contact-alert-success {
  background: #e8ffe5;
  border: 1px solid #b6e6b4;
  color: #285325;
}

.contact-alert-error {
  background: #ffe8e8;
  border: 1px solid #e6b4b4;
  color: #7b2323;
}
.hint {
  font-size: 0.78rem;
  color: #6d7658;
  margin-top: 0.1rem;
}

/* Deutliche Meldungen für Beitrittsformular */
.error-msg,
.success-msg {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0;
  border: 2px solid transparent;
  display: block;
}

/* Auffällige Kacheln für Meldungen im Beitrittsformular */
.member-intro .error-msg,
.member-intro .success-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;

  width: 100%;
  box-sizing: border-box;

  margin: 2rem 0 1.5rem;
  padding: 1.5rem 1.75rem;

  border-radius: 1rem;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
}

/* Fehler-Kachel */
.member-intro .error-msg {
  background: linear-gradient(135deg, #ffe5e5, #ffd1d1);
  border-color: #ff3b3b;
  color: #7a0000;
}

/* Erfolgs-Kachel */
.member-intro .success-msg {
  background: linear-gradient(135deg, #e5ffe9, #d0f8d8);
  border-color: #23b35b;
  color: #0f5a2a;
}

/* Icon davor einblenden, ohne HTML zu ändern */
.member-intro .error-msg::before,
.member-intro .success-msg::before {
  flex-shrink: 0;
  font-size: 1.8rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.member-intro .error-msg::before {
  content: "⚠️";
}

.member-intro .success-msg::before {
  content: "✅";
}

/* Info-Kachel mit sauber vertikal zentriertem Icon */
.info-notice {
  display: flex;
  align-items: center;        /* Icon vertikal zentrieren */
  gap: 1.25rem;               /* Abstand Icon <-> Text */

  width: 100%;
  box-sizing: border-box;

  margin: 2rem 0 2.5rem;
  padding: 1.75rem 2rem;

  border-radius: 1rem;
  border: 2px solid #1a73e8;
  background: linear-gradient(135deg, #e8f1ff, #d7e8ff);
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.25);

  color: #09397a;
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
}

/* Icon als eigener Block links */
.info-notice::before {
  content: "ℹ️";
  font-size: 2.7rem;          /* großes Icon */
  line-height: 1;             /* keine zusätzliche Höhe */
  display: flex;
  align-items: center;        /* Icon vertikal zentriert */
  justify-content: center;
  height: 100%;               /* gesamte Box-Höhe nutzen */
}

/* Textbereich automatisch eingerückt */
.info-notice span {
  display: block;
}

/* -------------------------------------------------
   Tarif-Historie: Abstand & Tabellen-Layout
--------------------------------------------------*/

/* Abstand wie andere Kacheln, Card-Padding bleibt von .card */
.tariff-history-card {
  margin-top: 1rem;
}

/* Text im Historien-Card-Intro wie andere Fließtexte */
.tariff-history-card p {
  font-size: 0.9rem;
  color: #4f5e33;
  margin: 0.3rem 0 0.6rem;
}

/* Tabelle */
.tariff-history-table-wrapper {
  margin-top: 1rem;
  overflow-x: auto;
}

.tariff-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;      /* wie andere Kacheln */
  line-height: 1.4;
  color: #4f5e33;         /* gleiche Textfarbe wie in Cards */
}

.tariff-history-table th,
.tariff-history-table td {
  padding: 0.45rem 0.8rem;
  white-space: nowrap;
}

.tariff-history-table thead th {
  font-weight: 600;
  white-space: nowrap;
}

.tariff-history-table thead th:nth-child(1) {
  text-align: left;
}

.tariff-history-table tbody td:nth-child(1) {
  text-align: left;
}


/* Kopfzeile – nur Spalten 2–6 rechts */
.tariff-history-table thead th:nth-child(2),
.tariff-history-table thead th:nth-child(3),
.tariff-history-table thead th:nth-child(4),
.tariff-history-table thead th:nth-child(5),
.tariff-history-table thead th:nth-child(6) {
  text-align: right;
}

/* Datenzellen – nur Spalten 2–6 rechts */
.tariff-history-table tbody td:nth-child(2),
.tariff-history-table tbody td:nth-child(3),
.tariff-history-table tbody td:nth-child(4),
.tariff-history-table tbody td:nth-child(5),
.tariff-history-table tbody td:nth-child(6) {
  text-align: right;
}




