/* Jägerhof – Tischreservierung (Webseite) */
.jht { --g: #d3ae6e; --cream: #ffffca; --bg: #1c1c1c; --bg2: #262626; --txt: #ededea; --mut: #b9b9b2; --line: rgba(211, 174, 110, .35);
	position: relative; max-width: 760px; margin: 0 auto; padding: 40px 32px 28px; box-sizing: border-box; color: var(--txt);
	background: var(--bg); border: 0 !important; border-radius: 0; box-shadow: none !important;
	font-family: Montserrat, system-ui, sans-serif; text-align: left; }
.jht *, .jht *::before, .jht *::after { box-sizing: border-box; }
.jht-head { text-align: center; margin: 0 0 28px; }
.jht .jht-eyebrow { margin: 0 0 6px; padding: 0; font: 600 11px/1 Montserrat, system-ui, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--g); }
.jht .jht-title { margin: 0; padding: 0; font: 400 clamp(36px, 6vw, 54px)/1.05 WorstveldSling, Montserrat, Georgia, serif; color: var(--cream); }
.jht .jht-sub { margin: 10px 0 0; padding: 0; font: 500 14px/1.4 Montserrat, system-ui, sans-serif; color: var(--mut); }
.jht-head::after { content: ""; display: block; width: 90px; height: 1px; margin: 18px auto 0; background: linear-gradient(to right, transparent, var(--g), transparent); }

.jht-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jht-full { grid-column: 1 / -1; }
.jht-field label { display: block; margin: 0 0 7px; font: 600 11px/1.2 Montserrat, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.jht-field label span { color: #e58a7a; }
.jht-input { position: relative; }
.jht-icon { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: var(--g); pointer-events: none; }
.jht-area .jht-icon { top: 18px; transform: none; }
.jht-input input, .jht-input select, .jht-input textarea { width: 100%; margin: 0; min-height: 50px; padding: 13px 14px 13px 46px; font: 500 16px/1.4 Montserrat, system-ui, sans-serif; color: var(--txt);
	background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none; color-scheme: dark; transition: border-color .2s, box-shadow .2s; }
.jht-input input::placeholder, .jht-input textarea::placeholder { color: #7d7d78; }
.jht-input select { padding-right: 38px; background-repeat: no-repeat; background-position: right 14px center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d3ae6e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.jht-input textarea { resize: vertical; min-height: 110px; }
.jht-input input:focus, .jht-input select:focus, .jht-input textarea:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(211, 174, 110, .25); }
.jht-input input[type=date] { cursor: pointer; }
.jht-input input[type=date]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .75; filter: invert(.8) sepia(.6) saturate(2); }
.jht-field.jht-err input, .jht-field.jht-err select, .jht-field.jht-err textarea { border-color: #e58a7a; background: #2a1d1b; }

.jht-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 26px 0 0; padding: 12px 24px; font: 700 14px/1 Montserrat, system-ui, sans-serif;
	letter-spacing: .16em; text-transform: uppercase; color: #1c1c1c; background: var(--g); border: 0; border-radius: 15px; cursor: pointer; transition: background .2s, opacity .2s, transform .2s; }
.jht-btn:hover, .jht-btn:focus-visible { background: #e2c389; transform: translateY(-1px); }
.jht-btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.jht-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.jht-btn .jht-icon { position: static; transform: none; color: currentColor; }
.jht .jht-hint { margin: 16px 0 0; padding: 0; font: 500 12.5px/1.6 Montserrat, system-ui, sans-serif; color: var(--mut); text-align: center; }
.jht .jht-hint a { color: var(--g); text-decoration: underline; }

.jht-msgbox { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; font: 600 15px/1.5 Montserrat, system-ui, sans-serif; }
.jht-msgbox.ok { display: block; position: relative; text-align: center; padding: 70px 22px 24px; background: rgba(211, 174, 110, .1); border: 1px solid var(--g); color: var(--cream); font-size: 17px; animation: jht-pop .45s ease-out; }
.jht-msgbox.ok::before { content: "\2713"; position: absolute; left: 50%; top: 16px; width: 42px; height: 42px; margin-left: -21px; border-radius: 50%; background: var(--g); color: #1c1c1c; font-size: 24px; line-height: 42px; font-weight: 700; }
.jht-msgbox.error { display: block; background: #8f3224; color: var(--cream); }
@keyframes jht-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.jht-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 600px) {
	.jht { padding: 30px 16px 22px; border-radius: 0; }
	.jht-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .jht *, .jht *::before { transition: none !important; animation: none !important; } }

/* Kalender */
.jht .jht-datebtn { cursor: pointer !important; }
.jht-cal { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); padding: 14px; background: #262626; border: 1px solid #d3ae6e; border-radius: 14px; box-shadow: 0 14px 32px rgba(0, 0, 0, .5); }
.jht-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.jht .jht-cal-title { font: 600 14px/1 Montserrat, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #ffffca !important; }
.jht .jht-cal-nav { width: 36px; height: 36px; padding: 0; border-radius: 15px; border: 1px solid rgba(211, 174, 110, .45); background: transparent !important; color: #d3ae6e !important; font: 400 22px/1 Montserrat, system-ui, sans-serif; cursor: pointer; }
.jht .jht-cal-nav:hover:not(:disabled) { background: rgba(211, 174, 110, .15) !important; }
.jht .jht-cal-nav:disabled { opacity: .25; cursor: not-allowed; }
.jht-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.jht .jht-cal-wd { text-align: center; padding: 4px 0 6px; font: 600 10px/1 Montserrat, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #b9b9b2; }
.jht .jht-cal-day { height: 40px; padding: 0; border: 1px solid transparent; border-radius: 10px; background: #1c1c1c !important; color: #ededea !important; font: 600 14px/1 Montserrat, system-ui, sans-serif; cursor: pointer; }
.jht .jht-cal-day:hover:not(:disabled), .jht .jht-cal-day:focus-visible { border-color: #d3ae6e; outline: none; }
.jht .jht-cal-day.is-today { border-color: rgba(211, 174, 110, .55); }
.jht .jht-cal-day.is-sel { background: #d3ae6e !important; color: #1c1c1c !important; }
.jht .jht-cal-day.is-off, .jht .jht-cal-day:disabled { background: transparent !important; color: #5f5f5a !important; text-decoration: line-through; cursor: not-allowed; border-color: transparent; }
.jht .jht-cal-leg { margin-top: 10px; font: 500 11.5px/1.4 Montserrat, system-ui, sans-serif; color: #b9b9b2; text-align: center; }

/* Divi/Theme überschreiben Feldfarben gern mit Schwarz – hier bewusst erzwingen */
.jht .jht-input input, .jht .jht-input select, .jht .jht-input textarea {
	color: #ededea !important; -webkit-text-fill-color: #ededea !important; background-color: #262626 !important; border-color: rgba(211, 174, 110, .35) !important; border-radius: 12px !important;
}
.jht .jht-input input:focus, .jht .jht-input select:focus, .jht .jht-input textarea:focus { border-color: #d3ae6e !important; }
.jht .jht-input select option { color: #ededea !important; -webkit-text-fill-color: #ededea; background-color: #262626 !important; }
.jht .jht-input input::placeholder, .jht .jht-input textarea::placeholder { color: #7d7d78 !important; -webkit-text-fill-color: #7d7d78 !important; opacity: 1; }
.jht .jht-input input:-webkit-autofill { -webkit-text-fill-color: #ededea !important; box-shadow: 0 0 0 100px #262626 inset !important; caret-color: #ededea; }
.jht .jht-btn { color: #1c1c1c !important; background-color: #d3ae6e !important; }
.jht .jht-btn:hover, .jht .jht-btn:focus-visible { background-color: #e2c389 !important; }
.jht .jht-btn span, .jht .jht-btn svg { color: #1c1c1c !important; }
.jht .jht-field label { color: #d3ae6e !important; }
.jht .jht-field label span { color: #e58a7a !important; }
.jht .jht-hint, .jht .jht-hint * { color: #b9b9b2; }
.jht .jht-hint a { color: #d3ae6e !important; }
.jht .jht-msgbox.ok { color: #ffffca !important; }
.jht .jht-msgbox.error { color: #ffffca !important; }

/* Vorbestellung */
.jhp .jht-input input, .jhp .jht-input select, .jhp .jht-input textarea { padding-left: 14px; }
.jhp-items { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.jhp-items legend { padding: 0; margin: 0 0 10px; font: 600 11px/1.2 Montserrat, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.jhp-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; margin: 0 0 8px; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; }
.jhp-item.on { border-color: var(--g); }
.jhp-name { flex: 1; min-width: 0; font: 600 15px/1.35 Montserrat, system-ui, sans-serif; color: var(--cream); }
.jhp-name span { display: block; margin-top: 3px; font: 500 13px/1.2 Montserrat, system-ui, sans-serif; color: var(--g); }
.jhp-qty { display: flex; align-items: center; gap: 6px; flex: none; }
.jhp .jhp-qty button { width: 38px; height: 38px; padding: 0; border-radius: 15px; border: 1px solid rgba(211, 174, 110, .5); background: transparent; color: var(--g); font: 500 20px/1 Montserrat, system-ui, sans-serif; cursor: pointer; }
.jhp .jhp-qty button:hover { background: rgba(211, 174, 110, .15); }
.jhp .jhp-qty input { width: 52px; min-height: 38px; padding: 6px; text-align: center; font: 600 16px/1 Montserrat, system-ui, sans-serif; color: var(--txt); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; -moz-appearance: textfield; appearance: textfield; }
.jhp .jhp-qty input::-webkit-outer-spin-button, .jhp .jhp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jhp-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px 0; font: 600 13px/1 Montserrat, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.jhp-total b { font: 700 20px/1 Montserrat, system-ui, sans-serif; letter-spacing: 0; color: var(--cream); }
@media (max-width: 600px) { .jhp-item { flex-wrap: wrap; } }

/* Warteliste: ausgebuchte Tage sind wählbar und golden umrandet */
.jht .jht-cal-day.is-full { box-shadow: inset 0 0 0 1px #d3ae6e; color: #d3ae6e; cursor: pointer; }
.jht-field[hidden] { display: none !important; }

/* Vorbestellung: Divi überschreibt Schriftfarben von Knöpfen und Feldern – deshalb fest setzen */
.jht .jhp-qty button, .jht .jhp-qty button:hover, .jht .jhp-qty button:focus { color: #d3ae6e !important; -webkit-text-fill-color: #d3ae6e !important; background-color: transparent !important; border-color: rgba(211, 174, 110, .5) !important; }
.jht .jhp-qty button:hover { background-color: rgba(211, 174, 110, .15) !important; }
.jht .jhp-qty input, .jht .jhp-qty input:focus { color: #ededea !important; -webkit-text-fill-color: #ededea !important; background-color: #1c1c1c !important; border-color: rgba(211, 174, 110, .35) !important; opacity: 1; }
.jht .jhp-name { color: #ffffca !important; }
.jht .jhp-name span, .jht .jhp-items legend { color: #d3ae6e !important; }
.jht .jhp-total { color: #b9b9b2 !important; }
.jht .jhp-total b { color: #ffffca !important; }

.jhp-qtywrap { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.jht .jhp-unit { display: block; max-width: 170px; text-align: center; font: 600 11px/1.3 Montserrat, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #d3ae6e !important; }
@media (max-width: 600px) { .jhp-qtywrap { margin-left: auto; } }

/* Links im Hinweistext immer golden (Divi färbt Links sonst schwarz) */
.jht.jht .jht-hint a[href], .jht.jht .jht-hint a[href]:link, .jht.jht .jht-hint a[href]:visited, .jht.jht .jht-hint a[href]:hover { color: #d3ae6e !important; -webkit-text-fill-color: #d3ae6e !important; text-decoration: underline !important; }
