/* ========================================================================== 
   Variables
   ========================================================================== */
:root {
  /* Color Palette - Pastell, elegant, seriös */
  --color-background: #f7f3ee; /* cremeweiß / helles beige */
  --color-surface: #ffffff;
  --color-surface-muted: #f0ebe4;

  --color-text: #2e2a25; /* dunkles Warmgrau für seriösen Kontrast */
  --color-text-muted: #6f6a63;
  --color-border: #d7d0c6;

  --color-primary: #9aa88b; /* salbeigrün, dezent */
  --color-primary-soft: #cbd4c4;
  --color-primary-contrast: #ffffff;

  --color-success: #7ca47a;
  --color-warning: #c9a15c; /* warmes Goldgelb */
  --color-danger: #b35b4b;

  --color-gold-soft: #d9b780; /* dezente Goldakzente */
  --color-gold-deep: #b8965d;

  --gray-50: #faf7f3;
  --gray-100: #f2ede5;
  --gray-200: #e4dbcf;
  --gray-300: #d7cbbd;
  --gray-400: #b8ac9e;
  --gray-500: #9a8f83;
  --gray-600: #7d746a;
  --gray-700: #5f5850;
  --gray-800: #423d38;
  --gray-900: #282521;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif-display: "Playfair Display", "Times New Roman", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-7: 1.75rem;  /* 28px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows - dezent, hochwertig */
  --shadow-soft: 0 8px 24px rgba(15, 10, 6, 0.06);
  --shadow-medium: 0 16px 40px rgba(15, 10, 6, 0.12);
  --shadow-focus: 0 0 0 3px rgba(154, 168, 139, 0.5);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 320ms ease-out;

  /* Layout */
  --container-max-width: 1120px;
  --container-padding-x: 1.25rem; /* 20px mobile */

  /* Z-index scale */
  --z-header: 40;
  --z-overlay: 50;
  --z-modal: 60;
}

@media (min-width: 768px) {
  :root {
    --container-padding-x: 1.5rem;
  }
}


/* ========================================================================== 
   Reset / Normalize
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
  margin: 0;
  padding: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  padding: 0;
  background: none;
}

textarea {
  resize: vertical;
}

html:focus-within {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}


/* ========================================================================== 
   Base Styles
   ========================================================================== */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  background-color: var(--color-background);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

/* Headings: modern, elegant, with controlled margins */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-display);
  font-weight: 500;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: 1.35rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: 1.15rem;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

small {
  font-size: 0.85em;
}

/* Links: dezent, ohne Standard-Unterstreichung */
a {
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible {
  outline: none;
}

/* Subtle underline on hover for text links (not buttons) */
a:not(.btn, .button, .nav-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(154, 168, 139, 0.4), rgba(185, 150, 93, 0.45));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

a:not(.btn, .button, .nav-link):hover::after {
  transform: scaleX(1);
}

/* Lists */
ul, ol {
  margin: 0 0 var(--space-4);
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.25em;
}

/* Blockquotes for Hinweise / Disclaimer */
blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid rgba(185, 150, 93, 0.55);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}


/* ========================================================================== 
   Accessibility & Motion
   ========================================================================== */
:focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--shadow-focus);
  border-radius: max(2px, var(--radius-xs));
}

:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ========================================================================== 
   Utilities
   ========================================================================== */

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 238, 1));
}

/* Flex helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-xs {
  gap: var(--space-2);
}

.gap-sm {
  gap: var(--space-3);
}

.gap-md {
  gap: var(--space-4);
}

.gap-lg {
  gap: var(--space-6);
}

/* Grid helpers */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

@media (max-width: 767.98px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Alignment & text utilities */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-gold {
  color: var(--color-gold-deep);
}

/* Spacing utilities (commonly used) */
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-2); }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-4); }
.mt-lg { margin-top: var(--space-6); }
.mt-xl { margin-top: var(--space-10); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-2); }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-4); }
.mb-lg { margin-bottom: var(--space-6); }
.mb-xl { margin-bottom: var(--space-10); }

.py-section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

/* Constrained content width (for Legal / Verantwortungsvolles Spielen) */
/* Hero-specific utility for fullscreen slider */
.hero-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
}


/* ========================================================================== 
   Components
   ========================================================================== */

/* Buttons */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold-soft));
  color: var(--color-primary-contrast);
  border-color: rgba(185, 150, 93, 0.7);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, #879676, var(--color-gold-deep));
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: rgba(154, 168, 139, 0.8);
}

.btn-outline:hover {
  background-color: rgba(154, 168, 139, 0.06);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.btn[disabled],
.btn.disabled,
.button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.btn:focus-visible,
.button:focus-visible {
  box-shadow: var(--shadow-focus);
}

/* Inputs & Form Elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

input::placeholder,
textarea::placeholder {
  color: rgba(111, 106, 99, 0.7);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: rgba(154, 168, 139, 0.9);
  box-shadow: 0 0 0 1px rgba(154, 168, 139, 0.8), var(--shadow-focus);
}

input[disabled],
textarea[disabled],
select[disabled] {
  background-color: rgba(242, 237, 229, 0.7);
  cursor: not-allowed;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form-field {
  margin-bottom: var(--space-4);
}

.form-helper {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.form-error {
  margin-top: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Card - for Event-Angebote, Kundenstimmen etc. */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(242, 237, 229, 0.9));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(215, 208, 198, 0.7);
}

.card--soft {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.card__header {
  margin-bottom: var(--space-2);
}

.card__title {
  font-family: var(--font-serif-display);
  font-size: var(--font-size-xl);
  margin: 0 0 var(--space-1);
}

.card__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.card__body {
  font-size: var(--font-size-sm);
}

/* Hero Badge / Hinweis (z.B. Entertainment-only) */
.badge-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(185, 150, 93, 0.08);
  border: 1px solid rgba(185, 150, 93, 0.5);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Footer Disclaimer Block */
.footer-disclaimer {
  font-size: var(--font-size-xs);
  line-height: var(--line-height-normal);
  color: var(--color-text-muted);
  border-top: 1px solid rgba(215, 208, 198, 0.8);
  padding-top: var(--space-3);
  margin-top: var(--space-4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: var(--font-size-xs);
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* Simple tag for compliance / info sections */
.tag-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background-color: rgba(154, 168, 139, 0.08);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}


/* ========================================================================== 
   Navigation & Header (base only, no layout specifics)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(247, 243, 238, 0.96), rgba(247, 243, 238, 0.84));
  border-bottom: 1px solid rgba(215, 208, 198, 0.8);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.navbar-brand {
  font-family: var(--font-serif-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar-nav {
  display: none;
}

.nav-link {
  position: relative;
  font-size: var(--font-size-sm);
  text-transform: none;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link--active {
  color: var(--color-text);
}

.nav-link--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 1.8rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-gold-soft), var(--color-primary));
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
    gap: var(--space-4);
    align-items: center;
  }
}


/* ========================================================================== 
   Compliance / Responsible Gaming Highlights
   ========================================================================== */

.responsible-gaming-box {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(185, 150, 93, 0.6);
  background: linear-gradient(135deg, rgba(247, 243, 238, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.responsible-gaming-box h2,
.responsible-gaming-box h3 {
  color: var(--color-text);
}

.responsible-gaming-box a {
  color: var(--color-danger);
}

.responsible-gaming-highlight {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  background-color: rgba(179, 91, 75, 0.04);
  border-left: 3px solid rgba(179, 91, 75, 0.6);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}


/* ========================================================================== 
   Image / Media Helpers for large hero & gallery
   ========================================================================== */

.media-cover {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-ratio-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}

.media-ratio-16x9 > img,
.media-ratio-16x9 > picture,
.media-ratio-16x9 > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ========================================================================== 
   Helper: Badges for "Kein Echtgeldspiel" remarks
   ========================================================================== */

.badge-no-gambling {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background-color: rgba(179, 91, 75, 0.06);
  color: var(--color-danger);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
