/*
Theme Name:  Rheydt-Hohenberg
Theme URI:   https://rheydt-hohenberg.de
Author:      Rheydt-Hohenberg e.V.
Description: Individuelles WordPress-Theme für den Kleingartenverein Rheydt-Hohenberg e.V. Mönchengladbach. Stil "Warme Community" – warm, rund, gemeinschaftlich.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rheydt-hohenberg
*/

/* =============================================================
   1. GRUNDLAGEN / DESIGN-TOKENS
============================================================= */

:root {
  --rh-creme: #F5F1E8;
  --rh-waldgruen: #234D3C;
  --rh-waldgruen-dark: #1b3226;
  --rh-salbei: #9BBF88;
  --rh-apricot: #E8A35B;
  --rh-sand: #D9C8A9;
  --rh-anthrazit: #252525;

  --rh-sand-tint: #EFE4CC;
  --rh-sage-tint: #DCE7CE;
  --rh-apricot-tint: #F6DDBB;

  --rh-font-serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --rh-font-sans: 'Karla', 'Helvetica Neue', Arial, sans-serif;

  --rh-radius-card: 24px;
  --rh-radius-pill: 999px;
  --rh-max-width: 1280px;
  --rh-gap: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--rh-creme);
  color: var(--rh-anthrazit);
  font-family: var(--rh-font-sans);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--rh-font-serif);
  font-weight: 400;
  color: var(--rh-waldgruen);
  margin: 0 0 0.5em 0;
}

h1 { font-size: 64px; line-height: 1.06; }
h2 { font-size: 36px; line-height: 1.15; }
h3 { font-size: 20px; font-family: var(--rh-font-sans); font-weight: 700; color: var(--rh-waldgruen); }

p { margin: 0 0 1em 0; }

a { color: var(--rh-waldgruen); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--rh-apricot); }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rh-waldgruen);
  color: var(--rh-creme);
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--rh-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }

@media (min-width: 768px) {
  .section { padding: 96px 0; }
}

/* =============================================================
   2. BUTTONS / BADGES
============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rh-font-sans);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--rh-radius-pill);
  padding: 15px 28px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--rh-apricot);
  color: var(--rh-anthrazit);
}
.btn-primary:hover { background: #dd9a4d; color: var(--rh-anthrazit); }

.btn-outline {
  border: 1.5px solid var(--rh-waldgruen);
  color: var(--rh-waldgruen);
  background: transparent;
}
.btn-outline:hover { background: var(--rh-waldgruen); color: var(--rh-creme); }

.btn-outline-light {
  border: 1.5px solid var(--rh-creme);
  color: var(--rh-creme);
  background: transparent;
}
.btn-outline-light:hover { background: var(--rh-creme); color: var(--rh-waldgruen); }

.btn-sm { padding: 11px 20px; font-size: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rh-salbei);
  color: var(--rh-waldgruen);
  padding: 9px 18px;
  border-radius: var(--rh-radius-pill);
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
}

.text-link {
  font-weight: 600;
  border-bottom: 2px solid var(--rh-waldgruen);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--rh-apricot); }
.text-link-light { color: var(--rh-creme); font-weight: 600; }
.text-link-light:hover { color: var(--rh-salbei); }

/* =============================================================
   3. HEADER / NAVIGATION
============================================================= */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  max-width: var(--rh-max-width);
  margin: 0 auto;
  position: relative;
}

.site-logo img { height: 44px; width: auto; }
.site-logo {
  font-family: var(--rh-font-serif);
  font-size: 22px;
  color: var(--rh-waldgruen);
}

.main-nav-wrap {
  display: none;
}

@media (min-width: 960px) {
  .main-nav-wrap { display: block; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--rh-sand);
  border-radius: var(--rh-radius-pill);
  padding: 6px;
}

.main-nav a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--rh-waldgruen);
  padding: 10px 18px;
  border-radius: var(--rh-radius-pill);
}

.main-nav a:hover,
.main-nav li.current-menu-item > a {
  background: var(--rh-creme);
  color: var(--rh-waldgruen);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--rh-radius-pill);
  border: 1.5px solid var(--rh-waldgruen);
  background: transparent;
  cursor: pointer;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--rh-creme);
  border-radius: 20px;
  margin: 0 24px 20px 24px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(37,37,37,.12);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--rh-waldgruen);
}
.mobile-nav a:hover { background: var(--rh-sand-tint); }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

/* =============================================================
   4. HERO
============================================================= */

.hero {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
  align-items: center;
  padding: 24px 24px 64px 24px;
  max-width: var(--rh-max-width);
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero { flex-direction: row; align-items: center; padding: 36px 24px 96px 24px; }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
@media (min-width: 960px) { .hero__content { width: 50%; } }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 460px;
}
@media (min-width: 960px) { .hero__visual { width: 50%; height: 620px; max-width: none; } }

.hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.hero__meta svg { flex-shrink: 0; color: var(--rh-waldgruen); }

/* =============================================================
   5. BLOBS (organische Bildplatzhalter)
============================================================= */

.blob {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37,37,37,.10);
  overflow: hidden;
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
.blob-static {
  position: static;
  box-shadow: none;
  flex-shrink: 0;
}

/* =============================================================
   6. CARDS / GRIDS
============================================================= */

.card {
  border-radius: var(--rh-radius-card);
  background: var(--rh-creme);
  padding: 30px;
}

.grid {
  display: grid;
  gap: var(--rh-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* =============================================================
   7. WERTE
============================================================= */

.section-werte { background: var(--rh-sand-tint); }
.werte-card { background: var(--rh-creme); display: flex; flex-direction: column; gap: 14px; }
.werte-card .icon-circle { width: 56px; height: 56px; background: var(--rh-salbei); }

.icon-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =============================================================
   8. ANGEBOT / BIETEN
============================================================= */

.bieten-card { background: var(--rh-sand-tint); display: flex; flex-direction: column; gap: 14px; }
.bieten-card .icon-circle { width: 52px; height: 52px; background: var(--rh-creme); }

/* =============================================================
   9. VERTRAUEN (dunkle Sektion)
============================================================= */

.section-vertrauen { background: var(--rh-waldgruen); color: var(--rh-creme); }
.section-vertrauen h2 { color: var(--rh-creme); }
.section-vertrauen p { color: var(--rh-sand); }
.section-vertrauen .lead { max-width: 680px; }

.stat-pill {
  background: rgba(245,241,232,.08);
  border-radius: var(--rh-radius-pill);
  padding: 16px 26px;
  color: var(--rh-creme);
  font-size: 15px;
  font-weight: 600;
}
.stats-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 40px 0; }

.testimonial-card {
  background: var(--rh-creme);
  color: var(--rh-anthrazit);
  border-radius: var(--rh-radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card blockquote { margin: 0; font-style: italic; font-size: 15px; line-height: 1.6; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--rh-waldgruen); }
.testimonial-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--rh-salbei); overflow: hidden; flex-shrink: 0; }

/* =============================================================
   10. DER WEG (Schritte)
============================================================= */

.step { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.step .icon-circle { width: 56px; height: 56px; background: var(--rh-waldgruen); color: var(--rh-creme); font-family: var(--rh-font-serif); font-size: 20px; font-weight: 700; }
.step.step--final .icon-circle { background: var(--rh-salbei); color: var(--rh-waldgruen); }

/* =============================================================
   11. WAS SICH ÄNDERT
============================================================= */

.section-aendert { background: var(--rh-sand-tint); }
.aendert-card { border-radius: var(--rh-radius-card); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.aendert-card--negative { background: var(--rh-creme); opacity: .85; }
.aendert-card--positive { background: var(--rh-waldgruen); color: var(--rh-creme); }
.aendert-card--positive h3 { color: var(--rh-creme); }
.aendert-list-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.aendert-list-item svg { flex-shrink: 0; margin-top: 2px; }

/* =============================================================
   12. VEREINSLEBEN
============================================================= */

.section-verein { }
.verein-flex { display: flex; flex-direction: column; gap: 40px; align-items: center; }
@media (min-width: 960px) { .verein-flex { flex-direction: row; gap: 56px; } }
.verein-text { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 960px) { .verein-text { width: 38%; } }
.verein-collage { position: relative; width: 100%; max-width: 640px; height: 420px; }
@media (min-width: 960px) { .verein-collage { width: 62%; max-width: none; height: 460px; } }

/* =============================================================
   13. TERMINE
============================================================= */

.section-termine { background: var(--rh-sage-tint); }
.termin-list { display: flex; flex-direction: column; gap: 16px; max-width: 920px; margin: 0 auto; }
.termin-row {
  background: var(--rh-creme);
  border-radius: var(--rh-radius-card);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.termin-row .icon-circle { width: 48px; height: 48px; background: var(--rh-salbei); }
.termin-row .termin-date { font-weight: 700; color: var(--rh-waldgruen); min-width: 140px; }

/* =============================================================
   14. BLEIB DRAN (Newsletter)
============================================================= */

.section-bleibdran { background: var(--rh-apricot-tint); }
.bleibdran-flex {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 900px) { .bleibdran-flex { flex-direction: row; align-items: center; } }
.bleibdran-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--rh-creme);
  border-radius: var(--rh-radius-pill);
  padding: 8px 8px 8px 22px;
  width: 100%;
}
@media (min-width: 900px) { .bleibdran-form { width: auto; } }
.bleibdran-form input[type="email"] {
  border: none;
  background: transparent;
  font-family: var(--rh-font-sans);
  font-size: 14.5px;
  flex: 1;
  min-width: 0;
  outline: none;
}

/* =============================================================
   15. ABSCHLUSS-CTA
============================================================= */

.section-cta {
  background: var(--rh-waldgruen);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.section-cta h2 { color: var(--rh-creme); font-size: 40px; }
.section-cta p { color: var(--rh-sand); font-size: 17px; margin: 0; }

/* =============================================================
   16. FOOTER
============================================================= */

.site-footer {
  background: var(--rh-waldgruen-dark);
  color: #c7d3cb;
  padding: 64px 24px 32px 24px;
}
.footer-grid {
  max-width: var(--rh-max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  margin: 0 0 4px 0;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rh-salbei);
  font-family: var(--rh-font-sans);
}
.footer-col a { color: #c7d3cb; font-size: 14px; }
.footer-col a:hover { color: var(--rh-creme); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(245,241,232,.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: rgba(245,241,232,.2); }

.footer-divider { max-width: var(--rh-max-width); margin: 44px auto 24px auto; height: 1px; background: rgba(245,241,232,.12); }
.footer-bottom {
  max-width: var(--rh-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-size: 13px;
  color: #8fa199;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #c7d3cb; font-size: 13px; }

/* =============================================================
   17. INNENSEITEN (page.php)
============================================================= */

.page-hero {
  background: var(--rh-sand-tint);
  padding: 64px 24px;
  text-align: center;
}
.page-hero h1 { margin: 0; }
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}
.page-content img { border-radius: var(--rh-radius-card); }
.page-content h2 { margin-top: 1.4em; }

/* =============================================================
   18. WP CORE / SONSTIGES
============================================================= */

.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: #6b6b6b; text-align: center; }

.entry-content > * { max-width: 100%; }

.description {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.5;
}
