:root {
  --bg: #f3f4f5;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --text: #1f2a33;
  --muted: #66727c;
  --line: #dde3e7;
  --accent: #e31e24;
  --accent-dark: #c8181d;
  --heading: #173247;

  --shadow-soft: 0 6px 18px rgba(21, 35, 45, 0.045);
  --shadow-hover: 0 12px 28px rgba(21, 35, 45, 0.10);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 12px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: clamp(1.7rem, 3.8vw, 2.2rem);
  line-height: 0.98;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.brand-subline {
  font-size: 0.88rem;
  color: var(--muted);
}

.accent-line {
  width: 120px;
  height: 5px;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.9;
  margin-top: 6px;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: #fff7f7;
  border-color: #f3d2d3;
  color: var(--accent-dark);
}

.nav-link.is-active {
  background: #fff4f4;
  border-color: #efc9cb;
  color: var(--accent-dark);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(227, 30, 36, 0.04);
}

/* HERO */
.page-hero {
  padding: 18px 0 14px;
}

.page-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 20px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff1f1;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  color: var(--heading);
  letter-spacing: -0.035em;
}

.page-intro {
  margin: 0;
  color: var(--muted);
}

/* CONTENT */
.page-content {
  padding: 6px 0 48px;
}

.card {
  background: var(--surface);
  border: 1px solid #d9e0e4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
  margin-bottom: 16px;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  color: var(--heading);
}

.card p {
  margin: 0 0 12px;
}

.clean-list {
  margin: 0;
  padding-left: 20px;
}

.clean-list li {
  margin-bottom: 10px;
}

.muted-text {
  color: var(--muted);
  font-size: 0.95rem;
}

/* STARTSEITE */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tile {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
  transition: 0.15s ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.tile-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}

.tile-text {
  margin: 0;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  padding: 10px 0 32px;
}

.site-footer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

/* RESPONSIVE */
@media (min-width: 720px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}