/* ==========================================================================
   CharterLog — Shared Styles für statische Content-Seiten
   (Impressum, Datenschutz, AGB, FAQ, About, Kontakt)
   ========================================================================== */

:root {
  --bg: #e6f0fb;
  --panel: #ffffff;
  --panel2: #f0f6fd;
  --border: #d6e2ee;
  --text: #0b1220;
  --muted: #64748b;
  --accent: #2563eb;
  --accent2: #0891b2;
  --accent-dark: #1e40af;
  --good: #059669;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 2px 8px rgba(15,23,42,.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
h1, h2, h3, h4 { letter-spacing: -0.01em; margin: 0 0 12px; }

/* ── Top-Header (identisch zu home.html / yachts.html …) ── */
header.top {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 30;
}
header.top .brand {
  font-weight: 700; letter-spacing: .02em; color: var(--text);
  font-size: 16px;
}
header.top .brand span { color: var(--accent); }
header.top .nav { display: flex; align-items: center; }
header.top .nav a {
  color: var(--muted); margin-left: 16px; font-size: 14px;
  padding: 6px 0;
}
header.top .nav a:hover { color: var(--text); }
header.top .nav a.active { color: var(--accent); font-weight: 600; }

/* ── Content-Wrapper ── */
main.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
main.content.wide { max-width: 1100px; }

main.content h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
main.content .lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 620px;
}
main.content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
main.content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
}
main.content p { margin: 0 0 14px; }
main.content ul, main.content ol {
  margin: 0 0 14px; padding-left: 24px;
}
main.content li { margin-bottom: 6px; }

/* ── Entwurfs-/Vorläufig-Banner ── */
.draft-banner {
  background: #fef3c7; border: 1px solid #fbbf24;
  color: #78350f;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 32px;
}
.draft-banner strong { color: #78350f; }

/* ── Info-Card für Platzhalter (Kontakt-Daten im Impressum etc.) ── */
.info-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}
.info-card .placeholder {
  color: #b45309;
  background: #fef3c7;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
}

/* ── FAQ-Accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--muted); font-weight: 300;
  transition: transform .15s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .answer {
  padding: 0 20px 18px;
  color: var(--muted);
}
.faq-item .answer p:last-child { margin-bottom: 0; }

/* ── Kontakt-Formular ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: start;
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 {
  margin-top: 0; border-bottom: 0; padding-bottom: 0;
  font-size: 18px;
}
.contact-form label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.04em; margin-top: 14px; margin-bottom: 4px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: #fff;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.contact-form button {
  margin-top: 16px; width: 100%;
  padding: 11px 16px; border: 0; border-radius: 8px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.contact-form button:hover { background: var(--accent-dark); }

/* ── About-Story-Block ── */
.story {
  background: linear-gradient(135deg, var(--panel2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 28px;
}
.story h2 { margin-top: 0; border-bottom: 0; padding-bottom: 0; }

/* ── Footer (identisch) ── */
footer.site {
  background: #0C2035; color: #b7c5d2;
  padding: 48px 24px 24px; font-size: 14px;
}
.foot-inner { max-width: 1200px; margin: 0 auto; }
.foot-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }
.foot-cols h4 {
  color: #fff; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.06em; margin: 0 0 14px; font-weight: 600;
  border: 0; padding: 0;
}
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-cols a { color: #b7c5d2; font-size: 13px; }
.foot-cols a:hover { color: #fff; text-decoration: none; }
.foot-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.foot-brand span { color: #5AA9FF; }
.foot-tag { color: #8499a6; line-height: 1.5; font-size: 13px; margin: 0; max-width: 320px; }
.foot-bottom {
  border-top: 1px solid #1E3A52; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: #8499a6;
}
