/* Schriften hier statt im <head>, damit der aus dem Quell-HTML uebernommene
   <head> der beiden Inhaltsseiten unveraendert bleibt. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Outfit:wght@600;800&display=swap");

:root {
  --ink: #072440;
  --muted: #5a6475;
  --brand: #023e8a;
  --brand-dark: #012d66;
  --brand-light: #0096c7;
  --accent: #ffbe0b;
  --paper: #ffffff;
  --wash: #f3fcfe;
  --line: #d9eaf5;
  --shadow: 0 18px 48px rgba(2, 62, 138, .12);
  --radius: 18px;
  --content: 1180px;
  --measure: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
p, ul, ol, table { margin: 0 0 1.35rem; }
h1, h2, h3, h4 {
  margin: 1.8em 0 .55em;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}
h1 { margin-top: 0; font-size: clamp(2.25rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.topbar { color: #fff; background: var(--ink); }
.topbar__inner,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  font-size: .88rem;
}
.topbar a { color: #fff; text-decoration: none; }
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(15, 118, 110, .12);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand img { width: 150px; object-fit: contain; border-radius: 0; }
.menu-toggle {
  display: none;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  font: inherit;
  font-weight: 700;
}
.site-nav > ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a,
.site-nav summary {
  display: block;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav summary { list-style: none; }
.site-nav summary::-webkit-details-marker { display: none; }
.site-nav summary::after { margin-left: 7px; content: "▾"; font-size: .72em; }
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav summary:hover,
.site-nav summary:focus-visible,
.services-menu details[open] > summary { color: #fff; background: var(--brand); }
.services-menu { position: relative; }
.services-submenu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: 50%;
  display: grid;
  width: 440px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  list-style: none;
  transform: translateX(-50%);
}
.services-submenu::before {
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  content: "";
}
.services-submenu a { padding: 10px 12px; }
.header-phone {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 10vw, 130px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 190, 11, .30), transparent 32%),
    linear-gradient(135deg, #072440 0%, #023e8a 62%, #0096c7 100%);
}
.hero::after {
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(255,255,255,.06);
  border-radius: 50%;
  content: "";
}
.hero__inner { position: relative; z-index: 1; width: min(calc(100% - 32px), var(--content)); margin: auto; }
.hero h1 { max-width: 900px; color: #fff; }
.hero p { max-width: 760px; font-size: clamp(1.05rem, 2vw, 1.3rem); }
/* Die historische "Was gibt es Neues?"-Seite hat ihre Sprungnavigation
   quellengetreu innerhalb des h1. Visuell wird sie als kompakte Inhaltsliste
   behandelt, ohne Text oder HTML-Struktur umzuschreiben. */
.hero h1 > div {
  max-width: 760px;
  margin-top: 24px;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.45;
}
.hero h1 > div ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero h1 > div li {
  position: relative;
  padding-left: 24px;
}
.hero h1 > div li::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.hero h1 > div a {
  color: #fff;
  font-weight: 700;
  text-decoration-color: rgba(255,255,255,.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.hero h1 > div a:hover,
.hero h1 > div a:focus-visible { color: var(--accent); }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  text-decoration: none;
}
.button--accent { color: var(--ink); background: var(--accent); }
.button--ghost { border-color: rgba(255,255,255,.55); background: transparent; }

main { display: block; }
.content-shell {
  width: 100%;
  margin-inline: auto;
}
/* Sektionen wechseln den Hintergrund; der Text bleibt in der Lesebreite zentriert. */
.sec { padding: clamp(46px, 7vw, 92px) 0; }
.sec-light { background: var(--wash); }
.sec + .sec-light,
.sec-light + .sec { border-top: 1px solid var(--line); }
.sec-inner {
  width: min(calc(100% - 32px), var(--measure));
  margin-inline: auto;
}
.sec-inner > :first-child { margin-top: 0; }
.sec:first-child .sec-inner > p:first-of-type { color: var(--ink); font-size: 1.18rem; }
.sec h2,
.cta-strip h2 { position: relative; padding-top: 18px; }
.sec h2::before,
.cta-strip h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}
.sec h3 { color: var(--brand); }

/* Listen mit Haken-Icon statt Aufzaehlungspunkt (inline-SVG, kein Icon-Font). */
.sec-inner ul {
  padding-left: 0;
  list-style: none;
}
.sec-inner ul li {
  position: relative;
  margin-bottom: .55rem;
  padding-left: 34px;
}
.sec-inner ul li::before {
  position: absolute;
  top: .28em;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E") center/13px no-repeat;
  border-radius: 50%;
  content: "";
}

.content-photo { margin: 34px 0; }
.content-photo img { width: 100%; margin: 0; box-shadow: var(--shadow); }
.content-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
  font-style: italic;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
}
/* Die Frage bleibt laut Quell-HTML ein <h3> - hier nur optisch angepasst. */
.faq-item summary h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}
.faq-item summary h3::before { display: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  flex: 0 0 auto;
  color: var(--brand-light);
  content: "⌄";
  font-size: 1.5em;
  line-height: 1;
  transform: translateY(-.18em);
  transition: transform .2s ease;
}
.faq-item[open] summary h3 { color: var(--brand); }
.faq-item[open] summary::after { transform: rotate(180deg) translateY(.06em); }
.faq-body { padding: 0 22px 18px; }
.faq-body p:last-child { margin-bottom: 0; }
.content-shell section,
.content-shell .sec,
.content-shell > div:not(.hero-actions) { scroll-margin-top: 120px; }
.content-shell blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--wash);
}
table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line);
}
th, td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: #fff; background: var(--brand-dark); }
tr:nth-child(even) td { background: var(--wash); }

.contact-card {
  width: min(calc(100% - 32px), var(--measure));
  margin: 56px auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-dark);
  box-shadow: var(--shadow);
}
.contact-card h2, .contact-card a { color: #fff; }
.contact-card h2::before { display: none; }
.contact-card p:last-child { margin-bottom: 0; }

/* CTA-Streifen ueber die volle Breite, direkt vor dem Footer. */
.cta-strip {
  padding: clamp(46px, 7vw, 88px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 190, 11, .22), transparent 42%),
    linear-gradient(120deg, var(--brand-dark) 0%, var(--brand) 100%);
}
.cta-strip > * {
  width: min(calc(100% - 32px), var(--measure));
  margin-inline: auto;
}
.cta-strip h2 { margin-top: 0; color: #fff; }
.cta-strip h2::before { background: var(--accent); }
.cta-strip a { color: var(--accent); }
.cta-strip strong { color: #fff; }
.site-footer { padding: 54px 0 28px; color: #dce9e7; background: var(--ink); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}
.site-footer h2, .site-footer h3 { margin-top: 0; color: #fff; }
.site-footer a { color: #fff; }
.site-footer ul { padding: 0; list-style: none; }
.copyright { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 14px 16px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { display: block; }
  .site-nav a { padding: 11px; }
  .site-nav summary { padding: 11px; }
  .services-submenu {
    position: static;
    display: block;
    width: auto;
    margin: 4px 0 8px 14px;
    padding: 5px 0 5px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .services-submenu a { font-weight: 600; }
  .header-phone { margin-left: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar__inner { display: block; text-align: center; }
  .topbar__inner span:first-child { display: none; }
  .brand img { width: 118px; }
  .header-phone { display: none; }
  .site-header__inner { min-height: 70px; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
