:root {
  --km-ink: #102a43;
  --km-wine: #087e8b;
  --km-wine-dark: #075965;
  --km-gold: #e56b4f;
  --km-paper: #f4f8fa;
  --km-soft: #e4f0f2;
  --km-line: #cbdde2;
  --km-text: #172f45;
  --km-muted: #567083;
  --km-card: #ffffff;
  --km-radius: 10px;
}

.kaufmich-site {
  background: var(--km-paper);
  color: var(--km-text);
  font-family: Inter, "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

.kaufmich-site .vs-main {
  overflow: clip;
}

.kaufmich-site .vs-shell {
  width: min(1180px, calc(100% - 40px));
}

.kaufmich-site a:focus-visible,
.kaufmich-site button:focus-visible,
.kaufmich-site input:focus-visible,
.kaufmich-site select:focus-visible {
  outline: 3px solid #e56b4f;
  outline-offset: 3px;
}

.kaufmich-header {
  position: relative;
  z-index: 30;
  background: var(--km-paper);
  border-bottom: 1px solid var(--km-line);
}

.kaufmich-header__notice {
  background: var(--km-ink);
  color: #f5fbfc;
  font-size: 0.77rem;
  letter-spacing: 0.03em;
}

.kaufmich-header__notice-inner,
.kaufmich-header__nav,
.kaufmich-header__citybar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.kaufmich-header__notice-inner {
  min-height: 38px;
}

.kaufmich-header__notice a {
  color: #87e6e0;
  text-decoration: none;
  font-weight: 700;
}

.kaufmich-header__nav {
  min-height: 88px;
}

.kaufmich-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--km-ink);
  text-decoration: none;
  white-space: nowrap;
}

.kaufmich-brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--km-wine);
  color: #fff;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.kaufmich-brand__wordmark {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.38rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.kaufmich-brand__wordmark span {
  color: var(--km-wine);
}

/* Kaufmich uses a catalogue-first visual hierarchy distinct from the other German sites. */
.kaufmich-site .kaufmich-hero {
  background: #102a43;
}

.kaufmich-site .kaufmich-hero::before {
  height: 8px;
  background: var(--km-wine);
}

.kaufmich-site .kaufmich-hero__panel {
  border: 1px solid rgba(135, 230, 224, 0.42);
  border-radius: var(--km-radius);
  background: rgba(5, 39, 64, 0.76);
  box-shadow: none;
}

.kaufmich-site .kaufmich-city-tile {
  border-top: 4px solid transparent;
  border-radius: 0 var(--km-radius) var(--km-radius) var(--km-radius);
}

.kaufmich-site .kaufmich-city-tile:nth-child(3n + 1) { border-top-color: var(--km-wine); }
.kaufmich-site .kaufmich-city-tile:nth-child(3n + 2) { border-top-color: var(--km-gold); }
.kaufmich-site .kaufmich-city-tile:nth-child(3n) { border-top-color: #406e8e; }

.kaufmich-site .kaufmich-profile-hero {
  background: #102a43;
}

.kaufmich-site .kaufmich-standard__number,
.kaufmich-site .kaufmich-kicker {
  color: #65d6cf;
}

.kaufmich-site .kaufmich-footer {
  background: #0a1f33;
}

.kaufmich-mainnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.kaufmich-mainnav a {
  color: var(--km-text);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.kaufmich-mainnav a:hover,
.kaufmich-mainnav a:focus-visible {
  color: var(--km-wine);
}

.kaufmich-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kaufmich-header__search {
  display: flex;
  width: min(220px, 20vw);
  overflow: hidden;
  border: 1px solid var(--km-line);
  border-radius: 8px;
  background: #fff;
}

.kaufmich-header__search input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 10px 11px;
  color: var(--km-text);
  font: inherit;
}

.kaufmich-header__search button {
  border: 0;
  padding: 0 12px;
  background: var(--km-soft);
  color: var(--km-ink);
  cursor: pointer;
  font-weight: 800;
}

.kaufmich-header__login,
.kaufmich-header__create {
  min-height: 42px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.kaufmich-header__login {
  color: var(--km-ink);
}

.kaufmich-header__create {
  background: var(--km-wine);
  color: #fff;
}

.kaufmich-header__create:hover {
  background: var(--km-wine-dark);
}

.kaufmich-header__citybar {
  min-height: 43px;
  gap: 10px;
  overflow-x: auto;
  justify-content: flex-start;
  border-top: 1px solid var(--km-line);
  scrollbar-width: thin;
}

.kaufmich-header__citybar span,
.kaufmich-header__citybar a {
  flex: 0 0 auto;
  color: var(--km-muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.kaufmich-header__citybar a:hover {
  color: var(--km-wine);
}

.kaufmich-home {
  padding-bottom: 0;
}

.kaufmich-hero {
  position: relative;
  background: var(--km-ink);
  color: #fff;
}

.kaufmich-hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--km-gold);
  content: "";
}

.kaufmich-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 64px;
  align-items: end;
  padding: 90px 0 76px;
}

.kaufmich-kicker {
  margin: 0 0 16px;
  color: var(--km-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kaufmich-hero h1,
.kaufmich-section-heading h2,
.kaufmich-city-index__intro h1,
.kaufmich-city-page__intro h1,
.kaufmich-catalog-head h1,
.kaufmich-profile-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.kaufmich-hero h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  line-height: 0.96;
}

.kaufmich-hero__copy > p:not(.kaufmich-kicker):not(.kaufmich-hero__note) {
  max-width: 635px;
  margin: 24px 0 0;
  color: #dfd7d2;
  font-size: 1.1rem;
  line-height: 1.65;
}

.kaufmich-hero__search {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 10px;
  max-width: 780px;
  margin-top: 30px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
}

.kaufmich-hero__search input,
.kaufmich-hero__search select {
  min-width: 0;
  border: 1px solid #ded6cf;
  border-radius: 7px;
  padding: 13px;
  background: #fff;
  color: var(--km-text);
  font: inherit;
}

.kaufmich-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--km-wine);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.kaufmich-button:hover {
  background: var(--km-wine-dark);
}

.kaufmich-button--outline {
  border-color: var(--km-line);
  background: transparent;
  color: var(--km-ink);
}

.kaufmich-button--outline:hover {
  border-color: var(--km-wine);
  background: var(--km-soft);
  color: var(--km-wine-dark);
}

.kaufmich-hero__note {
  margin: 14px 0 0;
  color: #bfb7b2;
  font-size: 0.81rem;
  line-height: 1.5;
}

.kaufmich-hero__panel {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--km-radius);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.kaufmich-hero__stat {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 13px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.kaufmich-hero__stat:last-child {
  border-bottom: 0;
}

.kaufmich-hero__stat strong {
  color: var(--km-gold);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.kaufmich-hero__stat span {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.kaufmich-discovery,
.kaufmich-listings,
.kaufmich-standards,
.kaufmich-city-page,
.kaufmich-catalog,
.kaufmich-profile {
  padding: 82px 0;
}

.kaufmich-discovery {
  background: var(--km-soft);
}

.kaufmich-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.kaufmich-section-heading h2,
.kaufmich-city-index__intro h1,
.kaufmich-city-page__intro h1,
.kaufmich-catalog-head h1,
.kaufmich-profile-hero h1 {
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.02;
}

.kaufmich-section-heading p,
.kaufmich-city-index__intro p,
.kaufmich-city-page__intro p,
.kaufmich-catalog-head p {
  max-width: 670px;
  margin: 12px 0 0;
  color: var(--km-muted);
  line-height: 1.65;
}

.kaufmich-text-link {
  color: var(--km-wine);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.kaufmich-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--km-line);
  border-left: 1px solid var(--km-line);
}

.kaufmich-city-tile {
  min-height: 138px;
  padding: 20px;
  border-right: 1px solid var(--km-line);
  border-bottom: 1px solid var(--km-line);
  background: rgba(255, 255, 255, 0.54);
  color: var(--km-ink);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.kaufmich-city-tile:hover {
  background: var(--km-wine);
  color: #fff;
}

.kaufmich-city-tile strong,
.kaufmich-city-tile span {
  display: block;
}

.kaufmich-city-tile strong {
  max-width: 16ch;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.kaufmich-city-tile span {
  margin-top: 29px;
  color: var(--km-muted);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kaufmich-city-tile:hover span {
  color: #f5d999;
}

.kaufmich-ad-band {
  padding: 30px 0;
  background: #fff;
}

.kaufmich-listings {
  background: var(--km-paper);
}

.kaufmich-site .vs-results-grid.kaufmich-profile-grid,
.kaufmich-site .kaufmich-profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.kaufmich-site .vs-profile-card {
  border: 1px solid var(--km-line);
  border-radius: 10px;
  background: var(--km-card);
  box-shadow: none;
  overflow: hidden;
}

.kaufmich-site .vs-profile-card__media {
  aspect-ratio: 4 / 5;
  background: #e7dfd8;
}

.kaufmich-site .vs-profile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kaufmich-site .vs-profile-card__body {
  min-height: 168px;
  padding: 17px;
}

.kaufmich-site .vs-profile-card__eyebrow {
  color: var(--km-wine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kaufmich-site .vs-profile-card h2 {
  margin: 8px 0 7px;
  color: var(--km-ink);
  font-family: Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.1;
}

.kaufmich-site .vs-profile-card h2 a {
  color: inherit;
  text-decoration: none;
}

.kaufmich-site .vs-profile-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--km-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.kaufmich-site .vs-meta {
  margin-top: 12px;
}

.kaufmich-site .vs-meta span,
.kaufmich-site .vs-badge {
  border: 1px solid #e4d2d5;
  border-radius: 999px;
  background: #fff9fa;
  color: var(--km-wine-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.kaufmich-site .vs-badge {
  top: 10px;
  left: 10px;
  padding: 6px 9px;
}

.kaufmich-card__open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(21, 21, 24, 0.87);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.kaufmich-standards {
  background: var(--km-ink);
  color: #fff;
}

.kaufmich-standards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kaufmich-standard {
  min-height: 224px;
  padding: 29px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.kaufmich-standard:last-child {
  border-right: 0;
}

.kaufmich-standard__number {
  color: var(--km-gold);
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.kaufmich-standard h2 {
  margin: 37px 0 9px;
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.kaufmich-standard p {
  margin: 0;
  color: #d7cfca;
  line-height: 1.6;
}

.kaufmich-city-index,
.kaufmich-city-page__intro,
.kaufmich-catalog-head {
  max-width: 980px;
  margin: 0 auto;
}

.kaufmich-city-index__intro,
.kaufmich-city-page__intro,
.kaufmich-catalog-head {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--km-line);
}

.kaufmich-city-index__letters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 40px;
}

.kaufmich-city-index__letters a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--km-line);
  border-radius: 6px;
  color: var(--km-ink);
  font-weight: 800;
  text-decoration: none;
}

.kaufmich-city-index__letters a:hover {
  border-color: var(--km-wine);
  background: var(--km-wine);
  color: #fff;
}

.kaufmich-city-index__groups {
  display: grid;
  gap: 36px;
}

.kaufmich-city-index__group h2 {
  margin: 0 0 12px;
  color: var(--km-wine);
  font-family: Georgia, serif;
  font-size: 2rem;
}

.kaufmich-city-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--km-line);
  background: var(--km-line);
}

.kaufmich-city-index__grid a {
  display: flex;
  min-height: 76px;
  padding: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  color: var(--km-text);
  text-decoration: none;
}

.kaufmich-city-index__grid a:hover {
  background: var(--km-soft);
}

.kaufmich-city-index__grid span {
  font-weight: 800;
}

.kaufmich-city-index__grid small {
  color: var(--km-muted);
  text-align: right;
}

.kaufmich-city-page__meta {
  display: inline-flex;
  margin-top: 19px;
  padding: 8px 10px;
  border: 1px solid var(--km-line);
  border-radius: 999px;
  color: var(--km-wine-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.kaufmich-city-page__copy {
  max-width: 840px;
  margin: 38px auto 0;
  padding: 26px;
  border-left: 4px solid var(--km-gold);
  background: var(--km-soft);
  line-height: 1.65;
}

.kaufmich-city-page__copy h2 {
  margin-top: 0;
  color: var(--km-ink);
  font-family: Georgia, serif;
}

.kaufmich-catalog {
  background: var(--km-paper);
}

.kaufmich-catalog__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding-top: 34px;
}

.kaufmich-filters {
  align-self: start;
  padding: 19px;
  border: 1px solid var(--km-line);
  background: #fff;
}

.kaufmich-filters h2,
.kaufmich-filter-group h3 {
  margin: 0;
  font-family: Georgia, serif;
}

.kaufmich-filter-group {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--km-line);
}

.kaufmich-filter-group h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.kaufmich-filters label {
  display: block;
  margin-top: 12px;
  color: var(--km-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.kaufmich-filters input,
.kaufmich-filters select {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--km-line);
  border-radius: 6px;
  padding: 11px;
  color: var(--km-text);
  font: inherit;
}

.kaufmich-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kaufmich-filter-links {
  display: grid;
  gap: 8px;
}

.kaufmich-filter-links a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--km-text);
  font-size: 0.87rem;
  text-decoration: none;
}

.kaufmich-filter-links a:hover {
  color: var(--km-wine);
}

.kaufmich-catalog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 19px;
}

.kaufmich-catalog__toolbar strong {
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.kaufmich-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0 0 19px;
}

.kaufmich-active-filters b,
.kaufmich-active-filters a {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
}

.kaufmich-active-filters b {
  background: var(--km-soft);
  color: var(--km-wine-dark);
}

.kaufmich-active-filters a {
  color: var(--km-wine);
  font-weight: 800;
}

.kaufmich-empty {
  padding: 48px 24px;
  border: 1px solid var(--km-line);
  background: #fff;
  text-align: center;
}

.kaufmich-empty h2 {
  margin: 0;
  font-family: Georgia, serif;
}

.kaufmich-empty p {
  max-width: 520px;
  margin: 12px auto 24px;
  color: var(--km-muted);
}

.kaufmich-profile-hero {
  padding: 42px 0 32px;
  background: var(--km-ink);
  color: #fff;
}

.kaufmich-profile-hero h1 {
  font-size: clamp(2.25rem, 3vw, 3.2rem);
}

.kaufmich-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  color: #d9d2ce;
  font-size: 0.85rem;
}

.kaufmich-breadcrumb a {
  color: #f0d391;
  text-decoration: none;
}

.kaufmich-profile__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.74fr);
  align-items: start;
  gap: 32px;
}

.kaufmich-profile-panel,
.kaufmich-profile-summary,
.kaufmich-profile-gallery {
  min-width: 0;
}

.kaufmich-profile-panel,
.kaufmich-profile-summary {
  padding: 24px;
  border: 1px solid var(--km-line);
  background: #fff;
}

.kaufmich-profile__aside,
.kaufmich-profile__rail {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.kaufmich-profile-panel h2,
.kaufmich-profile-summary h2,
.kaufmich-profile-tab h2 {
  margin-top: 0;
  font-family: Georgia, serif;
}

.kaufmich-profile__aside {
  position: sticky;
  top: 30px;
}

.kaufmich-profile-facts,
.kaufmich-profile-hours {
  margin: 0;
}

.kaufmich-profile-facts div,
.kaufmich-profile-hours div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--km-line);
}

.kaufmich-profile-facts div:last-child,
.kaufmich-profile-hours div:last-child {
  border-bottom: 0;
}

.kaufmich-profile-facts dt,
.kaufmich-profile-hours dt {
  color: var(--km-muted);
}

.kaufmich-profile-facts dd,
.kaufmich-profile-hours dd {
  margin: 0;
  color: var(--km-ink);
  font-weight: 800;
  text-align: right;
}

.kaufmich-profile-gallery {
  border: 1px solid var(--km-line);
  background: #fff;
  overflow: hidden;
}

.kaufmich-profile-gallery__main {
  aspect-ratio: 4 / 5;
  background: var(--km-soft);
}

.kaufmich-profile-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kaufmich-profile-gallery__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--km-wine);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 5rem;
}

.kaufmich-profile-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--km-line);
}

.kaufmich-profile-gallery__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--km-soft);
}

.kaufmich-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.kaufmich-profile-tags span {
  padding: 6px 9px;
  border: 1px solid #e3d1d5;
  border-radius: 999px;
  background: #fff7f8;
  color: var(--km-wine-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.kaufmich-profile-summary h2 {
  margin-bottom: 0;
  font-size: 1.75rem;
  line-height: 1.05;
}

.kaufmich-profile-summary__subtitle {
  color: var(--km-muted);
  line-height: 1.6;
}

.kaufmich-profile-summary__subtitle:first-of-type {
  margin-top: 12px;
}

.kaufmich-profile-actions {
  display: grid;
  gap: 10px;
  margin: 22px 0 12px;
}

.kaufmich-contact-result {
  padding: 12px;
  border-radius: 8px;
  background: var(--km-soft);
  color: var(--km-text);
  line-height: 1.5;
}

.kaufmich-profile-summary details {
  margin-top: 10px;
  border-top: 1px solid var(--km-line);
  padding-top: 10px;
}

.kaufmich-profile-summary summary {
  cursor: pointer;
  color: var(--km-wine);
  font-weight: 800;
}

.kaufmich-profile__content {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.72fr);
  align-items: start;
  gap: 32px;
  margin-top: 32px;
}

.kaufmich-profile-tab {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--km-line);
  background: #fff;
  line-height: 1.65;
}

.kaufmich-profile-tab h2 {
  font-size: 1.45rem;
}

.kaufmich-profile-description {
  padding: 30px;
}

.kaufmich-profile-description p:first-of-type {
  margin-top: 0;
}

.kaufmich-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kaufmich-service-list span {
  padding: 7px 9px;
  border: 1px solid var(--km-line);
  background: var(--km-paper);
  font-size: 0.82rem;
}

.kaufmich-footer {
  background: var(--km-ink);
  color: #fff;
}

.kaufmich-footer__top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 0.7fr));
  gap: 35px;
  padding: 62px 0 45px;
}

.kaufmich-footer .kaufmich-brand {
  color: #fff;
}

.kaufmich-footer .kaufmich-brand__mark {
  background: var(--km-gold);
  color: var(--km-ink);
}

.kaufmich-footer__brand p {
  max-width: 340px;
  color: #cfc6c1;
  line-height: 1.65;
}

.kaufmich-footer h2 {
  margin: 0 0 15px;
  color: var(--km-gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kaufmich-footer__links {
  display: grid;
  gap: 10px;
}

.kaufmich-footer__links a {
  color: #fff;
  font-size: 0.88rem;
  text-decoration: none;
}

.kaufmich-footer__links a:hover {
  color: var(--km-gold);
}

.kaufmich-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #c5bbb4;
  font-size: 0.78rem;
}

@media (max-width: 1080px) {
  .kaufmich-header__nav {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .kaufmich-mainnav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
  }

  .kaufmich-hero__grid,
  .kaufmich-profile__top,
  .kaufmich-profile__content {
    grid-template-columns: 1fr;
  }

  .kaufmich-hero__panel {
    max-width: 560px;
  }

  .kaufmich-profile__aside {
    position: static;
    max-width: 650px;
  }

  .kaufmich-profile-gallery {
    max-width: 760px;
  }

  .kaufmich-city-grid,
  .kaufmich-site .vs-results-grid.kaufmich-profile-grid,
  .kaufmich-site .kaufmich-profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kaufmich-site .vs-shell {
    width: min(100% - 28px, 1180px);
  }

  .kaufmich-header__notice-inner {
    min-height: 42px;
    gap: 10px;
  }

  .kaufmich-header__notice-inner span {
    font-size: 0.69rem;
  }

  .kaufmich-header__nav {
    min-height: 0;
    gap: 15px;
  }

  .kaufmich-brand__wordmark {
    font-size: 1.45rem;
  }

  .kaufmich-brand__mark {
    width: 34px;
    height: 34px;
  }

  .kaufmich-header__actions {
    width: 100%;
  }

  .kaufmich-header__search {
    width: auto;
    flex: 1;
  }

  .kaufmich-header__login {
    display: none;
  }

  .kaufmich-mainnav {
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 3px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .kaufmich-hero__grid {
    gap: 34px;
    padding: 66px 0 52px;
  }

  .kaufmich-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .kaufmich-hero__search {
    grid-template-columns: 1fr;
  }

  .kaufmich-hero__panel {
    max-width: none;
  }

  .kaufmich-discovery,
  .kaufmich-listings,
  .kaufmich-standards,
  .kaufmich-city-page,
  .kaufmich-catalog,
  .kaufmich-profile {
    padding: 55px 0;
  }

  .kaufmich-section-head,
  .kaufmich-catalog__toolbar,
  .kaufmich-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .kaufmich-city-grid,
  .kaufmich-site .vs-results-grid.kaufmich-profile-grid,
  .kaufmich-site .kaufmich-profile-grid,
  .kaufmich-city-index__grid,
  .kaufmich-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kaufmich-standards__grid {
    grid-template-columns: 1fr;
  }

  .kaufmich-standard {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .kaufmich-standard:last-child {
    border-bottom: 0;
  }

  .kaufmich-standard h2 {
    margin-top: 20px;
  }

  .kaufmich-catalog__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kaufmich-filters {
    position: static;
  }

  .kaufmich-profile-summary h2 {
    font-size: 1.6rem;
  }

  .kaufmich-footer__top {
    gap: 30px;
  }
}

@media (max-width: 430px) {
  .kaufmich-city-grid,
  .kaufmich-site .vs-results-grid.kaufmich-profile-grid,
  .kaufmich-site .kaufmich-profile-grid,
  .kaufmich-city-index__grid,
  .kaufmich-footer__top {
    grid-template-columns: 1fr;
  }

  .kaufmich-header__create {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.76rem;
  }
}
