/* teammoderation.ch — minimal static SEO layout (Cloudflare-friendly) */

:root {
  --color-text: #1a1a1a;
  --color-muted: #555;
  --color-bg: #fafafa;
  --color-surface: #fff;
  --color-accent: #c45a11;
  --color-accent-dark: #9a4509;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 960px;
  --radius: 8px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: var(--color-accent-dark);
}

a:hover {
  color: var(--color-accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
}

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

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-brand {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}

.site-brand a {
  text-decoration: none;
  color: var(--color-text);
}

.nav-toggle {
  display: block;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  background: var(--color-surface);
  border-radius: var(--radius);
  cursor: pointer;
}

.site-nav {
  width: 100%;
  display: none;
  flex-basis: 100%;
}

.site-nav.is-open {
  display: block;
}

.nav-label {
  margin: 0.75rem 0 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.95rem;
}

.site-main {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.page-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  margin-top: 0;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-muted);
}

.cta-row {
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  color: #fff !important;
}

.card-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.card-grid a {
  display: block;
  padding: 1rem;
  background: var(--color-surface);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}

.card-grid a span {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.link-columns {
  columns: 2;
  gap: 1.5rem;
}

.faq dt {
  font-weight: 700;
  margin-top: 1rem;
}

.faq dd {
  margin: 0.25rem 0 0;
  color: var(--color-muted);
}

.anfrage-box {
  background: var(--color-surface);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.site-footer {
  background: #222;
  color: #ddd;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: #f5c99a;
}

.footer-note {
  color: #999;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    width: auto;
    flex-basis: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .link-columns {
    columns: 3;
  }
}
