/* Sdílený vzhled pro /impressum/ a /datenschutz/ – podmnožina stylů z index.html */
:root {
  --bg: #FFFFFF; --soft: #F3F6FB; --line: #DEE4EE; --fg: #0E192C; --fg-muted: #4D5B70;
  --blue: #003EAB; --blue-hover: #00318A; --blue-fg: #FFFFFF; --line-2: #C9D4E5; --line-strong: #AEBDD3; --input: #8291A7; --on-blue: #C8D6EE; --todo: #FFF1B8; --todo-fg: #5C4400;
  --head: "Montserrat", system-ui, sans-serif; --gutter: clamp(1rem, 4vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.5 "Inter", system-ui, sans-serif; font-synthesis: none; }
p, li { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }

.header { background: var(--blue); color: var(--blue-fg); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.5rem; }
.header .logo img { height: 34px; width: auto; }
.back { font-weight: 500; font-size: .9375rem; padding: .5rem 0; border-bottom: 1.5px solid transparent; }
.back:hover { border-color: var(--blue-fg); }

.doc { max-width: 42rem; margin-left: max(0px, calc((100vw - 76rem) / 2)); padding-top: clamp(3.5rem, 7vw, 5.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
@media (max-width: 78rem) { .doc { margin-left: 0; } }
.bh { position: relative; padding: .25rem 0 .25rem 1.25rem; font-family: var(--head); font-size: clamp(1.625rem, 1.25rem + 1.3vw, 2.375rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.bh::before, .bh::after { content: ""; position: absolute; left: 0; width: .625rem; height: .625rem; border-left: 1px solid var(--blue); }
.bh::before { top: 0; border-top: 1px solid var(--blue); } .bh::after { bottom: 0; border-bottom: 1px solid var(--blue); }
.lead { margin-top: 1rem; font-size: 1.125rem; color: var(--fg-muted); }
.doc h2 { font-family: var(--head); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; margin-top: 2.5rem; margin-bottom: .625rem; }
.doc h3 { font-family: var(--head); font-weight: 600; font-size: 1rem; margin-top: 1.5rem; margin-bottom: .375rem; }
.doc p, .doc li { color: var(--fg-muted); }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: .75rem; }
.doc ul { list-style: none; display: grid; gap: .25rem; }
.doc li { position: relative; padding-left: 1.5rem; }
.doc li::before { content: ""; position: absolute; left: 0; top: .8em; width: .625rem; height: 1px; background: var(--blue); }
.doc a { color: var(--blue); font-weight: 500; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.doc a:hover { text-decoration-color: currentColor; }
.doc .stand { margin-top: 3rem; font-size: .875rem; }

/* Chybějící / neověřené údaje – před spuštěním odstranit */
mark.todo { background: var(--todo); color: var(--todo-fg); padding: .05em .35em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
footer { background: var(--blue); color: var(--on-blue); font-size: .875rem; }
.legal { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; padding-top: 1.75rem; padding-bottom: 2.5rem; }
.legal nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.legal a:hover, .legal a[aria-current] { color: var(--blue-fg); }
.doc code { font-family: ui-monospace, Consolas, monospace; font-size: .9375em; }
