/* =========================================================================
   IHK Lahn-Dill Buchungsportal — Frontend Styles
   Design nach Buchungsportal.pdf
   ========================================================================= */

.sib-portal {
	--sib-blue: #003a70;
	--sib-blue-2: #0a4d8c;
	--sib-orange: #f08a24;
	--sib-yellow: #ffcc00;
	--sib-purple: #8e2f8e;
	--sib-magenta: #d6006e;
	--sib-cyan: #16b3c4;
	--sib-green: #5cb85c;
	--sib-ink: #1d2b3a;
	--sib-grey: #5b6b7b;
	--sib-line: #e3e9f0;
	--sib-bg: #ffffff;
	--sib-bg-alt: #eef2f6;
	--sib-radius: 14px;
	--sib-shadow: 0 8px 30px rgba(0, 30, 70, 0.08);

	color: var(--sib-ink);
	font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
	line-height: 1.55;
	font-size: 16px;
}

.sib-portal *,
.sib-portal *::before,
.sib-portal *::after {
	box-sizing: border-box;
}

.sib-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* ---------------------------------------------------------------- Buttons */
.sib-btn {
	display: inline-block;
	border: 0;
	border-radius: 999px;
	padding: 13px 26px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
	line-height: 1.1;
}
.sib-btn:hover { transform: translateY(-1px); }

.sib-btn-primary { background: var(--sib-blue); color: #fff; }
.sib-btn-primary:hover { background: var(--sib-blue-2); }

.sib-btn-light { background: #fff; color: var(--sib-blue); }
.sib-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, .85);
	padding: 11px 24px;
}
.sib-btn-outline:hover { background: rgba(255, 255, 255, .12); }

.sib-btn-block { display: block; width: 100%; }

/* ---------------------------------------------------------------- Header */
.sib-header {
	background: transparent;
	color: #fff;
}
.sib-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 92px;
	gap: 24px;
}
.sib-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
}
.sib-logo-img { height: 40px; width: auto; display: block; }
.sib-logo-mark {
	background: #fff;
	color: var(--sib-blue);
	font-weight: 800;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 16px;
	letter-spacing: .5px;
}
.sib-logo-text { font-weight: 600; font-size: 18px; }

.sib-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}
.sib-nav a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #fff;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .4px;
	text-transform: uppercase;
}
.sib-nav a:hover { color: var(--sib-yellow); }
.sib-nav a.is-current { color: var(--sib-yellow); }
.sib-caret { width: 9px; height: 6px; flex-shrink: 0; }
.sib-nav-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 4px;
	margin-left: 2px;
}
.sib-nav-search svg { width: 18px; height: 18px; }
.sib-nav-search:hover { color: var(--sib-yellow); }

/* ---------------------------------------------------------------- Hero */
.sib-hero {
	background: #1c2a63 url("../img/background.jpg") center center / cover no-repeat;
	color: #fff;
	overflow: hidden;
}
.sib-hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	padding-top: 120px;
	padding-bottom: 64px;
}
.sib-hero-title {
	font-size: 44px;
	line-height: 1.08;
	font-weight: 800;
	margin: 0 0 18px;
	letter-spacing: -.5px;
}
.sib-hero-sub {
	font-size: 16px;
	max-width: 440px;
	opacity: .95;
	margin: 0 0 28px;
}
.sib-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero-Visual: Laptop-Bild aus dem PDF */
.sib-hero-visual { display: flex; justify-content: center; align-items: center; }
.sib-hero-computer { width: 100%; max-width: 560px; height: auto; display: block; }

/* (Alte CSS-Laptop-Attrappe — wird nicht mehr gerendert, bleibt ohne Wirkung) */
.sib-laptop { width: 100%; max-width: 420px; }
.sib-laptop-screen {
	background: #fff;
	border: 8px solid #11203a;
	border-radius: 12px;
	height: 240px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.sib-mock-bar { height: 22px; background: var(--sib-blue); }
.sib-mock-hero {
	flex: 1;
	background: linear-gradient(135deg, #143a78, #2f6fb0);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px 22px;
	gap: 6px;
	color: #fff;
}
.sib-mock-kicker { color: var(--sib-yellow); font-weight: 800; font-size: 20px; }
.sib-mock-head { font-weight: 800; font-size: 22px; }
.sib-mock-btn { width: 90px; height: 14px; background: rgba(255,255,255,.4); border-radius: 4px; margin-top: 6px; }
.sib-mock-strip { height: 26px; background: var(--sib-yellow); }
.sib-laptop-base {
	height: 14px;
	background: #c9d2dc;
	border-radius: 0 0 10px 10px;
	margin: 0 -18px;
}

/* ---------------------------------------------------------------- Sections */
/* Hintergruende exakt nach PDF: Warum=weiss, Ziele=grau, Leistungen=weiss,
   Kombi-Pakete=weiss, Ablauf=grau. */
.sib-section { padding: 64px 0; background: #fff; }
.sib-goals { background: var(--sib-bg-alt); }
.sib-steps { background: var(--sib-bg-alt); }

.sib-h2 {
	text-align: center;
	color: var(--sib-blue);
	font-size: 30px;
	font-weight: 800;
	margin: 0 0 8px;
	letter-spacing: .3px;
}
.sib-kicker {
	text-align: center;
	color: var(--sib-blue);
	font-weight: 700;
	letter-spacing: 1.5px;
	font-size: 13px;
	margin: 0 0 36px;
}
.sib-kicker-magenta { color: var(--sib-magenta); margin-bottom: 6px; }

.sib-grid { display: grid; gap: 24px; margin-top: 36px; }
.sib-grid-3 { grid-template-columns: repeat(3, 1fr); }
.sib-grid-4 { grid-template-columns: repeat(4, 1fr); }
.sib-grid-products { grid-template-columns: repeat(2, 1fr); margin-top: 0; }

/* ----------------------------------------------------- Why / Features */
.sib-feature { text-align: center; padding: 12px; }
.sib-feature-icon {
	width: 96px; height: 96px; margin: 0 auto 18px;
	display: flex; align-items: center; justify-content: center;
}
.sib-feature-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sib-feature h3 { color: var(--sib-blue); font-size: 15px; letter-spacing: .5px; margin: 0 0 8px; }
.sib-feature p { color: var(--sib-grey); font-size: 14px; margin: 0; }

/* ----------------------------------------------------- Goals */
.sib-goal {
	background: #fff;
	border-radius: var(--sib-radius);
	padding: 24px 20px;
	text-align: center;
	box-shadow: var(--sib-shadow);
	display: flex;
	flex-direction: column;
}
.sib-goal-icon {
	width: 66px; height: 66px; margin: 0 auto 14px;
	display: flex; align-items: center; justify-content: center;
}
.sib-goal-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sib-goal-photo {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 10px;
	margin: auto 0 14px;
	display: block;
}
.sib-goal-link { margin-top: 0; }
.sib-c-cyan { background: var(--sib-cyan); }
.sib-c-blue { background: var(--sib-blue); }
.sib-c-purple { background: var(--sib-purple); }
.sib-c-orange { background: var(--sib-orange); }
.sib-goal h3 { color: var(--sib-blue); font-size: 14px; margin: 0 0 8px; letter-spacing: .4px; }
.sib-goal p { color: var(--sib-grey); font-size: 13px; margin: 0 0 14px; }
.sib-goal-link { color: var(--sib-blue); font-weight: 700; font-size: 13px; text-decoration: none; }
.sib-goal-link:hover { text-decoration: underline; }

/* ----------------------------------------------------- Tabs / Services */
.sib-tabs {
	display: flex;
	flex-wrap: wrap;
	background: var(--sib-blue);
	border-radius: 12px 12px 0 0;
	overflow: hidden;
	margin-top: 36px;
}
.sib-tab {
	flex: 1;
	min-width: 140px;
	background: transparent;
	color: rgba(255, 255, 255, .85);
	border: 0;
	padding: 16px 14px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background .12s ease;
}
.sib-tab:hover { background: rgba(255, 255, 255, .08); }
.sib-tab.is-active { background: #fff; color: var(--sib-blue); }

.sib-tabpanel { display: none; }
.sib-tabpanel.is-active { display: block; }

.sib-services-panel {
	background: var(--sib-blue);
	border-radius: 0 0 12px 12px;
	padding: 28px;
}
.sib-panel-title {
	color: #fff;
	font-size: 20px;
	margin: 0 0 20px;
}

.sib-product {
	background: #fff;
	border-radius: var(--sib-radius);
	padding: 24px;
	display: flex;
	flex-direction: column;
}
.sib-product-head { margin-bottom: 12px; }
.sib-product-title { color: var(--sib-blue); font-size: 18px; margin: 0 0 4px; }
.sib-product-subtitle { color: var(--sib-grey); font-size: 14px; margin: 0; }
.sib-product-features {
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
}
.sib-product-features li {
	position: relative;
	padding-left: 20px;
	font-size: 13px;
	color: var(--sib-grey);
	margin-bottom: 6px;
}
.sib-product-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--sib-green);
	font-weight: 700;
}
.sib-product-price { margin: 6px 0 16px; }
.sib-price-amount { color: var(--sib-blue); font-size: 28px; font-weight: 800; }
.sib-price-note { color: var(--sib-grey); font-size: 13px; margin-left: 6px; }

.sib-product-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}
.sib-opt-label { display: block; }
.sib-opt {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--sib-line);
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	color: var(--sib-ink);
}
.sib-product .sib-add { margin-top: auto; }

/* ----------------------------------------------------- Packages */
.sib-packages { background: #fff; }
.sib-package {
	position: relative;
	background: #fff;
	border: 1px solid var(--sib-line);
	border-radius: var(--sib-radius);
	padding: 28px 22px;
	text-align: center;
	box-shadow: var(--sib-shadow);
	display: flex;
	flex-direction: column;
}
.sib-package-head { margin-bottom: 4px; }
.sib-package-title { font-size: 19px; margin: 0; color: var(--sib-blue); letter-spacing: .5px; }
.sib-package-sub { font-size: 13px; font-weight: 700; color: var(--sib-grey); margin: 5px 0 0; }

.sib-package-features {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	text-align: center;
}
.sib-package-features li {
	font-size: 13px;
	color: var(--sib-grey);
	margin-bottom: 7px;
}
.sib-package-features li::before {
	content: "•";
	margin-right: 7px;
}

.sib-package .sib-product-price { margin-top: auto; padding-top: 20px; }
.sib-package .sib-price-amount { font-size: 32px; }
.sib-package .sib-price-note { display: block; margin-left: 0; margin-top: 2px; }
.sib-package .sib-add { margin-top: 16px; }

/* Titel-/Untertitel-/Button-Farben je Paket (Reihenfolge: Starter, Recruiting, Premium, All-In). */
.sib-package:nth-child(1) .sib-package-title { color: var(--sib-green); }
.sib-package:nth-child(2) .sib-package-title { color: var(--sib-blue); }
.sib-package:nth-child(4) .sib-package-title,
.sib-package:nth-child(4) .sib-package-sub { color: var(--sib-orange); }
.sib-package:nth-child(1) .sib-add { background: var(--sib-green); }
.sib-package:nth-child(2) .sib-add { background: var(--sib-blue); }
.sib-package:nth-child(4) .sib-add { background: var(--sib-orange); }

.sib-package.is-highlight {
	background: var(--sib-purple);
	border-color: var(--sib-purple);
	color: #fff;
	position: relative;
	z-index: 2;
	box-shadow: 0 18px 44px rgba(142, 47, 142, .30);
}
/* Hervorgehobenes Paket rundum groesser (oben + unten + seitlich), zentriert. */
@media (min-width: 901px) {
	.sib-package.is-highlight {
		transform: scale(1.08);
	}
}
.sib-package.is-highlight .sib-package-title,
.sib-package.is-highlight .sib-package-sub,
.sib-package.is-highlight .sib-price-amount { color: #fff; }
.sib-package.is-highlight .sib-package-features li { color: rgba(255, 255, 255, .92); }
.sib-package.is-highlight .sib-price-note { color: rgba(255, 255, 255, .85); }
.sib-package.is-highlight .sib-add { background: #fff; color: var(--sib-purple); }
.sib-package-badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--sib-yellow);
	color: var(--sib-ink);
	font-size: 11px;
	font-weight: 800;
	padding: 5px 14px;
	border-radius: 999px;
	white-space: nowrap;
	letter-spacing: .3px;
}

/* ----------------------------------------------------- Steps */
.sib-step { text-align: center; }
.sib-step-circle {
	width: 64px; height: 64px; margin: 0 auto 16px;
	border-radius: 50%;
	color: #fff;
	font-size: 24px; font-weight: 800;
	display: flex; align-items: center; justify-content: center;
}
.sib-step h3 { color: var(--sib-blue); font-size: 14px; margin: 0 0 8px; letter-spacing: .4px; }
.sib-step p { color: var(--sib-grey); font-size: 13px; margin: 0; }

/* ----------------------------------------------------- Footer */
.sib-footer { background: var(--sib-blue); color: #fff; }
.sib-footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 24px;
	padding: 48px 24px;
}
.sib-footer-col h3 { font-size: 22px; margin: 0; }
.sib-footer-col h4 { font-size: 13px; margin: 0 0 10px; opacity: .8; font-weight: 600; }
.sib-footer-col p { margin: 0 0 6px; font-size: 14px; }
.sib-footer-bar {
	background: var(--sib-yellow);
	color: var(--sib-ink);
}
.sib-footer-bar .sib-container {
	padding-top: 14px;
	padding-bottom: 14px;
	font-weight: 700;
	font-size: 14px;
	text-align: center;
}
.sib-footer-legal { background: #002a52; }
.sib-footer-legal .sib-container { padding-top: 18px; padding-bottom: 18px; }
.sib-footer-legal p { margin: 0 0 6px; font-size: 12px; opacity: .7; }

/* ----------------------------------------------------- Cart / Check-out */
.sib-cart-toggle {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9998;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 0;
	background: var(--sib-blue);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(0, 30, 70, .40);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sib-cart-toggle:hover {
	background: var(--sib-blue-2);
	box-shadow: 0 14px 32px rgba(0, 30, 70, .48);
	transform: translateY(-2px);
}
.sib-cart-toggle-icon { width: 26px; height: 26px; }
.sib-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--sib-yellow);
	color: var(--sib-ink);
	min-width: 22px;
	height: 22px;
	border-radius: 11px;
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
}

.sib-cart {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}
.sib-cart.is-open { display: block; }
.sib-cart-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 20, 45, .45);
}
.sib-cart-panel {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 420px;
	max-width: 92vw;
	background: #fff;
	box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
	display: flex;
	flex-direction: column;
	z-index: 1;
}
.sib-cart-header {
	position: relative;
	padding: 24px 24px 16px;
	border-bottom: 1px solid var(--sib-line);
}
.sib-cart-header .sib-kicker { text-align: left; margin: 0 0 2px; }
.sib-cart-title { color: var(--sib-blue); font-size: 22px; margin: 0; }
.sib-cart-close {
	position: absolute;
	top: 18px;
	right: 18px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--sib-grey);
}
.sib-cart-body {
	padding: 20px 24px 32px;
	overflow-y: auto;
	flex: 1;
}
.sib-cart-empty { color: var(--sib-grey); font-size: 14px; }

.sib-cart-item {
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--sib-line);
}
.sib-cart-item-main { flex: 1; min-width: 0; }
.sib-cart-item-title { font-weight: 700; color: var(--sib-blue); font-size: 15px; }
.sib-cart-item-options { font-size: 12px; color: var(--sib-grey); margin-top: 2px; }
.sib-cart-item-price { font-size: 13px; color: var(--sib-grey); margin-top: 4px; }
.sib-cart-item-side { text-align: right; }
.sib-cart-item-linetotal { font-weight: 800; color: var(--sib-blue); white-space: nowrap; }

.sib-qty {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}
.sib-qty button {
	width: 26px;
	height: 26px;
	border: 1px solid var(--sib-line);
	background: #fff;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	color: var(--sib-blue);
}
.sib-qty-value { min-width: 20px; text-align: center; font-weight: 700; }
.sib-cart-remove {
	border: 0;
	background: transparent;
	color: var(--sib-magenta);
	font-size: 12px;
	cursor: pointer;
	margin-top: 6px;
	padding: 0;
	text-decoration: underline;
}

.sib-cart-summary {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 18px 0;
	margin-top: 4px;
	border-top: 2px solid var(--sib-blue);
}
.sib-cart-summary-label { font-weight: 700; font-size: 16px; }
.sib-cart-total { font-weight: 800; font-size: 22px; color: var(--sib-blue); }

.sib-checkout-form { margin-top: 8px; }
.sib-checkout-heading { font-size: 16px; color: var(--sib-blue); margin: 0 0 14px; }
.sib-field { margin-bottom: 14px; }
.sib-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--sib-ink); }
.sib-field input,
.sib-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--sib-line);
	border-radius: 8px;
	font-size: 14px;
	font-family: inherit;
	color: var(--sib-ink);
}
.sib-field input:focus,
.sib-field textarea:focus {
	outline: none;
	border-color: var(--sib-blue);
}
.sib-form-error {
	color: var(--sib-magenta);
	font-size: 13px;
	font-weight: 600;
	margin: 4px 0 12px;
}

.sib-thankyou { text-align: center; padding: 30px 10px; }
.sib-thankyou-check {
	width: 64px; height: 64px; margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--sib-green);
	color: #fff;
	font-size: 32px;
	display: flex; align-items: center; justify-content: center;
}
.sib-thankyou h3 { color: var(--sib-blue); margin: 0 0 12px; font-size: 20px; }
.sib-thankyou p { color: var(--sib-grey); font-size: 14px; }

/* ----------------------------------------------------- Responsive */
@media (max-width: 900px) {
	.sib-grid-3, .sib-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.sib-hero-inner { grid-template-columns: 1fr; }
	.sib-hero-visual { order: -1; }
	.sib-footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sib-grid-3, .sib-grid-4, .sib-grid-products { grid-template-columns: 1fr; }
	.sib-hero-title { font-size: 32px; }
	.sib-nav { display: none; }
	.sib-tab { min-width: 50%; }
	.sib-h2 { font-size: 24px; }
}

/* =========================================================================
   Kleine, design-neutrale Verbesserungen (eigenstaendige Seite, kein Theme-Rahmen)
   ========================================================================= */
html { scroll-behavior: smooth; }
body.sib-fullpage { margin: 0; padding: 0; background: #fff; }
.sib-portal [id] { scroll-margin-top: 104px; }

/* Header wie auf der echten IHK-Seite: oben transparent ueber dem Hero,
   beim Scrollen wird der Hintergrund navy. */
.sib-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	transition: background .25s ease, box-shadow .25s ease;
}
.sib-header.is-scrolled {
	background: var(--sib-blue);
	box-shadow: 0 2px 16px rgba(0, 20, 50, .28);
}

/* Wenn die WordPress-Adminbar sichtbar ist (eingeloggt): Header darunter setzen,
   damit sich beide nicht ueberlappen. Adminbar = 32px (Desktop) bzw. 46px (<=782px). */
body.admin-bar .sib-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .sib-header { top: 46px; }
}

/* Ziel-Karten sind anklickbar und aktivieren den passenden Leistungs-Reiter. */
.sib-goal[data-cat] { cursor: pointer; }
.sib-goal[data-cat]:hover { box-shadow: 0 12px 36px rgba(0, 30, 70, 0.14); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sib-portal *,
	.sib-portal *::before,
	.sib-portal *::after {
		transition-duration: .001ms !important;
		animation-duration: .001ms !important;
	}
}
