/* Notare Neuwirth · Körner · Voltz – Stylesheet 2026
   Keine externen Schriften oder Dienste (datenschutzfreundlich). */

:root {
  --ink: #1d2433;
  --ink-soft: #4a5263;
  --navy: #1b2d4f;
  --navy-deep: #12203a;
  --brass: #a8834a;
  --brass-soft: #e9dcc5;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e4e0d8;
  --focus: #c08a2e;
  --radius: 6px;
  --max: 72rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* ---------- Kopf ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--brass);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 5rem;
}
.brand { color: #fff; text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand:hover { color: #fff; }
.brand-name {
  font-family: var(--serif); font-size: 1.45rem; letter-spacing: .06em; font-weight: 600;
}
.brand-name .dot { color: var(--brass); padding: 0 .15em; }
.brand-sub { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-soft); margin-top: .3rem; }

.nav-toggle {
  display: none;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius); padding: .5rem .8rem; font: inherit; font-size: .95rem; cursor: pointer;
}

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; flex-wrap: wrap; }
.main-nav a {
  display: block; color: #fff; text-decoration: none; padding: .55rem .8rem;
  font-size: .95rem; border-radius: var(--radius);
}
.main-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.main-nav a[aria-current="page"], .main-nav a.active { background: rgba(255,255,255,.14); box-shadow: inset 0 -2px 0 var(--brass); }

/* ---------- Seitenkopf ---------- */
.page-head { background: linear-gradient(180deg, #eef0f4 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 2.25rem; padding-bottom: 1.75rem; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.crumbs a { color: var(--ink-soft); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy-deep); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: 0; }
h2 { font-size: 1.45rem; margin: 2.2rem 0 .75rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; margin: .75rem 0 0; }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 15rem 1fr; gap: 2.5rem; padding-top: 2.25rem; padding-bottom: 3.5rem; }
.layout.single { grid-template-columns: 1fr; }
.content { min-width: 0; max-width: 48rem; }
.content > :first-child { margin-top: 0; }

.subnav { font-size: .95rem; }
.subnav h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .6rem; }
.subnav ul { list-style: none; margin: 0 0 1.75rem; padding: 0; border-left: 2px solid var(--line); }
.subnav a { display: block; padding: .35rem .9rem; text-decoration: none; color: var(--ink); margin-left: -2px; border-left: 2px solid transparent; }
.subnav a:hover { color: var(--navy); border-left-color: var(--brass-soft); }
.subnav a[aria-current="page"] { border-left-color: var(--brass); color: var(--navy); font-weight: 600; }

/* ---------- Bausteine ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin: 0 0 1.25rem;
}
.card h2, .card h3 { margin-top: 0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid .card { margin: 0; }

.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 32rem; height: 32rem;
  border-radius: 50%; border: 1px solid rgba(168,131,74,.35); pointer-events: none;
}
.hero .wrap { padding-top: 3.5rem; padding-bottom: 3.5rem; position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 40rem; }
.hero p { color: #dfe4ee; font-size: 1.15rem; max-width: 38rem; margin: 1rem 0 0; }
.hero .actions { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: .7rem 1.2rem; border-radius: var(--radius); text-decoration: none;
  font-weight: 600; font-size: .98rem; border: 1px solid transparent;
}
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: #8f6e3b; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.icon-list, .check-list { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.check-list li { position: relative; padding: .3rem 0 .3rem 1.6rem; border-bottom: 1px dashed var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: .85rem; width: .55rem; height: .55rem; background: var(--brass); transform: rotate(45deg); }

.downloads { list-style: none; padding: 0; margin: .5rem 0 1.25rem; }
.downloads li { margin: 0 0 .5rem; }
.downloads a {
  display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
}
.downloads a:hover { border-color: var(--brass); color: var(--navy); }
.downloads .ftype {
  flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: #fff; background: #a33a2c;
  border-radius: 3px; padding: .2rem .4rem;
}
.downloads .fname { flex: 1; font-weight: 600; }
.downloads .fsize { flex: none; font-size: .85rem; color: var(--ink-soft); }

.link-list { list-style: none; padding: 0; margin: .5rem 0 1rem; }
.link-list li { margin: 0 0 .5rem; }
.link-list a { font-weight: 600; }
.link-list a::before { content: "› "; color: var(--brass); }

table.plain { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; }
table.plain th, table.plain td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { font-weight: 600; width: 45%; }

dl.cv { display: grid; grid-template-columns: 9.5rem 1fr; gap: .45rem 1.25rem; margin: 1rem 0; }
dl.cv dt { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
dl.cv dd { margin: 0; }

.note { background: #f4efe5; border-left: 4px solid var(--brass); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.25rem 0; }

.legal h2 { font-size: 1.25rem; }
.legal h3 { font-size: 1.05rem; }
.legal p, .legal li { hyphens: auto; }

.notary-cards a.card { display: block; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.notary-cards a.card:hover { border-color: var(--brass); }
.notary-cards .role { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0; }
.notary-cards h2 { margin: .25rem 0 .4rem; font-size: 1.3rem; }
.notary-cards .more { font-weight: 600; color: var(--navy); }

/* ---------- Fuß ---------- */
.site-footer { background: var(--navy-deep); color: #c9d0dd; font-size: .95rem; }
.site-footer .wrap { padding-top: 2.5rem; padding-bottom: 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer h2 { color: #fff; font-size: 1rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .75rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brass-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .35rem; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Responsiv ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-header .wrap { flex-wrap: wrap; }
  .main-nav { flex-basis: 100%; display: none; padding-bottom: 1rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .75rem .8rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .no-js .main-nav { display: block; }
  .layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .subnav { order: 2; }
  dl.cv { grid-template-columns: 1fr; gap: .1rem; }
  dl.cv dd { margin-bottom: .6rem; }
  table.plain th { width: auto; }
}

@media print {
  .site-header, .site-footer, .subnav, .skip, .nav-toggle, .hero .actions { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .layout { display: block; padding: 0; }
  a { color: #000; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Platzhalter – vor Veröffentlichung ausfüllen */
.todo { background: #fff3b0; outline: 1px dashed #c9a400; padding: 0 .2em; }

@media (max-width: 520px) {
  .site-header .wrap { min-height: 4.25rem; flex-wrap: wrap; }
  .brand { flex: 1; min-width: 0; }
  .brand-name { font-size: clamp(.95rem, 4.4vw, 1.2rem); letter-spacing: .02em; }
  .brand-sub { font-size: .66rem; letter-spacing: .16em; }
  .nav-toggle { padding: .4rem .65rem; }
}
