/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*! Spenden-Landingpage Kulturküken | Optimiert für Conversion und Accessibility */

/* ==========================================================================
   Reset und Base Styles
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #212529;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Typography - Verbesserte Kontraste
   ========================================================================== */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: #1a4480; /* Dunklerer Blauton für besseren Kontrast */
}

h2 {
  font-size: 2rem;
  color: #1a4480; /* Dunklerer Blauton für besseren Kontrast */
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: #212529; /* Dunkleres Grau für besseren Kontrast */
}

h4 {
  font-size: 1.2rem;
  color: #1a4480; /* Dunklerer Blauton für besseren Kontrast */
}

p {
  margin-bottom: 1rem;
  color: #495057; /* Dunkleres Grau für besseren Kontrast */
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  font-size: 2.8rem;
  color: #1a4480; /* Verstärkter Kontrast */
}

.intro-text {
  margin-bottom: 2rem;
}

.intro-text p {
  font-size: 1.2rem;
  color: #343a40; /* Dunkleres Grau für besseren Kontrast */
  line-height: 1.7;
}

.cta-block {
  text-align: left;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%); /* Dunkleres Rot für besseren Kontrast */
  color: #ffffff; /* Explizit weiß für maximalen Kontrast */
  padding: 18px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
  background: linear-gradient(135deg, #b02a37 0%, #8b1e2b 100%);
  color: #ffffff; /* Explizit weiß auch bei Hover */
}

.cta-subtitle {
  font-style: italic;
  color: #6c757d; /* Verbesserter Kontrast */
  margin-top: 0.5rem;
}

/* ==========================================================================
   Main Sections
   ========================================================================== */

section {
  padding: 80px 0;
}

.story-section {
  background-color: #ffffff;
}

.story-content,
.usage-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-content p,
.usage-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #495057; /* Verbesserter Kontrast */
}

/* Team Section */
.team-section {
  background-color: #f8f9fa;
}

/* Zitat-Block für emotionale Wirkung - Seriöseres Design */
.child-quote {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  border: none;
  margin: 2.5rem auto;
  padding: 2.5rem 2rem;
  border-radius: 25px;
  max-width: 650px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(255, 193, 7, 0.2);
  position: relative;
  transform: rotate(-1deg);
  transition: all 0.3s ease;
}

.child-quote:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
}

.child-quote::before {
  content: '"';
  font-size: 5rem;
  color: rgba(139, 90, 0, 0.2);
  position: absolute;
  top: -5px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.child-quote p {
  font-size: 1.8rem;
  font-style: italic;
  color: #8b5a00;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  font-weight: 500;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}

.child-quote cite {
  display: inline-block;
  font-size: 1.1rem;
  color: #6d4c00;
  font-style: normal;
  font-weight: 500;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.text-image-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #495057; /* Verbesserter Kontrast */
}

.image-content img {
  width: 100%;
  aspect-right: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.image-caption {
  text-align: center;
  font-style: italic;
  color: #6c757d; /* Verbesserter Kontrast */
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* Usage Section */
.usage-section {
  background-color: #ffffff;
}

.transparency-info {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: left;
}

.cost-disclaimer {
  text-align: center;
  margin: 2rem auto 1rem;
  max-width: 600px;
}

.cost-disclaimer p {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.cost-disclaimer small {
  font-size: 0.85rem;
}

.transparency-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transparency-list li {
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border-left: 4px solid #1a4480;
  color: #495057;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}

.transparency-list li::before {
  content: '✓';
  color: #28a745;
  font-weight: bold;
  margin-right: 0.8rem;
  font-size: 1.1rem;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 3rem;
}

.usage-item {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;

  display: flex;
  flex-direction: column;
}

.usage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-color: #1a4480;
}

.usage-item h3 {
  margin-bottom: 1rem;
  color: #1a4480; /* Verbesserter Kontrast */
}

.usage-item p {
  color: #495057; /* Verbesserter Kontrast */
}

.usage-item .amount {
  justify-self: flex-end;
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc3545; /* Dunkleres Rot für besseren Kontrast */
  margin-top: auto;
}

.total-needed {
  text-align: center;
  background: linear-gradient(135deg, #1a4480 0%, #0f2749 100%);
  color: #ffffff; /* Explizit weiß für maximalen Kontrast */
  padding: 30px;
  border-radius: 12px;
  font-size: 1.3rem;
}

.total-needed p {
  color: #ffffff; /* Explizit weiß für den Gesamtbedarf-Text */
  margin: 0;
}

/* Donation Section */
.donation-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.donation-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 3rem;
}

.donation-method {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
}

.donation-method h3 {
  margin-bottom: 1.5rem;
  color: #1a4480; /* Verbesserter Kontrast */
}

.bank-details {
  text-align: left;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 1rem;
  border: 1px solid #dee2e6; /* Leichter Border für bessere Abgrenzung */
}

.bank-details p {
  margin-bottom: 0.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: #212529; /* Dunklerer Text für besseren Kontrast */
}

.online-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.donation-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #ffffff; /* Explizit weiß für alle Buttons */
}

.donation-button.paypal {
  background: #0050a0; /* Dunkleres PayPal Blau für besseren Kontrast */
}

.donation-button.paypal:hover {
  background: #003d7a;
  transform: translateY(-2px);
  color: #ffffff; /* Explizit weiß auch bei Hover */
}

.donation-button.gofundme {
  background: #00b964;
  color: white;
}

.donation-button.gofundme:hover {
  background: #009954;
  transform: translateY(-2px);
  color: #ffffff;
}

.external-link-icon {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.donation-button:hover .external-link-icon {
  opacity: 1;
  transform: translateX(2px) translateY(-1px);
}

.final-cta {
  text-align: center;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.final-cta h3 {
  color: #1a4480;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-text {
  font-size: 1.2rem;
  font-weight: 400;
  color: #495057;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cta-signature {
  font-size: 1.1rem;
  color: #1a4480;
  font-weight: 600;
  margin-top: 2rem;
  font-style: italic;
  border-top: 2px solid #e9ecef;
  padding-top: 1.5rem;
}

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

.footer {
  background: #1a4480; /* Dunklerer Blauton für besseren Kontrast */
  color: #ffffff; /* Explizit weiß */
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #ffffff; /* Explizit weiß */
  margin-bottom: 1rem;
}

.footer-section p {
  color: #c8d6f0; /* Helleres Blau für besseren Kontrast auf dunklem Hintergrund */
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #3b5998;
  color: #ffffff; /* Explizit weiß für Copyright-Text */
}

.footer-bottom p {
  color: #ffffff; /* Explizit weiß für Copyright-Text */
}

.footer-bottom a {
  color: #c8d6f0; /* Helleres Blau für bessere Lesbarkeit */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffffff; /* Weiß bei Hover für maximalen Kontrast */
  text-decoration: underline;
}

.footer-bottom a:focus {
  color: #ffffff;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ==========================================================================
   Press Section
   ========================================================================== */

.press-section {
  background-color: #ffffff;
  border-top: 1px solid #e9ecef;
}

.press-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.press-intro {
  font-size: 1.1rem;
  color: #495057;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.press-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.press-article {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.press-article:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-color: #1a4480;
}

.press-source {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.press-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 8px;
}

.press-meta h4 {
  color: #1a4480;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.press-meta time {
  color: #6c757d;
  font-size: 0.9rem;
}

.press-article h3 {
  color: #212529;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.press-excerpt {
  color: #495057;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.press-link {
  display: inline-flex;
  align-items: center;
  color: #1a4480;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid #1a4480;
  border-radius: 8px;
  transition: all 0.3s ease;
  align-self: flex-end;
  margin-top: auto;
}

.press-link:hover {
  background: #1a4480;
  color: white;
  transform: translateY(-1px);
}

.press-link .external-link-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.press-link:hover .external-link-icon {
  transform: translateX(2px) translateY(-1px);
}

@media (max-width: 768px) {
  .press-articles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .press-article {
    padding: 1.5rem;
  }

  .press-source {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

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

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .cta-block {
    text-align: center;
  }

  .text-image-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }

  .donation-methods {
    grid-template-columns: 1fr;
  }

  .online-options {
    flex-direction: row;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  section {
    padding: 60px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .intro-text p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .usage-item {
    padding: 20px;
  }

  .donation-method {
    padding: 30px 20px;
  }

  .online-options {
    flex-direction: column;
  }
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */

/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal Content Container */
.modal-content {
  background-color: #ffffff;
  margin: 50px auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideIn 0.3s ease-out;
  overflow: hidden;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Header */
.modal-header {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
  color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Close Button */
.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close:hover,
.close:focus {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Modal Body */
.modal-body {
  padding: 30px;
  line-height: 1.6;
  color: #333;
  max-height: calc(80vh - 100px);
  overflow-y: auto;
}

.modal-body h3 {
  color: #2c5aa0;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 8px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body h4 {
  color: #444;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.modal-body p {
  margin-bottom: 15px;
  color: #555;
}

.modal-body ul {
  margin: 15px 0;
  padding-left: 20px;
}

.modal-body ul li {
  margin-bottom: 8px;
  color: #555;
}

.modal-body small {
  color: #777;
  font-style: italic;
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
  .modal-content {
    margin: 20px auto;
    width: 95%;
    max-height: 90vh;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 20px;
    max-height: calc(90vh - 80px);
  }

  .close {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 10px auto;
    width: 98%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 12px 15px;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 15px;
    max-height: calc(95vh - 60px);
  }

  .modal-body h3 {
    font-size: 1rem;
  }
}

/* Scrollbar Styling for Modal Body */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

