/* ============================================================
   DARIUS Investment- und Handelskontor GmbH
   
   ============================================================ */

:root {
  /* Farben */
  --canvas: #F6F5F2;
  --surface: #FFFFFF;
  --ink: #272735;
  --ink-secondary: #5A5548;
  --ink-muted: #5C5F77;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-text: #1D4ED8;
  --accent-soft: #BFDBFE;
  --border-warm: #E7E4DC;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Tastatur-Fokus sichtbar und kontrastreich */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link für Tastatur- und Screenreader-Nutzer.
   Standardmäßig visuell versteckt, bei Tastatur-Fokus sichtbar. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, -160%);
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(39, 39, 53, 0.18);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  text-decoration: none;
}

body.page-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-home main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}

.card {
  max-width: 560px;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), var(--accent) 70%);
}

.page-home h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.page-home h1 em {
  font-style: italic;
  color: var(--accent);
}

.page-home .card p {
  font-size: 18px;
  color: var(--ink-secondary);
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.btn svg {
  flex-shrink: 0;
}

footer {
  border-top: 1px solid var(--border-warm);
  padding: 24px 32px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-secondary);
}

footer a {
  color: var(--ink-secondary);
  text-decoration: none;
  margin: 0 12px;
}

footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-text);
  text-decoration: none;
  margin-bottom: 40px;
}

.back:hover {
  text-decoration: underline;
}

.wrap h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.wrap .lead {
  color: var(--ink-secondary);
  margin-bottom: 48px;
}

.wrap h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-warm);
}

.wrap h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.wrap h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  margin: 20px 0 8px;
}

.wrap p {
  margin-bottom: 12px;
}

.wrap p.muted {
  color: var(--ink-secondary);
}

.wrap ul {
  margin: 0 0 16px 20px;
  color: var(--ink-secondary);
}

.wrap ul li {
  margin-bottom: 6px;
}

.wrap address {
  font-style: normal;
}

.wrap strong {
  font-weight: 600;
}

/* Auffällige Platzhalter — vor Go-live ersetzen! */
.todo {
  background: #FBF3D5;
  border: 1px dashed #D8B93E;
  border-radius: 4px;
  padding: 1px 8px;
  color: #7A6210;
  font-weight: 500;
  white-space: nowrap;
}

.note {
  background: var(--surface);
  border: 1px solid var(--border-warm);
  border-left: 3px solid var(--accent-text);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 16px 0;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.toc h2 {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0 0 12px;
  padding: 0;
  border: none;
}

.toc ol {
  margin-left: 20px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.toc ol li {
  margin-bottom: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}