/* Legal pages of fwMAX.de (imprint, privacy, terms). Same look as the marketing page, made for reading. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/roboto-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/roboto-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
    color-scheme: light;
    --bg: #ffffff; --soft: #f6f7f9; --card: #ffffff; --line: #e4e7ec; --text: #12151a; --muted: #5b6472;
    --accent: #d42a12; --accent-2: #f28a00;
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #000000; --soft: #0d0e10; --card: #15171b; --line: #262a30; --text: #f2f3f5; --muted: #9aa2ae;
    --accent: #ec3d21; --accent-2: #ffa31a; }
:root[data-theme="dark"] .logo-light, :root:not([data-theme="dark"]) .logo-dark { display: none; }
:root[data-theme="dark"] .icon-moon, :root:not([data-theme="dark"]) .icon-sun { display: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; font: 17px/1.65 "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; }
.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.icon { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: .3rem; }

header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1.5rem; height: 4rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 2.1rem; height: 2.1rem; border-radius: .55rem; }
.bar .tools { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.4rem; padding: 0 1rem; border-radius: .75rem; border: 1px solid var(--line);
       background: var(--card); color: var(--text); font: inherit; font-size: .92rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn.primary { border: 0; color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2)); }
.btn.round { min-width: 2.4rem; padding: 0; border-radius: 999px; }

main { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.doc { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.doc aside { position: sticky; top: 5.5rem; font-size: .92rem; }
.doc aside b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.doc aside ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.doc aside a { color: var(--muted); text-decoration: none; }
.doc aside a:hover { color: var(--text); }
.doc aside .other { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .35rem; }
article { max-width: 46rem; }
article .eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
h1 { margin: .3rem 0 .4rem; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.stand { color: var(--muted); font-size: .92rem; margin: 0 0 2rem; }
h2 { margin: 2.4rem 0 .6rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
h3 { margin: 1.4rem 0 .3rem; font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 .8rem; text-wrap: pretty; }
article ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
article li { margin-bottom: .25rem; }
address { font-style: normal; margin: 0 0 .8rem; }
dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .2rem 1.2rem; margin: 0 0 .8rem; }
dt { color: var(--muted); }
dd { margin: 0; }
.nr { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: .5rem; }
.hinweis { border: 1px solid var(--line); border-left: 3px solid var(--accent-2); background: var(--soft); border-radius: .6rem; padding: .8rem 1rem; margin: 0 0 1rem; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

/* Help pages */
.hilfe-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.hilfe-link:hover { color: var(--text); }
.pfad { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.pfad a { color: var(--muted); }
.doc aside a[aria-current="page"] { color: var(--accent); font-weight: 700; }
ol.schritte { margin: 0 0 1rem; padding-left: 1.4rem; }
ol.schritte li { margin-bottom: .5rem; }
.karten { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.karten a { display: grid; gap: .3rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--card); text-decoration: none; transition: border-color .15s; }
.karten a:hover { border-color: var(--accent); }
.karten b { font-weight: 700; line-height: 1.3; }
.karten span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.karten.klein { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.diagramm { margin: 1rem 0 1.6rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--bg); padding: 1rem; }
.diagramm figcaption { font-weight: 700; margin-bottom: .6rem; }
.diagramm-flaeche { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .3rem; }
.diagramm-flaeche svg { display: block; width: 100%; height: auto; margin-inline: auto; }
.diagramm-flaeche foreignObject { overflow: visible; }
.diagramm-flaeche foreignObject p, .diagramm-flaeche foreignObject span, .diagramm-flaeche foreignObject div { margin: 0; font-family: "Roboto", system-ui, sans-serif; font-size: 15px; line-height: 1.5; text-wrap: nowrap; white-space: nowrap; color: var(--text); }
.diagramm-flaeche .edgeLabel p, .diagramm-flaeche .edgeLabel span { color: var(--muted); background: var(--bg); }
.diagramm-text { margin: .8rem 0 0; color: var(--muted); font-size: .93rem; }
.faq h3 { margin-top: 1.1rem; }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
footer .logo { height: 3.2rem; width: auto; border-radius: .5rem; }
footer .recht { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
footer .recht a { text-decoration: none; }
footer .recht a:hover { color: var(--text); }
.siegel { display: flex; align-items: center; gap: 1rem; }
.siegel img { display: block; height: 3.4rem; width: auto; }
.siegel .exali img { height: 3.4rem; border-radius: .4rem; }
:root[data-theme="dark"] .mhg-hell, :root:not([data-theme="dark"]) .mhg-dunkel { display: none; }

@media (max-width: 54rem) {
    .doc { grid-template-columns: 1fr; gap: 1.5rem; }
    .doc aside { position: static; border: 1px solid var(--line); border-radius: .8rem; padding: 1rem; background: var(--soft); }
    dl { grid-template-columns: 1fr; gap: 0; }
    dd { margin-bottom: .5rem; }
}
@media print {
    header, footer, .doc aside { display: none; }
    .doc { display: block; }
    body { font-size: 11pt; }
}
