/* ByteBuilders — Custom Styles (Tailwind CSS ergänzend) */

/* Inter Variable Font — selbst gehostet (DSGVO-konform) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== Custom Properties ===== */
:root {
  --orange: #E85B2D;
  --orange-glow: rgba(232, 91, 45, 0.4);
}

/* ===== AOS fallback: show content if JS fails ===== */
.aos-init [data-aos] { opacity: 0; }
[data-aos].aos-animate { opacity: 1; }

/* ===== Grid Pattern Background ===== */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.grid-bg-light {
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== Glassmorphism ===== */
.glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ===== Gradient Orbs (decorative) ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-orange {
  background: radial-gradient(circle, rgba(232,91,45,0.35), transparent 70%);
}

.orb-blue {
  background: radial-gradient(circle, rgba(59,130,246,0.2), transparent 70%);
}

.orb-purple {
  background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
}

/* ===== Animated gradient border ===== */
.gradient-border {
  position: relative;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232,91,45,0.5), rgba(139,92,246,0.3), rgba(59,130,246,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== Hover card glow ===== */
.card-glow {
  transition: all 0.3s ease;
}

.card-glow:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(232, 91, 45, 0.12), 0 0 0 1px rgba(232, 91, 45, 0.15);
}

/* ===== Icon containers ===== */
.icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232,91,45,0.12), rgba(232,91,45,0.04));
  color: #E85B2D;
  flex-shrink: 0;
}

.icon-box-dark {
  background: linear-gradient(135deg, rgba(232,91,45,0.2), rgba(232,91,45,0.08));
}

/* ===== Comparison table ===== */
.compare-check {
  color: #E85B2D;
}

.compare-cross {
  color: #374151;
  opacity: 0.3;
}

/* ===== Testimonial quote mark ===== */
.quote-mark {
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: #E85B2D;
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

/* ===== Floating animation ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

.float-delay {
  animation: float 6s ease-in-out 2s infinite;
}

/* ===== Pulse glow on CTA ===== */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,91,45,0.4); }
  50% { box-shadow: 0 0 20px 4px rgba(232,91,45,0.2); }
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ===== Stat counter animation ===== */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Nav blur on scroll ===== */
.nav-scrolled {
  background: rgba(17, 17, 17, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* ===== Smooth scrolling ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Selection color ===== */
::selection {
  background: rgba(232, 91, 45, 0.3);
  color: white;
}

/* ===== Custom scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ===== Mobile nav ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: #E85B2D;
}

/* ===== Booking widget ===== */
.booking-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.booking-frame iframe {
  width: 100%;
  min-height: 700px;
  border: none;
}
