/* Koliber GmbH – Webvisitenkarte
   Farben aus dem Logo: Blau #0E71B4, Anthrazit #363538, Grau #707173 */

:root {
  --blue: #0e71b4;
  --blue-dark: #0a5a90;
  --ink: #363538;
  --muted: #707173;
  --line: #e3e6e9;
  --bg: #f5f7f9;
  --card: #ffffff;
  --radius: 4px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--ink); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus-visible { color: var(--blue); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; color: #fff; }

/* ---------- Layout ---------- */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
}

.card {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(54, 53, 56, .06), 0 12px 40px rgba(54, 53, 56, .08);
  padding: 3rem 2.75rem 2.5rem;
}

.logo { display: inline-block; line-height: 0; }
.logo img { width: 270px; max-width: 100%; height: auto; }

.rule {
  height: 1px; border: 0; margin: 2.25rem 0;
  background: var(--line);
}

/* ---------- Leistungen ---------- */

.label {
  margin: 0 0 .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.services {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.services li {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 4.5rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.services li:hover {
  border-color: rgba(14, 113, 180, .35);
  box-shadow: 0 4px 14px rgba(14, 113, 180, .08);
}
.services .ico {
  flex: 0 0 2.5rem;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #e9f2f9;
  color: var(--blue);
}
.services .ico svg {
  width: 1.25rem; height: 1.25rem;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.services .txt {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  font-style: normal;
}
.contact p { margin: 0; }
.contact strong { font-weight: 600; }

.links { list-style: none; margin: 0; padding: 0; }
.links li { display: flex; align-items: center; gap: .6rem; }
.links li + li { margin-top: .35rem; }
.links .i {
  flex: 0 0 1rem;
  width: 1rem; height: 1rem;
  fill: none; stroke: var(--blue); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 0 1.25rem 2rem;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}
.site-footer nav a { color: var(--muted); margin: 0 .6rem; }
.site-footer nav a:hover { color: var(--blue); }
.site-footer nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-footer p { margin: .5rem 0 0; }

/* ---------- Rechtstexte ---------- */

.legal main { align-items: flex-start; }
.legal .card { max-width: 760px; }
.legal .logo img { width: 200px; }

.legal h1 {
  margin: 2rem 0 1.5rem;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--ink);
}
.legal h2 {
  margin: 2.25rem 0 .6rem;
  font-size: 1.1rem;
  color: var(--blue);
}
.legal h3 {
  margin: 1.5rem 0 .4rem;
  font-size: 1rem;
}
.legal p, .legal ul { margin: 0 0 .9rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .3rem; }
.legal .meta { color: var(--muted); font-size: .9rem; }

.back { display: inline-block; margin-top: 2rem; font-weight: 600; }

/* ---------- 404 ---------- */

.error .card { text-align: center; }
.error .code {
  margin: 2rem 0 .25rem;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -.02em;
}
.error h1 { margin: 0 0 .75rem; font-size: 1.35rem; }
.error p { margin: 0 0 1.75rem; color: var(--muted); }

.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn:hover, .btn:focus-visible { background: var(--blue-dark); color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  main { padding: 1.25rem .75rem 2rem; }
  .card { padding: 2.25rem 1.5rem 2rem; }
  .services, .contact { grid-template-columns: 1fr; }
  .legal h1 { font-size: 1.45rem; }
}

@media print {
  body { background: #fff; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .site-footer nav, .skip { display: none; }
}
