/* === DEMOKRATIE LEBEN! - Responsive Stylesheet === */

/* --- Reset & Basis --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
  color: #2c2c2c;
  background-color: #f5f5f0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a5276;
  text-decoration: underline;
  word-break: break-word;
}

a:hover {
  color: #2e86c1;
}

/* --- Layout-Container --- */
.page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

/* --- Header mit Bild --- */
.site-header {
  background: linear-gradient(135deg, #1a5276 0%, #2e86c1 100%);
  color: #ffffff;
  text-align: center;
  padding: 3rem 1.5rem;
}

.site-header h1 {
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.site-header .header-content {
  max-width: 700px;
  margin: 0 auto;
}

.site-header p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

.site-header .header-content img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  margin-top: 1.5rem;
}

.site-header .photo-credit {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  font-style: italic;
}

/* --- Hero-Bilder --- */
.hero-image {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fafaf8;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.hero-image img:last-child {
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .hero-image img {
    display: inline-block;
    max-width: 48%;
    margin-right: 2%;
    vertical-align: top;
  }

  .hero-image img:last-child {
    margin-right: 0;
  }
}

.hero-image .photo-credit {
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.5rem;
  font-style: italic;
}

/* --- Sektionen --- */
.content-section {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.content-section:last-child {
  border-bottom: none;
}

.content-section h2 {
  font-size: 1.6rem;
  color: #1a5276;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid #2e86c1;
  display: inline-block;
}

.content-section p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* --- Info-Box (Amt Uecker-Randow-Tal) --- */
.info-box {
  background: #eaf2f8;
  border-left: 4px solid #2e86c1;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

.info-box em {
  font-style: normal;
  color: #1a5276;
}

/* --- Wichtige Termine --- */
.dates-box {
  background: #fef9e7;
  border-left: 4px solid #f39c12;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

.dates-box strong {
  color: #b7950b;
}

/* --- Kontakt-Karten --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.contact-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  font-size: 1.15rem;
  color: #1a5276;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #2e86c1;
}

.contact-card p {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.contact-card a {
  word-break: break-all;
}

/* --- Call-to-Action --- */
.cta-section {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #f0f7ff;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.cta-section .cta-highlight {
  font-size: 1.3rem;
  color: #1a5276;
  font-weight: bold;
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* --- Antrags-Info --- */
.application-info {
  background: #f4f6f7;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid #d5dbdb;
}

.application-info p {
  margin-bottom: 0.8rem;
}

/* --- Download-Links --- */
.download-section {
  padding: 2rem 1.5rem;
  background: #fafaf8;
}

.download-section h2 {
  font-size: 1.6rem;
  color: #1a5276;
  margin-bottom: 1.2rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid #2e86c1;
  display: inline-block;
}

.download-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

@media (min-width: 500px) {
  .download-list {
    grid-template-columns: 1fr 1fr;
  }
}

.download-list li a {
  display: block;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid #d5dbdb;
  border-radius: 6px;
  text-decoration: none;
  color: #1a5276;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  word-break: break-word;
}

.download-list li a:hover {
  background: #eaf2f8;
  border-color: #2e86c1;
  box-shadow: 0 2px 8px rgba(46, 134, 193, 0.15);
}

.download-list li a::before {
  content: "\1F4CE ";
}

/* --- Förder-Hinweis --- */
.funding-notice {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
}

.funding-notice p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.8rem;
}

.funding-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.funding-logos img {
  max-height: 100px;
  width: auto;
}

/* --- Footer --- */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 2rem 1.5rem;
  text-align: center;
}

.site-footer h2 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  border-bottom: 2px solid #34495e;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.site-footer p {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.site-footer a {
  color: #85c1e9;
}

.site-footer a:hover {
  color: #aed6f1;
}

/* --- Footer-Links --- */
.footer-links {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #34495e;
}

.footer-links a {
  display: inline-block;
  margin: 0.3rem 0.6rem;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  background: #34495e;
  border-radius: 4px;
  text-decoration: none;
  color: #d4e6f1;
}

.footer-links a:hover {
  background: #3d566e;
  color: #ffffff;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 480px) {
  .site-header {
    padding: 2rem 1rem;
  }

  .site-header h1 {
    font-size: 1.6rem;
  }

  .content-section,
  .download-section {
    padding: 1.5rem 1rem;
  }

  .content-section h2,
  .download-section h2 {
    font-size: 1.3rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .download-list li a {
    padding: 0.7rem 0.8rem;
    font-size: 0.92rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .site-header h1 {
    font-size: 1.9rem;
  }

  .content-section,
  .download-section {
    padding: 1.8rem 1.2rem;
  }
}

@media (min-width: 769px) {
  .site-header {
    padding: 4rem 2rem;
  }

  .site-header h1 {
    font-size: 2.8rem;
  }

  .content-section,
  .download-section {
    padding: 2.5rem 2rem;
  }

  .content-section p,
  .contact-card p {
    font-size: 1.08rem;
  }
}
