/* MailB – barrierefreier One-Pager */

:root {
  --navy: #10263e;
  --navy-soft: #1c3a5c;
  --teal: #0b6e63;
  --teal-dark: #07534a;
  --cream: #faf7f0;
  --cream-card: #ffffff;
  --border: #c9d2db;
  --focus: #c23b22;
  --max: 1100px;
}

* { box-sizing: border-box; }

html {
  font-size: 112.5%; /* ~18px base */
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

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

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

/* Visible, strong focus for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--teal);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}
.logo:hover { color: #fff; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.nav-list a:hover,
.nav-list a:focus-visible {
  text-decoration: underline;
}

.nav-cta {
  background: var(--teal);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--teal-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  padding: 4rem 0;
}

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

.hero h1 { color: #fff; }

.hero-lead {
  font-size: 1.15rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

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

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* Features */
.features { padding: 4rem 0; }

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Accessibility section */
.accessibility {
  background: var(--navy-soft);
  color: #fff;
  padding: 4rem 0;
}

.accessibility h2 { color: #fff; }

.a11y-inner {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.a11y-text { flex: 1 1 420px; }

.a11y-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}
.a11y-list li { margin-bottom: 0.5rem; }

.a11y-badge {
  flex: 0 1 240px;
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  font-weight: 700;
}

.a11y-badge-icon {
  display: block;
  font-size: 2.5rem;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

/* Pricing */
.pricing { padding: 4rem 0; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.price-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}

.price-card-highlight {
  border: 2px solid var(--teal);
  position: relative;
}

.price-tag {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
}

.price-period {
  font-size: 1rem;
  color: var(--navy);
}

.price-desc { color: var(--navy-soft); }

.price-note {
  margin-top: 2rem;
  color: var(--navy-soft);
  max-width: 700px;
}

/* Contact / form */
.contact {
  background: var(--cream-card);
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--border);
}

.contact-inner { max-width: 640px; }

.sas-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.sas-form-intro {
  font-weight: 600;
  color: var(--navy-soft);
}

.sas-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
}

.sas-field input,
.sas-field select,
.sas-field textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
}

.sas-field textarea {
  min-height: 100px;
  resize: vertical;
}

.sas-form button {
  align-self: flex-start;
  background: var(--teal);
  color: #fff;
  border: none;
  font: inherit;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
}
.sas-form button:hover { background: var(--teal-dark); }

.sas-form-status { font-weight: 600; }

.contact-privacy-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--navy-soft);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #e5ebf1;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

.footer-inner p { margin: 0; }

.footer-inner a {
  color: #e5ebf1;
}

/* Legal / Impressum page */
.legal { padding: 3.5rem 0 5rem; }

.legal-inner { max-width: 700px; }

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
