/*
 * base.css — Reset, Typografie, Utilities
 * Fotogruppe elektron Lübbenau Child Theme
 */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  background: var(--bg-white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: #f0f4f8; }
::-webkit-scrollbar-thumb  { background: var(--accent-light); border-radius: 3px; }

/* ---- Typografie-Helfer ---- */
.section-label,
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-label::before,
.section-eyebrow::before {
  content: ''; display: block; width: 26px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-subtitle,
.section-text {
  font-size: 1rem; color: var(--text-mid); max-width: 580px; line-height: 1.85;
}

/* ---- Section Wrapper ---- */
.section-wrap {
  max-width: 1340px; margin: 0 auto;
  padding: var(--section-pad) 5%;
}
.sec-white { background: var(--bg-white); }
.sec-blue  { background: var(--bg-blue); }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 50px; border: none; cursor: pointer;
  transition: all 0.3s; box-shadow: 0 6px 20px var(--accent-glow);
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover {
  background: var(--accent-hover); transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 34px; background: transparent; color: var(--accent);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 50px; border: 2px solid var(--accent); cursor: pointer;
  transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-white {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px; background: #fff; color: var(--accent);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em;
  border-radius: 50px; border: none; cursor: pointer;
  transition: all 0.3s; box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  font-family: 'Inter', sans-serif;
}
.btn-white:hover { background: var(--accent-pale); transform: translateY(-2px); }

/* ---- Divider ---- */
.fge-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-blue), transparent);
  margin: 0;
}

/* ---- Progress Bar ---- */
#fge-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  z-index: 10000; width: 0%; transition: width 0.1s linear;
}

/* ---- Back to Top ---- */
#fge-back-to-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all 0.3s; z-index: 800; box-shadow: var(--shadow-md);
}
#fge-back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#fge-back-to-top:hover   { background: var(--accent-hover); transform: translateY(-3px); }

/* ---- Scroll Reveal ---- */
.fge-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fge-reveal.visible { opacity: 1; transform: translateY(0); }
.fge-reveal-d1 { transition-delay: 0.1s; }
.fge-reveal-d2 { transition-delay: 0.2s; }
.fge-reveal-d3 { transition-delay: 0.3s; }
.fge-reveal-d4 { transition-delay: 0.4s; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-0   { margin-bottom: 0; }

/* ---- Keyframes ---- */
@keyframes fgeSlideUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fgeFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fgeScrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.9; transform: scaleY(1.3); }
}
