/* ══════════════════════════════════════════════════════════════
   Ferienwohnung Bruno – Shared Design System
   Einbinden via: <link rel="stylesheet" href="/base.css">
   Alle Farb- und Layout-Tokens hier ändern → alle Seiten profitieren.
══════════════════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  /* Palette */
  --gold:       #c1602e;
  --gold-d:     #a04d22;
  --gold-light: #e8956b;
  --dark:       #2c2118;
  --text:       #3d2e26;
  --muted:      #7a6358;
  --light:      #767676;
  --line:       #e8ddd7;
  --bg:         #f9f5f0;
  --sand:       #f0e9e0;
  --white:      #ffffff;
  --accent:     #c1602e; /* Alias für Admin */

  /* Layout */
  --max:        1160px;
  --pad:        clamp(20px, 4vw, 48px);
  --section-v:  clamp(56px, 9vw, 96px);

  /* Typografie */
  --fs-xs:   .72rem;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-h3:   1.375rem;
  --fs-h2:   clamp(1.7rem, 3vw, 2.4rem);
  --fs-h1:   clamp(2.4rem, 5vw, 3.8rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Basis ── */
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 36px;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .01em;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-d); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ── Geteilter Header (seite.php, 404.php) ── */
.site-header {
  background: var(--sand);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.site-header .brand {
  color: var(--dark);
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  text-decoration: none;
}
.site-header .back { color: var(--muted); font-size: .875rem; }
.site-header .back:hover { color: var(--dark); }

/* ── Geteilter Footer (garmisch.php, seite.php, 404.php) ── */
.site-footer {
  background: var(--sand);
  color: var(--muted);
  padding: 20px var(--pad);
  font-size: var(--fs-xs);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
