/* OaseBad – Platzhalterseite „Wartungsarbeiten“
   Look nach oasebad.at: weiße Kopfzeile mit hängendem Logo, blaue Bühne mit Bild + rotem Balken,
   hellgrauer Inhaltsbereich, graublauer Footer. Schrift Open Sans (lokal). */

@font-face {
  font-family: "Open Sans";
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/open-sans-latin-wght.woff2") format("woff2");
}

:root {
  --blue: #3333ff;
  --red: #f00a0a;
  --slate: #4c5a67;
  --mist: #eef2f5;
  --steel: #a9bfce;
  --wrap: 64.5rem;
  --gutter: clamp(1rem, .5rem + 2.5vw, 1.5rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--mist);
  color: var(--slate);
  font: 400 1rem/1.6 "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Kopfzeile mit hängendem Logo ---------- */

.top {
  position: relative;
  z-index: 2;
  height: clamp(3.5rem, 2.8rem + 2vw, 4.375rem);
  background: #fff;
}
.top__inner {
  position: relative;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
}
.top__logo {
  position: absolute;
  top: 0;
  left: var(--gutter);
  display: block;
  width: clamp(5.5rem, 4rem + 5vw, 8.75rem);
}
.top__logo img { display: block; width: 100%; height: auto; }

/* ---------- Blaue Bühne mit Bild ---------- */

.stage {
  padding: clamp(2.75rem, 2rem + 2.5vw, 3.625rem) clamp(1rem, -1rem + 5vw, 4.25rem) clamp(1.5rem, 4vw, 4.25rem);
  background: var(--blue);
}
.stage__media {
  position: relative;
  max-width: 85rem;
  margin: 0 auto;
}
.stage__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 55% 40%;
}

/* roter Balken wie „Hier geht's zum Markenbad-Bonus“ – hier nur Beschriftung, kein Link */
.stage__label {
  position: absolute;
  left: 50%;
  bottom: 9%;
  translate: -50% 0;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: clamp(.7rem, .4rem + 1.2vw, 1.5rem) clamp(1.25rem, .5rem + 3vw, 3.5rem);
  background: var(--red);
  color: #fff;
  font-size: clamp(1.1rem, .8rem + 1.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 48rem) {
  .stage__media img { aspect-ratio: 16 / 9; }
}

/* ---------- Inhalt ---------- */

.hold {
  flex: 1;
  width: 100%;
  max-width: calc(36rem + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(3rem, 2rem + 4vw, 4.5rem) var(--gutter) clamp(3.5rem, 2rem + 5vw, 5rem);
  text-align: center;
  font-size: .9375rem;
}
.hold p { margin: 0 0 1rem; text-wrap: pretty; }

.hold__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
}

.hold__sub {
  margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.hold .hold__more { margin-top: 2rem; }
.hold__more a {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color .2s ease-out;
}
@media (hover: hover) {
  .hold__more a:hover { color: var(--blue); }
}

.hold .hold__contact {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 600;
}
.hold__contact a { overflow-wrap: anywhere; }

/* ---------- Impressum ---------- */

.hold--legal {
  max-width: calc(46rem + 2 * var(--gutter));
  padding-top: clamp(5.5rem, 4rem + 5vw, 7.5rem);
}

.legal {
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) 1fr;
  gap: 1rem 2rem;
  margin: 2rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid #d5dee5;
  text-align: left;
}
.legal dt { font-weight: 700; }
.legal dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 36rem) {
  .legal { grid-template-columns: 1fr; gap: .15rem; }
  .legal dt:not(:first-child) { margin-top: 1rem; }
}

/* ---------- Footer ---------- */

.foot {
  padding: 0 var(--gutter);
  background: var(--steel);
  color: #fff;
}
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: calc(var(--wrap) - 2 * var(--gutter));
  margin: 0 auto;
  padding: 2rem 0 2.25rem;
}
.foot__copy { margin: 0; }
.foot__copy a { text-decoration-thickness: 1px; }
.foot__powered { display: block; }
.foot__powered img { display: block; width: 10.5rem; height: auto; }
.foot a:focus-visible { outline-color: #fff; }

@media (max-width: 36rem) {
  .foot__inner { flex-direction: column; text-align: center; }
}

/* ---------- sanftes Einblenden beim Laden ---------- */

.hold > * { animation: rise .8s var(--ease-out) both; }
.hold > :nth-child(2) { animation-delay: .06s; }
.hold > :nth-child(n + 3) { animation-delay: .12s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hold > * { animation: none; }
  .hold__more a { transition: none; }
}
