:root {
  --ink: #17121d;
  --paper: #f4f1f7;
  --white: #ffffff;
  --accent: #7127c8;
  --accent-dark: #4f148f;
  --accent-soft: #e9dcf8;
  --violet-black: #21122f;
  --line: rgba(55, 30, 75, .14);
  --muted: #665f6d;
  --max: 1240px;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #a86bf0; outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: .75rem;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: .75rem;
  z-index: 30;
  padding: 0 1rem;
  pointer-events: none;
}
.header-inner {
  max-width: var(--max);
  min-height: 82px;
  margin: 0 auto;
  padding: .45rem .55rem .45rem .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(55, 30, 75, .12);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 50px rgba(40, 17, 58, .1);
  backdrop-filter: blur(20px);
  pointer-events: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: .9rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
}
.nav a {
  padding: .7rem .85rem;
  border-radius: 999px;
  color: #443b4c;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav a:hover { color: var(--accent-dark); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--white); background: var(--violet-black); }
.nav a[href="/contact.html"], .nav a[href="/en/contact.html"] {
  margin-left: .2rem;
  color: var(--white);
  background: var(--accent);
}
.nav a[href="/contact.html"]:hover, .nav a[href="/en/contact.html"]:hover { background: var(--accent-dark); transform: translateY(-1px); }
.language-link {
  margin-left: .35rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 1rem;
  background: var(--violet-black);
  color: var(--white);
  cursor: pointer;
}

.hero {
  --hero-gutter: max(1.5rem, calc((100vw - var(--max)) / 2));
  --hero-image-width: min(42vw, 560px);
  position: relative;
  min-height: min(790px, calc(100vh - 1rem));
  margin-top: -82px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 76%, rgba(113, 39, 200, .14), transparent 24rem),
    var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 var(--hero-gutter) 0 auto;
  width: var(--hero-image-width);
  background-color: #e8e5e9;
  background-image: var(--hero-image);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom-left-radius: 6rem;
}
.hero::after {
  content: "";
  position: absolute;
  right: calc(var(--hero-gutter) + var(--hero-image-width) - 4.25rem);
  bottom: 5rem;
  width: 8.5rem;
  height: 8.5rem;
  border: 1.35rem solid var(--accent);
  border-radius: 50%;
  background: var(--paper);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 3rem));
  min-height: min(790px, calc(100vh - 1rem));
  margin: 0 auto;
  padding: clamp(9.5rem, 15vh, 12rem) calc(var(--hero-image-width) + 3rem) clamp(4rem, 8vh, 6rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-brand {
  display: block;
  width: min(340px, 100%);
  margin: 0 0 1.35rem;
  text-decoration: none;
}
.hero-brand img {
  width: 100%;
  height: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.35rem;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2rem; border-top: 3px solid var(--accent); }
.hero .hero-display-heading {
  max-width: 660px;
  margin: 0;
  color: inherit;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.6vw, 6.9rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.075em;
}
.hero p {
  max-width: 560px;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.25rem;
  border: 1px solid var(--violet-black);
  border-radius: 999px;
  background: var(--violet-black);
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--accent-dark); border-color: var(--accent-dark); }
.button.light { background: var(--accent); color: var(--white); border-color: var(--accent); }
.button.ghost { background: transparent; color: var(--ink); border-color: rgba(23,18,29,.35); }

.page-hero {
  max-width: var(--max);
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  padding: 0 1.5rem clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(380px, 1.18fr);
  gap: 0;
  align-items: stretch;
}
.page-hero > div {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 7vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 2.5rem 0 0 2.5rem;
  background: var(--violet-black);
  color: var(--white);
}
.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.07em;
}
.page-hero p { max-width: 520px; margin: 1.3rem 0 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.page-hero img {
  width: 100%;
  min-height: 520px;
  height: 100%;
  object-fit: cover;
  border-radius: 0 2.5rem 2.5rem 0;
  filter: saturate(.72) contrast(1.05);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 1.5rem;
}
.section.compact { padding-top: 1.5rem; padding-bottom: 4rem; }
.section.dark {
  max-width: calc(var(--max) - 3rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-left: clamp(2rem, 6vw, 5rem);
  padding-right: clamp(2rem, 6vw, 5rem);
  border-radius: 2.5rem;
  background: var(--violet-black);
  color: var(--white);
}
.section.dark > .section-inner { max-width: var(--max); margin: 0 auto; }
.section-header {
  display: grid;
  grid-template-columns: .7fr 2.3fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: end;
}
.section-kicker { margin: 0; color: #8b39e5; font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.page-hero .section-kicker, .section.dark .section-kicker { color: #caa4f5; }
.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.25rem, 4.7vw, 4.8rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.06em;
}
.lead {
  max-width: 970px;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.035em;
}
.prose { max-width: 760px; }
.prose h2, .policy h2 { margin: 2.5rem 0 1rem; font-family: var(--display); font-size: 2rem; line-height: 1.05; }
.prose h3, .policy h3 { margin: 2rem 0 .75rem; font-size: 1.1rem; }
.prose p, .policy p { margin: 0 0 1.1rem; }
.prose a, .policy a { text-decoration-color: var(--accent); text-underline-offset: .2em; }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.card {
  grid-column: span 4;
  min-height: 330px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  border-radius: 2rem;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:nth-child(1) { background: var(--accent); color: var(--white); box-shadow: none; }
.card:nth-child(1) .card-number, .card:nth-child(1) p { color: rgba(255,255,255,.78); }
.card:nth-child(2) { background: var(--accent-soft); }
.card:hover { transform: translateY(-7px) rotate(-.35deg); box-shadow: 0 22px 45px rgba(60, 24, 88, .13); }
.card-number { color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .13em; }
.card h3 { margin: 2rem 0 .5rem; font-family: var(--display); font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -.045em; }
.card p { margin: 0; color: var(--muted); }
.card .arrow { align-self: flex-end; font-size: 1.8rem; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2rem; }
.quote {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
}
.quote cite { display: block; margin-top: 1.2rem; color: #c397f5; font-family: var(--sans); font-size: .78rem; font-style: normal; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

.team-grid {
  columns: 2 360px;
  column-gap: 1.25rem;
  max-width: 940px;
}
.team-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 1.25rem;
  break-inside: avoid;
  vertical-align: top;
  overflow: hidden;
  border-radius: 1.6rem;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.team-card:nth-child(even) { margin-top: 2.75rem; }
.team-card-summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1.25rem 1.25rem .85rem;
}
.team-photo-button {
  position: relative;
  width: 118px;
  height: 138px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-radius: 1rem;
  background: var(--accent-soft);
  cursor: zoom-in;
  box-shadow: 0 8px 22px rgba(112, 38, 199, .12);
}
.team-photo-button::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 25%;
  background: linear-gradient(120deg, rgba(73, 18, 126, .9), rgba(112, 38, 199, .76) 58%, rgba(195, 151, 245, .66));
  border-top: 1px solid rgba(255, 255, 255, .34);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.team-photo-button::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 1%;
  z-index: 2;
  width: 84%;
  height: 23%;
  background: transparent url('/assets/images/not-only-pilates-logo-main.png') center / contain no-repeat;
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(37, 10, 66, .38));
  opacity: .88;
  pointer-events: none;
}
.team-photo-button img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center center;
  background: var(--accent-soft);
  filter: grayscale(1) contrast(1.02);
}
.team-photo-button:hover,
.team-photo-button:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(112, 38, 199, .14);
}
.team-card-identity { min-width: 0; }
.team-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
}
.team-card .role { margin: .25rem 0 1rem; color: var(--accent-dark); font-size: .82rem; font-weight: 750; }
.team-card .team-languages {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.4;
}
.team-card-body { padding: 0 1.25rem 1.25rem; }
.team-card details { border-top: 1px solid var(--line); padding-top: .85rem; }
.team-card details h4 { margin: 1.15rem 0 .45rem; font-size: 1rem; }
.team-card details ul { margin: .35rem 0 0; padding-left: 1.2rem; }
.team-card details li + li { margin-top: .35rem; }
.team-card details summary { cursor: pointer; font-weight: 750; }

.team-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 3vw, 2rem);
  background: rgba(18, 14, 23, .88);
  backdrop-filter: blur(6px);
}
.team-photo-lightbox[hidden] { display: none; }
.team-photo-lightbox-dialog {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1100px, 94vw);
  height: min(92vh, 1000px);
}
.team-photo-lightbox-media {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 92vh;
  overflow: hidden;
  border: 3px solid var(--accent);
  border-radius: 1rem;
  background: var(--accent-soft);
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  line-height: 0;
}
.team-photo-lightbox-media::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 20%;
  background:
    linear-gradient(90deg, transparent 60%, rgba(82, 26, 131, .72) 72%, transparent 84%),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(255,255,255,.14) 8px 10px, transparent 10px 18px) right top / 38% 50% no-repeat,
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.11) 8px 10px, transparent 10px 18px) right bottom / 38% 50% no-repeat,
    linear-gradient(90deg, rgba(202, 169, 241, .76) 0%, rgba(137, 68, 211, .84) 48%, rgba(58, 13, 99, .95) 100%);
  border-top: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.team-photo-lightbox-media::after {
  content: "";
  position: absolute;
  right: 15%;
  bottom: 1%;
  z-index: 2;
  width: 70%;
  height: 18%;
  background: transparent url('/assets/images/not-only-pilates-logo-main.png') center / contain no-repeat;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(37, 10, 66, .4));
  opacity: .86;
  pointer-events: none;
}
.team-photo-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: calc(1rem - 3px);
  background: transparent;
}
.team-photo-lightbox-close {
  position: absolute;
  top: .2rem;
  right: .2rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: rgba(17,17,17,.72);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
body.team-photo-open { overflow: hidden; }

.faq { display: grid; gap: .7rem; }
.faq details { padding: 1.25rem 1.4rem; border-radius: 1.15rem; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; font-size: 1.04rem; font-weight: 750; }
.faq details p { max-width: 780px; margin-bottom: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 6rem); }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-list li { margin-bottom: .5rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 750; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1rem;
  background: rgba(255,255,255,.08);
  color: var(--white);
  padding: .75rem .9rem;
}
.section:not(.dark) .field input, .section:not(.dark) .field textarea { border-color: var(--line); background: var(--white); color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { grid-column: 1 / -1; color: rgba(255,255,255,.58); font-size: .84rem; }

.policy { max-width: 920px; padding-top: 7rem; }
.policy h1 { font-family: var(--display); font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; }
.policy ul { padding-left: 1.2rem; }
.policy .table-of-contents { padding: 1.4rem 1.6rem; border-radius: 1.25rem; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

.site-footer {
  max-width: calc(100% - 2rem);
  margin: 0 1rem 1rem;
  overflow: hidden;
  border-radius: 2.5rem;
  background: var(--accent);
  color: rgba(255,255,255,.8);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
.site-footer h2 { margin: 0 0 1rem; color: var(--white); font-family: var(--display); font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 900; line-height: .96; letter-spacing: -.055em; }
.site-footer a { color: inherit; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .22em; }
.footer-links { display: grid; gap: .45rem; align-content: start; }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .78rem; }

@media (max-width: 1000px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    left: 1rem;
    right: 1rem;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 50px rgba(40,17,58,.16);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 1rem; }
  .nav a[href="/kontakt/"], .nav a[href="/en/contact/"] { margin-left: 0; }
  .language-link { align-self: flex-start; margin-left: 0; }
  .hero {
    --hero-gutter: 1.5rem;
    --hero-image-width: min(46vw, 500px);
  }
  .hero::before { background-size: contain; background-position: center; }
  .hero-content { padding-right: calc(var(--hero-image-width) + 2rem); }
  .page-hero { grid-template-columns: .9fr 1.1fr; }
  .page-hero > div { padding: 3rem; }
  .page-hero img { min-height: 440px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .card { grid-column: span 6; }
  .card:last-child { grid-column: 4 / span 6; }
}

@media (max-width: 860px) {
  .team-grid { columns: 1; }
  .team-card:nth-child(even) { margin-top: 0; }
}

@media (max-width: 700px) {
  .site-header { top: .5rem; padding: 0 .5rem; }
  .header-inner { min-height: 70px; padding: .35rem .4rem .35rem .55rem; border-radius: 1.2rem; }
  .brand-logo { width: 58px; height: 58px; }
  .hero {
    min-height: 900px;
    margin-top: -70px;
    padding-top: 70px;
  }
  .hero::before {
    inset: 70px 0 auto;
    width: 100%;
    height: 46%;
    background-size: cover;
    background-position: center 18%;
    border-radius: 0 0 3rem 3rem;
  }
  .hero::after { right: 1rem; bottom: 42%; width: 6rem; height: 6rem; border-width: 1rem; }
  .hero-content {
    width: calc(100% - 2rem);
    min-height: 900px;
    padding: 52vh 0 3.5rem;
    justify-content: flex-end;
  }
  .hero .hero-display-heading { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero-brand { width: min(245px, 75vw); margin-bottom: .85rem; }
  .page-hero {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .page-hero > div { padding: 2.3rem 1.5rem; border-radius: 2rem 2rem 0 0; }
  .page-hero img { min-height: 320px; max-height: 420px; border-radius: 0 0 2rem 2rem; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .section.dark { max-width: calc(100% - 2rem); border-radius: 2rem; }
  .section-header { grid-template-columns: 1fr; gap: .75rem; }
  .grid { grid-template-columns: 1fr; }
  .card, .card:last-child { grid-column: 1; min-height: 260px; }
  .team-grid { columns: 1; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer { max-width: calc(100% - 1rem); margin: 0 .5rem .5rem; border-radius: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}



/* Dismissible under-construction landing overlay */
.construction-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(23, 18, 29, .82);
  backdrop-filter: blur(7px);
}
.construction-dialog {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 1.6rem;
  background: #111;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
}
.construction-dialog img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
}
.construction-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(17,17,17,.72);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.construction-close:hover { background: rgba(17,17,17,.92); }
body.construction-open { overflow: hidden; }
@media (max-width: 700px) {
  .construction-overlay { padding: .6rem; }
  .construction-dialog { width: 100%; border-radius: 1.15rem; }
  .construction-close { top: .55rem; right: .55rem; width: 42px; height: 42px; }
}

/* Site-wide launch switch: location details are visible only when Under Construction is OFF. */
.location-only { display: none !important; }
body.site-live .location-only { display: revert !important; }

@media (max-width: 520px) {
  .team-card-summary { grid-template-columns: 92px minmax(0, 1fr); gap: .9rem; padding: 1rem 1rem .75rem; }
  .team-photo-button { width: 92px; height: 108px; border-radius: .85rem; }
  .team-card-body { padding: 0 1rem 1rem; }
}

.footer-links .instructor-link{display:inline-flex;width:max-content;align-items:center;margin-top:.65rem;padding:.5rem .85rem;border:1px solid rgba(255,255,255,.4);border-radius:999px;font-size:.86rem;font-weight:700;text-decoration:none}.footer-links .instructor-link:hover,.footer-links .instructor-link:focus-visible{background:rgba(255,255,255,.16);text-decoration:underline}

.site-version-marker{margin-left:.65rem;font-size:.65rem;letter-spacing:.05em;opacity:.42;white-space:nowrap}

.team-role{margin:.1rem 0;font-size:.78rem;color:var(--muted,#776b7e)}
.pricing-link{text-align:center;padding-top:2rem;padding-bottom:2rem}
.schedule-days{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.5rem}.schedule-day{padding:1.25rem;border:1px solid #ddd4e3;border-radius:12px;background:#fff}.schedule-day h3{margin:0 0 .7rem}.schedule-class{display:grid;gap:.2rem;padding:.7rem 0;border-top:1px solid #eee}.schedule-class small{color:#665b6f}.schedule-empty{color:#746a77}.schedule-status{font-weight:600;color:#624e72}

#scheduleList .manageitem{flex-wrap:wrap;justify-content:flex-start}#scheduleList .manageitem select{width:auto;min-width:120px}#scheduleList .manageitem input[type=time]{width:110px}#typesList .manageitem{flex-wrap:wrap}#typesList .manageitem>.group:last-child{width:100%;padding:.4rem 0}

/* Weekly timetable */
#gruppenplan{padding-top:clamp(3rem,6vw,6rem);padding-bottom:clamp(3rem,6vw,6rem)}
.schedule-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:2rem}
.schedule-day{min-width:0;padding:1.35rem 1.45rem;border:1px solid #e4dce9;border-radius:18px;background:linear-gradient(155deg,#fff 65%,#faf7fc);box-shadow:0 12px 32px rgba(58,39,73,.045)}
.schedule-day-heading{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-bottom:.45rem}
.schedule-day-heading h3{margin:0;color:#463256;font-size:1.25rem}.schedule-day-heading>span{font-size:.75rem;font-weight:700;letter-spacing:.1em;color:#907f9e}
.schedule-class{display:flex;align-items:center;gap:1rem;padding:1rem 0;border-top:1px solid #eee8f1}
.schedule-time{flex:0 0 3.5rem;font-size:1.06rem;font-variant-numeric:tabular-nums;color:#392845}
.schedule-details{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;min-width:0;font-size:.92rem;line-height:1.25}
.schedule-status{display:inline-flex;align-items:center;gap:.4rem;padding:.28rem .65rem;border-radius:100px;font-size:.74rem;font-weight:700;white-space:nowrap}
.schedule-status:before{content:'';width:.42rem;height:.42rem;border-radius:50%;background:currentColor}
.status-space{background:#e5f2ed;color:#216653}.status-new{background:#f0e8f8;color:#654582}.status-full{background:#ecebf0;color:#575363}
.schedule-request{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-top:1.5rem;padding:1.5rem 1.7rem;border-radius:18px;background:#f4eef7;border:1px solid #e6dceb}
.schedule-request-kicker{text-transform:uppercase;letter-spacing:.13em;font-size:.68rem;font-weight:700;color:#765a89}
.schedule-request h3{margin:.25rem 0;color:#453151;font-size:1.2rem}.schedule-request p{margin:0;max-width:58ch;color:#5e5268}.schedule-request .button{flex-shrink:0}
@media(max-width:950px){.schedule-days{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.schedule-days{grid-template-columns:1fr}.schedule-request{align-items:flex-start;flex-direction:column}.schedule-request .button{width:100%;text-align:center}}

#gruppenplan .schedule-request{margin-top:1.25rem}.schedule-view-heading{margin:2.6rem 0 -.5rem;color:#453151;font-size:1.3rem;font-weight:750}

.section.pricing-link{display:flex;align-items:center;justify-content:flex-end;gap:1.5rem;flex-wrap:wrap;padding-top:1.25rem;padding-bottom:1.25rem;text-align:right}.pricing-link .group-timetable-link{margin-right:auto;color:#604276;font-weight:700;text-decoration:underline;text-underline-offset:3px}.schedule-private-note{max-width:72ch;margin:1.5rem 0 0;color:#645a6a;font-size:.92rem;line-height:1.55}@media(max-width:650px){.section.pricing-link{gap:1rem}.pricing-link .group-timetable-link{width:100%;text-align:left}}

#gruppenplan .schedule-private-note{max-width:none;display:flex;align-items:flex-start;gap:.8rem;margin:1.4rem 0 0;padding:1rem 0 0;border-top:1px solid #e5dfe9;color:#726979;font-size:.83rem;line-height:1.5}
.schedule-private-note p{margin:0;max-width:78ch}.schedule-note-mark{display:inline-grid;place-items:center;flex:0 0 1.2rem;width:1.2rem;height:1.2rem;border:1px solid #bfb3ca;border-radius:50%;font-family:Georgia,serif;font-size:.78rem;font-style:italic;font-weight:700;color:#725d82}

/* A brighter studio palette with purple highlights and clear text. */
:root { --paper: #faf6ff; --accent: #792bd1; --accent-dark: #52169c; --accent-soft: #eddbff; --violet-black: #28143d; --ink: #21152d; --muted: #5e5369; }
.hero { background: radial-gradient(circle at 16% 76%, rgba(154, 81, 232, .22), transparent 27rem), linear-gradient(115deg, #fffaff 0%, #f1e5ff 100%); }
.hero::after { background: #f4e9ff; }
.page-hero img { filter: saturate(.92) contrast(1.04); }
.card:nth-child(2) { background: #ead5ff; }
.section:not(.dark) .quote cite { color: var(--accent-dark); }
#gruppenplan .section-header{margin-bottom:1.7rem}
#gruppenplan .schedule-request{margin-top:0;border:1px solid #e4dbe9;border-radius:14px;background:#f4f0f6;padding:1.35rem 1.6rem}
.schedule-request h3{font-weight:690}.schedule-view-heading{font-weight:700;margin:2.5rem 0 .15rem;font-size:1.35rem}
.schedule-days{gap:.85rem;margin-top:1rem}.schedule-day{border-radius:14px;background:#fff;box-shadow:none;padding:1.15rem 1.3rem}.schedule-day-heading h3{font-weight:700}
.schedule-class{padding:.85rem 0}.schedule-status{border-radius:6px;font-weight:680}
#gruppenplan .schedule-private-note{gap:.55rem;align-items:center;margin-top:1.1rem;padding:.75rem 0 0;border-top:1px solid var(--line);font-size:.78rem;line-height:1.4;white-space:nowrap}
.schedule-note-mark{flex-basis:1rem;width:1rem;height:1rem;font-size:.68rem}.schedule-private-note p{max-width:none}
@media(max-width:900px){#gruppenplan .schedule-private-note{white-space:normal}.page-hero>div{border-radius:18px 18px 0 0}.page-hero img{border-radius:0 0 18px 18px}}

/* Keep quotes legible on both light and dark sections. */
.section:not(.dark) .quote { color: var(--ink); }
.section.dark .quote { color: var(--white); }

/* About page location map */
.location-showcase {
  padding-top: clamp(1rem, 3vw, 2.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.location-showcase-link {
  display: block;
  overflow: hidden;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 18px 55px rgba(52, 31, 68, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.location-showcase-link:hover,
.location-showcase-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 64px rgba(52, 31, 68, .12);
}
.location-showcase-link:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 4px;
}
.location-showcase img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 700px) {
  .location-showcase { padding-top: .5rem; padding-bottom: 3.5rem; }
  .location-showcase-link { border-radius: 1.1rem; }
}

/* Liquid glass · v1.0.7 */
:root { --glass-edge: rgba(255,255,255,.86); --glass-shadow: 0 18px 48px rgba(85,37,126,.09), inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 rgba(167,115,219,.16); }
body { background: radial-gradient(ellipse at 0% 12%,#e8d5ff 0,transparent 38%),radial-gradient(ellipse at 100% 55%,#e5f6f1 0,transparent 36%),linear-gradient(140deg,#fcfaff,#f4eafa 55%,#f8f5ff); }
.header-inner,.team-card,.faq details,.schedule-day,.schedule-request,.policy .table-of-contents { background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.65));border:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:blur(22px) saturate(130%);backdrop-filter:blur(22px) saturate(130%); }
.header-inner { box-shadow:0 12px 36px rgba(72,33,109,.13),inset 0 1px 0 #fff,inset 0 -1px 0 #d9c3ef; }
.nav a[aria-current="page"],.nav a[href="/contact.html"],.nav a[href="/en/contact.html"],.button,.button.light { background:linear-gradient(145deg,#9654e3,#6e25bb 75%);border:1px solid #ac7cde;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 6px 18px rgba(112,39,187,.17);color:#fff; }
.button.ghost,.language-link { background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(242,229,255,.78));border:1px solid #cfb4e7;color:#4f148f;box-shadow:inset 0 1px 0 #fff,0 5px 18px rgba(100,51,144,.07); }
.button:hover { background:linear-gradient(145deg,#8441d1,#571691); }
.hero { background:radial-gradient(ellipse at 15% 75%,rgba(173,109,242,.24),transparent 52%),linear-gradient(130deg,rgba(255,255,255,.6),rgba(237,221,255,.55)); }
.hero::after { border-color:rgba(153,83,224,.62);background:rgba(255,255,255,.55);box-shadow:inset 0 2px 8px #fff,0 15px 35px rgba(118,53,168,.18); }
.page-hero>div,.section.dark { background:linear-gradient(145deg,rgba(61,27,89,.96),rgba(102,46,143,.94));border:1px solid rgba(223,191,255,.55);box-shadow:0 20px 55px rgba(78,28,118,.16),inset 0 1px 0 rgba(255,255,255,.28); }
.page-hero p,.section.dark .form-note { color:#eee1f9; }
.page-hero img,.split img { box-shadow:0 18px 45px rgba(91,41,132,.12); }
.card { border:1px solid var(--glass-edge);background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(247,237,255,.72));box-shadow:var(--glass-shadow); }
.card:nth-child(1) { background:linear-gradient(145deg,#944ae2,#7023be);border-color:#bf8cef;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 18px 42px rgba(111,39,179,.17); }
.card:nth-child(1) p,.card:nth-child(1) .card-number { color:#f7eefe; }
.card:nth-child(2) { background:linear-gradient(145deg,rgba(245,232,255,.95),rgba(222,194,251,.7)); }
.card:hover { transform:translateY(-4px); }
.field input,.field textarea { box-shadow:inset 0 1px 0 rgba(255,255,255,.2);border-color:rgba(221,193,247,.55);background:rgba(255,255,255,.12); }
.section:not(.dark) .field input,.section:not(.dark) .field textarea { background:rgba(255,255,255,.88);border-color:#d4bce8;color:var(--ink); }
.site-footer { background:linear-gradient(130deg,#7833bf,#562184);border-top:1px solid #d2a8fa;box-shadow:inset 0 1px 0 rgba(255,255,255,.32); }
.location-showcase-link { background:rgba(255,255,255,.48);border:1px solid #f5edff;box-shadow:var(--glass-shadow); }
@media(max-width:1000px) { .nav { background:rgba(255,255,255,.96);border:1px solid #e7d4f6;box-shadow:var(--glass-shadow); } }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { .header-inner,.team-card,.faq details,.schedule-day,.schedule-request { background:#fcf9ff; } }
@media(prefers-reduced-motion:reduce) { .card:hover,.button:hover,.location-showcase-link:hover { transform:none; } }

/* Unified surfaces · v1.0.8 */
:root{--radius-panel:1.75rem;--radius-small:1rem;--glass-shadow:0 12px 34px rgba(75,35,110,.075),inset 0 1px 0 rgba(255,255,255,.95);--glass-edge:rgba(255,255,255,.8)}
body{background:radial-gradient(ellipse at 0% 8%,rgba(225,202,252,.5),transparent 42%),radial-gradient(ellipse at 100% 58%,rgba(219,242,233,.45),transparent 40%),#f8f5fc}
.header-inner{border-radius:var(--radius-panel);box-shadow:var(--glass-shadow)}
.card,.team-card,.section.dark,.policy .table-of-contents,.split img{border-radius:var(--radius-panel)}
.schedule-day,.schedule-request,.faq details{border-radius:var(--radius-small);box-shadow:var(--glass-shadow)}
.card,.team-card,.schedule-day,.schedule-request,.faq details{background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(249,244,255,.8));border:1px solid rgba(143,98,177,.15)}
.card:nth-child(1){background:linear-gradient(145deg,#8743cf,#6821ac);color:#fff;border-color:rgba(255,255,255,.4)}
.card:nth-child(2){background:linear-gradient(145deg,#f6edff,#e9d8fa)}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(75,35,110,.12)}
.page-hero>div{border-radius:var(--radius-panel) 0 0 var(--radius-panel)}
.page-hero img{border-radius:0 var(--radius-panel) var(--radius-panel) 0}
.section.dark{background:linear-gradient(135deg,#382147,#623480);border:1px solid rgba(230,209,247,.4);box-shadow:var(--glass-shadow)}
.section-header{align-items:center;margin-bottom:clamp(1.75rem,4vw,3rem)}
.section-kicker{color:#6d2ba6}.section.dark .section-kicker,.page-hero .section-kicker{color:#e1c4ff}
.button,.nav a,.field input,.field textarea,.location-showcase-link{transition:background .2s ease,box-shadow .2s ease,border-color .2s ease,transform .2s ease}
.button:focus-visible,.nav a:focus-visible,.location-showcase-link:focus-visible{outline:3px solid #8f48d0;outline-offset:4px}
.location-showcase{padding-top:clamp(1rem,3vw,2.5rem)}
.location-showcase-link{border-radius:var(--radius-panel);padding:.4rem;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(238,222,251,.8));border:1px solid rgba(143,98,177,.18);box-shadow:var(--glass-shadow)}
.location-showcase img{border-radius:calc(var(--radius-panel) - .4rem);width:100%;height:auto}
.location-showcase-link:hover{transform:none;box-shadow:0 16px 38px rgba(75,35,110,.12)}
.location-map-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:1.1rem;color:var(--muted);font-size:.9rem}
.location-map-actions p{margin:0}.location-map-actions .button{min-height:44px;font-size:.86rem}
.field input:focus,.field textarea:focus{border-color:#bd8ee4;outline:2px solid #bd8ee4;outline-offset:2px}
@media(max-width:860px){.page-hero>div{border-radius:var(--radius-panel) var(--radius-panel) 0 0}.page-hero img{border-radius:0 0 var(--radius-panel) var(--radius-panel)}}
@media(max-width:700px){:root{--radius-panel:1.25rem}.location-map-actions{align-items:flex-start;flex-direction:column}.location-showcase-link{padding:.25rem}.location-showcase img{border-radius:1rem}}
@media(prefers-reduced-motion:reduce){.button,.nav a,.card,.location-showcase-link{transition:none}.card:hover,.button:hover{transform:none}}

/* Wider team biographies on desktop · v1.0.9 */
@media (min-width: 861px) {
  .team-grid { max-width: 100%; column-gap: 1.5rem; }
  .team-card-body { padding-left: 1.5rem; padding-right: 1.5rem; }
  .team-card details p { line-height: 1.7; }
}

/* Responsive clickable map · v1.0.11 */
.location-showcase-link{max-width:100%;min-width:0}
.location-showcase .location-showcase-link img{display:block;width:100%;max-width:100%;height:auto}
@media(max-width:700px){
 .location-showcase .section-header{grid-template-columns:1fr;gap:.75rem}
 .location-map-actions .button{width:100%;text-align:center}
}

/* Compact contact forms · v1.0.12 */
#anfrage.section{padding-top:clamp(2rem,4vw,3.5rem);padding-bottom:clamp(2rem,4vw,3.5rem)}
#anfrage .contact-grid{gap:clamp(1.5rem,4vw,3rem);align-items:start}
#anfrage h2{font-size:clamp(1.8rem,3.1vw,3rem);line-height:1.08;letter-spacing:-.04em}
#anfrage .contact-grid>div>p{font-size:.96rem;max-width:38ch;margin-top:1rem}
.contact-form{gap:.7rem .85rem;align-content:start}
.contact-form .field{gap:.3rem;min-width:0}
.contact-form .field label{font-size:.76rem;font-weight:650;line-height:1.4}
.contact-form .field input,.contact-form .field textarea{min-height:44px;padding:.55rem .75rem;border-radius:.65rem;line-height:1.4;font-size:1rem;background:rgba(255,255,255,.1)}
.contact-form .field textarea{min-height:108px;resize:vertical}
.contact-form .button{min-height:44px;padding:.6rem 1.15rem;font-size:.9rem;justify-self:start}
.contact-form .form-note{margin:.1rem 0 0;font-size:.76rem;line-height:1.45;color:#e4d7ee}
@media(max-width:700px){#anfrage.section{padding:1.75rem 1.25rem}.contact-form .button{width:100%;justify-self:stretch}.contact-form .field textarea{min-height:100px}}

/* Public opening announcement: responsive and in normal document flow. */
.opening-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .25rem 1.25rem;
  padding: .8rem 1.25rem;
  background: linear-gradient(115deg, #4f148f, #7127c8);
  color: #fff;
  text-align: center;
  line-height: 1.5;
}
.opening-banner strong { font-size: 1.05rem; }
.opening-banner span { font-size: .9rem; }
@media (max-width: 600px) {
  .opening-banner { flex-direction: column; padding: .75rem 1rem; gap: .15rem; }
}

.freelancer-notice { margin-bottom: 1.5rem; padding: 1rem; border-left: 3px solid #7950b5; background: #f4f0f8; color: #25202d; }
.freelancer-notice h4 { margin: 0 0 .6rem; }
.freelancer-notice p { margin: 0; }
