:root {
  --blue: #405ba5;
  --green: #61b348;
  --yellow: #f7e821;
  --orange: #e36c0a;
  --ink: #141414;
  --muted: #62666d;
  --paper: #fbfbf8;
  --glass: rgba(255, 255, 255, 0.78);
  --line: rgba(20, 20, 20, 0.12);
  --shadow: 0 24px 60px rgba(24, 32, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg width='1600' height='900' viewBox='0 0 1600 900' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-120 185C180 330 390 28 688 148c268 108 437 128 703-9 127-65 248-58 344 14' fill='none' stroke='%2361b348' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M-160 575C148 365 420 718 725 604c289-108 350-405 748-456 148-19 238-81 314-196' fill='none' stroke='%23405ba5' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M-90 42C278-62 585 76 887 126c240 40 394-119 612-74 140 29 227 94 302 151' fill='none' stroke='%23f7e821' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M-110 463C160 610 331 446 661 361c361-94 572-174 880-25 102 49 184 63 254 18' fill='none' stroke='%23e36c0a' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-position: center calc(var(--parallax, 0) * -0.2px);
  background-size: cover;
}

a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-color: rgba(64, 91, 165, 0.28);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: color 180ms ease, text-decoration-color 180ms ease, transform 180ms ease;
}

a:hover,
a:focus-visible {
  color: var(--orange);
  text-decoration-color: currentColor;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

p {
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 1rem;
  text-align: left;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: 5.4rem;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h4 {
  font-size: 1rem;
}

.container {
  width: min(1120px, calc(100% - 88px));
  margin-inline: auto;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

[class*="col-md-"],
[class*="col-sm-"] {
  grid-column: span 12;
  min-width: 0;
}

.col-md-4,
.col-sm-4,
.col-sm-8 {
  grid-column: span 4;
}

.col-md-8 {
  grid-column: span 8;
}

.col-md-10 {
  grid-column: 2 / span 10;
}

.site-nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  width: min(1120px, calc(100% - 88px));
  margin: 14px auto -92px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(227, 108, 10, 0.34);
  border-radius: var(--radius);
  background: rgba(227, 108, 10, 0.9);
  box-shadow: 0 16px 40px rgba(227, 108, 10, 0.18);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 220px;
}

.brand-link img {
  width: 100%;
  height: auto;
}

.brand-logo-mark {
  display: none;
}

.site-nav nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav nav::-webkit-scrollbar {
  display: none;
}

.site-nav nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav nav a:hover,
.site-nav nav a:focus-visible,
.site-nav nav a.is-active {
  border-color: rgba(255, 255, 255, 0.46);
  color: #111;
  background: rgba(255, 255, 255, 0.92);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--paper);
  animation: preloader-timeout 420ms ease 1200ms forwards;
  transition: opacity 360ms ease, visibility 360ms ease;
}

body:not(.is-loading) .preloader {
  animation: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.skeleton-shell {
  width: min(760px, calc(100% - 48px));
  display: grid;
  gap: 18px;
}

.skeleton-line,
.skeleton-grid span {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(64, 91, 165, 0.08), rgba(97, 179, 72, 0.2), rgba(247, 232, 33, 0.2), rgba(64, 91, 165, 0.08));
  background-size: 220% 100%;
  animation: skeleton 1.15s ease-in-out infinite;
}

.skeleton-logo {
  width: 42%;
  height: 52px;
}

.skeleton-hero {
  height: 220px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.skeleton-grid span {
  height: 110px;
}

@keyframes skeleton {
  to {
    background-position: -220% 0;
  }
}

@keyframes preloader-timeout {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

#home {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 64vh;
  padding: 130px 0 58px;
  display: grid;
  place-items: center;
  position: relative;
}

#home .col-md-10 {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

.home-wrapper {
  width: min(820px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
}

.hero-logo {
  width: min(520px, 66vw);
  margin: 0 auto 22px;
}

.arrow-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 28px;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 1.35rem;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.12);
}

.arrow-btn:hover {
  transform: translateY(3px);
}

#about,
.placement-banner,
.slideshow,
#team,
footer {
  position: relative;
  padding-block: clamp(70px, 10vw, 116px);
  scroll-margin-top: 140px;
}

#about .about-thumb {
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(24, 32, 58, 0.09);
  backdrop-filter: blur(10px);
  padding: clamp(24px, 4vw, 42px);
}

#about .col-md-4 > div {
  margin-top: 24px;
}

.placement-banner {
  padding-top: 38px;
}

.line-card,
.slideA,
.slideB,
.slideC,
.slideD,
.person-card {
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(24, 32, 58, 0.09);
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.line-card:hover,
.slideA:hover,
.slideB:hover,
.slideC:hover,
.slideD:hover,
.person-card:hover {
  transform: translateY(-5px);
  border-color: rgba(64, 91, 165, 0.26);
  box-shadow: 0 26px 60px rgba(24, 32, 58, 0.15);
}

.notice-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border-top-color: var(--orange);
}

.notice-card p:last-child {
  margin: 0;
  font-size: 1.25rem;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.about-thumb {
  padding: clamp(8px, 2vw, 18px);
}

.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.photobox,
.photo,
.news-img,
.person-card > img,
.img-responsive {
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.16);
}

#about .photobox {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: min(360px, 100%);
  margin-bottom: 26px;
}

.slideshow {
  width: min(1120px, calc(100% - 88px));
  margin-inline: auto;
  background: transparent !important;
  position: relative;
}

.slideHeader {
  margin-bottom: 26px;
  padding-right: 112px;
}

.slideHeader h1 {
  font-size: 3.6rem;
}

.slideA,
.slideB,
.slideC,
.slideD {
  display: none !important;
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 18px;
}

.slideA.is-active,
.slideB.is-active,
.slideC.is-active,
.slideD.is-active {
  display: block !important;
}

.slideA .row,
.slideB .row,
.slideC .row,
.slideD .row {
  align-items: start;
}

.slideA:nth-of-type(4n + 1),
.slideB:nth-of-type(4n + 1),
.slideC:nth-of-type(4n + 1),
.slideD:nth-of-type(4n + 1) {
  border-top-color: var(--green);
}

.slideA:nth-of-type(4n + 2),
.slideB:nth-of-type(4n + 2),
.slideC:nth-of-type(4n + 2),
.slideD:nth-of-type(4n + 2) {
  border-top-color: var(--yellow);
}

.slideA:nth-of-type(4n + 3),
.slideB:nth-of-type(4n + 3),
.slideC:nth-of-type(4n + 3),
.slideD:nth-of-type(4n + 3) {
  border-top-color: var(--orange);
}

.slidebuttonLeft,
.slidebuttonRight {
  display: inline-grid;
  place-items: center;
  position: absolute;
  top: clamp(70px, 10vw, 116px);
  z-index: 3;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid rgba(227, 108, 10, 0.28);
  border-radius: 999px;
  background: rgba(227, 108, 10, 0.92);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(227, 108, 10, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.slidebuttonLeft {
  right: 58px;
}

.slidebuttonRight {
  right: 0;
}

.slidebuttonLeft:hover,
.slidebuttonRight:hover {
  transform: translateY(-2px);
  background: #bf5600;
}

.slidebuttonLeft i,
.slidebuttonRight i {
  display: none;
}

.slidebuttonLeft::before {
  content: "\2039";
  font-size: 2rem;
  line-height: 1;
}

.slidebuttonRight::before {
  content: "\203a";
  font-size: 2rem;
  line-height: 1;
}

.img-float {
  float: right;
  width: min(300px, 42%);
  margin: 0 0 18px 26px;
}

.news-img {
  width: 100%;
}

.photo {
  margin: 0 auto;
  object-fit: cover;
}

.slide_1,
.slide_2 {
  display: inline-block;
  width: calc(50% - 8px) !important;
  max-width: 148px !important;
  aspect-ratio: 1 / 1;
  margin: 0 8px 8px 0;
  object-fit: cover;
  vertical-align: top;
}

#team {
  background: rgba(255, 255, 255, 0.54);
}

#team h1 center {
  display: block;
}

#team h1 {
  margin-bottom: 42px;
  text-align: center;
}

#team h2 {
  margin: 48px 0 22px;
  padding-left: 18px;
  border-left: 4px solid var(--orange);
  font-size: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.person-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: start;
  min-height: 100%;
  padding: 8px;
  overflow: hidden;
  border-top-color: var(--orange);
  background: rgba(255, 255, 255, 0.7);
}

.person-card:empty {
  display: none;
}

.person-card-empty {
  display: none !important;
}

@supports selector(.person-card:has(img)) {
  .person-card:not(:has(img)):not(:has(.person-info)) {
    display: none !important;
  }
}

.person-card > img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.22);
}

.person-info {
  padding: 8px 8px 8px 0;
}

.name {
  display: inline-block;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  text-transform: uppercase;
  background: var(--green);
  padding: 8px 12px;
  margin: 12px 0 8px -28px;
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.18);
}

.qualifikation,
.resort {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 8px;
  padding: 9px 10px;
  box-shadow: 0 6px 16px rgba(20, 20, 20, 0.12);
}

.resort {
  color: var(--ink);
  font-weight: 500;
}

.contact {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  grid-column: 1 / -1;
  font-size: 0.8rem;
}

.contact img {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  box-shadow: none;
}

.center {
  text-align: center;
}

footer {
  background: rgba(227, 108, 10, 0.96);
  color: #fff;
}

footer h4 {
  margin-bottom: 12px;
  color: #fff;
}

.social-icon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
}

.footer-tabs {
  display: grid;
  gap: 22px;
}

.footer-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tab {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 9px 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-tab:hover,
.footer-tab:focus-visible,
.footer-tab.is-active {
  background: #fff;
  color: var(--orange);
  transform: translateY(-1px);
}

.footer-panel {
  min-height: 150px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(20, 20, 20, 0.1);
}

.footer-panel p,
.footer-panel a {
  color: #fff;
}

.dash-line {
  display: none;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 900px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .slideHeader h1 {
    font-size: 2.7rem;
  }

  .notice-card p:last-child {
    font-size: 1.12rem;
  }

  #team h2 {
    font-size: 1.6rem;
  }

  .site-nav {
    align-items: center;
    flex-direction: row;
    margin-bottom: -92px;
  }

  .brand-link {
    width: 58px;
  }

  .brand-logo-full {
    display: none;
  }

  .brand-logo-mark {
    display: block;
  }

  .col-md-4,
  .col-sm-4,
  .col-sm-8,
  .col-md-8,
  .col-md-10 {
    grid-column: span 12;
  }

  #home {
    min-height: 58vh;
    padding-top: 140px;
    padding-bottom: 44px;
  }

  .notice-card {
    grid-template-columns: 1fr;
  }

  .img-float {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .slideHeader h1 {
    font-size: 2.1rem;
  }

  .slideHeader {
    margin-bottom: 82px;
    padding-right: 0;
  }

  .slidebuttonLeft,
  .slidebuttonRight {
    top: calc(clamp(70px, 10vw, 116px) + 58px);
  }

  .container,
  .slideshow {
    width: min(100% - 28px, 1160px);
  }

  .site-nav {
    width: calc(100% - 20px);
    top: 10px;
    gap: 6px;
    padding: 8px;
  }

  .brand-link {
    width: 42px;
  }

  .site-nav nav {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(5, max-content);
    justify-content: end;
    min-width: 0;
    overflow: visible;
    gap: 2px;
  }

  .site-nav nav a {
    font-size: 0.68rem;
    padding: 6px 4px;
    text-align: center;
  }

  #home {
    min-height: 54vh;
    padding-top: 118px;
    padding-bottom: 36px;
  }

  .home-wrapper {
    padding: 22px;
  }

  .hero-logo {
    width: min(330px, 86vw);
    margin-bottom: 16px;
  }

  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  #team,
  #team .person-card {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 380px) {
  .brand-link {
    width: 38px;
  }

  .site-nav nav a {
    font-size: 0.61rem;
    padding-inline: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
