/*
 * Dorfbühne Patsch – Onlinereservierung
 * File:    public/assets/css/app.css
 * Version: 1.0.2
 * Date:    2026-01-03
 */

:root{
  --dp-bg: #0f1418;
  --dp-bg-2: #161d23;
  --dp-surface: #ffffff;
  --dp-surface-2: #f4f6f8;
  --dp-text: #101418;
  --dp-muted: #6b7a86;
  --dp-border: #e6eaee;

  --dp-accent: #ec008c;      /* Pink wie Website */
  --dp-accent-2: #f2c34d;    /* Gold/Icons */
  --dp-darkbar: #232a2f;
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--dp-text);
  background:
    radial-gradient(1200px 500px at 50% -100px, rgba(242,195,77,0.18), transparent 60%),
    linear-gradient(180deg, var(--dp-bg) 0%, var(--dp-bg-2) 55%, #f3f5f7 55%, #f3f5f7 100%);
}

a{ color: var(--dp-accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header (angelehnt an dorfbuehne-patsch.at) */
.site-header{
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.40));
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner{
  padding: 18px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img{
  height: 44px;
  width: auto;
  display: block;
}

.brand-title{
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 18px;
}

.nav{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a{
  color: rgba(255,255,255,0.88);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
}

.nav a:hover{
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.nav a.is-active{
  background: rgba(236,0,140,0.18);
  border: 1px solid rgba(236,0,140,0.35);
}

/* Layout */
.page{
  padding: 34px 0 56px;
}

.card{
  background: var(--dp-surface);
  border: 1px solid var(--dp-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.card-body{ padding: 20px; }

.h1{ font-size: 22px; margin: 0 0 10px; }
.muted{ color: var(--dp-muted); }

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 840px){
  .grid-2{ grid-template-columns: 1fr; }
  .brand-title{ display: none; }
}

/* Forms */
.form-row{ margin-bottom: 12px; }
.label{ display: block; font-size: 13px; margin-bottom: 6px; color: #25313a; }
.input{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--dp-border);
  border-radius: 10px;
  background: #fff;
}
.input:focus{ outline: 2px solid rgba(236,0,140,0.22); border-color: rgba(236,0,140,0.45); }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary{
  background: var(--dp-accent);
  border-color: rgba(236,0,140,0.55);
  color: #fff;
}

.btn-primary:hover{ filter: brightness(0.95); }

.btn-secondary{
  background: #0f1a22;
  border-color: rgba(255,255,255,0.10);
  color: #fff;
}

.btn-outline{
  background: #fff;
  border-color: var(--dp-border);
  color: #25313a;
}

.btn-outline:hover{ background: var(--dp-surface-2); }

.btn-row{ display: flex; gap: 10px; flex-wrap: wrap; }

/* Alerts */
.alert{
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 14px;
  border: 1px solid var(--dp-border);
  background: var(--dp-surface-2);
}

.alert-danger{
  border-color: rgba(180,0,0,0.22);
  background: rgba(180,0,0,0.06);
}

.alert-success{
  border-color: rgba(0,140,70,0.22);
  background: rgba(0,140,70,0.06);
}

/* Footer */
.site-footer{
  background: var(--dp-darkbar);
  color: rgba(255,255,255,0.80);
  padding: 18px 0;
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-inner a{ color: rgba(255,255,255,0.88); }

/* Small helper */
.spacer-8{ height: 8px; }
.spacer-16{ height: 16px; }







/* ===========================
   Dorfbühne Patsch – Contrast Fix
   =========================== */

/* Grundfarben */
:root{
  --dp-text: #e6e6e6;
  --dp-muted: #b8b8b8;
  --dp-link: #ffffff;
  --dp-link-hover: #bad52b;      /* optionaler Akzent (oder #ec008c wie bisher) */
  --dp-panel: rgba(0,0,0,0.55);  /* dunkler Panel-Hintergrund */
}

/* Global */
html, body{
  color: var(--dp-text);
}

a, a:visited{
  color: var(--dp-link);
  text-decoration: none;
}
a:hover{
  color: var(--dp-link-hover);
  text-decoration: underline;
}

/* Header / Navigation */
.navbar, .topbar, header{
  color: var(--dp-text);
}
.navbar a, .topbar a, header a{
  color: var(--dp-link) !important;
}
.navbar a:hover, .topbar a:hover, header a:hover{
  color: var(--dp-link-hover) !important;
}

/* Hero / Hintergrundbereich (Overlay erzwingen, damit Text immer lesbar bleibt) */
.hero, .page-hero, .header-hero, .masthead{
  position: relative;
}
.hero::before, .page-hero::before, .header-hero::before, .masthead::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);  /* stärker/schwächer nach Geschmack */
  pointer-events: none;
}
.hero > *, .page-hero > *, .header-hero > *, .masthead > *{
  position: relative;
  z-index: 1;
}

/* Inhalte/Boxen */
.card, .panel, .content-box, .container .box{
  background: var(--dp-panel);
  color: var(--dp-text);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Überschriften */
h1,h2,h3,h4,h5,h6{
  color: #ffffff;
}
small, .text-muted{
  color: var(--dp-muted) !important;
}

/* Formulare: Labels / Inputs / Placeholder */
label, .form-label{
  color: var(--dp-text) !important;
}
input, select, textarea{
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}
input:focus, select:focus, textarea:focus{
  outline: none !important;
  border-color: rgba(186,213,43,0.8) !important;
  box-shadow: 0 0 0 0.2rem rgba(186,213,43,0.20) !important;
}
::placeholder{
  color: rgba(255,255,255,0.55) !important;
}

/* Buttons (falls Bootstrap) */
.btn, button{
  color: #fff;
}
.btn-outline-light{
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-light:hover{
  background: rgba(255,255,255,0.12);
}


/* ===== Badges (Terminstatus) ===== */
.dp-badge{
  display:inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .85rem;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.dp-badge-success{ border-color: rgba(186,213,43,0.55); }
.dp-badge-danger{ border-color: rgba(236,0,140,0.55); }
.dp-badge-muted{ border-color: rgba(255,255,255,0.18); color: #ddd; }

/* ===== Alerts variant: muted ===== */
.dp-alert-muted{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e6e6e6;
}
