:root {
  --bg: #fbfaf7;
  --text: #17130e;
  --muted: rgba(23, 19, 14, 0.66);

  /* Brand (aus vorhandenem CI/Style) */
  --brand: #d5b35f;
  --brand-2: #b18b2f;

  --surface: rgba(255, 255, 255, 0.88);
  --surface-2: rgba(255, 255, 255, 0.76);

  --border: rgba(23, 19, 14, 0.10);
  --border-2: rgba(213, 179, 95, 0.45);

  --shadow: 0 18px 60px rgba(12, 11, 10, 0.12);
  --shadow-2: 0 12px 30px rgba(12, 11, 10, 0.10);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-ui: 14px;
  --container: 1160px;

  --focus: rgba(177, 139, 47, 0.55);

  --s1: 6px;
  --s2: 10px;
  --s3: 14px;
  --s4: 18px;
  --s5: 24px;
  --s6: 32px;
  --s7: 44px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

/* Subtiler Hintergrund: CI-Background + leichte Gold-Highlights (bleibt trotzdem "weiss") */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  /* Hintergrund ist Portrait -> fit width, damit die Blätter links/rechts sichtbar bleiben.
     Wir legen ihn 2x: einmal oben, einmal unten, damit beide Blätter-Elemente sichtbar sind. */
  background-image:
    url("../img/brand/q3b67ops4et_768.webp"),
    url("../img/brand/q3b67ops4et_768.webp");
  background-size: 100% auto, 100% auto;
  background-position: center top, center bottom;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.10;
  filter: saturate(0.9) contrast(1.05) brightness(1.18);
}

@media (min-width: 900px) {
  body::before {
    background-image:
      url("../img/brand/q3b67ops4et_1280.webp"),
      url("../img/brand/q3b67ops4et_1280.webp");
  }
}

@media (min-width: 1200px) {
  body::before {
    background-image:
      url("../img/brand/q3b67ops4et_1920.webp"),
      url("../img/brand/q3b67ops4et_1920.webp");
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      1100px 700px at 18% 0%,
      rgba(213, 179, 95, 0.14),
      transparent 58%
    ),
    radial-gradient(
      900px 640px at 92% 8%,
      rgba(177, 139, 47, 0.10),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(251, 250, 247, 0.70), rgba(251, 250, 247, 1));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(213, 179, 95, 0.65);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-color: var(--brand);
}

::selection {
  background: rgba(213, 179, 95, 0.22);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  padding: 10px 12px;
  background: #000;
  color: #fff;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
  z-index: 9999;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px;
}

/* Responsive ranges (5 levels):
   XS <= 420
   SM 421-640
   MD 641-900
   LG 901-1200
   XL >= 1201
*/
@media (max-width: 420px) {
  .container {
    padding: 12px;
  }
}

@media (min-width: 641px) {
  .container {
    padding: 18px;
  }
}

@media (min-width: 1201px) {
  .container {
    padding: 20px;
  }
}

.section {
  margin-top: 16px;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

@supports not (backdrop-filter: blur(1px)) {
  .surface {
    background: rgba(255, 255, 255, 0.96);
  }
}

.surface.pad {
  padding: var(--s5);
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s4);
  box-shadow: var(--shadow-2);
}

.surface.pad > :first-child,
.card > :first-child {
  margin-top: 0;
}

.surface.pad > :last-child,
.card > :last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(23, 19, 14, 0.72);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.95;
}

h1,
h2,
h3 {
  margin: 10px 0;
  line-height: 1.08;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5.0vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 10px 0;
  color: rgba(23, 19, 14, 0.88);
}

.lead {
  font-size: 1.06rem;
  color: rgba(23, 19, 14, 0.90);
  max-width: 62ch;
}

.grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  .grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-ui);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  background: rgba(23, 19, 14, 0.03);
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 19, 14, 0.22);
  background: rgba(23, 19, 14, 0.04);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  color: #17130e;
  border-color: rgba(177, 139, 47, 0.35);
  background: linear-gradient(
    135deg,
    rgba(213, 179, 95, 0.70),
    rgba(177, 139, 47, 0.18)
  );
  box-shadow: 0 12px 26px rgba(213, 179, 95, 0.22);
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-ui);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 600ms ease;
  pointer-events: none;
}

.btn.primary:hover::after {
  transform: translateX(120%);
}

.btn.ghost {
  background: rgba(23, 19, 14, 0.04);
}

/* Focus */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 168px;
  height: auto;
  max-width: 42vw;
}

/* Keep the logo compact so the header doesn't waste vertical space */
.brand img[src="/img/brand/mnbntkvrl2o.png"] {
  width: 120px;
  max-width: 120px;
}

.brand-word {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-ui);
  border: 1px solid var(--border);
  background: rgba(23, 19, 14, 0.03);
  color: inherit;
  font: inherit;
}

.nav {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--radius-ui);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.nav a[aria-current="page"] {
  border-color: var(--border);
  background: rgba(213, 179, 95, 0.20);
}

.nav.is-open {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  justify-items: stretch;
  align-items: start;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Mobile header: reduce vertical space (logo + padding) */
@media (max-width: 520px) {
  .header-inner {
    padding: 8px 10px;
    gap: 10px;
  }

  .brand img {
    width: 132px;
    max-width: 46vw;
  }
}

@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .nav.is-open {
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    padding-top: 0;
    border-top: none;
  }
}

/* Hero */
.hero {
  display: grid;
  gap: var(--s5);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      700px 320px at 10% 0%,
      rgba(213, 179, 95, 0.16),
      transparent 62%
    ),
    radial-gradient(
      900px 420px at 90% 15%,
      rgba(177, 139, 47, 0.10),
      transparent 62%
    );
  pointer-events: none;
  opacity: 0.50;
}

.hero > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 520px) {
  .hero {
    padding: var(--s5);
  }
}

@media (max-width: 420px) {
  .hero {
    padding: var(--s4);
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  .hero {
    padding: var(--s6);
  }
}

@media (min-width: 1201px) {
  .hero {
    padding: calc(var(--s6) + 6px);
  }
}

.hero-banner {
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  border: 1px solid rgba(23, 19, 14, 0.10);
  background: rgba(23, 19, 14, 0.06);
  height: clamp(220px, 32vw, 420px);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split {
  display: grid;
  gap: var(--s5);
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: start;
  }
}

.hero-card h2,
.hero-quickCard h2 {
  margin-top: 0;
}

.hero-card .list li,
.hero-quickCard .list li {
  grid-template-columns: 1fr;
}

.hero-card .list li::before,
.hero-quickCard .list li::before {
  display: none;
}

.hero-card .list a,
.hero-quickCard .list a {
  word-break: break-word;
}

.slotPicker {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px dashed rgba(23, 19, 14, 0.18);
  background: rgba(23, 19, 14, 0.02);
  margin-bottom: 12px;
}

.slotPickerSlots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slotBtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(23, 19, 14, 0.03);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.slotBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 19, 14, 0.22);
  background: rgba(23, 19, 14, 0.04);
}

.slotBtn.primary {
  color: #17130e;
  border-color: rgba(177, 139, 47, 0.35);
  background: linear-gradient(
    135deg,
    rgba(213, 179, 95, 0.70),
    rgba(177, 139, 47, 0.18)
  );
  box-shadow: 0 12px 26px rgba(213, 179, 95, 0.18);
}

.slotBtn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: translateX(-120%);
  transition: transform 600ms ease;
  pointer-events: none;
}

.slotBtn.primary:hover::after {
  transform: translateX(120%);
}

/* Gallery */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(242px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}

@media (min-width: 900px) {
  .gallery {
    grid-auto-columns: minmax(286px, 1fr);
  }
}

/* Carousel (Startseite: "Salon & Atmosphaere") */
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  overscroll-behavior-x: contain;
}

.carousel-item {
  flex: 0 0 clamp(240px, 86vw, 520px);
  scroll-snap-align: start;
}

@media (min-width: 700px) {
  .carousel-item {
    flex-basis: clamp(280px, 58vw, 540px);
  }
}

@media (min-width: 900px) {
  .carousel-item {
    flex-basis: clamp(340px, 44vw, 560px);
  }
}

@media (min-width: 1201px) {
  .carousel-item {
    flex-basis: clamp(360px, 28vw, 600px);
  }
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(23, 19, 14, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  cursor: pointer;
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-2);
  background: rgba(213, 179, 95, 0.16);
  color: rgba(177, 139, 47, 0.95);
}

.carousel-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.np-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.60);
  height: clamp(260px, 34vw, 520px);
}

.np-inner {
  position: absolute;
  inset: 0;
}

.np-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.np-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.np-back {
  position: absolute;
  inset: 0;
}

.np-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.04);
}

.np-over {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(23, 19, 14, 0.56);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.np-heading {
  margin: 0;
  font-size: 1.05rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
}

.np-text {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-indicators {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 3;
}

.np-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  padding: 6px;
  background-clip: content-box;
  background: rgba(23, 19, 14, 0.45);
  cursor: pointer;
}

.np-dot.is-active {
  background: rgba(23, 19, 14, 0.82);
}

@media (max-width: 900px) {
  .np-indicators {
    display: none;
  }
}

.np-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(23, 19, 14, 0.40);
  color: rgba(255, 255, 255, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.np-control:hover {
  transform: translateY(-50%) scale(1.03);
  background: rgba(23, 19, 14, 0.52);
  border-color: rgba(255, 255, 255, 0.55);
}

.np-prev {
  left: 12px;
}

.np-next {
  right: 12px;
}

.np-control svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 420px) {
  .np-over {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  .np-control {
    width: 48px;
    height: 48px;
  }
}

.shot-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(23, 19, 14, 0.52);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.70);
  scroll-snap-align: start;
}

.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.03);
  transition: transform 260ms ease;
}

.shot.auto img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.tvRefTitle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  text-align: left;
}

.tvRefIcon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 999px;
}

.tvRefGrid {
  align-items: stretch;
}

.tvRefLeft {
  display: flex;
  flex-direction: column;
}

.tvRefPortrait {
  margin-top: auto;
  margin-bottom: 0;
}

.shot:hover img {
  transform: scale(1.03);
}

/* Reviews */
.rev-carousel {
  position: relative;
}

.rev-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 14px;
  overflow-x: auto;
  padding: 2px;
  scroll-snap-type: x mandatory;
  scroll-padding: 10px;
  -webkit-overflow-scrolling: touch;
}

.rev-track::-webkit-scrollbar {
  height: 10px;
}

.rev-track::-webkit-scrollbar-thumb {
  background: rgba(23, 19, 14, 0.18);
  border-radius: 999px;
}

.reviewCard {
  scroll-snap-align: start;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.reviewCard.empty {
  display: grid;
  place-items: center;
  padding: var(--s4);
}

.reviewCardInner {
  padding: var(--s4);
}

.reviewLink {
  display: block;
  text-decoration: none;
}

.reviewTop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.reviewAuthor {
  font-weight: 900;
}

.reviewStars {
  letter-spacing: 0.06em;
  color: rgba(177, 139, 47, 0.95);
  font-weight: 900;
}

.reviewMeta {
  margin-top: 6px;
  color: rgba(23, 19, 14, 0.62);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reviewText {
  margin-top: 10px;
  color: rgba(23, 19, 14, 0.86);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.55em * 3);
}

.rev-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.rev-controls {
  display: inline-flex;
  gap: 10px;
}

.rev-control {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(23, 19, 14, 0.04);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.rev-control:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 19, 14, 0.22);
  background: rgba(23, 19, 14, 0.06);
}

.rev-control svg {
  width: 18px;
  height: 18px;
  fill: rgba(23, 19, 14, 0.72);
}

@media (max-width: 420px) {
  .rev-track {
    grid-auto-columns: minmax(240px, 320px);
  }
}

.service-shot {
  margin: 10px 0 12px;
}

.mark {
  padding: 0.08em 0.32em;
  border-radius: 999px;
  font-weight: 900;
  color: #17130e;
  background: linear-gradient(
    135deg,
    rgba(213, 179, 95, 0.60),
    rgba(177, 139, 47, 0.14)
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.serviceCard {
  position: relative;
}

.serviceCorner {
  position: absolute;
  top: 0;
  left: 0;
  width: 138px;
  height: 138px;
  object-fit: cover;
  border-radius: 0 0 999px 0;
  border: 1px solid rgba(23, 19, 14, 0.10);
  background: rgba(23, 19, 14, 0.03);
}

.serviceHead {
  min-height: 138px;
  padding-left: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .serviceCorner {
    width: 124px;
    height: 124px;
  }

  .serviceHead {
    min-height: 124px;
    padding-left: 136px;
  }
}

@media (max-width: 420px) {
  .serviceCorner {
    width: 112px;
    height: 112px;
  }

  .serviceHead {
    min-height: 112px;
    padding-left: 124px;
  }
}

/* People */
.person {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 0;
  overflow: hidden;
}

.team-preview-body {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 901px) {
  .team-preview-body {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.team-preview-tileCard {
  align-self: start;
  /* Make the card a perfect square based on the 3x3 tile grid */
  --team-tile: 90px;
  --team-gap: 10px;
  --team-pad: 5px;
  --team-grid: calc((var(--team-tile) * 3) + (var(--team-gap) * 2) + (var(--team-pad) * 2));
  /* Match the default `.card` padding and include it in the square size */
  padding: var(--s4);
  width: calc(var(--team-grid) + 2px + (var(--s4) * 2)); /* +2px for border, +padding on both sides */
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.team-tiles {
  /* 5px außen, 10px zwischen Kacheln */
  padding: var(--team-pad, 5px);
  display: grid;
  gap: var(--team-gap, 10px);
  grid-template-columns: repeat(3, var(--team-tile, 80px));
  justify-content: start;
}

.team-tile {
  width: 80px;
  height: 80px;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  border: none;
}

.team-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--pos, 50% 18%);
  border: 0;
}

.team-tile-more {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #17130e;
  border: 1px solid rgba(177, 139, 47, 0.35);
  background: linear-gradient(
    135deg,
    rgba(213, 179, 95, 0.70),
    rgba(177, 139, 47, 0.18)
  );
  box-shadow: 0 12px 26px rgba(213, 179, 95, 0.22);
  border-radius: 12px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.team-tile-more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 600ms ease;
  pointer-events: none;
}

.team-tile-more:hover {
  transform: translateY(-1px);
  border-color: rgba(177, 139, 47, 0.55);
  box-shadow: 0 16px 34px rgba(213, 179, 95, 0.26);
}

.team-tile-more:hover::after {
  transform: translateX(120%);
}

.team-tile-moreText {
  font-weight: 900;
  font-size: 0.9rem;
  text-align: center;
  padding: 10px;
  line-height: 1.1;
}

.person-media {
  --pos: 50% 18%;
  border-bottom: 1px solid var(--border);
  background: rgba(23, 19, 14, 0.04);
}

.person-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--pos);
  filter: saturate(1.02) contrast(1.02);
}

.person-body {
  padding: var(--s4);
}

.person-body h3 {
  margin: 2px 0 6px;
}

.person-body p {
  margin: 0;
}

.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.person-cta {
  margin-top: 10px;
}

.person-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(177, 139, 47, 0.25);
  background: rgba(213, 179, 95, 0.16);
  color: rgba(23, 19, 14, 0.86);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

/* Forms */
.form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: inherit;
}

.inputRow {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-right: 12px;
}

.inputRow .datePart {
  flex: 1 1 220px;
}

.inputRow .timePart {
  flex: 0 0 96px;
}

@media (max-width: 520px) {
  .inputRow {
    flex-wrap: wrap;
  }
  .inputRow .datePart {
    flex: 1 1 100%;
  }
  .inputRow .timePart {
    flex: 1 1 calc(50% - 5px);
  }
}

textarea.input {
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.footer {
  margin-top: 18px;
}

.footer-inner {
  display: grid;
  gap: 12px;
  padding: 30px;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 899px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-col {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.footer-map {
  margin-top: 12px;
}

.footer-map__placeholder p {
  margin: 0 0 10px;
}

.footer-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-map__iframe {
  width: 100%;
  border: 0;
  border-radius: 16px;
  aspect-ratio: 16 / 11;
  display: none;
  margin-top: 10px;
}

.footer-map.is-loaded .footer-map__placeholder {
  display: none;
}

.footer-map.is-loaded .footer-map__iframe {
  display: block;
}

.list {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.list li {
  margin: 0;
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
}

.list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(177, 139, 47, 0.80);
  margin-top: 0.55em;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.icon-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(23, 19, 14, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.icon-link:hover {
  transform: translateY(-1px);
  border-color: var(--border-2);
  background: rgba(213, 179, 95, 0.16);
  color: rgba(177, 139, 47, 0.95);
}

.icon-link svg {
  width: 22px;
  height: 22px;
}

.legal {
  margin: 14px 0 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Anchors with sticky header */
#termine {
  scroll-margin-top: 90px;
}

.ok {
  color: rgba(0, 132, 73, 0.94);
}

.err {
  color: rgba(193, 25, 25, 0.94);
}

/* Consent Banner (fuer externe Dienste) */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  z-index: 10000;
}

.consent-inner {
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.consent-text strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  letter-spacing: 0.01em;
}

.consent-text p {
  margin: 6px 0;
  color: rgba(23, 19, 14, 0.88);
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  padding: 14px;
  display: grid;
  place-items: end center;
  background: rgba(23, 19, 14, 0.38);
}

.consent-modal__panel {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.consent-modal__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.consent-modal__title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  letter-spacing: 0.01em;
  font-size: 1.15rem;
}

.consent-modal__close {
  border: 1px solid var(--border);
  background: rgba(23, 19, 14, 0.03);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.consent-modal__close:hover {
  border-color: var(--border-2);
  background: rgba(213, 179, 95, 0.16);
}

.consent-opts {
  display: grid;
  gap: 10px;
}

.consent-opt {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.consent-opt__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.consent-opt__row strong {
  font-weight: 650;
}

.consent-opt__row input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (min-width: 760px) {
  .consent-modal {
    place-items: center;
  }
}

@media (min-width: 760px) {
  .consent-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .consent-inner {
    background: rgba(255, 255, 255, 0.96);
  }
}
