/* =========================================================
   ncn Buchungsleiste – alles in einer Zeile
   Farbschema fest wie paparheinhotel.de (helle Leiste)
   Styles sind bewusst "theme-fest" (hohe Priorität + Resets),
   damit das WordPress-Theme sie nicht überschreibt.
   ========================================================= */
:root{
	--ncn-bl-bg:       rgba(255,255,255,.97); /* Leiste: fast weiß */
	--ncn-bl-border:   #d2d8de;   /* Rahmen der Felder */
	--ncn-bl-label:    #1b2a4a;   /* Label-Text: dunkelblau */
	--ncn-bl-field-tx: #23303f;   /* Text in den Feldern */
	--ncn-bl-accent:   #1f7fc4;   /* Akzent (Fokus) */
	--ncn-bl-cta:      #2f3a44;   /* Button: anthrazit */
	--ncn-bl-cta-hov:  #1d262e;   /* Button hover */
	--ncn-bl-radius:   3px;
}

/* ---------- Die fixierte Leiste ---------- */
#ncn-bl.ncn-bl{
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 99990;
	background: var(--ncn-bl-bg);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: var(--ncn-bl-label);
	border-top: 1px solid var(--ncn-bl-border);
	box-shadow: 0 -3px 16px rgba(0,0,0,.12);
	font-family: inherit;
}

#ncn-bl .ncn-bl__bar{
	position: relative;
	/*max-width: 1400px;*/
	margin: 0 auto;
	padding: 14px 26px;
	display: flex;
	align-items: flex-end;
	gap: 10px 18px;
	flex-wrap: nowrap;            /* alles in EINER Zeile */
	box-sizing: border-box;
}

#ncn-bl .ncn-bl__field{
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}
#ncn-bl .ncn-bl__field--grow{ flex: 1 1 90px; min-width: 0; }

#ncn-bl .ncn-bl__field > label{
    font-size: 15px;
    font-weight: 500;
	letter-spacing: 0.05em;
	color: var(--ncn-bl-label);
	white-space: nowrap;
	line-height: 1.2;
	margin: 0;
	text-transform: none;
}

/* ---- Eingabefelder (Reset gegen Theme) ---- */
#ncn-bl .ncn-bl__field input[type="date"],
#ncn-bl .ncn-bl__field input[type="text"],
#ncn-bl .ncn-bl__field input[type="email"],
#ncn-bl .ncn-bl__field select{
	-webkit-appearance: none;
	appearance: none;
	height: 42px !important;
	min-height: 42px !important;
	line-height: normal !important;
	border: 1px solid var(--ncn-bl-border) !important;
	border-radius: var(--ncn-bl-radius) !important;
	background: #ffffff !important;
	color: var(--ncn-bl-field-tx) !important;
	padding: 0 12px !important;
	margin: 0 !important;
	font-size: 14px !important;
	font-family: inherit !important;
	font-weight: 400 !important;
	width: 100%;
	box-shadow: none !important;
	box-sizing: border-box !important;
	text-transform: none !important;
}
/* Select bekommt wieder einen Pfeil */
#ncn-bl .ncn-bl__field select{
	padding-right: 26px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231b2a4a' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 10px center !important;
	cursor: pointer;
}
#ncn-bl .ncn-bl__field input:focus,
#ncn-bl .ncn-bl__field select:focus{
	outline: none !important;
	border-color: var(--ncn-bl-accent) !important;
	box-shadow: 0 0 0 3px rgba(31,127,196,.15) !important;
}
#ncn-bl .ncn-bl__field input[type="date"]{ width: 132px; }
#ncn-bl .ncn-bl__field--prefix select{ width: 78px; }
#ncn-bl .ncn-bl__field--grow input{ min-width: 0; }

#ncn-bl .ncn-bl__field input.ncn-bl-invalid,
#ncn-bl .ncn-bl__field select.ncn-bl-invalid{
	border-color: #e0453a !important;
	box-shadow: 0 0 0 3px rgba(224,69,58,.15) !important;
}

/* ---- Stepper (Erwachsene / Kinder): dezent, klein ---- */
#ncn-bl .ncn-bl__stepper{
	display: flex;
	align-items: stretch;
	height: 42px;
	gap: 5px;
}
#ncn-bl .ncn-bl__stepper input{
	width: 46px !important;
	min-width: 46px !important;
	height: 42px !important;
	border: 1px solid var(--ncn-bl-border) !important;
	border-radius: var(--ncn-bl-radius) !important;
	text-align: center !important;
	font-size: 15px !important;
	color: var(--ncn-bl-field-tx) !important;
	background: #ffffff !important;
	font-family: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}
#ncn-bl button.ncn-bl__step{
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 30px !important;
	min-width: 30px !important;
	height: 42px !important;
	border: 1px solid var(--ncn-bl-border) !important;
	border-radius: var(--ncn-bl-radius) !important;
	background: #f1f4f7 !important;
	color: var(--ncn-bl-label) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background .15s ease, color .15s ease;
}
#ncn-bl button.ncn-bl__step:hover{
	background: var(--ncn-bl-accent) !important;
	color: #fff !important;
	border-color: var(--ncn-bl-accent) !important;
}

/* ---- Einwilligung – einzeilig ---- */
#ncn-bl .ncn-bl__field--consent{ flex: 0 0 auto; }
#ncn-bl .ncn-bl__check{
	display: flex;
	gap: 6px;
	align-items: center;
	height: 42px;
	font-size: 12px;
	white-space: nowrap;
	color: #45505c;
	cursor: pointer;
	margin: 0;
}
#ncn-bl .ncn-bl__check input{ flex: 0 0 auto; margin: 0; width: auto !important; height: auto !important; }
#ncn-bl .ncn-bl__check a{ 
	/*color: var(--ncn-bl-accent); */
	color: #555c5f!important;
	text-decoration: underline; 
	font-size: 15px;
}

/* ---- CTA-Button ---- */
#ncn-bl .ncn-bl__field--submit{ margin-left: auto; }
#ncn-bl button.ncn-bl__cta{
	-webkit-appearance: none !important;
	appearance: none !important;
	height: 65px !important;
	min-height: 42px !important;
	border: 0 !important;
	border-radius: var(--ncn-bl-radius) !important;
	background: var(--ncn-bl-cta) !important;
	color: #fff !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	text-transform: uppercase !important;
	letter-spacing: .05em !important;
	padding: 0 26px !important;
	margin: 0 !important;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background .15s ease, transform .15s ease;
	font-family: inherit !important;
	line-height: 1.3em;
}
#ncn-bl button.ncn-bl__cta:hover{ background: var(--ncn-bl-cta-hov) !important; transform: translateY(-1px); }
#ncn-bl button.ncn-bl__cta:disabled{ opacity: .6; cursor: default; transform: none; }

/* ---- Fehlermeldung – schwebt über der Leiste ---- */
#ncn-bl .ncn-bl__error{
	position: absolute;
	left: 26px;
	top: -28px;
	margin: 0;
	padding: 4px 12px;
	font-size: 13px;
	color: #fff;
	background: #e0453a;
	border-radius: 4px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
#ncn-bl .ncn-bl__error:empty{ display: none; }

/* Honeypot verstecken */
#ncn-bl .ncn-bl-hp{
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px){
	#ncn-bl .ncn-bl__field > label{ font-size: 10px; }
	#ncn-bl button.ncn-bl__cta{ padding: 0 18px !important; }
	#ncn-bl .ncn-bl__bar{ gap: 8px 12px; padding: 12px 18px; }
}
/* Ab hier passt nicht mehr alles in eine Zeile -> umbrechen */
@media (max-width: 1000px){
	#ncn-bl .ncn-bl__bar{ flex-wrap: wrap; }
	#ncn-bl .ncn-bl__field--submit{ margin-left: auto; }
}
@media (max-width: 720px){
	#ncn-bl .ncn-bl__bar{ max-height: 46vh; overflow-y: auto; }
	#ncn-bl .ncn-bl__field{ flex: 1 1 46%; }
	#ncn-bl .ncn-bl__field--grow{ flex: 1 1 46%; }
	#ncn-bl .ncn-bl__field--consent{ flex: 1 1 100%; }
	#ncn-bl .ncn-bl__field--submit{ flex: 1 1 100%; margin-left: 0; }
	#ncn-bl button.ncn-bl__cta{ width: 100%; }
	#ncn-bl .ncn-bl__field input[type="date"]{ width: 100%; }
	#ncn-bl .ncn-bl__stepper{ justify-content: flex-start; }
}

/* =========================================================
   Erfolgs-Popup
   ========================================================= */
.ncn-bl-success{
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ncn-bl-success.is-open{ display: flex; }
.ncn-bl-success__overlay{ position: absolute; inset: 0; background: rgba(0,0,0,.55); }

.ncn-bl-success__box{
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #fff;
	color: #222;
	border-radius: 14px;
	padding: 34px 28px 30px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	animation: ncn-bl-pop .25s ease;
	font-family: inherit;
}
@keyframes ncn-bl-pop{
	from{ opacity: 0; transform: translateY(14px) scale(.98); }
	to{ opacity: 1; transform: none; }
}
.ncn-bl-success__box h3{ margin: 6px 0 8px; font-size: 22px; color: var(--ncn-bl-label); }
.ncn-bl-success__box p{ margin: 0 0 20px; color: #555; font-size: 15px; line-height: 1.5; }
.ncn-bl-success__box .ncn-bl__cta{
	background: var(--ncn-bl-cta) !important;
	color: #fff !important;
	border: 0 !important;
	height: 42px !important;
	padding: 0 26px !important;
	border-radius: var(--ncn-bl-radius) !important;
	cursor: pointer;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .05em !important;
}

.ncn-bl-success__icon{ width: 64px; height: 64px; margin: 0 auto 6px; }
.ncn-bl-success__icon svg{ width: 100%; height: 100%; }
.ncn-bl-success__icon circle{ stroke: #2fbf71; stroke-width: 2; }
.ncn-bl-success__icon path{ stroke: #2fbf71; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
