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

:root {
  --bg:        #fafaf9;
  --bg-card:   #ffffff;
  --accent:    #b45309;
  --accent-dim:#92400e;
  --text:      #1c1917;
  --text-muted:#78716c;
  --border:    #e7e5e4;
  --nav-h:     64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

/* ── Nav ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  z-index: 100;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* ── Layout ──────────────────────────────────────────── */
main { padding-top: var(--nav-h); }

section {
  padding: 5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

section.full-width {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 5rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-divider {
  width: 56px;
  height: 3px;
  background: var(--accent);
  border: none;
  margin: 0 0 2.5rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover { background: var(--accent-dim); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

/* ── Section headings ────────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }

/* ── Cards ───────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-arrow {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ── Feature list ────────────────────────────────────── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-list li::before {
  content: "▸";
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── Screenshot placeholder ──────────────────────────── */
.screenshot-placeholder {
  border: 2px dashed var(--border);
  border-radius: 8px;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-card);
  margin-top: 2.5rem;
}

.screenshot-placeholder .placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* ── Dashboard screenshot ────────────────────────────── */
.dashboard-screenshot {
  display: block;
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  margin-top: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* ── Divider band ────────────────────────────────────── */
.band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── Kontakt ─────────────────────────────────────────── */
.kontakt-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 560px;
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

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

/* ── Impressum ───────────────────────────────────────── */
.impressum-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.impressum-block h3 { color: var(--accent); margin-bottom: 0.5rem; margin-top: 1.25rem; }
.impressum-block h3:first-child { margin-top: 0; }
.impressum-block p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Page header (sub-pages) ─────────────────────────── */
.page-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
  margin-top: 0;
}

.page-header-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ── Back link ───────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

/* ── Hamburger ───────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0 1rem; gap: 0; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  section { padding: 3.5rem 1.25rem; }
  .hero { padding: 4rem 1.25rem 3rem; }
  .kontakt-box { padding: 1.5rem; }
}
