:root {
  --bg: #fff;
  --container: 1200px;
  --light: #f9f9f9;
  --primary: #0056b3;
  --secondary: #e3f2fd;
  --text: #222;
}

/* Allgemeine Grund-Styles */
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", sans-serif;
  line-height: 1.8;
  margin: 0;
}

button {
  background: var(--primary);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 1em;
  padding: 0.9em;
  transition: background 0.3s ease;
}
button:hover {
  background: #004093;
}

footer {
  background: #eee;
  font-size: 0.9em;
  padding: 1em;
  text-align: center;
}

/* Feedback (z.B. nach Formular) */
.feedback {
  color: green;
  font-weight: bold;
  text-align: center;
}

/* Formulare */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin: 0 auto;
  max-width: 600px;
  padding: 2em 0;
}
input,
textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  padding: 0.8em;
}

/* Header + Navigation */
header {
  background-color: var(--secondary);
  margin-bottom: 2em;
}
.sticky-nav {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3em 0;
  position: relative;
  min-height: 80px;
}
.nav-container {
  display: flex;
  align-items: center;
 
  gap: 2.5em;                 /* Abstand zwischen Logo und Menü */
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75em 1.5em;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 1em;
}
.nav-brand img {
  display: block;
  height: 68px;
  max-width: 160px;
  width: auto;
  border-radius: 30%;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: white;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover {
  text-decoration: underline;
}
.nav-links li {
  position: relative;
}

/* Dropdown-Menü */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 110%;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  min-width: 210px;
  border-radius: 10px;
  z-index: 1000;
  padding: 0.7em 1.2em;
  flex-direction: column;
}
.dropdown-menu li {
  display: block;
  padding: 0.5em 1em;
}
.dropdown-menu li a {
  color: var(--text);
  text-decoration: none;
  padding: 0.6em 0.8em;
  border-radius: 4px;
  display: block;
}
.dropdown-menu li a:hover,
.dropdown-menu li:hover {
  background-color: #f0f0f0;
}
/* Desktop Hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}
/* Mobil-Klick (per Klasse .show von JS) */
@media (max-width: 768px) {
  .menu-left:hover .dropdown-menu,
.dropdown-menu.show {
  display: flex;
}
}
/* Responsive Fix: auf Mobil kleiner */
@media (max-width: 600px) {
  .nav-title {
    font-size: 1.3em;
  }
  .menu-logo {
    height: 44px;
    width: 44px;
    padding: 3px;
  }
}
/* Titel zentriert */
.nav-title {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: absolute;
  left: 0; right: 0;
  margin: auto;
  pointer-events: none; /* damit Klicks auf das Menü/Logo nicht blockiert werden */
}
/* Burger Button für Mobile Menü (optional) */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  font-size: 1.8em;
}
/* Links: Logo als Menü */
.menu-left {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 80px;
  margin-left: 2vw;
}
/* Partner Logos */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin-top: 2em;
}
.logo-row img {
  height: 150px;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.18s;
}
.logo-row img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}
.partner-box {
  background: #f4f4f4;
  border-radius: 8px;
  box-shadow: inset 0 5px 8px -6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  max-width: var(--container);
  padding: 4em 1.5em;
  text-align: center;
}
.partner-logos {
  max-width: var(--container);
  padding: 0 1.5em;
  text-align: center;
  width: 100%;
}
.partner-logos .section-container {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 1.5em;
  text-align: center;
}

/* Hero-Bereich */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--container);
  padding: 5em 1em 1em 1em;
  padding-top: 6em;
  text-align: center;
}
.hero h1 {
  font-size: 2.2em;
  margin-bottom: 1em;
}
.hero-logo {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
}

/* Intro und Transition-Bereiche */
.intro {
  background: #e9f5f9;
  padding: 4em 1.5em;
}
.intro .container {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}
.intro h2 {
  font-size: 2em;
  margin-bottom: 1em;
}
.intro p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 1.5em;
}
.transition {
  background: #f4f7fb;
  padding: 4em 1.5em;
  text-align: center;
}
.transition .container {
  margin: 0 auto;
  max-width: 900px;
}
.transition h2 {
  font-size: 1.8em;
  margin-bottom: 1em;
}
.transition p {
  font-size: 1.1em;
  line-height: 1.7;
}
.section-divider {
  background: var(--primary);
  border: none;
  height: 3px;
  margin: 0 auto 1.5em auto;
  width: 60px;
}

/* Nutzen/Vorteile-Grid */
.benefit-grid {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 0 auto;
  max-width: var(--container);
}
.benefit-grid div {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
  padding: 1.8em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-grid div:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.benefit-grid i {
  color: var(--primary);
  display: block;
  font-size: 2.4em;
  margin-bottom: 0.5em;
}

/* News-Bereich */
.news {
  background-color: #f9f9f9;
  padding: 4em 1.5em;
  text-align: center;
}
.news-entry {
  margin: 0 auto;
  max-width: 800px;
}
.news-entry h3 {
  color: var(--primary);
}
.news h2 {
  color: var(--primary);
  font-size: 1.8em;
  margin-bottom: 2em;
}
.news-image {
  border-radius: 10px;
  margin-top: 1em;
  max-width: 100%;
}
.news-item {
  margin: 0 auto 2em auto;
  max-width: 900px;
  text-align: left;
}
.news-item h3 {
  color: var(--text);
  font-size: 1.2em;
  margin-bottom: 0.3em;
}
.news-item p {
  color: #444;
  font-size: 1em;
  line-height: 1.6;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 2em;
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 2em 2em 1.5em 2em;
  margin: 0;
  text-align: left;
  transition: box-shadow 0.2s;
}

.news-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-item h3 {
  font-size: 1.25em;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.7em;
}

.news-item p {
  color: #222;
  font-size: 1.06em;
  margin: 0.2em 0 0.7em 0;
}

.news-item img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1em 0 0 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: block;
}

/* Spendenbereich */
.donation {
  background: #e3f2fd;
  padding: 4em 1.5em;
  text-align: center;
}
.donation h2 {
  color: var(--primary);
  font-size: 1.8em;
  margin-bottom: 1em;
}
.donation p {
  color: #333;
  font-size: 1.1em;
  line-height: 1.7;
  margin: 0 auto 1.5em auto;
  max-width: 750px;
}
.donation ul {
  color: #222;
  list-style-type: disc;
  margin: 0 auto;
  max-width: 750px;
  padding-left: 2em;
  text-align: left;
}
.donation ul li {
  margin-bottom: 0.8em;
}
.donation .cta-button {
  background-color: var(--primary);
  border-radius: 6px;
  color: white;
  display: inline-block;
  margin-top: 2em;
  padding: 0.8em 1.5em;
  text-decoration: none;
  transition: background 0.3s ease;
}
.donation .cta-button:hover {
  background-color: #004093;
}
.donation ul,
.donation ul li {
  font-family: inherit;
  font-size: 1.1em;
  line-height: 1.7;
}

/* Scroll-to-Top-Button */
#scrollTopBtn {
  background-color: var(--primary);
  border: none;
  border-radius: 50%;
  bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  color: white;
  cursor: pointer;
  display: none;
  font-size: 20px;
  padding: 0.7em 1em;
  position: fixed;
  right: 30px;
  transition: background 0.3s ease;
  z-index: 100;
}
#scrollTopBtn:hover {
  background-color: #004093;
}

/* Sektionen (Abstände) */
section {
  padding: 4em 1.5em;
  padding-bottom: 4em;
  padding-top: 4em;
}
section > h2 {
  font-size: 1.8em;
  text-align: center;
}
section > p {
  margin: 0.5em auto 2em auto;
  max-width: 800px;
  text-align: center;
}
/* Abstand zwischen Sektionen */
section + section {
  border-top: none;
  margin-top: 4em;
}

/* Rechtstexte */
.legal-page {
  background: linear-gradient(110deg, #e3f2fd 40%, #fff 100%);
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.11);
  max-width: 540px;
  margin: 3em 1.5em;
  padding: 3em 2em 2.3em 2em;
  text-align: center;
  position: relative;
}
.legal-icon {
  font-size: 3em;
  color: #0056b3;
  margin-bottom: 0.3em;
}
.legal-card h1 {
  margin-bottom: 1.1em;
  font-size: 2.1em;
  color: #0056b3;
}
.legal-card p {
  color: #222;
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 2em;
  text-align: left;
}
.legal-card a.legal-back {
  display: inline-block;
  margin-top: 0.5em;
  background: #0056b3;
  color: #fff;
  text-decoration: none;
  padding: 0.7em 2em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1em;
  transition: background 0.19s, color 0.19s;
}
.legal-card a.legal-back:hover {
  background: #003d80;
  color: #e3f2fd;
}


/* Section Wrapper (optisch trennen) */
.section-wrapper {
  background: #f4f4f4;
  box-shadow: inset 0 5px 8px -6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  margin-bottom: 4em;
  margin-top: 4em;
  padding: 4em 0;
}
.news-timeline {
  padding: 4em 1em 3em 1em;
  background: #f4f7fb;
}
.news-timeline h2 {
  text-align: center;
  margin-bottom: 2.3em;
  color: var(--primary);
}
.timeline {
  margin: 0 auto;
  max-width: 650px;
  position: relative;
  padding-left: 25px;
}
.timeline:before {
  content: '';
  position: absolute;
  top: 0; left: 12px; bottom: 0;
  width: 3px;
  background: linear-gradient(#0056b3 30%, #e3f2fd 100%);
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.3em;
  position: relative;
}
.timeline-point {
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid #0056b3;
  border-radius: 50%;
  margin-right: 20px;
  margin-top: 2px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.timeline-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1.3em 1.5em 1em 1.5em;
  min-width: 0;
  flex: 1;
  transition: box-shadow 0.18s;
}
.timeline-content:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.16);
}
.timeline-content h3 {
  margin: 0 0 0.2em 0;
  font-size: 1.16em;
  color: #0056b3;
}
.timeline-date {
  color: #888;
  font-size: 0.98em;
  margin-bottom: 0.6em;
  display: inline-block;
}
.menu-logo {
  height: 56px;
  width: 56px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  padding: 7px;
  transition: box-shadow 0.15s, transform 0.13s;
  display: block;
}
.menu-logo:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.14);
  transform: scale(1.07);
}
.dropdown-toggle {
  padding: 0;           /* Kein zusätzlicher Innenabstand */
  border: none;
  background: none;
}
#spendenkonto {
  max-width: 600px;
  margin: 2rem auto;           /* zentriert horizontal */
  padding: 1rem;
  border: 2px solid #0056b3;
  border-radius: 8px;
  background-color: #f9f9f9;
  text-align: center;
}

/* Optional: Überschrift und Liste separat etwas Abstand geben */
#spendenkonto h2 {
  margin-bottom: 1rem;
}
#spendenkonto ul {
  list-style: none;
  padding: 0;
}
#spendenkonto ul li {
  margin: 0.5rem 0;
}
.widget-wrapper {
  max-width: 300px;         /* maximale Breite des Widgets */
  width: 100%;
  margin: 24px auto 0 auto; /* zentriert durch auto links und rechts */
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.09);
  display: block;
}

.widget-wrapper iframe {
  width: 100%;
  min-height: 320px;
  border: none;
  display: block;
}


