/* ==========================================
   GLOBAL STYLES
   Royal Bronze Theme - Literary & Sophisticated
   EXAKTE FARBPALETTE + CURSOR FIX
   ========================================== */

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==========================================
   LIGHT MODE (Default) - Exakte Palette
   ========================================== */
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: #2C3E50;
  background: #f5f3f0;
  padding-top: 72px;
  transition: color 0.3s ease, background 0.3s ease;
  cursor: auto;
}

/* Headings - Literary Feel */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #2C3E50;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

/* Links */
a {
  color: #B08D57;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer !important;
}

a:hover {
  color: #8a6d3f;
  cursor: pointer !important;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
  color: rgba(44, 62, 80, 0.85);
  transition: color 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
section {
  padding: 60px 0;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer !important;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
  font-family: 'Georgia', serif;
  letter-spacing: 0.03em;
}

button {
  cursor: pointer !important;
}

button:hover {
  cursor: pointer !important;
}

.button-primary {
  background: linear-gradient(135deg, #B08D57, #8a6d3f);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(176, 141, 87, 0.3);
  cursor: pointer !important;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 141, 87, 0.45);
  background: linear-gradient(135deg, #8a6d3f, #B08D57);
  cursor: pointer !important;
}

.button-secondary {
  background: rgba(44, 62, 80, 0.06);
  color: #2C3E50;
  border: 2px solid rgba(44, 62, 80, 0.15);
  cursor: pointer !important;
}

.button-secondary:hover {
  background: rgba(176, 141, 87, 0.08);
  border-color: #B08D57;
  color: #B08D57;
  cursor: pointer !important;
}

/* ==========================================
   SOCIAL BAR — position: fixed guard
   Stellt sicher dass keine andere Regel
   die fixed position überschreibt
   ========================================== */
.social-bar {
  position: fixed !important;
}

/* ==========================================
   DARK MODE - Exakte Palette
   ========================================== */
html[data-theme="dim"] body {
  color: #f5f2ed;
  background: #2C3E50;
}

html[data-theme="dim"] h1,
html[data-theme="dim"] h2,
html[data-theme="dim"] h3,
html[data-theme="dim"] h4,
html[data-theme="dim"] h5,
html[data-theme="dim"] h6 {
  color: #B08D57;
}

html[data-theme="dim"] p {
  color: rgba(245, 242, 237, 0.85);
}

html[data-theme="dim"] a {
  color: #B08D57;
  cursor: pointer !important;
}

html[data-theme="dim"] a:hover {
  color: #d4b07a;
  cursor: pointer !important;
}

html[data-theme="dim"] .button-primary {
  background: linear-gradient(135deg, #B08D57, #d4b07a);
  color: #2C3E50;
}

html[data-theme="dim"] .button-primary:hover {
  background: linear-gradient(135deg, #d4b07a, #B08D57);
  box-shadow: 0 6px 20px rgba(176, 141, 87, 0.4);
}

html[data-theme="dim"] .button-secondary {
  background: rgba(176, 141, 87, 0.1);
  color: #B08D57;
  border: 2px solid rgba(176, 141, 87, 0.3);
}

html[data-theme="dim"] .button-secondary:hover {
  background: rgba(176, 141, 87, 0.15);
  border-color: #B08D57;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
  font-size: 3.5rem;
}

.hero-subtitle {
  font-size: 1.35rem;
  margin-bottom: 30px;
  opacity: 0.9;
  color: rgba(44, 62, 80, 0.8);
}

html[data-theme="dim"] .hero-subtitle {
  color: rgba(245, 242, 237, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
  background: rgba(176, 141, 87, 0.03);
}

html[data-theme="dim"] .features {
  background: rgba(176, 141, 87, 0.05);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(176, 141, 87, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

html[data-theme="dim"] .feature-card {
  background: rgba(176, 141, 87, 0.08);
  border: 1px solid rgba(176, 141, 87, 0.2);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(176, 141, 87, 0.2);
  border-color: #B08D57;
}

html[data-theme="dim"] .feature-card:hover {
  box-shadow: 0 12px 40px rgba(176, 141, 87, 0.25);
  border-color: #B08D57;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #B08D57;
}

html[data-theme="dim"] .feature-icon {
  color: #B08D57;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: #2C3E50;
}

html[data-theme="dim"] .feature-card h3 {
  color: #B08D57;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(176, 141, 87, 0.08), rgba(44, 62, 80, 0.06));
}

html[data-theme="dim"] .cta {
  background: linear-gradient(135deg, rgba(176, 141, 87, 0.12), rgba(44, 62, 80, 0.15));
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.15rem;
  margin-bottom: 30px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 40px 0;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-primary  { color: #2C3E50; }
.text-accent   { color: #B08D57; }
.bg-primary    { background: #2C3E50; }
.bg-accent     { background: #B08D57; }
.bg-light      { background: #f5f3f0; }

html[data-theme="dim"] .text-primary { color: #f5f2ed; }
html[data-theme="dim"] .text-accent  { color: #B08D57; }
html[data-theme="dim"] .bg-light     { background: rgba(176, 141, 87, 0.05); }

/* ==========================================
   CURSOR FIX - UNIVERSAL
   ========================================== */
a,
a:hover,
a:active,
a:focus,
button,
button:hover,
button:active,
button:focus,
input[type="button"],
input[type="submit"],
input[type="reset"],
[onclick],
[role="button"],
label[for] {
  cursor: pointer !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea {
  cursor: text !important;
}

button:disabled,
button[disabled],
input:disabled,
input[disabled],
.disabled {
  cursor: not-allowed !important;
}

/* ==========================================
   FARBPALETTE REFERENZ
   ==========================================
   Deep Blue:    #2C3E50
   Bronze/Gold:  #B08D57
   Dark Bronze:  #8a6d3f
   Light Bronze: #d4b07a
   Cream/Beige:  #f5f3f0
   ========================================== */