/* ============================================
   Geierswalde.com — Stylesheet
   Farben abgeleitet vom Ortswappen
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InterDisplay';
  src: url('../fonts/InterDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InterDisplay';
  src: url('../fonts/InterDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InterDisplay';
  src: url('../fonts/InterDisplay-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --waldgruen: #2d6b2e;
  --waldgruen-dark: #1e4a1f;
  --waldgruen-light: #3a8c3b;
  --tiefblau: #1a3a6b;
  --tiefblau-light: #2a5a9b;
  --silber: #f5f5f0;
  --naturweiss: #fafaf5;
  --dunkelgrau: #2a2a2a;
  --hellgrau: #e8e8e3;
  --partner-rot: #D90000;

  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'InterDisplay', 'Inter', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dunkelgrau);
  background: var(--naturweiss);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--waldgruen);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--waldgruen-dark);
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hellgrau);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--waldgruen);
  text-decoration: none;
}
.nav-brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--dunkelgrau);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--waldgruen);
  border-bottom-color: var(--waldgruen);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dunkelgrau);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--naturweiss);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--hellgrau);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
}

/* --- Hero --- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--waldgruen-dark) 0%, var(--waldgruen) 40%, var(--tiefblau) 100%);
  color: white;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100"><path d="M0,50 C200,0 400,100 600,50 C800,0 1000,100 1200,50 L1200,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>') repeat-x bottom;
  background-size: 1200px 100px;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-wappen {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--waldgruen);
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--waldgruen);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: white;
  color: var(--waldgruen-dark);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  color: white;
}

/* --- Sections --- */
section {
  padding: 5rem 1.5rem;
  margin-bottom: 0;
}
section + section {
  border-top: 1px solid rgba(0,0,0,0.05);
}
section:nth-child(even) {
  background: var(--silber);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--waldgruen);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.section-subtitle {
  color: var(--tiefblau);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* --- Unser Dorf --- */
.dorf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .dorf-grid {
    grid-template-columns: 1fr;
  }
}

.dorf-text p {
  margin-bottom: 1rem;
}
.dorf-text p:last-child {
  margin-bottom: 0;
}

.dorf-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.fact {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  border-left: 3px solid var(--waldgruen);
}
.fact-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--waldgruen);
}
.fact-label {
  font-size: 0.85rem;
  color: #666;
}

/* --- Brauchtum --- */
.brauchtum-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.brauchtum-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}
.brauchtum-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.brauchtum-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.brauchtum-emoji {
  font-size: 2.5rem;
  line-height: 1;
}
.brauchtum-teaser h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--waldgruen);
  margin: 0;
  font-size: 1.1rem;
}
.brauchtum-hint {
  font-size: 0.8rem;
  color: var(--tiefblau);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.brauchtum-card:hover .brauchtum-hint {
  opacity: 1;
}
.brauchtum-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  padding-top: 0;
}
.brauchtum-card.revealed .brauchtum-reveal {
  max-height: 600px;
  opacity: 1;
  padding-top: 1rem;
}
.brauchtum-reveal p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.brauchtum-card.revealed .brauchtum-hint {
  display: none;
}

/* --- Am See --- */
.see-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.see-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}
.see-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.see-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}
.see-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.see-card-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.see-card-emoji {
  font-size: 2.5rem;
  line-height: 1;
}
.see-card-teaser h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--waldgruen);
  margin: 0;
  font-size: 1.1rem;
}
.see-card-hint {
  font-size: 0.8rem;
  color: var(--tiefblau);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.see-card:hover .see-card-hint {
  opacity: 1;
}
.see-card-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  padding-top: 0;
}
.see-card.revealed .see-card-reveal {
  max-height: 600px;
  opacity: 1;
  padding-top: 1rem;
}
.see-card-reveal p,
.see-card-reveal li {
  font-size: 0.9rem;
  line-height: 1.6;
}
.see-card-reveal ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.see-card-reveal li {
  padding: 0.3rem 0;
}
.see-card-reveal a {
  color: var(--tiefblau);
  text-decoration: none;
  font-weight: 600;
}
.see-card-reveal a:hover {
  text-decoration: underline;
}
.see-card.revealed .see-card-hint {
  display: none;
}

/* CTA Buttons */
.see-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--tiefblau);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.cta-button:hover {
  background: var(--waldgruen);
  color: white;
  transform: translateY(-2px);
}

/* Insider Box */
.insider-box {
  background: linear-gradient(135deg, #f0f7f0, #e8f0e8);
  border-left: 4px solid var(--waldgruen);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.insider-label {
  font-weight: 700;
  color: var(--waldgruen);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.insider-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text);
}

/* --- Vereine --- */
.vereine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .vereine-grid {
    grid-template-columns: 1fr;
  }
}
.verein {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.verein h3,
.verein-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tiefblau);
  margin-bottom: 0.3rem;
  display: block;
  font-size: 1rem;
}
.verein p {
  font-size: 0.9rem;
  color: #555;
}
.verein h3 a,
.verein-name a {
  color: var(--tiefblau);
  text-decoration: none;
}
.verein h3 a:hover,
.verein-name a:hover {
  text-decoration: underline;
}

/* --- Partnergemeinde --- */
.partner {
  background: linear-gradient(135deg, var(--silber) 0%, #fff5f5 100%);
}
.partner-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 600px) {
  .partner-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.partner-wappen {
  width: 140px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.partner-text p {
  margin-bottom: 1rem;
}
.partner-badge {
  display: inline-block;
  background: var(--partner-rot);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* --- Termine --- */
.termine-list {
  list-style: none;
}
.termin {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hellgrau);
  align-items: flex-start;
}
.termin:last-child {
  border-bottom: none;
}
.termin-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--waldgruen);
  min-width: 90px;
  font-size: 0.95rem;
}
.termin-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.termin-info p {
  font-size: 0.85rem;
  color: #666;
}

/* --- Kontakt --- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 600px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
}
.kontakt-item {
  margin-bottom: 1.5rem;
}
.kontakt-item h3,
.kontakt-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--waldgruen);
  margin-bottom: 0.3rem;
  font-size: 1rem;
  display: block;
}
.kontakt-item p {
  font-size: 0.9rem;
  color: #555;
}

/* Map placeholder */
.map-container {
  border-radius: 10px;
  overflow: hidden;
  background: var(--hellgrau);
  min-height: 250px;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* --- Footer --- */
footer {
  background: var(--waldgruen-dark);
  color: rgba(255,255,255,0.8);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
footer a {
  color: rgba(255,255,255,0.9);
}
footer a:hover {
  color: white;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  opacity: 0.6;
}

/* --- Utility --- */
.wappen-inline {
  height: 24px;
  width: auto;
  vertical-align: middle;
  margin-right: 0.3rem;
}

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: var(--waldgruen);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible {
  opacity: 1;
}
.scroll-top:hover {
  transform: scale(1.1);
}
/* --- Termine Notice --- */
.termine-notice {
  background: var(--silber);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
