/* ============================================================
   ANDRE ZSIGMONDY — Global CSS
   Applies to all pages via child theme
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --az-bg:    #060606;
  --az-white: #f0ede8;
  --az-muted: rgba(240, 237, 232, 0.45);
  --az-glass: rgba(255, 255, 255, 0.08);
  --az-gb:    rgba(255, 255, 255, 0.16);
  --az-r:     100px;
  --az-nav-h: 64px;
  /* Brand colors */
  --c1: #01c1b4;  /* teal      — nav hover, links, category labels */
  --c2: #4e3afb;  /* blue-vio  — section tag bg */
  --c3: #791ffb;  /* purple    — section tag dot/border */
  --c4: #c700ff;  /* magenta   — CTA button start */
  --c5: #ff00dd;  /* hot pink  — CTA button end / hover */
  --c6: #fe1f2e;  /* red       — alerts (use sparingly) */
  --c7: #fd723b;  /* orange    — small wayfinding labels */
  --c8: #ff9d85;  /* salmon    — subtle warm highlights */
}

/* ── Canvas page: remove all WP/OceanWP chrome ── */
.az-canvas-page #wrap,
.az-canvas-page #main,
.az-canvas-page #primary,
.az-canvas-page .page-header,
.az-canvas-page .entry-header,
.az-canvas-page .entry-footer,
.az-canvas-page .oceanwp-breadcrumb,
.az-canvas-page #footer-widgets,
.az-sub-page .oceanwp-breadcrumb {
  display: none !important;
}
.az-canvas-page #content-wrap,
.az-canvas-page .page,
.az-canvas-page article {
  padding: 0 !important;
  margin:  0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.az-canvas-page .entry-content {
  padding: 0 !important;
  margin:  0 !important;
  max-width: 100% !important;
}
body.az-canvas-page {
  background: #060606;
  padding-top: 0 !important;
}

/* ── AZ Navigation ──────────────────────────────────────────
   Shared across all pages.
   On canvas (homepage): overlays the video hero.
   On subpages: sits above the content.
   ─────────────────────────────────────────────────────────── */
#az-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  height: var(--az-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(6, 6, 6, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
}
#az-nav.scrolled {
  background: rgba(6, 6, 6, 0.94);
}

/* Logo */
.az-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--az-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
  font-family: Arial, Helvetica, sans-serif;
}
.az-nav-logo img { height: 32px; width: auto; }
.az-nav-logo-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--az-white);
  font-family: Arial, Helvetica, sans-serif;
}

/* Center pill buttons */
.az-nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.az-nav-links a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--az-r);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--az-white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.az-nav-links a:hover,
.az-nav-links a.active {
  background: rgba(78, 58, 251, 0.12);
  border-color: var(--c2);
  color: var(--c2);
  text-decoration: none;
}

/* Right: external links */
.az-nav-right {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.az-nav-right a {
  color: rgba(240, 237, 232, 0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  transition: color 0.2s;
}
.az-nav-right a:hover {
  color: var(--c1);
  text-decoration: none;
}

/* Mobile hamburger */
.az-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.az-nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--az-white);
  transition: all 0.3s;
}
.az-nav-burger span:nth-child(1) { width: 16px; }
.az-nav-burger span:nth-child(2) { width: 12px; }
.az-nav-burger span:nth-child(3) { width: 16px; }
.az-nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 16px; }
.az-nav-burger.open span:nth-child(2) { opacity: 0; }
.az-nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 16px; }

/* Mobile menu */
.az-nav-mobile {
  display: none;
  position: fixed;
  top: var(--az-nav-h);
  left: 0; right: 0;
  background: rgba(6,6,6,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 24px 32px;
  z-index: 8999;
  flex-direction: column;
  gap: 4px;
}
.az-nav-mobile.open {
  display: flex;
}
.az-nav-mobile a {
  display: block;
  padding: 12px 0;
  color: var(--az-white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.az-nav-mobile a:hover { color: var(--az-muted); text-decoration: none; }

@media (max-width: 768px) {
  .az-nav-links,
  .az-nav-right { display: none; }
  .az-nav-burger { display: flex; }
}

/* ── Subpage layout ─────────────────────────────────────────
   Used for Impressum, Kontakt, About, etc.
   ─────────────────────────────────────────────────────────── */
.az-sub-page body,
body.az-sub-page {
  background: var(--az-bg);
  color: var(--az-white);
}

.az-sub-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--az-nav-h) + 72px) 32px 96px;
}

.az-sub-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--az-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.az-sub-label::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--az-muted);
}

.az-sub-h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--az-white);
  margin-bottom: 40px;
  font-family: Arial, Helvetica, sans-serif;
}

.az-sub-body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(240, 237, 232, 0.72);
  font-family: Arial, Helvetica, sans-serif;
}
.az-sub-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--az-white);
  margin: 40px 0 12px;
  font-family: Arial, Helvetica, sans-serif;
}
.az-sub-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--az-white);
  margin: 28px 0 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: Arial, Helvetica, sans-serif;
}
.az-sub-body p  { margin-bottom: 16px; }
.az-sub-body a  { color: var(--az-white); border-bottom: 1px solid rgba(255,255,255,0.25); text-decoration: none; }
.az-sub-body a:hover { border-color: var(--az-white); }

/* ── Contact form styling ────────────────────────────────── */
.az-sub-body .wpcf7-form,
.az-sub-body .wpcf7 {
  margin-top: 32px;
}
.az-sub-body input[type="text"],
.az-sub-body input[type="email"],
.az-sub-body textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--az-white);
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 12px;
  -webkit-appearance: none;
}
.az-sub-body input:focus,
.az-sub-body textarea:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.07);
}
.az-sub-body textarea { min-height: 140px; resize: vertical; }
.az-sub-body input[type="submit"],
.az-sub-body .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  border-radius: var(--az-radius);
  background: var(--az-glass);
  border: 1px solid var(--az-glass-b);
  backdrop-filter: blur(20px);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--az-white);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  transition: background 0.25s, border-color 0.25s;
  margin-top: 8px;
}
.az-sub-body input[type="submit"]:hover,
.az-sub-body .wpcf7-submit:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}

/* ── AZ Button — ghost/glass ── */
.az-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--az-r);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.az-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── AZ Button — primary CTA gradient ── */
.az-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--az-r);
  background: linear-gradient(135deg, var(--c4), var(--c5));
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(199, 0, 255, 0.3);
  transition: box-shadow 0.25s, transform 0.2s, filter 0.2s;
}
.az-btn-cta:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 32px rgba(199, 0, 255, 0.5);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ── Section tags — purple pill ── */
.az-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--az-r);
  background: rgba(78, 58, 251, 0.12);
  border: 1px solid rgba(121, 31, 251, 0.4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(200, 160, 255, 0.9);
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
}
.az-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c3), var(--c4));
  flex-shrink: 0;
}

/* ── Small wayfinding labels — orange ── */
.az-slbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c7);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
}
.az-slbl::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--c7);
}

/* ── Subpage links — teal on hover ── */
.az-sub-body a {
  color: var(--az-white);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.az-sub-body a:hover {
  color: var(--c1);
  border-color: var(--c1);
}

/* ── Scroll-reveal animation ────────────────────────────────
   Add class="az-fade" to any element.
   JS in az-global.js triggers the animation.
   ─────────────────────────────────────────────────────────── */
.az-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.az-fade.in {
  opacity: 1;
  transform: none;
}

/* ── Sub-page footer ────────────────────────────────────────── */
.az-sub-footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.az-sub-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.az-sub-footer-links a {
  font-size: 11px;
  color: rgba(240,237,232,0.3);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color 0.2s;
}
.az-sub-footer-links a:hover { color: var(--az-white); }
.az-sub-footer-copy {
  font-size: 10px;
  color: rgba(255,255,255,0.15);
  letter-spacing: .06em;
}
