/**
 * Blue Sky - Breakfast Ordering
 * Nutzt die Marken-Variablen aus style.css.
 */

.bs-bf {
	max-width: 760px;
	margin: 0 auto;
	font-family: 'Quicksand', sans-serif;
	color: var(--text-dark, #2C4A62);
}

.bs-bf * {
	box-sizing: border-box;
}

/* Der Abschnitt hat bereits seinen Seitenabstand. Die Gruppe des
   Block-Editors legt noch einmal denselben drauf, auf dem Handy also
   zweimal 30 Pixel links und rechts. Auf einem 375 Pixel breiten
   Bildschirm bleiben so nur 251 Pixel fuer den Inhalt uebrig. */
.form-section .wp-block-group.has-global-padding:has(> .bs-bf) {
	padding-left: 0;
	padding-right: 0;
}

.bs-bf__error {
	background: #FDECEA;
	border-left: 3px solid #C0392B;
	color: #8E2A20;
	padding: 0.9rem 1.2rem;
	border-radius: 0 8px 8px 0;
	margin: 0 0 1.5rem;
	font-size: 0.95rem;
}

/* ---------------------------------------------------------------
   Schritte
   --------------------------------------------------------------- */

.bs-bf__step {
	background: #fff;
	border: 1px solid rgba(44, 74, 98, 0.12);
	border-radius: 16px;
	padding: 1.6rem 1.7rem;
	margin-bottom: 1.2rem;
}

.bs-bf__steptitle {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 400;
	font-size: 1.28rem;
	letter-spacing: 0.01em;
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.bs-bf__steptitle span {
	flex: 0 0 auto;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--sky, #87CEEB);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 0.92rem;
	font-weight: 600;
	font-family: 'Quicksand', sans-serif;
}

.bs-bf__hint {
	font-size: 0.88rem;
	color: rgba(44, 74, 98, 0.62);
	margin: -0.5rem 0 1rem;
}

.bs-bf__hint--foot {
	text-align: center;
	margin: 0.9rem 0 0;
}

/* ---------------------------------------------------------------
   Menuekarte und Mengen pro Morgen
   --------------------------------------------------------------- */

.bs-bf__menu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1rem;
	margin-bottom: 1.4rem;
}

.bs-bf__menuitem {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	background: var(--sand-light, #FBF0DB);
	border-radius: 12px;
	padding: 0.95rem 1.15rem;
}

.bs-bf__menuitem strong {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 500;
	font-size: 1.05rem;
}

.bs-bf__price {
	font-size: 0.88rem;
	color: var(--sky-deep, #5BA4C9);
	font-weight: 600;
}

.bs-bf__desc {
	font-size: 0.85rem;
	color: rgba(44, 74, 98, 0.62);
	line-height: 1.45;
	margin-top: 0.2rem;
}

.bs-bf__planempty {
	font-size: 0.9rem;
	color: rgba(44, 74, 98, 0.5);
	margin: 0;
	padding: 1rem 0;
	text-align: center;
}

.bs-bf__planrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(44, 74, 98, 0.08);
}

.bs-bf__planrow:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.bs-bf__planrow { flex-wrap: wrap; }

.bs-bf__rownote {
	flex-basis: 100%;
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.45;
	color: #B5563B;
}

.bs-bf__planrow.is-error .bs-bf__rownote {
	font-weight: 700;
}

.bs-bf__plandate {
	font-weight: 600;
	font-size: 0.98rem;
	white-space: nowrap;
}

.bs-bf__planrow.is-first .bs-bf__plandate {
	color: var(--sky-deep, #5BA4C9);
}

.bs-bf__plangroups {
	display: flex;
	align-items: flex-end;
	gap: 1.1rem;
}

.bs-bf__qtywrap {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.bs-bf__qtylabel {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(44, 74, 98, 0.5);
}

.bs-bf__qty {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.bs-bf__step-btn {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	border: 1px solid rgba(44, 74, 98, 0.2);
	background: #fff;
	color: var(--text-dark, #2C4A62);
	font-size: 1.05rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.bs-bf__step-btn:hover {
	background: var(--sand-light, #FBF0DB);
	border-color: var(--sky, #87CEEB);
}

.bs-bf__qty input[type="number"] {
	width: 2.8rem;
	height: 2.1rem;
	text-align: center;
	border: 1px solid rgba(44, 74, 98, 0.2);
	border-radius: 8px;
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark, #2C4A62);
	background: #fff;
	-moz-appearance: textfield;
}

.bs-bf__qty input[type="number"]::-webkit-outer-spin-button,
.bs-bf__qty input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---------------------------------------------------------------
   Kalender
   --------------------------------------------------------------- */

.bs-bf__cal {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.4rem 1.8rem;
}

.bs-bf__monthname {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-align: center;
	margin-bottom: 0.6rem;
	color: var(--text-dark, #2C4A62);
}

.bs-bf__weekdays,
.bs-bf__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 3px;
}

.bs-bf__weekdays span {
	text-align: center;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(44, 74, 98, 0.42);
	padding-bottom: 0.35rem;
}

.bs-bf__day {
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
	border: 1px solid transparent;
	border-radius: 9px;
	background: var(--sand-light, #FBF0DB);
	color: var(--text-dark, #2C4A62);
	font-family: 'Quicksand', sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.bs-bf__day:hover {
	background: var(--sky-light, #B8E2F8);
}

.bs-bf__day.is-selected {
	background: var(--sky-deep, #5BA4C9);
	color: #fff;
	transform: scale(1.04);
}

.bs-bf__day--off {
	background: transparent;
	color: rgba(44, 74, 98, 0.22);
	cursor: default;
	font-weight: 400;
}

.bs-bf__day--empty {
	background: transparent;
	cursor: default;
}

.bs-bf__day--today {
	box-shadow: inset 0 0 0 1px rgba(44, 74, 98, 0.3);
}

.bs-bf__selection {
	margin: 1.1rem 0 0;
	font-size: 0.88rem;
	color: rgba(44, 74, 98, 0.55);
	line-height: 1.6;
}

.bs-bf__selection.has-dates {
	color: var(--text-dark, #2C4A62);
	font-weight: 600;
}

.bs-bf__selection.is-error {
	color: #C0392B;
	font-weight: 600;
}

/* ---------------------------------------------------------------
   Abholzeit
   --------------------------------------------------------------- */

.bs-bf__times {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bs-bf__time input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bs-bf__time span {
	display: block;
	padding: 0.55rem 1.05rem;
	border: 1px solid rgba(44, 74, 98, 0.18);
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.bs-bf__time span:hover {
	background: var(--sand-light, #FBF0DB);
}

.bs-bf__time input:checked + span {
	background: var(--sky-deep, #5BA4C9);
	border-color: var(--sky-deep, #5BA4C9);
	color: #fff;
}

.bs-bf__time input:focus-visible + span {
	outline: 2px solid var(--sky-deep, #5BA4C9);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------
   Angaben
   --------------------------------------------------------------- */

.bs-bf__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.bs-bf__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.bs-bf__field span {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: rgba(44, 74, 98, 0.6);
}

.bs-bf__field input {
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(44, 74, 98, 0.2);
	border-radius: 10px;
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	color: var(--text-dark, #2C4A62);
	background: #fff;
}

.bs-bf__field.is-invalid input {
	border-color: #C0392B;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.bs-bf__field .bs-bf__fielderror {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: #B5412F;
}

.bs-bf__field input:focus {
	outline: none;
	border-color: var(--sky-deep, #5BA4C9);
	box-shadow: 0 0 0 3px rgba(91, 164, 201, 0.16);
}

/* ---------------------------------------------------------------
   Summe und Absenden
   --------------------------------------------------------------- */

.bs-bf__summary {
	min-height: 0;
}

.bs-bf__summary.is-ready {
	background: var(--sand, #F5DEB3);
	border-radius: 16px;
	padding: 1.3rem 1.7rem;
	margin-bottom: 1.2rem;
	text-align: center;
}

.bs-bf__sumline {
	font-size: 0.98rem;
	font-weight: 600;
}

.bs-bf__sumline--split {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-weight: 500;
	padding: 0.15rem 0;
}

.bs-bf__sumline--muted {
	font-size: 0.85rem;
	font-weight: 400;
	color: rgba(44, 74, 98, 0.62);
	margin-top: 0.1rem;
}

.bs-bf__sumtotal {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 2rem;
	font-weight: 400;
	margin-top: 0.5rem;
	letter-spacing: 0.01em;
}

.bs-bf__submit {
	display: block;
	width: 100%;
	padding: 1.05rem 1.5rem;
	border: none;
	border-radius: 999px;
	background: var(--sky-deep, #5BA4C9);
	color: #fff;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.16s ease, transform 0.16s ease;
}

.bs-bf__submit:hover {
	background: var(--text-dark, #2C4A62);
	transform: translateY(-1px);
}

/* ---------------------------------------------------------------
   Kasse und Bestaetigung
   --------------------------------------------------------------- */

.bs-bf__reviewrow th {
	text-align: left;
	font-weight: 600;
}

.bs-bf__ordertable th {
	width: 35%;
}

/* ---------------------------------------------------------------
   Mobil
   --------------------------------------------------------------- */

@media (max-width: 640px) {
	.bs-bf__step {
		padding: 1.2rem 1.1rem;
		border-radius: 14px;
	}

	.bs-bf__menu {
		grid-template-columns: 1fr;
		gap: 0.7rem;
	}

	.bs-bf__planrow {
		flex-direction: column;
		align-items: stretch;
		gap: 0.6rem;
	}

	/* Handy: jede Sorte auf eine eigene Zeile, Name links, Zaehler rechts.
	   Nebeneinander passen lange Namen wie "Grab & Go" nicht in die Breite. */
	.bs-bf__plangroups {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
	}

	.bs-bf__qtywrap {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 0.8rem;
		min-width: 0;
	}

	.bs-bf__qtylabel {
		min-width: 0;
		overflow-wrap: anywhere;
		font-size: 0.78rem;
		color: rgba(44, 74, 98, 0.75);
	}

	.bs-bf__cal {
		grid-template-columns: 1fr;
	}

	.bs-bf__fields {
		grid-template-columns: 1fr;
	}

	.bs-bf__sumtotal {
		font-size: 1.7rem;
	}
}

/* ---------------------------------------------------------------
   Druckansicht der Kuechenliste laeuft ueber das Backend,
   hier nur der Fall, dass jemand die Bestellseite druckt.
   --------------------------------------------------------------- */

@media print {
	.bs-bf__submit,
	.bs-bf__step-btn {
		display: none;
	}
}

/* ------------------------------------------------------------------
 * Weg vom Hotel (Shortcode breakfast_directions)
 * ------------------------------------------------------------------ */
.bs-way {
    background: var(--sand-light, #FBF0DB);
    padding: 4.5rem 1.5rem;
}
.bs-way__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: center;
}
.bs-way__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sky-deep, #5BA4C9);
    margin: 0 0 0.6rem;
}
.bs-way h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    color: var(--text-dark, #2C4A62);
    margin: 0 0 0.8rem;
}
.bs-way__lead {
    font-size: 1.05rem;
    color: var(--text-dark, #2C4A62);
    margin: 0 0 1.4rem;
}
.bs-way__steps {
    list-style: none;
    counter-reset: bsway;
    padding: 0;
    margin: 0 0 1.6rem;
    display: grid;
    gap: 0.85rem;
}
.bs-way__steps li {
    counter-increment: bsway;
    position: relative;
    padding-left: 2.6rem;
    line-height: 1.55;
    color: var(--text-dark, #2C4A62);
    min-height: 1.8rem;
}
.bs-way__steps li::before {
    content: counter(bsway);
    position: absolute;
    left: 0;
    top: -0.05rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: var(--sky-deep, #5BA4C9);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.8rem;
    text-align: center;
}
.bs-way__steps li:last-child::before {
    background: var(--text-dark, #2C4A62);
}
.bs-way__addr {
    font-size: 0.9rem;
    color: var(--text-mid, #5A6C7D);
    line-height: 1.6;
    margin: 0;
}
.bs-way__addr a {
    color: var(--sky-deep, #5BA4C9);
    font-weight: 600;
}
.bs-way__figure {
    margin: 0;
    background: #fff;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(44, 74, 98, 0.08);
}
.bs-way__map {
    display: block;
    width: 100%;
    height: auto;
    font-family: 'Quicksand', sans-serif;
}
.bs-way__street { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; fill: #A89877; }
.bs-way__name { font-size: 20px; font-weight: 700; fill: #2C4A62; }
.bs-way__sub { font-size: 15px; font-weight: 500; fill: #5A6C7D; }
.bs-way__tiny { font-size: 14px; font-weight: 700; fill: #2C4A62; }
.bs-way__entry { font-size: 15px; font-weight: 700; fill: #D9694A; }
.bs-way__step circle { fill: #5BA4C9; stroke: #fff; stroke-width: 3; }
.bs-way__step text { font-size: 14px; font-weight: 700; fill: #fff; }

@media (max-width: 782px) {
    .bs-way { padding: 3rem 1.25rem; }
    /* Handy: Titel und Einleitung, dann Karte, dann die Schritte */
    .bs-way__inner { grid-template-columns: 1fr; gap: 0; }
    .bs-way__text { display: contents; }
    .bs-way__eyebrow { order: 1; }
    .bs-way h2 { order: 2; }
    .bs-way__lead { order: 3; }
    .bs-way__figure { order: 4; margin: 0 0 1.8rem; padding: 0.75rem; }
    .bs-way__steps { order: 5; }
    .bs-way__addr { order: 6; }
}

.bs-bf__field.is-invalid input:focus {
	border-color: #C0392B;
	box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.16);
}


/* ---------------------------------------------------------------
   Brunch an bestimmten Wochentagen
   --------------------------------------------------------------- */

.bs-bf__when {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sky-deep, #5BA4C9);
	margin-bottom: 0.15rem;
}

.bs-bf__menuitem--brunch .bs-bf__when {
	color: #D9694A;
}

.bs-bf__day--brunch {
	position: relative;
}

.bs-bf__day--brunch::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 13%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #FF8B6A;
	transform: translateX(-50%);
}

.bs-bf__day--brunch.bs-bf__day--off::after {
	opacity: 0.35;
}

.bs-bf__day--brunch.is-selected::after {
	background: #fff;
}

.bs-bf__legend {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.9rem 0 0;
	font-size: 0.82rem;
	color: rgba(44, 74, 98, 0.7);
}

.bs-bf__legenddot {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #FF8B6A;
}

/* Hotelgast Los Lorentes (v4.21.0) */
.bs-bf__check {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
	font-size: 0.98rem;
}
.bs-bf__check input {
	width: 20px;
	height: 20px;
	accent-color: #5BA4C9;
	flex: none;
}

/* ---------------------------------------------------------------
   v4.40.0: Zeitwahl getrennt fuer Fruehstueck und Brunch
   --------------------------------------------------------------- */

.bs-bf__timegroup + .bs-bf__timegroup {
	margin-top: 1.1rem;
}

.bs-bf__timegroup[hidden] {
	display: none;
}

.bs-bf__timelabel {
	margin: 0 0 0.5rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--text-dark, #2C4A62);
}

/* v4.41.0: Zeiten klar pro Sorte und pro Morgen */
.bs-bf__hours {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-dark, #2C4A62);
}

.bs-bf__timelabel span {
	display: block;
	font-weight: 400;
	font-size: 0.85rem;
	color: var(--text-mid, #5A6C7D);
	margin-top: 0.1rem;
}

.bs-bf__planhours {
	display: block;
	font-weight: 400;
	font-size: 0.8rem;
	color: var(--text-mid, #5A6C7D);
	white-space: normal;
	margin-top: 0.15rem;
}
