:root {
  --color-accent: #6f93b8;
  --color-accent-dark: #4f708f;
  --color-accent-light: #eaf1f7;
  --color-text: #2c3238;
  --color-text-muted: #5a6672;
  --color-bg-alt: #f5f8fa;
  --color-border: #e1e7ec;
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(40, 60, 80, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  color: #263241;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 0.4em;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.4em;
}

p { margin: 0 0 1em; }

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

.section-intro {
  max-width: 640px;
  color: var(--color-text-muted);
}

/* Notice bar (diagonales Band, bleibt beim Scrollen oben sichtbar) */
.notice-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  overflow: hidden;
  height: 170px;
  background: #fff;
}

.notice-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  transform: translate(-50%, -50%) rotate(-3.5deg);
  background: #c62828;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
}

.notice-bar-inner {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.4;
}

.notice-bar strong {
  font-weight: 700;
}

.notice-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.notice-bar a:hover {
  text-decoration: none;
}

@media (max-width: 720px) {
  .notice-wrap {
    height: 210px;
  }

  .notice-bar {
    width: 140%;
    transform: translate(-50%, -50%) rotate(-4deg);
    padding: 10px 14px;
  }

  .notice-bar-inner {
    max-width: 260px;
    font-size: 0.82rem;
  }
}

.email-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

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

/* Wenn der Hinweisbanner aktiv ist, docht der Header direkt darunter an */
body.has-notice .site-header {
  top: 170px;
}

@media (max-width: 720px) {
  body.has-notice .site-header {
    top: 210px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

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

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent-dark);
  line-height: 1.25;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-bottom-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--color-accent-light) 0%, #ffffff 100%);
  padding: 72px 0 64px;
  text-align: center;
}

.hero-inner {
  max-width: 760px;
}

.hero h1 {
  font-size: 2.3rem;
  margin: 0 0 0.5em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(79, 112, 143, 0.35);
}

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

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

.btn-block {
  display: block;
  text-align: center;
  margin-top: 22px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent-dark);
  font-weight: 700;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--color-accent-dark);
}

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

/* Highlight box */
.highlight-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  align-self: center;
}

.highlight-box ol {
  padding-left: 20px;
  margin: 0;
}

.highlight-box li {
  margin-bottom: 10px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--color-accent-dark);
}

/* Footer */
.site-footer {
  background: #263241;
  color: #cfd8e0;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-inner p { margin: 0; }

.footer-nav a {
  color: #cfd8e0;
  text-decoration: none;
  margin-left: 20px;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Legal pages */
.legal-page {
  padding: 56px 0 80px;
  max-width: 780px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 0.7em;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 1.6em;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 860px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 4px;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .brand-text {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}
