:root {
  --text: #111;
  --page: #ffffff;
  --accent: #2a5db0;
  --muted: #666;

  /* Außenraum */
  --bg-top: #eef1f4;
  --bg-mid: #f6f7f9;
  --bg-bottom: #e3e7ec;

  --border: #d8dce2;
}

/* Grundsetup */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.75;

  background: linear-gradient(
    to bottom,
    #eef2f7 0%,
    #d7e0ee 45%,
    #c3d2e6 100%
  );
}


/* Header */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.9);
  height: auto;
  min-height: 100px;

  /* sorgt dafür, dass links nichts klebt */
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header-inner {
  max-width: 900px;
  min-height: 100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.4rem;
  flex-wrap: wrap;

  position: relative;
  z-index: 2;
}

/* Header-Kompass (als Bilddatei) */
.site-compass {
  flex-shrink: 0;
}

.compass-header-icon {
  width: 48px;
  height: 48px;
  opacity: 0.95;

  /* optische Zentrierung */
  transform: translateY(3px);
}

.site-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;

  position: relative;
  z-index: 3;
}


/* Titel */
.site-title {
/*  font-family: "Spectral", serif;
  font-family: "EB Garamond", serif;*/
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
}

.site-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-left: 2.2rem;
/*  margin-top: 0.1rem;*/
}

/* Desktop: keine separate Wellen-Grafik im Layout, nur Background */
.site-waves {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
}

.site-waves img {
  max-width: 480px;   /* Maximalgröße */
  min-width: 320px;   /* Mindestgröße (Umbruch-Schwelle) */
  width: 100%;        /* füllt den aktuellen Flex-Raum */
  height: auto;
}

.site-nav {
  max-width: 900px;
  margin: 0.6rem auto 0 auto;  /* statt nur margin-top */
  padding: 0.6rem 0 0 0;
  border-top: 1px solid var(--border);

  display: flex;
  gap: 1.2rem;
}

.site-nav .nav-item {
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}

.site-nav .nav-item:hover {
  text-decoration: underline;
}

/* Textfläche = ruhiger Kern */
.content {
  max-width: 720px;
  margin: 3.5rem auto 0 auto;
  padding: 3rem 2.5rem;

  background: var(--page);
  border-radius: 6px;

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 1rem 1rem 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}


/* Impressum und Datenschutz */
.page-legal {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #333;
}

/* Überschriften auf Rechtliches-Seite */
.page-legal h1 { font-size: 1.4rem;}
.page-legal h2 { font-size: 1.05rem;}


/* Typografie */
h1 {
  margin-top: 0;
  line-height: 1.25;
}

h2, h3 {
  margin-top: 2.6rem;
}

p {
  margin: 1.1rem 0;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Aufklappbereiche */
.details-block {
  margin: 2rem 0;
  padding: 1rem 1.25rem;

  border-left: 3px solid var(--accent);
  background: #f3f6fa;
}

.details-block summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
}

.details-block summary::marker {
  display: none;
}

.details-block[open] summary {
  margin-bottom: 0.75rem;
}

.details-content {
  font-size: 0.95rem;
  color: #333;
}

/* Mobil */
@media (max-width: 600px) and (pointer: coarse) {
  .compass-header-icon {
    width: 32px;
    height: 32px;
  }
}