/* e3 Schirmer – gemeinsames Stylesheet */

:root {
  --brand-green: #2f8f1f;
  --brand-blue: #0067b3;
  --brand-blue-dark: #003a66;
  --ink: #1c2530;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background: linear-gradient(160deg, var(--brand-green) 0%, var(--brand-blue) 55%, var(--brand-blue-dark) 100%);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
}

/* Layout containers */
.content-container,
.section {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 20, 40, 0.12);
}

.text-dark { color: var(--ink) !important; }

/* Header / nav */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-brand img { display: block; }

.navbar-nav .nav-link {
  color: var(--brand-blue-dark) !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-green) !important;
}

.navbar-nav .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-primary:hover {
  background-color: #256e18;
  border-color: #256e18;
}

/* Hero */
.hero-badge {
  display: inline-block;
  background: rgba(47, 143, 31, 0.12);
  color: var(--brand-green);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  align-items: center;
  font-size: 0.92rem;
  color: #33475b;
}
.trust-strip span::before {
  content: "✓";
  color: var(--brand-green);
  font-weight: 700;
  margin-right: 0.4rem;
}

/* Cards */
.info-card {
  background: #f4f8fb;
  border-left: 4px solid var(--brand-blue);
  border-radius: 0.6rem;
  padding: 1.25rem 1.5rem;
  height: 100%;
}

/* FAQ */
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 0;
  border-bottom: 1px solid #dfe6ec;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand-blue);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0.5rem 0 1rem; margin: 0; color: #333; }

/* Wiki */
.letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.letter-nav a {
  background-color: var(--brand-blue);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
}
.letter-nav a:hover { background-color: var(--brand-blue-dark); }

h2 {
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 5px;
  margin-top: 2.5rem;
}
.content-container h2:first-child,
.section h2:first-child { margin-top: 0; }

/* Certificates */
.portrait, .certs { max-width: 100%; border-radius: 8px; margin-bottom: 1.5rem; }
figure img { background: #fff; padding: 6px; border: 1px solid #e4e9ee; }
figcaption { font-size: 0.85rem; color: #445; }

/* Footer */
footer {
  background-color: var(--brand-blue-dark);
}
footer a { color: #7fc4ff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 2000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .content-container, .section { padding: 1.25rem; }
}
