/* ==========================================================================
   NETZWERK FREUNDE – CORPORATE DESIGN & FLUID STYLING
   Netzwerk Oberthurgau
   ========================================================================== */

@font-face {
  font-family: 'Vivano';
  src: url('../../fonts/Vivano-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vivano';
  src: url('../../fonts/Vivano-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vivano';
  src: url('../../fonts/Vivano-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vivano';
  src: url('../../fonts/Vivano-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Domine';
  src: url('../../fonts/Domine-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-deep: #082521;
  --primary-dark: #0c3832;
  --primary-teal: #147a6d;
  --primary-accent: #1ca78b;
  --primary-bright: #24cca9;
  --primary-cyan: #3fe0be;

  --gold-accent: #f5b700;
  --gold-amber: #e5a823;
  --gold-glow: rgba(245, 183, 0, 0.4);

  --surface-glass: rgba(12, 56, 50, 0.55);
  --surface-glass-hover: rgba(16, 74, 66, 0.75);
  --surface-glass-border: rgba(28, 167, 139, 0.28);
  --surface-glass-border-bright: rgba(36, 204, 169, 0.55);

  --font-display: 'Vivano', sans-serif;
  --font-serif: 'Domine', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Fluid base styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-deep);
  color: #f1f7f6;
  font-family: var(--font-sans);
  overflow-x: hidden;
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.font-serif-custom {
  font-family: var(--font-serif);
}

/* Ambient dynamic background gradient matching webpage und farbe.png */
.hero-gradient-bg {
  background: radial-gradient(circle at 50% 20%, #1ca78b 0%, #147a6d 28%, #0d4a42 55%, #082521 100%);
  position: relative;
}

.hero-gradient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 30%, rgba(245, 183, 0, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(36, 204, 169, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(20, 122, 109, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--surface-glass-border);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(4, 20, 17, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--surface-glass-border-bright);
}

.glass-interactive {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.glass-interactive:hover {
  background: var(--surface-glass-hover);
  border-color: var(--surface-glass-border-bright);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(4, 20, 17, 0.7), 0 0 30px rgba(28, 167, 139, 0.25);
}

.glass-interactive.selected {
  background: rgba(20, 122, 109, 0.7);
  border-color: var(--gold-accent);
  box-shadow: 0 0 35px rgba(245, 183, 0, 0.35), 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

/* Glowing gold elements */
.text-gold {
  color: var(--gold-accent);
}

.bg-gold {
  background-color: var(--gold-accent);
}

.border-gold {
  border-color: var(--gold-accent);
}

.gold-glow-btn {
  background: linear-gradient(135deg, #f5b700 0%, #e5a823 100%);
  color: #082521;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(245, 183, 0, 0.4);
}

.gold-glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(245, 183, 0, 0.6);
  filter: brightness(1.05);
}

.teal-glow-btn {
  background: linear-gradient(135deg, #1ca78b 0%, #147a6d 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(28, 167, 139, 0.4);
}

.teal-glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(36, 204, 169, 0.5);
  filter: brightness(1.1);
}

/* Range slider styling */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: rgba(28, 167, 139, 0.3);
  border-radius: 9999px;
  border: 1px solid rgba(28, 167, 139, 0.4);
}

input[type=range]::-webkit-slider-thumb {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #f5b700;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
  box-shadow: 0 0 15px rgba(245, 183, 0, 0.6);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

/* Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.04); }
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

/* Swiss QR-Bill Print Layout styling */
@media print {
  body * {
    visibility: hidden;
  }
  #qr-bill-print-area, #qr-bill-print-area * {
    visibility: visible;
  }
  #qr-bill-print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
    color: black;
  }
}
