/* Docmiro -- helles Blau-Design (seit 25.09.2026, nach dem neuen Logo).
   Farben identisch mit den Apps (iOS Core/Theme.swift, Android ui/theme/Color.kt).
   Die Variablennamen sind unveraendert, damit Inline-Styles der Einzelseiten weiter funktionieren. */
:root {
  --bg: #f0f6fa;
  --card: #ffffff;
  --border: #dce6ef;
  --text: #14305c;
  --text-dim: #5b6b82;
  --accent: #1e6bd6;
  --accent-light: #3d8fe6;
  --accent-dark: #14509f;
  --footer-bg: #1a1a1a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

header .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* Logo 200x100 (Datei liegt in doppelter Aufloesung vor) */
header .brand img { height: 56px; width: auto; }

.header-right { display: flex; align-items: center; gap: 1.2rem; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--accent-dark); font-size: 0.95rem; font-weight: 600; }
.site-nav a:hover { color: var(--accent-light); text-decoration: none; }
.lang-switch { font-size: 0.85rem; }
.lang-switch a { color: var(--text-dim); }
.lang-switch a:hover { color: var(--accent); }

.site-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent-dark);
  border-radius: 6px;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
}
@media (max-width: 760px) {
  header { padding: 0.3rem 1rem; }
  header .brand img { height: 46px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 4rem;
    right: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 48, 92, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem;
    min-width: 210px;
    z-index: 15;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.55rem 0.6rem; width: 100%; }
  .site-nav-toggle { display: block; }
}

.pricing-note { font-weight: 400; }

/* ---------- Grundgeruest ---------- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(30, 107, 214, 0.06);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

h1 { font-size: 1.8rem; margin: 0 0 0.6rem; color: var(--accent-dark); }

p.lead {
  max-width: 40rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  padding: 4.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, #f0f7f9 0%, #e6f1fa 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 { font-size: 2.2rem; line-height: 1.25; max-width: 46rem; margin-bottom: 1.1rem; }
.hero .hero-icon {
  width: 200px;
  height: 200px;
  margin-top: 2.4rem;
  border-radius: 44px;
  box-shadow: 0 18px 40px rgba(30, 107, 214, 0.22);
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 107, 214, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cta-button:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-2px); }

/* ---------- Funktionen ---------- */
.features {
  width: 100%;
  background: #ffffff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.features h2 { font-size: 1.7rem; color: var(--text); margin: 0 0 3rem; font-weight: 600; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 1150px;
  margin: 0 auto;
}
.feature-card {
  background: var(--card);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(20, 48, 92, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 26px rgba(20, 48, 92, 0.12); }
.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: radial-gradient(circle at 70% 25%, #7cc4f5, #1e6bd6);
  box-shadow: 0 6px 14px rgba(30, 107, 214, 0.3);
}
.feature-card h3 { font-size: 1.1rem; color: var(--text); margin: 0 0 0.6rem; font-weight: 600; }
.feature-card p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* ---------- Info-Block (Tarife, Warteliste, Roadmap) ---------- */
.info {
  width: 100%;
  padding: 3.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Textseiten (Impressum, Datenschutz, AGB ...) ---------- */
.section {
  max-width: 760px;
  text-align: left;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
  width: calc(100% - 2rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(20, 48, 92, 0.05);
}
.section h1 { font-size: 1.6rem; }
.section h3 { color: var(--accent); margin-top: 2rem; }
.section p { color: var(--text-dim); line-height: 1.7; }

/* ---------- Footer ---------- */
footer {
  background: var(--footer-bg);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #cccccc;
}
footer p { margin: 0; }
footer nav { margin-top: 0.7rem; }
footer nav a { margin: 0 0.7rem; color: #ffffff; }
footer nav a:hover { color: #7cc4f5; }

#scrollTopBtn {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(20, 48, 92, 0.15);
}
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTopBtn:hover { border-color: var(--accent); }
