/* Kanzlei-Bewertung.net – Stylesheet (ohne Framework, ohne externe Ressourcen) */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --navy-900: #0b1a30;
  --navy-800: #0f2542;
  --navy-700: #16335b;
  --navy-600: #1d4477;
  --blue: #1c4f93;
  --blue-dark: #153e75;
  --gold: #d1a035;
  --gold-dark: #b98a22;
  --star: #e6a817;
  --star-off: #d8d3c7;
  --bg: #faf8f4;
  --surface: #ffffff;
  --tint: #f3efe6;
  --line: #e5dfd2;
  --line-strong: #cdc5b3;
  --text: #17212f;
  --muted: #535e70;
  --ok: #17703f;
  --ok-bg: #e6f4ec;
  --danger: #b0261d;
  --danger-bg: #fdeceb;
  --warn: #6f5200;
  --warn-bg: #fff5d6;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 26, 48, 0.06);
  --shadow: 0 1px 2px rgba(11, 26, 48, 0.05), 0 10px 30px rgba(11, 26, 48, 0.07);
  --font-sans: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --wrap: 74rem;
  --wrap-narrow: 48rem;
}

/* ------------------------------------------------------------------ Basis */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--navy-900);
  text-wrap: balance;
}
h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
}
h2 {
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
}
h3,
.h3 {
  font-size: 1.2rem;
}
p,
ul,
ol,
dl {
  margin: 0 0 1em;
}
a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--blue-dark);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
img,
svg {
  max-width: 100%;
}
address {
  font-style: normal;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
table {
  border-collapse: collapse;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 1rem;
  color: #fff;
}
.center {
  text-align: center;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.wrap--narrow {
  max-width: var(--wrap-narrow);
}

/* ------------------------------------------------------------------ Icons & Sterne */

.icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.star-on {
  fill: var(--star);
}
.star-off {
  fill: var(--star-off);
}
.stars {
  display: inline-flex;
  gap: 1px;
  vertical-align: middle;
}
.stars .star {
  width: 1.25rem;
  height: 1.25rem;
}
.stars--xs .star {
  width: 0.9rem;
  height: 0.9rem;
}
.stars--sm .star {
  width: 1.05rem;
  height: 1.05rem;
}
.stars--lg .star {
  width: 1.6rem;
  height: 1.6rem;
}
.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}
.rating-value {
  font-weight: 700;
  color: var(--navy-900);
}
.rating-count {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ------------------------------------------------------------------ Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.65rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.93rem;
}
.btn--lg {
  min-height: 3.2rem;
  padding: 0.8rem 1.6rem;
  font-size: 1.05rem;
}
.btn--primary {
  background: var(--navy-800);
  color: #fff;
}
.btn--primary:hover {
  background: var(--navy-600);
  color: #fff;
}
.btn--accent {
  background: var(--gold);
  color: var(--navy-900);
}
.btn--accent:hover {
  background: #e0b24a;
  color: var(--navy-900);
}
.btn--ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--navy-800);
}
.btn--ghost:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn--danger {
  background: var(--danger);
  color: #fff;
}
.btn--danger:hover {
  background: #8f1c15;
  color: #fff;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  text-decoration: none;
}
.link-more:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------ Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  min-height: 4.25rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  text-decoration: none;
  color: var(--navy-900);
}
.logo__mark {
  flex: none;
}
.logo__text {
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo__tld {
  color: var(--gold-dark);
}
.site-nav {
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.96rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover {
  background: var(--tint);
  color: var(--navy-900);
}
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--navy-900);
  background: var(--tint);
}
@media (max-width: 62rem) {
  .site-header__inner {
    padding-top: 0.6rem;
  }
  .site-header__cta {
    margin-left: auto;
  }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin: 0 -1.25rem;
    padding: 0.3rem 1.25rem 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .site-nav a {
    padding: 0.4rem 0.7rem;
    font-size: 0.92rem;
  }
}
.only-narrow {
  display: none;
}
@media (max-width: 34rem) {
  .only-wide {
    display: none;
  }
  .only-narrow {
    display: inline;
  }
  .logo {
    gap: 0.45rem;
  }
  .logo__mark {
    width: 30px;
    height: 30px;
  }
  .logo__text {
    font-size: 1.04rem;
  }
  .site-header__inner {
    column-gap: 0.75rem;
  }
  .site-header__cta .icon {
    display: none;
  }
}

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 2rem;
  color: #e8eef7;
  background:
    radial-gradient(60rem 28rem at 88% -8%, rgba(209, 160, 53, 0.24), transparent 62%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(40, 96, 170, 0.35), transparent 60%),
    linear-gradient(160deg, #0b1a30 0%, #10294a 55%, #173a66 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.5rem);
  font-weight: 560;
  margin-bottom: 0.45em;
}
.hero__lead {
  max-width: 38rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: #cbd7e8;
  margin-bottom: 1.75rem;
}
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow--light {
  color: #e6c06a;
}
.hero__popular {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin: 1.1rem 0 0;
  font-size: 0.93rem;
  color: #aebcd1;
}
.hero__popular a {
  display: inline-block;
  padding-block: 0.15rem;
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.hero__popular a:hover {
  text-decoration-color: #fff;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin: 2.5rem 0 0;
  padding: 1.25rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.93rem;
  color: #cbd7e8;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.trust .icon {
  color: #e6c06a;
}

/* dekorative Illustration – bewusst ohne echte Inhalte */
.hero__art {
  position: relative;
  height: 20rem;
}
.art-card {
  position: absolute;
  inset: 1.5rem 0 1.5rem 1.5rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.art-card--back {
  inset: 0 2rem 3.25rem 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  transform: rotate(-5deg);
}
.art-card--front {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.5rem;
  transform: rotate(2deg);
}
.art-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.art-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
}
.art-lines,
.art-text {
  display: grid;
  gap: 0.5rem;
  flex: 1;
}
.art-lines i,
.art-text i {
  display: block;
  height: 0.6rem;
  border-radius: 99px;
  background: #e7e2d6;
}
.art-lines i:first-child {
  width: 70%;
  height: 0.75rem;
  background: #cfd6e2;
}
.art-lines i:last-child {
  width: 45%;
}
.art-text i:nth-child(2) {
  width: 88%;
}
.art-text i:nth-child(3) {
  width: 60%;
}
.art-stars {
  display: flex;
  gap: 0.2rem;
}
.art-stars .star {
  width: 1.75rem;
  height: 1.75rem;
}
.art-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 0.85rem;
  font-weight: 600;
}
@media (max-width: 56rem) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__art {
    display: none;
  }
}

/* ------------------------------------------------------------------ Suche */

.search {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  max-width: 44rem;
}
.search--inline {
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin-top: 1.25rem;
}
.search__field {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.9rem 0.35rem;
  border-radius: 12px;
  text-align: left;
}
.search__field:focus-within {
  background: var(--tint);
}
.search__field + .search__field {
  border-left: 1px solid var(--line);
}
.search label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.search input {
  width: 100%;
  padding: 0.1rem 0 0.2rem;
  border: 0;
  background: transparent;
  font-size: 1.02rem;
  color: var(--text);
}
.search input::placeholder {
  color: #7b8494;
}
.search input:focus {
  outline: none;
}
.search__submit {
  border-radius: 12px;
  padding-inline: 1.4rem;
}
@media (max-width: 40rem) {
  .search {
    grid-template-columns: 1fr;
  }
  .search__field + .search__field {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------------ Abschnitte */

.section {
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}
.section--tight {
  padding-top: 2rem;
}
.section--tint {
  background: var(--tint);
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: 1.75rem;
}
.section__head h2 {
  margin: 0;
}
.section__head--center {
  justify-content: center;
  text-align: center;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.stats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.stats__list {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  margin: 0;
  padding: 1.4rem 0;
}
.stats__list div {
  display: flex;
  flex: 1 1 0;
  flex-direction: column-reverse;
  align-items: center;
  min-width: 0;
}
.stats__list dt {
  font-size: 0.85rem;
  color: var(--muted);
}
.stats__list dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-800);
}

/* ------------------------------------------------------------------ Kanzlei-Karten */

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--navy-700);
}
.avatar--lg {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 18px;
  font-size: 1.6rem;
}
.avatar--t1 {
  background: #16335b;
}
.avatar--t2 {
  background: #1f5a5a;
}
.avatar--t3 {
  background: #6b3d2a;
}
.avatar--t4 {
  background: #4a3a78;
}
.avatar--t5 {
  background: #2f5236;
}
.avatar--t6 {
  background: #7a3048;
}
.firm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.firm-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.firm-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.firm-card__name {
  margin: 0 0 0.15rem;
  font-size: 1.12rem;
  line-height: 1.25;
}
.firm-card__name a {
  color: var(--navy-900);
  text-decoration: none;
}
.firm-card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.firm-card__name a:hover {
  text-decoration: underline;
}
.firm-card__place {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}
.tag {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.82rem;
  color: #3c4656;
}
.tag--more {
  background: transparent;
  border: 1px solid var(--line);
}

/* ------------------------------------------------------------------ Kacheln & Chips */

.area-grid,
.city-grid,
.chips,
.area-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
}
.area-tile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.area-tile:hover {
  border-color: var(--navy-600);
  box-shadow: var(--shadow-sm);
}
.area-tile__name {
  font-weight: 600;
  color: var(--navy-900);
}
.area-tile__count {
  font-size: 0.85rem;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.chips:last-child {
  margin-bottom: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
}
.chip:hover {
  border-color: var(--navy-600);
  color: var(--navy-900);
}
.chip .icon {
  color: var(--gold-dark);
}
.chip__count {
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.8rem;
  color: var(--muted);
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 0.75rem;
}
.city-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
}
.city-tile:hover {
  border-color: var(--navy-600);
}
.city-tile .icon {
  color: var(--gold-dark);
}
.city-tile__count {
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
}
.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
}
.area-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.area-card h2 {
  margin-bottom: 0.4rem;
}
.area-card h2 a {
  color: var(--navy-900);
}
.area-card p {
  font-size: 0.95rem;
  color: #3c4656;
}
.area-card__count {
  margin: 0;
  font-weight: 600;
  color: var(--muted) !important;
}

/* ------------------------------------------------------------------ Schritte, Panels, FAQ, CTA */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
}
.step p {
  margin: 0;
  color: #3c4656;
}
.panel {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel--compact {
  padding: 1.25rem;
}
.panel--compact p {
  margin: 0;
  font-size: 0.95rem;
  color: #3c4656;
}
.panel__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: var(--tint);
  color: var(--navy-800);
  font-size: 1.2rem;
}
.checklist {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.8rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--ok-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317703f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}
.faq {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-dark);
}
.faq__item[open] summary::after {
  content: "–";
}
.faq__item h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
}
.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: #3c4656;
}
.faq__entry {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.faq__entry p {
  margin: 0;
}
.cta {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  color: #dbe5f3;
  background: linear-gradient(135deg, #0b1a30, #173a66);
}
.cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.cta h2 {
  color: #fff;
  margin-bottom: 0.35em;
}
.cta p {
  margin: 0;
  max-width: 36rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-card h3 {
  margin: 0;
  font-size: 1.1rem;
}
.quote-card h3 a {
  color: var(--navy-900);
}
.quote-card p {
  margin: 0;
  color: #3c4656;
}
.quote-card__meta {
  margin-top: auto !important;
  font-size: 0.88rem;
  color: var(--muted) !important;
}

/* ------------------------------------------------------------------ Seitenkopf, Brotkrumen */

.page-head {
  padding: 1.5rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin-bottom: 0.3em;
}
.page-head__lead {
  max-width: 46rem;
  margin: 0;
  font-size: 1.08rem;
  color: #3c4656;
}
.page-head__page {
  color: var(--muted);
  font-weight: 400;
}
.breadcrumbs {
  margin-bottom: 1.1rem;
  font-size: 0.88rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--line-strong);
}
.breadcrumbs a,
.breadcrumbs span {
  display: inline-block;
  padding-block: 0.15rem;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}
.breadcrumbs [aria-current] {
  color: var(--text);
}

/* ------------------------------------------------------------------ Listen */

.list-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.5rem;
}
.list-bar__count {
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
}
.sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.93rem;
}
.sort label {
  color: var(--muted);
}
.sort select {
  min-height: 2.4rem;
  padding: 0.3rem 0.6rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.list-note {
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty--inline {
  margin-top: 1.25rem;
}
.empty__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-900);
}
.empty p:last-child {
  margin-bottom: 0;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
}
.pagination ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--navy-800);
  font-weight: 600;
  text-decoration: none;
}
.page-link:hover {
  border-color: var(--navy-600);
}
.page-link.is-current {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.page-gap {
  display: inline-grid;
  place-items: center;
  min-height: 2.6rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ Kanzleiprofil */

.firm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.firm-head__main {
  flex: 1 1 20rem;
  min-width: 0;
}
.firm-head h1 {
  margin-bottom: 0.2em;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
}
.firm-head__sub {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.firm-head__place {
  margin: 0 0 0.5rem;
  color: #3c4656;
}
.firm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 2.5rem;
  align-items: start;
  padding-block: 2.25rem 3.5rem;
}
@media (max-width: 60rem) {
  .firm-layout {
    grid-template-columns: 1fr;
  }
}
.block {
  margin-bottom: 2.5rem;
}
.block h2 {
  font-size: 1.5rem;
}
.block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.block__head h2 {
  margin: 0;
}
.count {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}
.card {
  margin-bottom: 1.25rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card--tint {
  background: var(--tint);
  border-color: transparent;
}
.card p:last-child {
  margin-bottom: 0;
}
.card__fact {
  font-weight: 600;
}
.card__small {
  font-size: 0.82rem;
  color: var(--muted);
}
.contact p {
  display: flex;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
  overflow-wrap: anywhere;
}
.contact .icon {
  margin-top: 0.2rem;
  color: var(--gold-dark);
}
.firm-side {
  position: sticky;
  top: 5.5rem;
}
@media (max-width: 60rem) {
  .firm-side {
    position: static;
  }
}
.summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 2rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.summary__score {
  text-align: center;
}
.summary__score p {
  margin: 0;
}
.summary__value {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-900);
}
.summary__count {
  font-size: 0.88rem;
  color: var(--muted);
}
.dist {
  width: 100%;
  font-size: 0.9rem;
}
.dist th {
  width: 1%;
  padding: 0.15rem 0.75rem 0.15rem 0;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  color: #3c4656;
}
.dist__bar svg {
  display: block;
  width: 100%;
  height: 0.5rem;
  border-radius: 99px;
}
.dist__track {
  fill: var(--tint);
}
.dist__fill {
  fill: var(--star);
}
.dist__num {
  width: 1%;
  padding-left: 0.75rem;
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.criteria {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.criteria dt {
  color: var(--muted);
}
.criteria dd {
  margin: 0;
  font-weight: 600;
}
@media (max-width: 34rem) {
  .summary {
    grid-template-columns: 1fr;
  }
}
.note {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  font-size: 0.88rem;
  color: #3c4656;
}
.note .icon {
  margin-top: 0.15rem;
  color: var(--ok);
}
.review {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6rem;
}
.review:last-child {
  border-bottom: 0;
}
.review__rating {
  margin: 0 0 0.4rem;
}
.review h3 {
  margin-bottom: 0.3rem;
  font-size: 1.22rem;
}
.review__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.review__meta span + span::before {
  content: "·";
  margin-right: 0.5rem;
}
.review__body {
  overflow-wrap: anywhere;
}
.review__body p:last-child {
  margin-bottom: 0;
}
.review__criteria {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 1rem 0 0;
  font-size: 0.86rem;
}
.review__criteria div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.review__criteria dt {
  color: var(--muted);
}
.review__criteria dd {
  margin: 0;
}
.reply {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--tint);
}
.reply__label {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
}
.reply__body p:last-child {
  margin-bottom: 0.4rem;
}
.reply__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.review__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 1rem 0 0;
  font-size: 0.86rem;
}
.review__actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0;
  color: var(--muted);
  text-decoration: none;
}
.review__actions a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* ------------------------------------------------------------------ Fließtext */

.prose {
  font-size: 1.03rem;
}
.prose h2 {
  margin-top: 2.2em;
  font-size: 1.5rem;
  scroll-margin-top: 6rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose li::marker {
  color: var(--gold-dark);
}
.prose--legal {
  font-size: 1rem;
}
.prose--legal h2 {
  font-size: 1.3rem;
}
.prose .not-prose {
  margin-bottom: 2.5rem;
}
.legal-version {
  margin-top: 2.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.timeline {
  list-style: none;
  padding: 0 !important;
  counter-reset: t;
}
.timeline li {
  position: relative;
  margin: 0;
  padding: 0 0 1.5rem 3.25rem;
  counter-increment: t;
}
.timeline li::before {
  content: counter(t);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.07rem;
  top: 2.5rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--line);
}
.timeline h3 {
  margin: 0 0 0.3rem;
  padding-top: 0.25rem;
}
.timeline p {
  margin: 0;
}

/* ------------------------------------------------------------------ Hinweise & Meldungen */

.alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.alert ul {
  margin: 0;
  padding-left: 1.2rem;
}
.alert p:last-child {
  margin-bottom: 0;
}
.alert__title {
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.alert--error {
  background: var(--danger-bg);
  border-color: #f3c1bd;
  color: #7c1810;
}
.alert--error a {
  color: inherit;
}
.alert--warn {
  background: var(--warn-bg);
  border-color: #efd98a;
  color: var(--warn);
}
.alert--ok {
  background: var(--ok-bg);
  border-color: #b5dcc5;
  color: #0f5730;
}
.message {
  padding: clamp(1.75rem, 5vw, 3rem);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.message h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
}
.message .search {
  margin: 1.5rem auto;
  text-align: left;
}
.message__icon {
  display: inline-grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 1.6rem;
}
.message__icon--mail {
  background: #e8eef8;
  color: var(--navy-700);
}
.message__hint {
  font-size: 0.92rem;
  color: var(--muted);
}
.message__code {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}
.quote {
  margin-bottom: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
}
.quote p {
  margin: 0 0 0.35rem;
}
.quote__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote__title {
  font-weight: 700;
  color: var(--navy-900);
}
.quote__body {
  color: #3c4656;
}
.quote__meta {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------ Formulare */

.form {
  display: grid;
  gap: 1.5rem;
}
.form__section {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form__section h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.form__row {
  display: grid;
  gap: 0 1.25rem;
}
.form__row--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.form__row--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
}
.form__row--plz {
  grid-template-columns: 8rem minmax(0, 1fr);
}
.field {
  min-width: 0;
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
}
.field label,
.field legend {
  display: block;
  margin-bottom: 0.3rem;
  padding: 0;
  font-weight: 600;
  color: var(--navy-900);
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
.hint {
  margin: -0.1rem 0 0.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
}
.field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(209, 160, 53, 0.55);
  outline-offset: 0;
  border-color: var(--navy-700);
}
.field--error input:not([type="radio"]):not([type="checkbox"]),
.field--error select,
.field--error textarea {
  border-color: var(--danger);
}
.error {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--danger);
}
.counter {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  text-align: right;
  color: var(--muted);
}
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.7rem;
  margin-bottom: 0.9rem;
}
.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.2rem 0 0;
  accent-color: var(--navy-800);
}
.check .error {
  grid-column: 2;
}
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.check-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin: 0 !important;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500 !important;
  cursor: pointer;
}
.check-pill input {
  accent-color: var(--navy-800);
}
.check-pill:has(input:checked) {
  background: var(--tint);
  border-color: var(--navy-700);
}
.form__privacy,
.form__after {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Sterne-Auswahl: echte Radio-Buttons, per Tastatur bedienbar */
.rate {
  display: inline-flex;
  gap: 0.1rem;
}
.rate .rate__star {
  position: relative;
  display: inline-grid;
  margin: 0;
  cursor: pointer;
  color: var(--star-off);
}
.rate__star input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.rate__star svg {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  fill: currentColor;
  transition: transform 0.1s;
}
.form__row--3 .rate__star svg {
  width: 1.7rem;
  height: 1.7rem;
}
.rate .rate__star:has(input:checked),
.rate .rate__star:has(~ .rate__star input:checked) {
  color: var(--star);
}
.rate:hover .rate__star {
  color: var(--star);
}
.rate:hover .rate__star:hover ~ .rate__star {
  color: var(--star-off);
}
.rate__star:has(input:focus-visible) svg {
  outline: 3px solid var(--navy-700);
  outline-offset: 2px;
  border-radius: 6px;
}
.rate__star:hover svg {
  transform: scale(1.08);
}

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

.site-footer {
  padding-top: 3.25rem;
  background: var(--navy-900);
  color: #b9c5d8;
  font-size: 0.94rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 62rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 30rem) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
.logo--footer {
  margin-bottom: 0.9rem;
  color: #fff;
}
.logo--footer .logo__tld {
  color: var(--gold);
}
.site-footer__note {
  font-size: 0.85rem;
  color: #8f9db3;
}
.site-footer h2 {
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li {
  margin-bottom: 0.15rem;
}
.site-footer a {
  display: inline-block;
  padding: 0.2rem 0;
  color: #b9c5d8;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  margin-top: 2.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #8f9db3;
}
.site-footer__bottom p {
  margin: 0;
}

/* sehr schmale Geräte: Logo und Schaltfläche bleiben in einer Zeile */
@media (max-width: 23.5rem) {
  .logo__text {
    font-size: 0.92rem;
  }
  .site-header__cta {
    padding-inline: 0.7rem;
  }
}
