/* ReiseFrei Design Tokens — siehe ../STYLE-GUIDE.md */
:root {
  /* Brand */
  --rf-primary:        #F5A623;
  --rf-primary-hover:  #f99c06;
  --rf-secondary:      #03b2cb;
  --rf-foreground:     #15202B;
  --rf-muted:          #6B7480;
  --rf-background:     #FFFFFF;
  --rf-cream:          #FBF7EE;
  --rf-cream-warm:     #F4EFE6;
  --rf-surface:        #EFF1F3;
  --rf-border:         #E1E5E9;
  --rf-success:        #21c45d;
  --rf-danger:         #dc2626;

  /* Dark-on-Palm Theme */
  --rf-text-on-dark:        rgba(255, 255, 255, 1);
  --rf-text-on-dark-muted:  rgba(255, 255, 255, 0.7);
  --rf-glass-bg:            rgba(255, 255, 255, 0.08);
  --rf-glass-bg-strong:     rgba(255, 255, 255, 0.14);
  --rf-glass-border:        rgba(255, 255, 255, 0.18);

  /* Typography — System Stack (match zu reisefrei.com Hauptseite) */
  --rf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  /* Geometry */
  --rf-radius:       0.5rem;
  --rf-radius-lg:    1rem;
  --rf-pad-x:        2rem;
  --rf-line-height:  1.6;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Body: dunkler Palmen-Hintergrund über das gesamte Viewport, fixed */
body {
  margin: 0;
  font-family: var(--rf-font);
  color: var(--rf-text-on-dark);
  line-height: var(--rf-line-height);
  font-size: 16px;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(8, 22, 42, 0.74) 0%, rgba(5, 16, 32, 0.9) 100%),
    url('/assets/palms-bg.jpg') center/cover no-repeat fixed;
  background-color: #0a1828; /* Fallback */
}

h1, h2, h3, h4 {
  font-family: var(--rf-font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--rf-text-on-dark);
}
h1 { font-size: 2.875rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: var(--rf-primary); text-decoration: none; }
a:hover { color: var(--rf-primary-hover); text-decoration: underline; }

.rf-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: var(--rf-pad-x);
}

.rf-section {
  padding-block: 4rem;
}

/* Buttons */
.rf-btn {
  display: inline-block;
  font-family: var(--rf-font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.9rem 1.6rem;
  border-radius: var(--rf-radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
  letter-spacing: -0.005em;
}
.rf-btn:hover { text-decoration: none; }
.rf-btn:active { transform: translateY(1px); }

.rf-btn--primary {
  background: var(--rf-primary);
  color: #fff;
}
.rf-btn--primary:hover { background: var(--rf-primary-hover); color: #fff; }

.rf-btn--ghost {
  background: var(--rf-glass-bg);
  color: var(--rf-text-on-dark);
  border: 1px solid var(--rf-glass-border);
  backdrop-filter: blur(10px);
}
.rf-btn--ghost:hover { background: var(--rf-glass-bg-strong); }

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 15px; background-attachment: scroll; }
  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.625rem; }
  h3 { font-size: 1.25rem; }
  :root { --rf-pad-x: 1.25rem; }
  .rf-section { padding-block: 3rem; }
}
