@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }
:root { --majolika: #22408f; --majolika-deep: #1a3274; --ink: #14214a; --porzellan: #f2f5fb; --linie: #cdd6ec; --gelb: #f6c64a; --rose: #ef5d7a; --muted: #4a5677; --ok: #22408f; --offen: #b9c6e6; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Bricolage", system-ui, sans-serif; font-variation-settings: "opsz" 14; font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--porzellan); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 3rem); margin-inline: auto; padding-bottom: 4rem; }
h1 { font-size: 2.6rem; font-weight: 760; font-stretch: 80%; font-variation-settings: "opsz" 96; letter-spacing: -0.02em; line-height: 1; margin: 2.2rem 0 1.6rem; }
h2 { font-size: 1.1rem; font-stretch: 88%; margin: 0 0 1rem; }

.top { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.5rem; background: var(--majolika); color: var(--porzellan); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-stretch: 85%; font-size: 1.1rem; }
.brand svg, .login-fan { width: 30px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.brand svg circle, .login-fan circle { fill: var(--gelb); stroke: none; }
.who { display: inline-flex; gap: 1rem; align-items: center; font-weight: 600; }
.who form { margin: 0; }
.link { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; opacity: .8; }
.link:hover { opacity: 1; }
.top .link { color: var(--porzellan); }
.link.danger { color: #b42a43; font-weight: 600; opacity: 1; }
.link.danger:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.btn { display: inline-block; font: inherit; font-weight: 650; background: var(--majolika); color: var(--porzellan); border: 1.5px solid var(--majolika); border-radius: 999px; padding: .75rem 1.3rem; cursor: pointer; }
.btn:hover { background: var(--majolika-deep); }
.btn.small { padding: .45rem .95rem; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--majolika); }
.btn.ghost:hover { background: #e4eaf7; }

.flash { background: #fff; border-left: 4px solid var(--gelb); padding: .7rem 1rem; border-radius: 6px; margin: -.4rem 0 1.5rem; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1.5px solid var(--linie); margin-bottom: 2.2rem; }
.kpis div { padding: 1rem 1rem 1.1rem 0; }
.kpis div + div { padding-left: 1.2rem; border-left: 1.5px solid var(--linie); }
.kpis strong { display: block; font-size: 2.3rem; font-weight: 720; font-stretch: 82%; font-variation-settings: "opsz" 72; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpis span { color: var(--muted); }

.parts { margin-bottom: 2.6rem; }
.legend { color: var(--muted); font-size: .85rem; margin: -.4rem 0 .8rem; display: flex; align-items: center; gap: .4rem; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.sw.ok { background: var(--ok); }
.sw.offen { background: var(--offen); margin-left: .8rem; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; max-width: 760px; }
.bars li { display: grid; grid-template-columns: 13rem 1fr 3rem; align-items: center; gap: .8rem; }
.bar-name { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-name:hover { color: var(--majolika); }
.bar { display: flex; gap: 2px; height: 14px; }
.bar span { width: var(--w); min-width: 0; border-radius: 3px; }
.bar .ok { background: var(--ok); }
.bar .offen { background: var(--offen); }
.bar-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }

.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.toolbar input[type=search], .toolbar select { font: inherit; font-size: .9rem; color: var(--ink); background: #fff; border: 1.5px solid var(--linie); border-radius: 10px; padding: .45rem .7rem; }
.toolbar input[type=search] { width: 19rem; max-width: 100%; }
.toolbar.bottom { margin: .8rem 0 0; }
.grow { flex: 1; }
.chip { background: var(--majolika); color: var(--porzellan); border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; font-weight: 600; }
.pager { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
.pager a, .pager .off { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; border: 1.5px solid var(--linie); background: #fff; color: var(--ink); font-size: 1.1rem; }
.pager a:hover { border-color: var(--majolika); }
.pager .off { opacity: .4; }
.count { color: var(--muted); font-size: .9rem; }

.table-wrap { overflow-x: auto; background: #fff; border: 1.5px solid var(--linie); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid #e3e8f4; white-space: nowrap; }
th { font-size: .82rem; font-weight: 650; color: var(--muted); background: #f7f9fd; }
th a:hover { color: var(--majolika); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f7f9fd; }
td.mail { font-weight: 600; }
td.num { font-variant-numeric: tabular-nums; }
td.act { text-align: right; }
td.act form { margin: 0; }
.tag { display: inline-block; background: #fff3d1; color: #7a5a00; border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; font-weight: 600; }
.empty { color: var(--muted); background: #fff; border: 1.5px dashed var(--linie); border-radius: 14px; padding: 1.4rem; max-width: 760px; }

.login { min-height: 100svh; display: grid; place-items: center; background: var(--majolika); padding: 1.5rem; }
.login-box { width: min(360px, 100%); background: #fff; border-radius: 22px; padding: 2rem; display: flex; flex-direction: column; }
.login-fan { width: 44px; height: 27px; stroke: var(--majolika); margin-bottom: 1rem; }
.login h1 { margin: 0; font-size: 2.2rem; }
.login .sub { color: var(--muted); margin: .2rem 0 1.4rem; }
.login label { font-weight: 600; font-size: .88rem; margin: .4rem 0 .35rem; }
.login input { font: inherit; background: var(--porzellan); border: 1.5px solid var(--linie); border-radius: 12px; padding: .7rem .85rem; margin-bottom: .6rem; }
.login input:focus { outline: none; border-color: var(--majolika); box-shadow: 0 0 0 3px rgba(34,64,143,.18); }
.login .btn { margin-top: .8rem; }
.err { background: #fde7eb; color: #8f1d33; border-radius: 10px; padding: .6rem .8rem; font-weight: 600; font-size: .9rem; margin: 0 0 1rem; }

@media (max-width: 700px) {
  .kpis { grid-template-columns: 1fr; }
  .kpis div + div { border-left: 0; border-top: 1.5px solid var(--linie); padding-left: 0; }
  .bars li { grid-template-columns: 8rem 1fr 2.5rem; }
  h1 { font-size: 2.1rem; }
}
.forgot { align-self: center; margin-top: 1rem; font-size: .9rem; font-weight: 600; color: var(--majolika); }
.forgot:hover { color: var(--majolika-deep); }
.okmsg { background: #e4eaf7; color: var(--ink); border-radius: 10px; padding: .6rem .8rem; font-weight: 600; font-size: .9rem; margin: 0 0 1rem; }
.login-box .btn { text-align: center; }

/* Navigation */
.top { gap: 1.5rem; }
.nav { display: flex; gap: .3rem; flex: 1; }
.nav a { padding: .4rem .85rem; border-radius: 999px; font-weight: 600; color: #dfe6f8; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a[aria-current="page"] { background: var(--porzellan); color: var(--majolika); }
.me { padding: .4rem .85rem; border-radius: 999px; border: 1.5px solid rgba(242,245,251,.5); }
.me:hover, .me[aria-current="page"] { background: var(--porzellan); color: var(--majolika); border-color: var(--porzellan); }

/* Panels, Formulare */
.panel { background: #fff; border: 1.5px solid var(--linie); border-radius: 16px; padding: 1.5rem 1.6rem; margin-bottom: 1.5rem; }
.panel h2 { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.panel h3 { font-size: 1rem; margin: 1.4rem 0 .5rem; }
.hint { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
.panel input:not([type=hidden]), .panel textarea { font: inherit; width: 100%; color: var(--ink); background: var(--porzellan); border: 1.5px solid var(--linie); border-radius: 10px; padding: .6rem .8rem; }
.panel textarea { resize: vertical; line-height: 1.45; }
.panel input:focus, .panel textarea:focus { outline: none; border-color: var(--majolika); box-shadow: 0 0 0 3px rgba(34,64,143,.18); }
.actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.link.inline { color: var(--majolika); font-weight: 600; opacity: 1; font-size: .85rem; }
.link.inline:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap > .err { margin-top: -.4rem; margin-bottom: 1.5rem; }

.narrow { max-width: 760px; }
.row { display: grid; grid-template-columns: 14rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #e3e8f4; align-items: start; }
.row .lbl { font-weight: 600; padding-top: .6rem; }
.row span.val { padding-top: .6rem; }
.row.confirm { border-bottom: 0; background: #f7f9fd; margin: .6rem -1.6rem 0; padding: 1rem 1.6rem; }

/* SEO */
.seo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.seo-grid .panel { margin-bottom: 0; }
.previews { display: grid; gap: 1.5rem; }
.field { margin-bottom: 1.3rem; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .35rem; }
.field-head label { font-weight: 600; }
.counter { font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.counter[data-state="long"] { color: #b42a43; font-weight: 600; }
.counter[data-state="short"] { color: #8a6500; }
.serp { font-family: Arial, Helvetica, sans-serif; max-width: 600px; }
.serp-site { display: flex; gap: .6rem; align-items: center; margin-bottom: .35rem; }
.serp-site img { border-radius: 50%; }
.serp-site span { display: flex; flex-direction: column; line-height: 1.25; }
.serp-site strong { font-size: 14px; font-weight: 400; color: #202124; }
.serp-site small { font-size: 12px; color: #4d5156; }
.serp-title { font-size: 20px; line-height: 1.3; color: #1a0dab; margin-bottom: .2rem; }
.serp-desc { font-size: 14px; line-height: 1.58; color: #4d5156; }
.share { border: 1px solid #dadde1; border-radius: 10px; overflow: hidden; max-width: 520px; }
.share img { display: block; width: 100%; height: auto; }
.share-text { background: #f0f2f5; padding: .7rem .9rem; display: flex; flex-direction: column; gap: .15rem; font-family: system-ui, sans-serif; }
.share-text small { color: #65676b; font-size: 12px; text-transform: uppercase; }
.share-text strong { color: #050505; font-size: 16px; line-height: 1.3; }
.share-text span { color: #65676b; font-size: 14px; line-height: 1.35; }
.checks { margin-top: 1.5rem; }
.checks ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.checks li { display: flex; gap: .7rem; align-items: baseline; }
.mark { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; font-size: .8rem; font-weight: 800; flex: none; transform: translateY(.2rem); }
.checks li.ok .mark { background: #e2f3e8; color: #17703a; }
.checks li.no .mark { background: #fde7eb; color: #b42a43; }
.score { font-size: .85rem; font-weight: 600; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.tools a { color: var(--majolika); font-weight: 600; }
.tools a:hover { color: var(--majolika-deep); }

@media (max-width: 980px) { .seo-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .top { flex-wrap: wrap; gap: .6rem; }
  .nav { order: 3; flex-basis: 100%; }
  .row { grid-template-columns: 1fr; gap: .4rem; }
  .row .lbl { padding-top: 0; }
}
