:root {
  --blue: #061f70;
  --blue-soft: #0086cd;
  --ink: #1f2937;
  --muted: #626f7f;
  --line: #d8e2ed;
  --surface: #f5f9fc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 31, 112, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  padding-bottom: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 0.35rem;
  color: var(--blue);
  font-size: 1.18rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 102px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--blue);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32rem;
  min-width: 0;
  color: var(--blue);
  font-weight: 700;
}

.brand img {
  width: 292px;
  height: auto;
}

.brand span {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.4rem);
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue);
}

.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto 40px;
  padding: 0;
  scroll-margin-top: 76px;
}

.section:last-of-type {
  margin-bottom: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: auto;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-image {
  position: relative;
  aspect-ratio: 1426 / 752;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel {
  isolation: isolate;
}

.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.hero-carousel .hero-slide.is-active {
  opacity: 1;
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 28px;
  height: 36px;
  border: 1px solid rgba(6, 31, 112, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-carousel-control::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  content: "";
}

.hero-carousel-prev {
  left: 0.35rem;
}

.hero-carousel-prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.hero-carousel-next {
  right: 0.35rem;
}

.hero-carousel-next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

@media (min-width: 1440px) {
  .hero-image {
    justify-self: end;
    width: min(100%, 860px);
  }

  .hero-image img {
    object-fit: cover;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.actions.compact {
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: var(--white);
}

.notice {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: var(--surface);
}

.notice h2 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.notice p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.map-section {
  padding-top: 0.9rem;
  padding-bottom: 2rem;
}

.hours {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.hours div {
  display: grid;
  grid-template-columns: 54px 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.25;
}

.hours div:last-child {
  border-bottom: 0;
}

.hours span {
  color: var(--blue);
  font-weight: 700;
}

.hours strong {
  font-size: 0.9rem;
}

.map-wrap {
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.parking {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.image-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.image-row img,
.gallery img,
.person-photo,
.person img,
.photo-placeholder {
  width: 100%;
  border-radius: 8px;
  background: var(--surface);
  object-fit: cover;
}

.image-row img {
  aspect-ratio: auto;
  height: auto;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: var(--white);
  object-fit: contain;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

#leistungen,
#team {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.services li {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: var(--surface);
  font-weight: 700;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.person {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.person-photo,
.person img,
.photo-placeholder {
  height: clamp(300px, 34vw, 430px);
  object-position: center 32%;
}

.person-photo {
  position: relative;
  overflow: hidden;
}

.person-photo img {
  height: 100%;
  transition: opacity 0.35s ease;
}

.person-photo .portrait {
  object-position: center 20%;
}

.person-photo .portrait-andrea {
  object-position: center 20%;
}

.person-photo .portrait-selina {
  object-position: center 60%;
}

.person-photo .portrait-noemi {
  object-position: center 5%;
}

.person-photo .portrait-mina {
  object-position: center 12%;
}

.person-photo .portrait-kris {
  object-position: center 20%;
}

.person > img {
  object-position: center 20%;
}

.person-photo .action-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.person-photo .action-shot-andrea {
  object-position: center 58%;
}

.person-photo.has-action:hover .action-shot,
.person-photo.has-action:focus-within .action-shot,
.person-photo.has-action.is-action-visible .action-shot {
  opacity: 1;
}

.person-photo.has-action:hover .portrait,
.person-photo.has-action:focus-within .portrait,
.person-photo.has-action.is-action-visible .portrait {
  opacity: 0;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(135deg, #eef4fa, #ffffff);
  font-size: 1.4rem;
  font-weight: 700;
}

.person div:last-child {
  padding: 1rem;
}

.person p {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-weight: 700;
}

.person span {
  color: var(--muted);
  font-size: 0.93rem;
}

.gallery-section {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}

.gallery-item {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.gallery img {
  height: clamp(190px, 22vw, 260px);
  aspect-ratio: auto;
  object-position: center 42%;
}

.payment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.payment-icons img {
  width: 84px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.payment-icons .twint-icon {
  padding: 0;
}

.payment-icons .payment-icon-smaller {
  width: 72px;
  height: 46px;
  transform: translateY(3px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 0;
  border-top: 1px solid var(--blue);
  color: var(--muted);
}

.footer-brand {
  max-width: 520px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  margin-bottom: 0;
}

.site-footer address {
  margin: 0;
  text-align: right;
  font-style: normal;
  line-height: 1.7;
}

.site-footer address a {
  font-weight: 700;
}

.legal-links {
  display: flex;
  justify-content: flex-end;
  gap: 0.9rem;
  margin-top: 0.65rem;
}

.legal-links button {
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.legal-links button:hover {
  color: var(--blue-soft);
}

.image-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(32, 32, 32, 0.72);
}

.image-overlay[hidden] {
  display: none;
}

.overlay-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  place-items: center;
  width: min(1180px, 100%);
  min-height: min(760px, 88svh);
  padding: 0.85rem clamp(0.75rem, 5vw, 5rem) 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

.overlay-panel img {
  width: auto;
  max-width: 100%;
  max-height: min(700px, 74svh);
  border-radius: 6px;
  object-fit: contain;
}

.overlay-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  z-index: 2;
}

.overlay-close::before,
.overlay-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.overlay-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.overlay-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.overlay-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
}

.overlay-nav::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
  content: "";
}

.overlay-prev {
  left: 1rem;
}

.overlay-prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.overlay-next {
  right: 1rem;
}

.overlay-next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.overlay-footer {
  display: grid;
  justify-items: center;
  gap: 0.05rem;
  margin-top: 0.45rem;
}

.overlay-caption,
.overlay-counter {
  margin: 0;
  font-weight: 700;
}

.overlay-caption {
  color: var(--blue);
  font-size: 1rem;
}

.overlay-counter {
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 31, 112, 0.82);
}

.legal-overlay[hidden] {
  display: none;
}

.legal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, 88svh);
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

.legal-panel h2 {
  margin-bottom: 1rem;
  padding-right: 2.5rem;
  font-size: clamp(1.55rem, 4vw, 2.3rem);
}

.legal-panel p {
  color: var(--ink);
}

.legal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.legal-close::before,
.legal-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.legal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.legal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lazy-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lazy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: max(1rem, calc((100vw - 1160px) / 2));
    left: max(1rem, calc((100vw - 1160px) / 2));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem;
  }

  .hero,
  .split,
  .notice,
  .parking,
  .payment {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  }

  .person-photo,
  .person img,
  .photo-placeholder {
    height: clamp(340px, 58vw, 500px);
  }

  .hero {
    min-height: auto;
  }

  .payment-icons,
  .site-footer address {
    justify-content: flex-start;
    text-align: left;
  }

  .legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    min-height: 74px;
  }

  .section {
    scroll-margin-top: 74px;
  }

  .brand img {
    width: 210px;
  }

  .brand span {
    display: block;
    font-size: 0.52rem;
  }

  .section {
    width: min(100% - 1rem, 1160px);
    margin-bottom: 28px;
    padding: 0;
  }

  .notice {
    width: calc(100% - 1rem);
    padding: 1rem 1.1rem;
  }

  .actions,
  .button {
    width: 100%;
  }

  .hours div {
    grid-template-columns: 34px max-content max-content;
    column-gap: clamp(0.85rem, 8vw, 2.4rem);
    padding: 0.42rem 0.55rem;
  }

  .hours strong {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .services,
  .team-grid,
  .image-row {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: clamp(210px, 62vw, 330px);
  }

  .person-photo,
  .person img,
  .photo-placeholder {
    height: clamp(320px, 92vw, 520px);
  }

  .overlay-panel {
    width: 95vw;
    height: 95svh;
    min-height: 0;
    padding: 0.75rem 0.75rem 3.8rem;
  }

  .overlay-panel img {
    max-width: 100%;
    max-height: calc(95svh - 6.4rem);
  }

  .overlay-nav {
    top: auto;
    bottom: 0.9rem;
    width: 38px;
    height: 38px;
    transform: none;
  }

  .overlay-nav::before {
    width: 12px;
    height: 12px;
    border-top-width: 2px;
    border-left-width: 2px;
  }

  .overlay-prev {
    left: calc(50% - 55px);
  }

  .overlay-next {
    right: calc(50% - 55px);
  }

  .overlay-caption {
    font-size: 0.9rem;
  }

  .overlay-counter {
    font-size: 0.78rem;
  }

  .overlay-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 30px;
    height: 30px;
  }

  .overlay-close::before,
  .overlay-close::after {
    width: 15px;
  }

  .site-footer {
    display: block;
  }

  .footer-brand {
    margin-bottom: 1.25rem;
  }
}
