/* AutoMappe — gemeinsames Stylesheet für die Legal-Webseiten */

:root {
  --navy: #0A1A3F;
  --navy-dark: #050F26;
  --navy-light: #15265A;
  --green: #1BAE6E;
  --green-bright: #22C77F;
  --bg: #ffffff;
  --surface: #f5f7fb;
  --text: #1a1f36;
  --text-secondary: #5a6378;
  --text-tertiary: #98a0b3;
  --border: #e5e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

header {
  background: var(--navy);
  color: white;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header .inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

header .brand img {
  width: 32px;
  height: 32px;
}

header .brand span {
  font-size: 18px;
  font-weight: 700;
}

header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

header nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

header nav a:hover {
  color: var(--green-bright);
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
  color: var(--text);
}

ul,
ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

li {
  margin-bottom: 4px;
}

a {
  color: var(--green);
  text-decoration: underline;
}

a:hover {
  color: var(--green-bright);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

th {
  background: var(--surface);
  font-weight: 600;
  color: var(--navy);
}

.subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.notice {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #6b4f0a;
}

footer {
  background: var(--surface);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--text-secondary);
  margin: 0 8px;
}

@media (max-width: 600px) {
  header .inner {
    flex-direction: column;
    align-items: flex-start;
  }
  h1 {
    font-size: 22px;
  }
  main {
    padding: 32px 16px 48px;
  }
}
