/* Genusswelt Core – Grundstil. Das Theme überschreibt die Variablen, damit alles zum Design passt. */
:root {
	--gw-accent: #8a5a2b;
	--gw-accent-ink: #fff;
	--gw-ink: #222;
	--gw-muted: #6b6b6b;
	--gw-line: #e3ddd5;
	--gw-surface: #fff;
	--gw-free: #e6f2e4;
	--gw-taken: #f1eeea;
	--gw-event: #f6e7d6;
	--gw-radius: 10px;
}

.gw-button { display: inline-block; padding: .75em 1.4em; border: 1px solid var(--gw-accent); border-radius: 999px; background: var(--gw-accent); color: var(--gw-accent-ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.gw-button:hover { filter: brightness(1.08); }
.gw-button:disabled { opacity: .6; cursor: wait; }
.gw-button--ghost { background: transparent; color: var(--gw-accent); }
.gw-button--big { font-size: 1.25rem; padding: 1em 2em; width: 100%; }
.gw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Termine */
.gw-termine { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gw-termin { border: 1px solid var(--gw-line); border-radius: var(--gw-radius); overflow: hidden; background: var(--gw-surface); display: flex; flex-direction: column; }
.gw-termin__bild { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gw-termin__inhalt { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gw-termin__inhalt .gw-button { align-self: flex-start; margin-top: auto; }
.gw-termin__datum { margin: 0; color: var(--gw-accent); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.gw-termin__titel { margin: 0; }
.gw-termin__marke { margin: 0; font-size: .85rem; color: var(--gw-muted); }
.gw-termin__text, .gw-termin__preis { margin: 0; color: var(--gw-muted); }
.gw-termin__mehr { font-size: .9rem; }
.gw-empty { color: var(--gw-muted); }

/* Dialog */
.gw-dialog { border: 0; border-radius: var(--gw-radius); padding: 0; width: min(440px, calc(100vw - 32px)); }
.gw-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.gw-dialog .gw-form { padding: 28px; position: relative; }
.gw-dialog__zu { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--gw-muted); }
.gw-dialog__datum { margin: 0; color: var(--gw-accent); font-weight: 600; }
.gw-dialog__titel { margin: 4px 0 8px; }

/* Formulare */
.gw-form { display: flex; flex-direction: column; gap: 14px; }
.gw-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.gw-form input, .gw-form select, .gw-form textarea { font: inherit; font-weight: 400; padding: .65em .8em; border: 1px solid var(--gw-line); border-radius: 8px; background: #fff; color: var(--gw-ink); }
.gw-form__reihe { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.gw-form__zeit { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.gw-form__zeit input { flex: 1; min-width: 0; }
.gw-form label.gw-form__check { flex-direction: row; align-items: flex-start; font-weight: 400; }
.gw-form__meldung { margin: 0; min-height: 1.4em; color: var(--gw-accent); font-weight: 600; }
.gw-raum__wahl { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gw-raum__option { border: 1px solid var(--gw-line); border-radius: var(--gw-radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.gw-raum__option p { margin: 0; font-size: .9rem; color: var(--gw-muted); }

/* Kalender */
.gw-kalender__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gw-kalender__kopf h3 { margin: 0; }
.gw-kalender__nav { border: 1px solid var(--gw-line); background: #fff; border-radius: 999px; width: 40px; height: 40px; font-size: 22px; cursor: pointer; }
.gw-kalender__nav:disabled { opacity: .35; cursor: default; }
.gw-kalender__raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.gw-kalender__wt { text-align: center; font-size: .8rem; color: var(--gw-muted); padding: 4px 0; }
.gw-kalender__tag { min-height: 64px; border: 0; border-radius: 8px; padding: 6px; text-align: left; display: flex; flex-direction: column; gap: 2px; font: inherit; background: var(--gw-taken); color: var(--gw-muted); overflow: hidden; }
.gw-kalender__tag--frei { background: var(--gw-free); color: var(--gw-ink); cursor: pointer; }
.gw-kalender__tag--frei:hover { outline: 2px solid var(--gw-accent); }
.gw-kalender__tag--event { background: var(--gw-event); color: var(--gw-ink); cursor: pointer; }
.gw-kalender__tag--vorbei { background: transparent; opacity: .45; }
.gw-kalender__zahl { font-weight: 600; }
.gw-kalender__info { font-size: .72rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gw-kalender__legende { font-size: .85rem; color: var(--gw-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.gw-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-right: 4px; }
.gw-dot--frei { background: var(--gw-free); } .gw-dot--event { background: var(--gw-event); } .gw-dot--belegt { background: var(--gw-taken); }
@media (max-width: 520px) { .gw-kalender__tag { min-height: 44px; } .gw-kalender__info { display: none; } }

/* Partner */
.gw-partner { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.gw-partner img { max-height: 72px; width: auto; display: block; }
