/* ═══════════════════════════════════════════════════════════
   Markenbasis (Buchungsseite + Gästeportal)
   Angelehnt an moselcamp.de: Navy, Orange, Moselblau,
   Schriften Grandstander (Überschriften), Mulish (Text), Caveat (Akzent)
   ═══════════════════════════════════════════════════════════ */

/* ── Schriften (lokal, SIL Open Font License) ──────────── */
@font-face{font-family:"Grandstander";font-style:normal;font-weight:700 800;font-display:swap;src:url("../fonts/grandstander-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Grandstander";font-style:normal;font-weight:700 800;font-display:swap;src:url("../fonts/grandstander-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Mulish";font-style:normal;font-weight:400 800;font-display:swap;src:url("../fonts/mulish-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Mulish";font-style:normal;font-weight:400 800;font-display:swap;src:url("../fonts/mulish-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Caveat";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/caveat-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Caveat";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/caveat-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --c-primary:       #0f3370;   /* Navy */
  --c-primary-light: #0d8ae0;   /* Moselblau */
  --c-primary-dark:  #0b2753;
  --c-primary-bg:    #e6f3fd;
  --c-accent:        #f27d10;   /* Orange (Flächen/Akzente) */
  --c-cta:           #b85600;   /* Orange für Buttons mit weißer Schrift (Kontrast ≥ 4,5:1) */
  --c-cta-hover:     #9c4900;
  --c-sunny:         #fff6d6;
  --c-green:         #64a724;
  --c-danger:        #e53935;
  --c-info:          #0d8ae0;
  --c-bg:            #f3f8fd;
  --c-card:          #ffffff;
  --c-text:          #18263f;
  --c-text-muted:    #4a5872;
  --c-border:        #d6e3f1;

  --c-spot-default:   #6b7280;
  --c-spot-available: #4f9a12;
  --c-spot-occupied:  #dc2626;
  --c-spot-selected:  #0d8ae0;

  --font-display: "Grandstander", "Comic Sans MS", system-ui, sans-serif;
  --font-body:    "Mulish", "Segoe UI", system-ui, sans-serif;
  --font-hand:    "Caveat", "Segoe Script", cursive;

  --radius-sm:  10px;
  --radius:     18px;
  --radius-lg:  24px;
  --shadow-sm:  0 6px 18px -12px rgba(15,51,112,0.35);
  --shadow:     0 14px 30px -16px rgba(15,51,112,0.40);
  --shadow-lg:  0 18px 40px -16px rgba(15,51,112,0.45);
}

/* Kopf- und Fußbereich werden von Buchungsseite und Gästeportal gemeinsam
   genutzt (public/includes/site_header.php, site_footer.php). */
/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h, 80px);
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -14px rgba(15,51,112,0.35);
}

.header-inner {
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  cursor: pointer;
}

.logo-icon { font-size: 38px; line-height: 1; flex-shrink: 0; color: var(--c-primary); }
.logo-img  { height: 58px; width: auto; max-width: 100%; object-fit: contain; flex-shrink: 1; min-width: 0; }

.logo-text { display: flex; flex-direction: column; min-width: 0; }

.logo-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* Links zurück zur Website (rechts im Kopf) */
.header-nav { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--c-primary);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
}
.header-link:hover { background: var(--c-primary-bg); }
.header-link--site { background: var(--c-primary-bg); }
.header-link--site:hover { background: #d3e9fb; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

@media (max-width: 640px) {
  .header-link--phone { display: none; }
  .header-link { padding: 8px 10px; font-size: 0.88rem; }
  .logo-img { height: 46px; }
}

/* ── Fußbereich (wie moselcamp.de) ─────────────────────────────────────────── */
.site-footer {
  background: #0b2753;
  color: #c3d1ea;
  padding: 40px 20px calc(30px + env(safe-area-inset-bottom, 0px));
  margin-top: 40px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px 36px;
}
.site-footer-name,
.site-footer-head {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.site-footer a { color: #fff; }
.site-footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
  padding-top: 16px;
  border-top: 1px solid #22427a;
}
.site-footer-copy { margin-left: auto; }
@media (max-width: 640px) {
  .site-footer-inner { grid-template-columns: 1fr; }
  .site-footer-copy { margin-left: 0; width: 100%; }
}
