/* KorbIQ Website. Farben aus ios/DesignSystem/Theme.swift der App. */

:root {
  --accent: #0f6e66;
  --accent-strong: #0b5550;
  --highlight: #f0b45c;
  --bg: #f4f6f5;
  --surface: #ffffff;
  --border: #dce3e1;
  --text: #17201e;
  --text-muted: #55625f;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #4fc3b5;
    --accent-strong: #7fd6cb;
    --bg: #0e1110;
    --surface: #1c2120;
    --border: #2c3432;
    --text: #e8eeec;
    --text-muted: #a3b0ad;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

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

a:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

/* Kopf auf Unterseiten */

.site-header {
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

main {
  flex: 1;
}

/* Startseite */

.hero {
  padding-top: 12vh;
  padding-bottom: 48px;
  text-align: center;
}

.hero img {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(15, 110, 102, 0.25);
}

.hero h1 {
  margin: 24px 0 8px;
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero .lead {
  margin: 0 auto;
  max-width: 30rem;
  color: var(--text-muted);
  font-size: 1.1875rem;
}

.badge {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.card {
  margin: 0 0 48px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.card h2 {
  margin: 0 0 6px;
  font-size: 1.125rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Rechtstexte */

.legal {
  padding-top: 16px;
  padding-bottom: 48px;
}

.legal h1 {
  margin: 16px 0 4px;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  line-height: 1.2;
}

.legal h2 {
  margin: 36px 0 8px;
  font-size: 1.25rem;
}

.legal h3 {
  margin: 24px 0 6px;
  font-size: 1.0625rem;
}

.legal p,
.legal ul {
  margin: 0 0 12px;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal .stand {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.legal address {
  font-style: normal;
}

/* Fuß */

.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: var(--text-muted);
}
