:root {
  --porcelain: #f8fafd;
  --ink: #1c2a44;
  --blue: #2b5ba8;
  --pale: #c9d8ee;
  --deep: #0f3b7a;
  --font: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: .25rem; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--deep); color: #fff; padding: .6rem 1rem; border-radius: .5rem;
}
.skip:focus { top: .5rem; color: #fff; }

/* Hinweisleiste */
.notice {
  margin: 0;
  background: var(--deep);
  color: #fff;
  text-align: center;
  font-size: .9rem;
  letter-spacing: .02em;
  padding: .45rem 1rem;
}

/* Kopfzeile */
.site-head {
  position: relative;
  max-width: 66rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .01em;
}
.brand:hover { color: var(--deep); }

.brand__mark {
  position: relative;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border: .3rem double var(--blue);
  border-radius: 50%;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: .22rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.nav-wide { display: none; }
.nav-wide ul, .menu ul { list-style: none; margin: 0; padding: 0; }

.nav-wide ul { display: flex; align-items: center; gap: 1.15rem; }
.nav-wide a {
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-wide a:hover, .nav-wide a[aria-current] { color: var(--deep); border-bottom-color: var(--blue); }
.nav-wide .legal-start { padding-left: 1.15rem; border-left: 1px solid var(--pale); }

.menu summary {
  list-style: none;
  cursor: pointer;
  padding: .5rem 1rem;
  border: 1px solid var(--pale);
  border-radius: 999px;
  color: var(--deep);
  font-weight: 600;
  background: var(--porcelain);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " +"; }
.menu[open] summary { background: var(--pale); }
.menu[open] summary::after { content: " –"; }

.menu__panel {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: calc(100% - .25rem);
  z-index: 10;
  background: var(--porcelain);
  border: 1px solid var(--pale);
  border-radius: 1.25rem;
  padding: .5rem;
  box-shadow: 0 1.25rem 2.5rem rgba(28, 42, 68, .14);
}
.menu__panel a {
  display: block;
  padding: .75rem 1rem;
  border-radius: .75rem;
  color: var(--ink);
  text-decoration: none;
}
.menu__panel a:hover, .menu__panel a[aria-current] { background: var(--pale); color: var(--deep); }
.menu__panel .legal-start { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--pale); }

@media (min-width: 64rem) {
  .nav-wide { display: block; }
  .menu { display: none; }
}

/* Bodenmarke */
.stamp {
  position: relative;
  width: 16em;
  height: 16em;
  color: var(--blue);
  border-radius: 50%;
  line-height: 1;
  hyphens: none;
  -webkit-hyphens: none;
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 0;
  border: .42em double currentColor;
  border-radius: 50%;
}
.stamp::after {
  content: "";
  position: absolute;
  inset: 2.35em;
  border: .09em solid currentColor;
  border-radius: 50%;
}
.stamp__ring { position: absolute; inset: 0; }
.stamp__ring span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.2em;
  height: 8em;
  margin-left: -.6em;
  padding-top: .78em;
  text-align: center;
  font-weight: 600;
  transform-origin: 50% 100%;
  transform: rotate(calc(var(--i) * 9deg - 72deg));
}
.stamp__center {
  position: absolute;
  inset: 2.35em;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .55em;
  text-align: center;
}
.stamp__center strong {
  font-size: 1.55em;
  font-weight: 600;
  letter-spacing: .05em;
}
.stamp__center strong::after {
  content: "";
  display: block;
  width: 2.2em;
  height: .06em;
  min-height: 1px;
  margin: .4em auto 0;
  background: currentColor;
}
.stamp__center span { font-size: 1em; }

/* Startbereich */
.hero { max-width: 40rem; margin: .25rem auto 0; padding: 0 1rem; }
.hero__field {
  background: var(--pale);
  border-radius: 2rem;
  padding: 2.25rem 1.25rem 2.5rem;
  text-align: center;
}
.foot {
  width: max-content;
  margin: 0 auto 2rem;
  padding: 1em;
  font-size: clamp(.74rem, 3.8vw, 1rem);
  background: var(--porcelain);
  border-radius: 50%;
  box-shadow: 0 0 0 .55rem rgba(248, 250, 253, .55);
}
.hero h1 { margin: 0; font-weight: 400; }
.hero h1 .name {
  display: block;
  font-size: clamp(2.05rem, 8.2vw, 3.1rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--deep);
}
.hero h1 .rest {
  display: block;
  margin-top: .55rem;
  font-size: clamp(1.15rem, 3.8vw, 1.4rem);
  line-height: 1.3;
}
.lead { max-width: 31rem; margin: 1.25rem auto 1.75rem; }

.btn {
  display: inline-block;
  background: var(--deep);
  color: #fff;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  hyphens: none;
  -webkit-hyphens: none;
}
.btn:hover { background: var(--blue); color: #fff; }

.hero .stamp__ring { animation: stamp-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero .stamp__center { animation: fade-in 1s .7s ease-out both; }
@keyframes stamp-in {
  from { transform: rotate(-70deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Inhalt */
.col { max-width: 36rem; margin: 0 auto; padding: 0 1.25rem; }

.block { padding-top: 3.75rem; scroll-margin-top: 1rem; }

h2 {
  margin: 0 0 .85rem;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--deep);
}
h3 { margin: 0 0 .5rem; font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1rem; }

.service {
  margin-top: 1.75rem;
  padding: 1.4rem 1.4rem .4rem;
  border: 1px solid var(--pale);
  border-radius: 1.25rem;
  background: #fff;
}

.rings { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.rings li {
  position: relative;
  padding: .7rem 0 .7rem 2.1rem;
  border-top: 1px solid var(--pale);
}
.rings li:last-child { border-bottom: 1px solid var(--pale); }
.rings li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.02rem;
  width: 1.1rem;
  height: 1.1rem;
  border: .22rem double var(--blue);
  border-radius: 50%;
}

.faq details { border-bottom: 1px solid var(--pale); }
.faq details:first-of-type { border-top: 1px solid var(--pale); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--blue);
  font-size: 1.35rem;
  line-height: 1.1;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--deep); }
.faq details > p { margin: 0 0 1rem; }

.mail {
  display: inline-block;
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 600;
  color: var(--deep);
  overflow-wrap: anywhere;
  hyphens: none;
  -webkit-hyphens: none;
}

.page-title { padding-top: 2.5rem; }
.page-title h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 7vw, 2.6rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--deep);
}

.check-code {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: .6rem 1.1rem;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--deep);
  font-weight: 600;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
  hyphens: none;
  -webkit-hyphens: none;
}

.back { margin-top: 2rem; }

/* Fußzeile */
.site-foot {
  margin-top: 5rem;
  background: var(--ink);
  color: var(--porcelain);
  padding: 3rem 1.25rem 3.5rem;
}
.foot-inner {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  align-items: flex-start;
}
.site-foot .stamp--mini { font-size: .46rem; color: var(--pale); flex: none; }
.foot-text { flex: 1 1 18rem; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--pale); }
.site-foot :focus-visible { outline-color: var(--pale); }
.site-foot h2 { color: #fff; font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.foot-notice { font-weight: 600; color: #fff; }
.pages { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }

@media (max-width: 40rem) {
  .foot-inner { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .stamp__ring, .hero .stamp__center { animation: none; }
  .faq summary::after { transition: none; }
}
