/* Basis */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--color-warmblack);
  color: var(--color-text-on-dark);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 1px solid var(--color-champagne);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: var(--space-2);
  z-index: 10000;
  padding: 12px 16px;
  background: var(--color-offwhite);
  color: var(--color-black);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.logo {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-logo);
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--color-offwhite);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Hauptbutton */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.btn--wine {
  background: var(--color-wine);
  color: var(--color-offwhite);
}
.btn--wine:hover {
  background: var(--color-wine-hover);
  transform: translateY(-2px);
}

/* Textlink mit Linie */
.link-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.link-line__text {
  position: relative;
  padding-bottom: 2px;
}
.link-line__text::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: background-color 0.6s var(--ease);
}
.link-line:hover .link-line__text::after { background: var(--color-champagne); }
.link-line__arrow {
  transition: transform 0.6s var(--ease);
}
.link-line:hover .link-line__arrow { transform: translateX(4px); }

/* DEMO-Badge (zaviobuild-Standard) */
.zb-demo-badge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  padding: 6px 14px;
  background: rgba(17, 17, 17, 0.85);
  color: #F6F4F1;
  border: 1px solid rgba(166, 166, 166, 0.6);
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: border-color 0.4s ease;
}
.zb-demo-badge:hover { border-color: #C8B68E; }
@media (max-width: 600px) {
  .zb-demo-badge { right: 12px; bottom: 12px; font-size: 11px; }
}
