/* style.css - Final fixes: Absolute background URL + improved logo fly-up */

:root {
  --font-scale: 1;
  --accent: #e2cfeaff;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  /* === ABSOLUTE URL für Cloudflare Pages === */
  background-image: url('https://aconara-de.pages.dev/assets/img/aconara.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: #f0f0f0;
  line-height: 1.65;
  font-size: calc(17px * var(--font-scale));
}

/* === TOP BAR === */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: none;
}

.top-left, .top-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn,
.font-size-controls button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.icon-btn:hover,
.font-size-controls button:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--accent);
}

/* === HERO LOGO FLY-UP - angepasst für großes Wortmarken-Logo === */
#hero-logo {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 620px;
}

#hero-logo.flying {
  position: fixed !important;
  top: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) scale(0.38) !important;
  z-index: 301;
  pointer-events: none;
  max-width: 620px;
}

/* === SECTIONS === */
.hero, .section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: transparent;
}

.hero-content {
  max-width: 820px;
  text-align: center;
  padding: 2rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}

/* === LIQUID GLAS BOX === */
.section-content.glass {
  background: rgba(15,15,15,0.72);
  backdrop-filter: blur(26px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 2.5rem 2.75rem;
  max-width: 820px;
  box-shadow: 0 12px 45px rgba(0,0,0,0.45);
}

/* === BOTTOM NAV === */
.bottom-nav {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0.35rem 0.45rem;
  background: rgba(20,20,22,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: #aaa;
  text-decoration: none;
  font-size: 0.68rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.bottom-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.bottom-nav a:hover {
  color: #fff;
}

.bottom-nav svg {
  width: 20px;
  height: 20px;
}

/* Links */
a, .hero-link { color: #e2cfeaff; text-decoration: none; }
a:hover, .hero-link:hover { color: #fff; }

/* Light Mode */
body[data-theme="light"] a,
body[data-theme="light"] .hero-link { color: #3a2f1f; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
