/* ===========================
   NBIA Suisse – Stylesheet
   =========================== */

:root {
  --blue:       #23A455;
  --blue-dark:  #1a8040;
  --green:      #23A455;
  --green-light:#e8f7ee;
  --red:        #e63329;
  --orange:     #e8632a;
  --text:       #2d2d2d;
  --text-light: #555;
  --bg:         #ffffff;
  --bg-alt:     #f7f9fc;
  --border:     #dde3ea;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --max-width:  1100px;
  --nav-height: 70px;

  /* Aliasse für bestehenden Code */
  --teal:       #23A455;
  --teal-light: #e8f7ee;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===========================
   NAVIGATION
   =========================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-bottom: 3px solid var(--green);
  height: var(--nav-height);
}
nav {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-badge {
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.nav-logo-badge small {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 700;
  line-height: 1.3;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex-wrap: wrap;
  height: 100%;
}
.nav-links a {
  color: var(--text);
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  height: 100%;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--green); text-decoration: none; }
.nav-links a.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.lang-switcher {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-left: 0.5rem;
}
.lang-switcher a {
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.2s;
  text-decoration: none;
}
.lang-switcher a:hover, .lang-switcher a.active { opacity: 1; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%, #1a2d7a 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: #1a8040; text-decoration: none; color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); text-decoration: none; color: #fff; }
.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover { background: #d4613e; text-decoration: none; color: #fff; }

/* ===========================
   LAYOUT HELPERS
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 4rem 1.5rem;
}
.section-alt {
  background: var(--bg-alt);
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.section-subtitle {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.section-title-bar {
  width: 50px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin: 0.5rem 0 2rem;
}

/* ===========================
   CARDS
   =========================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.card p { color: var(--text-light); font-size: 0.95rem; }

/* Disease cards */
.disease-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.disease-card {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.2s;
}
.disease-card:hover {
  background: var(--teal);
  color: #fff;
  text-decoration: none;
}
.disease-card:hover h4 { color: #fff; }
.disease-card h4 { color: var(--blue); margin-bottom: 0.25rem; font-size: 1rem; }
.disease-card p { font-size: 0.85rem; color: var(--text-light); }
.disease-card:hover p { color: rgba(255,255,255,0.85); }

/* ===========================
   DONATE BANNER
   =========================== */
.donate-banner {
  background: linear-gradient(135deg, var(--orange), #c95a3a);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}
.donate-banner h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.donate-banner p { opacity: 0.9; margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--green);
  color: rgba(255,255,255,0.9);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ===========================
   CONTENT PAGES
   =========================== */
.page-hero {
  background: var(--blue);
  border-bottom: 4px solid var(--green);
  color: #fff;
  padding: 3rem 1.5rem;
}
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
.page-hero p { opacity: 0.85; margin-top: 0.5rem; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }

.content-body {
  max-width: 800px;
}
.content-body h2 {
  color: var(--blue);
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}
.content-body h3 {
  color: var(--blue);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}
.content-body p { margin-bottom: 1rem; color: var(--text); }
.content-body ul, .content-body ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text);
}
.content-body li { margin-bottom: 0.4rem; }

/* ===========================
   FORMS
   =========================== */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 680px;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--blue);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--bg);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,157,143,0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-note { font-size: 0.85rem; color: var(--text-light); margin-top: 0.25rem; }
.required { color: var(--orange); }

/* ===========================
   ALERTS / INFO BOXES
   =========================== */
.info-box {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-top: 2px solid var(--green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 1rem; width: 100%; height: auto; margin-bottom: 0; border-bottom: none; }
  .lang-switcher { border-left: none; padding-left: 0; margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 2.5rem 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
}
