/* =========================================
 Übergangsseite – Riesenschnauzer
 ========================================= */
/* =========
 SCSS VARS
 ========= */
/* =========
 ROOT CSS VARS (optional)
 ========= */
:root {
  --accent: #30565c;
  --text: #111827;
}
/* =========
 BASE
 ========= */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #fff;
  color: #111827;
  overflow: hidden;
}
html .page, body .page {
  height: 100vh;
  height: 100svh;
  /* iOS Safari: “small viewport height” */
  height: 100dvh;
  /* moderne Browser: dynamische Viewport-Höhe */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 16px;
  /* =================
   HEADER / LOGO
   ================= */
  /* =================
   CONTENT
   ================= */
  /* =================
   FOOTER
   ================= */
}
html .page .header, body .page .header {
  height: auto;
  flex: 0 0 auto;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
html .page .header .logo, body .page .header .logo {
  width: 150px;
  max-width: 42vw;
  height: auto;
  opacity: 0;
}
html .page .content, body .page .content {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
html .page .content .teaser-wrap, body .page .content .teaser-wrap {
  position: relative;
  width: 70%;
  max-width: 1100px;
  opacity: 0;
  /* Responsive Breite */
  /* =========
   MESSAGE
   ========= */
}
html .page .content .teaser-wrap .teaser-img, body .page .content .teaser-wrap .teaser-img {
  width: 100%;
  display: block;
}
@media (max-width: 900px) {
  html .page .content .teaser-wrap, body .page .content .teaser-wrap {
    width: 95%;
  }
}
html .page .content .teaser-wrap .message-layer, body .page .content .teaser-wrap .message-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
html .page .content .teaser-wrap .message-layer .message, body .page .content .teaser-wrap .message-layer .message {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 0 14px;
  line-height: 1.25;
  color: #30565c;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  min-height: 2.2em;
}
html .page .footer, body .page .footer {
  width: 100%;
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  padding-top: 6px;
  padding-bottom: 26px;
}
html .page .footer .kontakt-link, body .page .footer .kontakt-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: #30565c;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  z-index: 20;
}
html .page .footer .kontakt-link:focus, body .page .footer .kontakt-link:focus {
  outline: none;
}
html .page .footer .kontakt-panel, body .page .footer .kontakt-panel {
  text-align: center;
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: min(340px, 92vw);
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
html .page .footer .kontakt-panel p, body .page .footer .kontakt-panel p {
  margin: 0;
  line-height: 1.35;
}
html .page .footer .kontakt-panel::after, body .page .footer .kontakt-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.98);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.06);
}
html .page .footer .kontakt-panel.is-open, body .page .footer .kontakt-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-15px);
}
/* iPad / Tablet: Footer (Kontakt) immer sichtbar */
@media (min-width: 600px) and (max-width: 1024px) {
  html .page, body .page {
    padding-bottom: max(26px, env(safe-area-inset-bottom));
  }
  html .content .teaser-wrap .teaser-img, body .content .teaser-wrap .teaser-img {
    max-height: 46vh;
    /* wichtig: nimmt Höhe raus */
    object-fit: contain;
  }
  html .content .teaser-wrap .message-layer, body .content .teaser-wrap .message-layer {
    bottom: 4%;
  }
  html .footer, body .footer {
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }
}
/* =========================================
 SOCIAL HANGER (Instagram + Facebook)
 ========================================= */
.social-hanger {
  position: fixed;
  right: 14px;
  text-decoration: none;
  transform-style: preserve-3d;
  /* =========================
   INSTAGRAM
   ========================= */
  /* =========================
   FACEBOOK
   ========================= */
  /* =========================
   RESPONSIVE
   ========================= */
}
.social-hanger .hanger-line {
  position: absolute;
  width: 2px;
  background: rgba(17, 24, 39, 0.24);
  border-radius: 2px;
}
.social-hanger .swing-body {
  transform-origin: 80% -18px;
}
.social-hanger .note {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  min-width: 160px;
  max-width: 180px;
}
.social-hanger .note .title {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.social-hanger .note .sub {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.2;
}
.social-hanger:hover .note {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}
.social-hanger.instagram {
  top: 12px;
  z-index: 50;
  color: #30565c;
}
.social-hanger.instagram .hanger-line {
  top: -18px;
  right: 44px;
  height: 22px;
  z-index: 49;
}
.social-hanger.instagram .note {
  background: #fef4e6;
  border: 1px solid rgba(241, 143, 1, 0.25);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  z-index: 51;
}
.social-hanger.instagram .swing-body {
  animation: insta-swing 3.8s ease-in-out infinite;
}
.social-hanger.facebook {
  top: 92px;
  right: 20px;
  z-index: 40;
  color: #3b5998;
}
.social-hanger.facebook .hanger-line {
  top: -92px;
  height: 92px;
  right: 46px;
  background: rgba(17, 24, 39, 0.2);
  z-index: 30;
}
.social-hanger.facebook .note {
  background: #ebeef5;
  border: 1px solid rgba(59, 89, 152, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  z-index: 40;
}
.social-hanger.facebook .swing-body {
  transform-origin: 75% -18px;
  animation: fb-swing 4.4s ease-in-out infinite;
}
@media (max-width: 520px) {
  .social-hanger {
    right: 8px;
  }
  .social-hanger .note {
    width: min(25vw, 160px);
    min-width: 0;
    max-width: none;
    padding: 10px 10px;
  }
  .social-hanger.instagram {
    top: 8px;
  }
  .social-hanger.instagram .hanger-line {
    top: -18px;
    height: 22px;
    right: 36px;
  }
  .social-hanger.facebook {
    top: 96px;
    right: 10px;
  }
  .social-hanger.facebook .hanger-line {
    top: -96px;
    height: 96px;
    right: 38px;
  }
}
/* =========================
 ANIMATION (ruhig & edel)
 ========================= */
@keyframes insta-swing {
  0% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2.5deg);
  }
  100% {
    transform: rotate(2deg);
  }
}
@keyframes fb-swing {
  0% {
    transform: rotate(-1.8deg);
  }
  50% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(-1.8deg);
  }
}
