/* ==========================================================================
   Boot Bodensee – Child Theme für ClassiPress 4.2.x
   Aufbau: 1 Schriften · 2 Variablen · 3 Basis · 4 Kopf · 5 Startseite
           6 Karten · 7 Listen/Suche · 8 Inserat · 9 Formulare · 10 Fußzeile
           11 Preisseite · 12 Seiten/Blog · 13 Responsive
   ========================================================================== */

/* 1 · Schriften (lokal, SIL Open Font License) ---------------------------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/manrope-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/manrope-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 2 · Variablen ------------------------------------------------------------- */
:root {
	--bb-blue: #3A5592;          /* Logo-Blau „Bodensee“ */
	--bb-blue-dark: #2B4275;
	--bb-navy: #1C2B4F;
	--bb-navy-2: #2E3F66;
	--bb-wave: #A5B0CC;          /* helle Welle im Logo */
	--bb-tint: #E9EDF6;
	--bb-bg: #F4F6FA;
	--bb-bg-2: #F8F9FC;
	--bb-line: #DDE2EC;
	--bb-line-2: #EEF1F6;
	--bb-input: #C8D0E0;
	--bb-ink: #141A26;
	--bb-ink-2: #343D52;
	--bb-muted: #4B5468;
	--bb-green: #0E5E46;
	--bb-green-bg: #E3F3EC;
	--bb-cta: var(--bb-blue);
	--bb-radius: 16px;
	--bb-radius-sm: 10px;
	--bb-shadow: 0 10px 30px rgba(28, 43, 79, 0.08);
	--bb-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--bb-font-head: 'Manrope', 'Inter', system-ui, sans-serif;
	--bb-max: 1280px;
	--bb-hero-scrim: 0.75;
}

/* 3 · Basis ---------------------------------------------------------------- */
body.bb-theme {
	font-family: var(--bb-font);
	color: var(--bb-ink);
	background: var(--bb-bg);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.bb-theme h1, .bb-theme h2, .bb-theme h3, .bb-theme h4, .bb-theme h5, .bb-theme h6,
.bb-theme .h1, .bb-theme .h2, .bb-theme .h3, .bb-theme .h4 {
	font-family: var(--bb-font-head);
	color: var(--bb-ink);
	letter-spacing: -0.015em;
}
.bb-theme a { color: var(--bb-blue); }
.bb-theme a:hover, .bb-theme a:focus { color: var(--bb-navy); }
.bb-theme .row { max-width: var(--bb-max); }
.bb-theme .off-canvas-content { background: var(--bb-bg); }

.bb-container { max-width: var(--bb-max); margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

/* Buttons */
.bb-btn,
.bb-theme .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--bb-font);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border-radius: 12px;
	padding: 13px 20px;
	border: 1px solid transparent;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
	text-decoration: none;
	cursor: pointer;
}
.bb-theme .button,
.bb-theme .bb-btn--primary,
.bb-theme a.bb-btn--primary { background: var(--bb-cta); color: #fff; border-color: var(--bb-cta); }
.bb-theme .button:hover, .bb-theme .button:focus,
.bb-theme .bb-btn--primary:hover, .bb-theme .bb-btn--primary:focus { background: var(--bb-blue-dark); border-color: var(--bb-blue-dark); color: #fff; }
.bb-theme .button.hollow,
.bb-theme .bb-btn--ghost { background: #fff; color: var(--bb-navy); border-color: var(--bb-input); }
.bb-theme .button.hollow:hover,
.bb-theme .bb-btn--ghost:hover { background: var(--bb-tint); color: var(--bb-navy); }
.bb-btn--block { width: 100%; }
.bb-theme .button.secondary { background: var(--bb-navy); border-color: var(--bb-navy); }

.bb-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 44px; }
.bb-icon { flex: none; vertical-align: middle; }

/* Tags / Badges */
.bb-tag {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 12px; font-weight: 600; line-height: 1.3;
	padding: 3px 8px; border-radius: 6px;
	text-decoration: none;
}
.bb-tag--green { color: var(--bb-green); background: var(--bb-green-bg); }
.bb-tag--green:hover { color: var(--bb-green); background: #CFEBDD; }
.bb-tag--blue { color: var(--bb-blue-dark); background: var(--bb-tint); }
.bb-tag--dark { color: #fff; background: var(--bb-navy); }
.bb-badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px;
}
.bb-badge--top { background: var(--bb-navy); color: #fff; }
.bb-badge--light { background: #fff; color: var(--bb-navy); font-weight: 700; }
.bb-cc {
	display: inline-block; font-size: 12px; font-weight: 700; line-height: 1;
	background: var(--bb-navy); color: #fff; padding: 4px 7px; border-radius: 5px;
}

/* ClassiPress-Labels angleichen */
.bb-theme .label { border-radius: 6px; font-weight: 600; }
.bb-theme .label.warning, .bb-theme .featured-label { background: var(--bb-navy); color: #fff; }

/* 4 · Kopfbereich ---------------------------------------------------------- */
.bb-theme .header { background: #fff; position: relative; z-index: 20; }
.bb-theme .header #top-bar-secondary { display: none; }

/* Werbeleiste */
.bb-theme .header .bb-adbar {
	background: var(--bb-bg);
	border-bottom: 1px solid var(--bb-line);
	padding: 8px 0;
}
.bb-adbar__inner { display: flex; align-items: center; justify-content: center; gap: 24px; }
.bb-adbar__banner img { display: block; max-width: 100%; height: auto; max-height: 60px; width: auto; }
.bb-adbar__menu .menu a { font-size: 13px; color: var(--bb-muted); padding: 6px 10px; }

/* Hauptleiste */
.bb-theme .header #top-bar-primary.bb-topbar {
	background: #fff;
	border-bottom: 1px solid var(--bb-line);
	padding: 0;
}
.bb-topbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
}
.bb-theme .header .bb-brand { float: none; padding: 0; flex: none; }
.bb-theme .header .bb-brand .custom-logo-link { display: block; margin: 0; }
.bb-theme .header .bb-brand .custom-logo-link img,
.bb-theme .bb-titlebar .custom-logo-link img {
	display: block;
	height: 48px;
	width: auto;
	max-height: none;
}
.bb-brand__name { font-family: var(--bb-font-head); font-weight: 800; font-size: 20px; color: var(--bb-navy); }

/* Hauptmenü (Menüposition „Header Bottom Bar“) */
.bb-mainnav { flex: 1 1 auto; min-width: 0; }
.bb-mainnav > .menu,
.bb-mainnav ul#menu-header { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; background: transparent; }
.bb-theme #top-bar-primary .bb-mainnav .menu > li > a {
	color: var(--bb-ink);
	font-weight: 500;
	font-size: 15px;
	padding: 10px 14px;
	border-radius: 8px;
	background: transparent;
	line-height: 1.3;
}
.bb-theme #top-bar-primary .bb-mainnav .menu > li > a:hover,
.bb-theme #top-bar-primary .bb-mainnav .menu > li.current-menu-item > a,
.bb-theme #top-bar-primary .bb-mainnav .menu > li.current-menu-ancestor > a,
.bb-theme #top-bar-primary .bb-mainnav .menu > li.current_page_item > a {
	background: var(--bb-tint);
	color: var(--bb-navy);
}
/* „Boot verkaufen“ (Link auf create-listing) als Button */
.bb-theme #top-bar-primary .bb-mainnav .menu > li > a[href*="create-listing"] {
	background: var(--bb-cta);
	color: #fff;
	font-weight: 600;
	padding: 11px 18px;
	border-radius: 10px;
	margin-left: 8px;
}
.bb-theme #top-bar-primary .bb-mainnav .menu > li > a[href*="create-listing"]:hover { background: var(--bb-blue-dark); color: #fff; }
.bb-theme #top-bar-primary .bb-mainnav .menu > li > a[href*="create-listing"] i,
.bb-theme #top-bar-primary .bb-mainnav .menu > li > a[href*="create-listing"] .fa { color: #fff; }
.bb-theme #top-bar-primary .bb-mainnav .is-dropdown-submenu-parent > a::after { border-color: var(--bb-muted) transparent transparent; }

/* Dropdowns (Foundation) */
.bb-theme #top-bar-primary .is-dropdown-submenu,
.bb-theme #top-bar-primary .dropdown.menu .submenu {
	background: #fff;
	border: 1px solid var(--bb-line);
	border-radius: 12px;
	box-shadow: var(--bb-shadow);
	padding: 6px;
	min-width: 230px;
}
.bb-theme #top-bar-primary .is-dropdown-submenu a {
	color: var(--bb-ink);
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 14px;
}
.bb-theme #top-bar-primary .is-dropdown-submenu a:hover { background: var(--bb-tint); color: var(--bb-navy); }

/* Benutzermenü (Menüposition „Header Middle Bar“) */
.bb-usernav { display: flex; align-items: center; gap: 8px; flex: none; }
.bb-theme #top-bar-primary .bb-usernav .top-bar-right { float: none; }
.bb-theme #top-bar-primary .bb-usernav .menu { display: flex; align-items: center; background: transparent; }
.bb-theme #top-bar-primary .bb-usernav .menu > li > a {
	color: var(--bb-ink);
	font-weight: 500;
	font-size: 14px;
	padding: 10px 12px;
	border-radius: 8px;
}
.bb-theme #top-bar-primary .bb-usernav .menu > li + li { border-left: 1px solid var(--bb-line); }
.bb-theme #top-bar-primary .bb-usernav .menu > li > a:hover { background: var(--bb-tint); color: var(--bb-navy); }
.bb-theme #top-bar-primary .bb-usernav img.avatar { width: 28px; height: 28px; border-radius: 50%; margin-right: 8px; }

.bb-theme #top-bar-primary ul, .bb-theme #first-top-bar ul { background: transparent; }
.bb-theme #top-bar-primary .menu a { line-height: 1.3; }

/* Mobile Kopfzeile */
@media (min-width: 40em) { .bb-theme .title-bar.bb-titlebar { display: none !important; } }
.bb-theme .title-bar.bb-titlebar {
	background: #fff;
	border-bottom: 1px solid var(--bb-line);
	padding: 8px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.bb-theme .bb-titlebar .menu-icon::after { background: var(--bb-navy); box-shadow: 0 7px 0 var(--bb-navy), 0 14px 0 var(--bb-navy); }
.bb-titlebar__brand { flex: 1 1 auto; display: flex; justify-content: center; }
.bb-theme .bb-titlebar .custom-logo-link img { height: 38px; }
.bb-titlebar__user {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 10px; color: var(--bb-navy); background: transparent; cursor: pointer;
}
.bb-theme .off-canvas.dark { background: var(--bb-navy); }

/* 5 · Startseite ----------------------------------------------------------- */
.bb-home { background: #fff; }
.bb-theme .content-area.bb-home,
.bb-theme .content-area.bb-pricing { margin-top: 0; padding-top: 0; }
.bb-section { padding-top: 56px; }
.bb-section:last-child { padding-bottom: 72px; }
.bb-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bb-theme .bb-section__title { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.2; }
.bb-section__sub { margin: 4px 0 0; color: var(--bb-muted); max-width: 720px; }
.bb-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--bb-blue); letter-spacing: .06em; text-transform: uppercase; }
.bb-eyebrow--light { color: var(--bb-wave); }

/* Startbild */
.bb-hero { position: relative; background: var(--bb-navy); color: #fff; overflow: hidden; }
.bb-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(20, 30, 58, var(--bb-hero-scrim)) 0%, rgba(20, 30, 58, calc(var(--bb-hero-scrim) * 0.6)) 45%, rgba(20, 30, 58, 0.1) 80%);
}
.bb-hero__inner { position: relative; padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 32px; }
.bb-hero__text { max-width: 680px; text-shadow: 0 1px 14px rgba(10, 16, 34, .35); }
.bb-hero__eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #DCE2F2; letter-spacing: .06em; text-transform: uppercase; }
.bb-theme .bb-hero__title { margin: 0; color: #fff; font-size: 54px; font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; }
.bb-hero__lead { margin: 14px 0 0; font-size: 19px; color: #EEF1F8; max-width: 580px; }

/* Suche */
.bb-search {
	background: #fff; color: var(--bb-ink);
	border-radius: 18px; padding: 8px;
	box-shadow: 0 24px 48px rgba(10, 16, 34, .35);
}
.bb-search__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; padding: 10px; }
.bb-field {
	display: flex; flex-direction: column; gap: 2px;
	border: 1px solid var(--bb-line); border-radius: 12px; padding: 8px 14px; margin: 0;
	font-size: 15px; color: var(--bb-ink);
}
.bb-field__label { font-size: 12px; font-weight: 600; color: var(--bb-muted); }
.bb-theme .bb-field .bb-field__control,
.bb-theme .bb-field select,
.bb-theme .bb-field input {
	border: 0; box-shadow: none; padding: 2px 0; margin: 0; height: auto;
	background-color: transparent; font-weight: 500; color: var(--bb-ink); font-size: 15px;
}
.bb-theme .bb-field select { background-position: right -6px center; padding-right: 18px; }
.bb-search__submit { min-height: 60px; font-size: 16px; font-weight: 700; }
.bb-search__options { display: flex; gap: 20px; flex-wrap: wrap; padding: 0 16px 12px; font-size: 14px; color: var(--bb-muted); }
.bb-search__options label { display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 32px; font-size: 14px; color: var(--bb-muted); }
.bb-search__options input { margin: 0; width: 18px; height: 18px; accent-color: var(--bb-blue); }

/* Kategorien */
.bb-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bb-cat {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
	padding: 18px 16px; border: 1px solid var(--bb-line); border-radius: 14px;
	background: #fff; color: var(--bb-ink); text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.bb-cat:hover { border-color: var(--bb-wave); box-shadow: var(--bb-shadow); color: var(--bb-ink); }
.bb-cat__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bb-tint); color: var(--bb-blue); display: flex; align-items: center; justify-content: center; }
.bb-cat__text { display: flex; flex-direction: column; line-height: 1.3; }
.bb-cat__name { font-weight: 600; hyphens: auto; overflow-wrap: anywhere; }
.bb-cat__count { font-size: 13px; color: var(--bb-muted); }

/* Regionen */
.bb-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.bb-region { background: var(--bb-bg); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.bb-region__head { display: flex; align-items: center; gap: 10px; }
.bb-theme .bb-region__title { margin: 0; font-size: 19px; font-weight: 700; }
.bb-region__title a { color: var(--bb-ink); }
.bb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-chip { background: #fff; border: 1px solid var(--bb-line); padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--bb-ink); text-decoration: none; }
.bb-chip:hover { border-color: var(--bb-blue); color: var(--bb-blue); }

/* Verkaufen-Box */
.bb-cta { background: var(--bb-tint); border-radius: 22px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.bb-cta__text { flex: 1 1 360px; }
.bb-theme .bb-cta__title { margin: 0 0 12px; font-size: 32px; font-weight: 800; color: var(--bb-navy); }
.bb-cta__text p { color: var(--bb-navy-2); font-size: 17px; }
.bb-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.bb-steps { flex: 1 1 360px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.bb-steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 16px 18px; }
.bb-steps li > span { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--bb-navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bb-steps strong { display: block; }
.bb-steps small { color: var(--bb-muted); font-size: 14px; }

.bb-home-content { color: var(--bb-ink-2); }
.bb-home-content h2 { font-size: 24px; }

/* 6 · Inseratskarten ------------------------------------------------------- */
.bb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.bb-theme .bb-card {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius);
	overflow: hidden;
	height: auto;
	margin: 0;
	padding: 0;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.bb-theme .bb-card:hover { box-shadow: var(--bb-shadow); border-color: var(--bb-wave); }
.bb-theme .bb-card.featured,
.bb-theme .listing-item.featured { background: #fff; }
.bb-card--top { border-color: var(--bb-wave); }
.bb-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bb-line); overflow: hidden; opacity: 1 !important; }
.bb-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bb-card:hover .bb-card__media img { transform: scale(1.03); }
.bb-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.bb-card__kicker { font-size: 13px; color: var(--bb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-card__kicker a { color: var(--bb-muted); }
.bb-card__kicker a:hover { color: var(--bb-blue); }
.bb-theme .bb-card__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bb-theme .bb-card__title a { white-space: normal; }
.bb-card__title a { color: var(--bb-ink); }
.bb-card__title a:hover { color: var(--bb-blue); }
.bb-card__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--bb-muted); }
.bb-card__specs li { margin: 0; }
.bb-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.bb-card__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--bb-line-2); }
.bb-card__price { font-family: var(--bb-font-head); font-weight: 800; font-size: 19px; color: var(--bb-ink); white-space: nowrap; }
.bb-card__loc { font-size: 13px; color: var(--bb-muted); text-align: right; }
.bb-card__loc strong { color: var(--bb-ink); }
.bb-card__extra:empty { display: none; }
.bb-card__extra { font-size: 12px; color: var(--bb-muted); }

/* Listenansicht */
.bb-theme .bb-card--list { flex-direction: row; flex-wrap: wrap; }
.bb-card--list .bb-card__media { flex: 0 0 320px; max-width: 320px; aspect-ratio: auto; min-height: 220px; }
.bb-card--list .bb-card__body { flex: 1 1 320px; padding: 18px 22px; gap: 8px; }
.bb-theme .bb-card--list .bb-card__title { font-size: 20px; }
.bb-card--list .bb-card__price { font-size: 22px; }

/* 7 · Listen, Suche, Sidebar ------------------------------------------------ */
.bb-theme .listing-wrap.list-view { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.bb-theme .listing-wrap.list-view > .column {
	width: 100%; max-width: 100%; flex: 0 0 auto; padding: 0; margin: 0;
}
.bb-theme .listing-wrap article { height: auto; overflow: hidden; }

.bb-theme #searchbar { max-width: var(--bb-max); margin: 24px auto 0; padding: 0 24px; }
.bb-theme #searchbar > .column { padding: 0; }
.bb-theme #searchbar .content-wrap { background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-radius); padding: 14px; box-shadow: none; }
.bb-theme #searchbar .row { margin: 0; }
.bb-theme #searchbar input, .bb-theme #searchbar select { margin: 0; }
.bb-theme #searchbar .button { width: 100%; height: 44px; padding: 0 16px; }

.bb-theme .page-header { padding: 20px 0 10px; }
.bb-theme .page-header h1, .bb-theme .page-header .h1 { font-size: 34px; font-weight: 800; margin: 0 0 4px; }
.bb-theme .page-header h1 strong { font-weight: 800; }
.bb-theme .page-header h2.h4, .bb-theme .page-header .h4 { font-family: var(--bb-font); font-size: 15px; font-weight: 500; color: var(--bb-muted); margin: 0 0 14px; }
.bb-theme #clal-subscribe.button { background: #fff; color: var(--bb-blue); border-color: var(--bb-blue); padding: 10px 16px; }
.bb-theme #clal-subscribe.button:hover { background: var(--bb-tint); }
.bb-theme .taxonomy-description { color: var(--bb-ink-2); background: #fff; border: 1px solid var(--bb-line); border-radius: var(--bb-radius); padding: 24px 28px; margin: 24px 0 0; }

.bb-theme .breadcrumbs { margin: 16px 0 0; font-size: 13px; }
.bb-theme .breadcrumbs li { color: var(--bb-muted); font-size: 13px; text-transform: none; }
.bb-theme .breadcrumbs a { color: var(--bb-blue); }

/* Paginierung */
.bb-theme .pagination { display: flex; justify-content: center; gap: 6px; margin: 24px 0; flex-wrap: wrap; }
.bb-theme .pagination li, .bb-theme .pagination a, .bb-theme .pagination .current, .bb-theme .paging .page-numbers {
	border-radius: 10px;
}
.bb-theme .pagination a, .bb-theme .paging .page-numbers {
	min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid var(--bb-line); color: var(--bb-ink);
}
.bb-theme .pagination .current, .bb-theme .paging .page-numbers.current {
	min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--bb-navy); color: #fff; border: 1px solid var(--bb-navy);
}

/* Sidebar & Widgets */
.bb-theme .widget,
.bb-theme #sidebar .widget {
	background: #fff;
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius);
	padding: 22px;
	box-shadow: none;
	margin-bottom: 20px;
}
.bb-theme .widget-title, .bb-theme .widget .h3, .bb-theme .widget h3, .bb-theme .widget h2 {
	font-family: var(--bb-font-head);
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 14px;
	color: var(--bb-ink);
	text-transform: none;
	letter-spacing: 0;
}
.bb-theme .content-wrap { border-radius: var(--bb-radius); border: 1px solid var(--bb-line); box-shadow: none; }
.bb-theme .site-main > .content-wrap { background: #fff; }

/* 8 · Inseratsseite -------------------------------------------------------- */
.bb-theme .bb-listing-head.hero-listing {
	background: #fff !important;
	background-image: none !important;
	color: var(--bb-ink);
	text-align: left;
	padding: 24px 0 28px;
	border-bottom: 1px solid var(--bb-line);
	min-height: 0;
	height: auto;
}
.bb-theme .bb-listing-head.hero-listing::after, .bb-theme .bb-listing-head.hero-listing::before { display: none; }
.bb-listing-head__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.bb-listing-head__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: end; }
.bb-theme .bb-listing-head h1.entry-title {
	grid-column: 1; margin: 0; color: var(--bb-ink);
	font-size: 36px; font-weight: 800; line-height: 1.15; text-shadow: none;
}
.bb-theme .bb-listing-head p.cp_price,
.bb-theme .bb-listing-head .entry-title.cp_price {
	grid-column: 2; grid-row: 1; margin: 0; text-align: right;
	font-family: var(--bb-font-head); font-size: 32px; font-weight: 800; color: var(--bb-ink); white-space: nowrap;
}
.bb-theme .bb-listing-head .entry-categories {
	grid-column: 2; margin: 0; text-align: right; font-size: 14px; color: var(--bb-muted);
}
.bb-theme .bb-listing-head .entry-categories a { background: none; color: var(--bb-blue); padding: 0; margin: 0; }
.bb-listing-head__meta { grid-column: 1; margin: 2px 0 0; color: var(--bb-muted); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.bb-listing-head__meta strong { color: var(--bb-ink); }
.bb-listing-head__meta .bb-icon { color: var(--bb-muted); }
.bb-listing-head__actions, .bb-listing-head__sub { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; font-size: 14px; }
.bb-listing-head__sub:empty, .bb-listing-head__actions:empty { display: none; }
.bb-theme .bb-listing-head .entry-actions a,
.bb-theme .bb-listing-head .listing-icon,
.bb-theme .bb-listing-head .button {
	display: inline-flex; align-items: center; gap: 6px;
	border: 1px solid var(--bb-line); background: #fff; color: var(--bb-ink);
	padding: 9px 14px; border-radius: 10px; margin: 0; opacity: 1; width: auto; height: auto;
	font-size: 14px; font-weight: 500;
}
.bb-theme .bb-listing-head .entry-actions a:hover,
.bb-theme .bb-listing-head .listing-icon:hover { background: var(--bb-tint); color: var(--bb-navy); }
.bb-theme .bb-listing-head .listing-icon i.fa, .bb-theme .bb-listing-head .entry-actions i.fa { color: inherit; }

.bb-facts {
	list-style: none; margin: 20px 0 0; padding: 18px 20px;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px;
	background: var(--bb-bg); border-radius: var(--bb-radius);
}
.bb-fact { display: flex; gap: 12px; align-items: center; margin: 0; }
.bb-fact__icon { flex: 0 0 42px; height: 42px; border-radius: 11px; background: #fff; color: var(--bb-blue); display: flex; align-items: center; justify-content: center; }
.bb-fact__text { display: flex; flex-direction: column; line-height: 1.3; }
.bb-fact__label { font-size: 12px; color: var(--bb-muted); }
.bb-fact strong { font-size: 15px; }

/* Widgets der Inseratsseite */
.bb-theme.single-ad_listing #primary { padding-top: 8px; }
.bb-theme .widget-listing { background: #fff; }
.bb-theme table.listing-custom-fields { border: 0; margin: 0; background: transparent; }
.bb-theme table.listing-custom-fields tbody { border: 0; background: transparent; }
.bb-theme table.listing-custom-fields tbody tr,
.bb-theme table.listing-custom-fields tbody tr:nth-child(even) { background: transparent; border-bottom: 1px solid var(--bb-line-2); }
.bb-theme table.listing-custom-fields td { padding: 11px 0; vertical-align: top; font-size: 15px; }
.bb-theme table.listing-custom-fields td.listing-custom-field-title { color: var(--bb-muted); font-weight: 400; width: 42%; padding-right: 16px; }
.bb-theme table.listing-custom-fields td + td { font-weight: 600; }
.bb-theme .custom-text-area ul { margin-left: 1.1em; }
.bb-theme .widget_cp_widget_listing_content { font-size: 16px; color: var(--bb-ink-2); }

/* Galerie */
.bb-theme .listing-photo-grid a, .bb-theme .listing-photo-grid img { border-radius: 10px; }
.bb-theme .listing-photo-grid-more { border-radius: 10px; background: rgba(28, 43, 79, .6); }

/* Anbieter-Widget */
.bb-theme .listing-owner-avatar img { border-radius: 12px; }
.bb-theme h3.listing-owner-name { font-size: 18px; font-weight: 700; }
.bb-theme .listing-owner-contact a.button { width: 100%; margin: 6px 0 0; }
.bb-theme .listing-owner-contact a.button:first-child { background: var(--bb-cta); }

/* Merken, Statistik, Tags */
.bb-theme .post-stats.label { background: var(--bb-bg); color: var(--bb-muted); font-weight: 500; }
.bb-theme .post-tags .label { background: var(--bb-tint); color: var(--bb-blue-dark); font-weight: 600; }
.bb-theme .post-tags .label a { color: var(--bb-blue-dark); }

/* 9 · Formulare (Inserat aufgeben, Profil, Kontakt) ------------------------- */
.bb-theme input[type="text"], .bb-theme input[type="email"], .bb-theme input[type="url"],
.bb-theme input[type="tel"], .bb-theme input[type="number"], .bb-theme input[type="password"],
.bb-theme input[type="search"], .bb-theme input[type="date"], .bb-theme textarea, .bb-theme select {
	border: 1px solid var(--bb-input);
	border-radius: var(--bb-radius-sm);
	box-shadow: none;
	font-family: var(--bb-font);
	font-size: 15px;
	color: var(--bb-ink);
	background-color: #fff;
	min-height: 46px;
	padding: 10px 14px;
}
.bb-theme textarea { min-height: 140px; }
.bb-theme input:focus, .bb-theme textarea:focus, .bb-theme select:focus {
	border-color: var(--bb-blue);
	box-shadow: 0 0 0 3px rgba(58, 85, 146, .15);
	outline: none;
}
.bb-theme label { font-size: 14px; font-weight: 600; color: var(--bb-ink); }
.bb-theme .help-text { font-size: 13px; font-style: normal; color: var(--bb-muted); margin-top: -6px; }
.bb-theme .form-field { margin-bottom: 18px; }
.bb-theme .form-field label .colour { color: #B42318; font-weight: 600; }
.bb-theme form.app-form.listing,
.bb-theme .app-form {
	background: #fff;
}
.bb-theme .app-attachment-upload-filelist { border-radius: 12px; }

/* Fortschrittsanzeige (Kategorie → Details → Vorschau → Kasse → Vielen Dank) */
.bb-theme .progress-indicator > li span { color: var(--bb-muted); font-family: var(--bb-font); letter-spacing: .02em; }
.bb-theme .progress-indicator > li::before { background: var(--bb-line); color: var(--bb-muted); font-family: var(--bb-font); font-weight: 700; }
.bb-theme .progress-indicator > li::after { background: var(--bb-line); }
.bb-theme .progress-indicator > li.is-complete::before,
.bb-theme .progress-indicator > li.is-complete::after { background: var(--bb-green); color: #fff; }
.bb-theme .progress-indicator > li.is-complete span { color: var(--bb-green); }
.bb-theme .progress-indicator > li.is-current::before { background: var(--bb-blue); color: #fff; }
.bb-theme .progress-indicator > li.is-current span { color: var(--bb-blue); }

/* Hinweise */
.bb-theme .callout { border-radius: 12px; border: 1px solid var(--bb-line); }
.bb-theme .callout.success { background: var(--bb-green-bg); border-color: #B9D8CB; color: var(--bb-green); }
.bb-theme .callout.warning { background: #FFF8EB; border-color: #F2D9A8; }

/* 10 · Fußzeile ------------------------------------------------------------ */
.bb-theme #footer.bb-footer { background: var(--bb-navy); color: #C3CBE0; padding: 56px 0 28px; margin-top: 0; font-size: 14px; }
.bb-theme #footer.bb-footer a { color: #C3CBE0; }
.bb-theme #footer.bb-footer a:hover { color: #fff; }
.bb-footer__top { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 32px; }
.bb-footer__brand { flex: 0 1 280px; display: flex; flex-direction: column; gap: 12px; }
.bb-footer__logo img { display: block; width: 136px; height: 40px; }
.bb-footer__tagline { margin: 0; }
.bb-footer__badge { display: block; width: 88px; height: 89px; }
.bb-footer__widgets { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 0; }
.bb-theme .bb-footer .widget, .bb-theme .bb-footer .widget-footer {
	background: transparent; border: 0; padding: 0; margin: 0; color: #C3CBE0; width: auto; float: none;
}
.bb-theme .bb-footer .widget-title, .bb-theme .bb-footer .widget h2, .bb-theme .bb-footer .widget h3 { color: #fff; font-size: 15px; }
.bb-footer__bottom { border-top: 1px solid var(--bb-navy-2); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.bb-footer__bottom .copyright { color: #C3CBE0; }
.bb-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bb-footer__menu li { margin: 0; }
.bb-theme #footer .bb-footer__menu a { color: #C3CBE0; }

/* 11 · Preisseite ---------------------------------------------------------- */
.bb-pricing { background: #fff; }
.bb-page-hero { background: var(--bb-bg); border-bottom: 1px solid var(--bb-line); }
.bb-page-hero__inner { padding-top: 40px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.bb-page-hero__text { flex: 1 1 520px; max-width: 720px; }
.bb-theme .bb-page-hero__title { margin: 8px 0 0; font-size: 46px; font-weight: 800; line-height: 1.1; }
.bb-page-hero__lead { margin: 10px 0 0; font-size: 19px; color: var(--bb-ink-2); }
.bb-stats { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.bb-stats img { width: 96px; height: 97px; }
.bb-stat { background: #fff; border: 1px solid var(--bb-line); border-radius: 14px; padding: 16px 20px; display: flex; flex-direction: column; }
.bb-stat strong { font-family: var(--bb-font-head); font-size: 26px; color: var(--bb-navy); }
.bb-stat span { font-size: 13px; color: var(--bb-muted); }

.bb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.bb-plan { position: relative; background: #fff; border: 1px solid var(--bb-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.bb-plan--best { border: 2px solid var(--bb-cta); box-shadow: 0 16px 40px rgba(28, 43, 79, .12); }
.bb-plan__flag { position: absolute; top: -13px; left: 28px; background: var(--bb-cta); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.bb-plan__days { font-family: var(--bb-font-head); font-weight: 700; font-size: 20px; }
.bb-plan__price { font-family: var(--bb-font-head); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.bb-plan__price small { font-family: var(--bb-font); font-size: 14px; font-weight: 400; color: var(--bb-muted); letter-spacing: 0; }
.bb-plan__month { align-self: flex-start; font-size: 14px; color: var(--bb-ink-2); background: var(--bb-bg); border-radius: 8px; padding: 6px 10px; }
.bb-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--bb-ink-2); }
.bb-checklist li { display: flex; gap: 10px; margin: 0; }
.bb-checklist .bb-icon { color: var(--bb-green); margin-top: 1px; }
.bb-plan .bb-btn { margin-top: auto; }

.bb-addon { margin-top: 20px; background: #FFF8EB; border: 1px solid #F2D9A8; border-radius: 16px; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.bb-addon__icon { flex: 0 0 40px; height: 40px; border-radius: 10px; background: #fff; color: #9A3412; display: flex; align-items: center; justify-content: center; }
.bb-addon__text { flex: 1 1 380px; display: flex; flex-direction: column; }
.bb-addon__text span { font-size: 14px; color: #5C3A22; }
.bb-addon__price { font-family: var(--bb-font-head); font-size: 22px; }

.bb-split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.bb-split__text { flex: 1 1 520px; }
.bb-split__media { flex: 1 1 380px; min-height: 420px; border-radius: 20px; overflow: hidden; position: relative; background: var(--bb-line); }
.bb-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bb-benefits { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.bb-benefits li { display: flex; gap: 12px; align-items: center; background: var(--bb-bg); border-radius: 12px; padding: 12px 14px; margin: 0; font-weight: 500; }
.bb-benefits__icon { flex: 0 0 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--bb-blue); display: flex; align-items: center; justify-content: center; }

.bb-dealer { background: var(--bb-navy); color: #fff; border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; }
.bb-dealer__text { flex: 1 1 520px; }
.bb-theme .bb-dealer .bb-section__title { color: #fff; }
.bb-dealer__text > p { color: #DCE2F2; margin: 12px 0 0; }
.bb-dealer__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 24px; }
.bb-dealer__list li { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--bb-navy-2); padding-top: 12px; margin: 0; }
.bb-dealer__list span { font-size: 14px; color: #C3CBE0; }
.bb-dealer__offer { flex: 1 1 320px; align-self: flex-start; background: #fff; color: var(--bb-ink); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.bb-dealer__offer .bb-tag { align-self: flex-start; }
.bb-dealer__big { font-family: var(--bb-font-head); font-weight: 800; font-size: 44px; line-height: 1; }
.bb-dealer__offer p { margin: 0; color: var(--bb-ink-2); font-size: 14px; }
.bb-dealer__offer small { color: var(--bb-muted); font-size: 13px; }

.bb-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.bb-quote { margin: 0; background: var(--bb-bg); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.bb-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 18px; color: var(--bb-ink); }
.bb-quote blockquote::before { content: '“'; display: block; font-family: var(--bb-font-head); font-size: 48px; line-height: .6; color: var(--bb-wave); margin-bottom: 8px; }
.bb-quote figcaption { font-size: 14px; color: var(--bb-muted); font-weight: 600; }

/* 12 · Seiten & Blog ------------------------------------------------------- */
.bb-theme .entry-content table { border-radius: 12px; overflow: hidden; border: 1px solid var(--bb-line); }
.bb-theme .entry-content table thead { background: var(--bb-tint); }
.bb-theme .entry-content table th { color: var(--bb-navy); }
.bb-theme .entry-content .wp-block-button__link { background: var(--bb-cta); border-radius: 12px; }
.bb-theme input.btn_orange { background: var(--bb-cta); color: #fff; border: 0; border-radius: 12px; padding: 13px 22px; font-weight: 600; cursor: pointer; }

/* 13 · Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
	.bb-topbar__inner { flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
	.bb-mainnav { order: 3; flex-basis: 100%; }
}
@media (max-width: 900px) {
	.bb-theme .bb-hero__title { font-size: 40px; }
	.bb-listing-head__main { grid-template-columns: 1fr; }
	.bb-theme .bb-listing-head p.cp_price, .bb-theme .bb-listing-head .entry-categories { grid-column: 1; grid-row: auto; text-align: left; }
	.bb-card--list .bb-card__media { flex-basis: 100%; max-width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 640px) {
	.bb-container, .bb-theme #searchbar { padding-left: 16px; padding-right: 16px; }
	.bb-section { padding-top: 40px; }
	.bb-hero__inner { padding-top: 48px; padding-bottom: 28px; }
	.bb-theme .bb-hero__title { font-size: 32px; }
	.bb-hero__lead { font-size: 16px; }
	.bb-theme .bb-section__title { font-size: 24px; }
	.bb-cta, .bb-dealer { padding: 28px 20px; }
	.bb-theme .bb-listing-head h1.entry-title { font-size: 26px; }
	.bb-theme .bb-listing-head p.cp_price { font-size: 26px; }
	.bb-theme .bb-page-hero__title { font-size: 34px; }
	.bb-plan__price, .bb-dealer__big { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.bb-card__media img, .bb-cat, .bb-card { transition: none; }
	.bb-card:hover .bb-card__media img { transform: none; }
}

/* 14 · Feinschliff nach Test auf dem Testsystem (v1.0.1) ------------------- */

/* Logo (Customizer-Logo oder mitgeliefertes Logo) – nie verzerren */
.bb-theme .header .bb-brand .custom-logo-link img { height: 48px; width: auto; max-width: none; }

/* Hauptmenü: Platz für den Dropdown-Pfeil bei „Boote kaufen“ */
.bb-theme #top-bar-primary .bb-mainnav .dropdown.menu > li.is-dropdown-submenu-parent > a { padding-right: 30px; }
.bb-theme #top-bar-primary .bb-mainnav .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
	border: 5px inset; border-color: var(--bb-muted) transparent transparent; border-top-style: solid;
	right: 12px; margin-top: -2px;
}

/* Kategorien-Dropdown „Boote kaufen“ */
.bb-theme #top-bar-primary .dropdown.menu .submenu.listing-cats-dropdown { min-width: 560px; padding: 10px; }
.bb-theme #top-bar-primary .listing-cats-dropdown .cat-column { margin: 0; }
.bb-theme #top-bar-primary .listing-cats-dropdown .parent-cat-wrap { padding: 0; }
.bb-theme #top-bar-primary .listing-cats-dropdown .cat-item-link {
	display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: 9px 12px; border-radius: 8px; color: var(--bb-ink); font-size: 14px; font-weight: 500;
}
.bb-theme #top-bar-primary .listing-cats-dropdown .cat-item-link:hover { background: var(--bb-tint); color: var(--bb-navy); }
.bb-theme #top-bar-primary .listing-cats-dropdown .cat-item-count.label { background: var(--bb-bg); color: var(--bb-muted); font-size: 12px; font-weight: 600; padding: 2px 7px; }

/* Benutzermenü: Untermenüs nur bei Hover/Klick, leere Einträge ausblenden */
.bb-theme #top-bar-primary .bb-usernav .menu .menu { display: none; }
.bb-theme #top-bar-primary .bb-usernav .menu .menu.js-dropdown-active { display: block; }
.bb-theme #top-bar-primary .bb-usernav .menu li:not(:has(> a)) { display: none; }
.bb-theme #top-bar-primary .bb-usernav .menu > li + li { border-left: 0; }
.bb-theme #top-bar-primary .bb-usernav .menu { gap: 4px; }
/* Registrieren / Anmelden (als Buttons im Menü hinterlegt) */
.bb-theme #top-bar-primary .bb-usernav .menu > li > a:has(> button) { padding: 0; background: none; }
.bb-theme #top-bar-primary .bb-usernav a > button.button {
	margin: 0; padding: 10px 16px; font-size: 14px; font-weight: 600; border-radius: 10px; gap: 6px; white-space: nowrap;
}
.bb-theme #top-bar-primary .bb-usernav a > button.button.hollow { background: transparent; border-color: transparent; color: var(--bb-ink); }
.bb-theme #top-bar-primary .bb-usernav a > button.button.hollow:hover { background: var(--bb-tint); color: var(--bb-navy); }
.bb-theme #top-bar-primary .bb-usernav a > button .fa-plus { display: none; }

/* Mobile Seitenmenüs über die volle Höhe */
.bb-theme .off-canvas { min-height: 100vh; }

/* Cookie-Hinweis (Plugin „Cookie Notice“) im Seitendesign */
.bb-theme #cookie-notice {
	background: #fff !important; color: var(--bb-ink);
	border-top: 1px solid var(--bb-line); box-shadow: 0 -10px 30px rgba(10, 16, 34, .12);
	font-family: var(--bb-font);
}
.bb-theme #cookie-notice .cookie-notice-container {
	color: var(--bb-ink) !important; padding: 16px 24px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; text-align: left;
}
.bb-theme #cookie-notice #cn-notice-text { color: var(--bb-ink-2); font-size: 14px; line-height: 1.5; max-width: 720px; margin: 0; }
.bb-theme #cookie-notice .cn-buttons-container { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.bb-theme #cookie-notice .cn-button.button {
	margin: 0; font-family: var(--bb-font); font-size: 14px; font-weight: 600; line-height: 1.2;
	padding: 10px 18px; border-radius: 10px; letter-spacing: 0; text-transform: none;
	background: var(--bb-cta); border: 1px solid var(--bb-cta); color: #fff;
}
.bb-theme #cookie-notice #cn-refuse-cookie.button { background: #fff; color: var(--bb-navy); border-color: var(--bb-input); }
.bb-theme #cookie-notice #cn-more-info.button { background: transparent; border-color: transparent; color: var(--bb-blue); text-decoration: underline; padding-left: 6px; padding-right: 6px; }
/* Das Schliessen-Kreuz setzt im Plugin „Akzeptieren“ – ausgeblendet, damit niemand versehentlich zustimmt */
.bb-theme #cookie-notice .cn-close-icon { display: none; }
/* Nach „Ja“/„Nein“ ausblenden (das Plugin setzt .cookie-notice-hidden; unsere Layout-Regel darf das nicht überschreiben) */
.bb-theme #cookie-notice.cookie-notice-hidden .cookie-notice-container { display: none; }
.bb-theme #cookie-notice.cookie-notice-hidden.cookie-revoke-hidden { display: none !important; }

/* Startseite: Kategorien als 4er-Raster mit Icon links */
.bb-theme .bb-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bb-theme .bb-cat { flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
.bb-theme .bb-cat__icon { flex: none; }
.bb-theme .bb-cat__name { hyphens: manual; overflow-wrap: normal; }
/* Alte Suchleiste aus dem Seiteninhalt der Startseite nicht doppelt zeigen */
.bb-theme .bb-home-content .searchbar-shortcode { display: none; }

/* Plugin-Ausgabe unter Karten (z. B. „verifiziert“, Aufrufe) */
.bb-card__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bb-card__extra .fa { color: var(--bb-green); }

/* Suchleiste über Listen */
.bb-theme #searchbar .button { height: 46px; text-transform: none; font-size: 15px; letter-spacing: 0; }

/* Filter-Widget „Suche anpassen“: blaue statt rote Akzente */
.bb-theme .slider { background: var(--bb-line); height: 6px; border-radius: 999px; margin: 18px 6px 22px; }
.bb-theme .slider-fill { background: var(--bb-wave); height: 6px; border-radius: 999px; }
.bb-theme .slider-handle { background: var(--bb-blue); width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 1px 4px rgba(10, 16, 34, .3); }
.bb-theme .slider-handle:hover, .bb-theme .slider-handle:focus { background: var(--bb-blue-dark); }
.bb-theme .widget_refine_search label.title { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.bb-theme .widget_refine_search #amount {
	border: 0; box-shadow: none; background: transparent; min-height: 0; height: auto;
	padding: 0; margin: 0; width: auto; flex: 1 1 auto; font-weight: 600; color: var(--bb-ink);
}
.bb-theme .widget_refine_search .refine-categories-list-label::after { border-color: var(--bb-muted) transparent transparent; }
.bb-theme .widget_refine_search .button { width: 100%; }
.bb-theme #topcontrol { background: var(--bb-navy) !important; border-radius: 10px; }

/* Paginierung: aktive Seite ohne doppelten Rahmen */
.bb-theme .pagination li.current { background: none; padding: 0; border: 0; min-width: 0; min-height: 0; }
.bb-theme .pagination li.current > a { background: none; border: 0; padding: 0; min-width: 0; min-height: 0; }

/* Anbieter-Widget: „Nachricht senden“ lesbar */
.bb-theme .listing-owner-contact a.button:first-child { color: #fff; border-color: var(--bb-cta); }
.bb-theme .listing-owner-contact a.button:first-child:hover { background: var(--bb-blue-dark); border-color: var(--bb-blue-dark); color: #fff; }

/* Inseratskopf: Aufrufe ruhiger */
.bb-theme .bb-listing-head .post-stats { padding: 0; margin: 0; font-style: normal; font-size: 13px; color: var(--bb-muted); }
.bb-theme .bb-listing-head .bb-listing-head__sub { margin-top: 2px; }

@media (max-width: 900px) {
	.bb-theme .bb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Preis unter den Titel (vorher blieb er auf schmalen Bildschirmen rechts daneben) */
	.bb-theme .bb-listing-head .entry-title.cp_price,
	.bb-theme .bb-listing-head .entry-categories { grid-column: 1; grid-row: auto; text-align: left; }
}
@media (max-width: 640px) {
	.bb-theme .bb-cat { padding: 12px; gap: 10px; }
	.bb-theme .bb-cat__icon { width: 38px; height: 38px; border-radius: 10px; }
	.bb-theme .bb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
	.bb-theme .bb-fact { gap: 10px; }
	.bb-theme .bb-fact__icon { flex-basis: 36px; height: 36px; }
	.bb-theme #cookie-notice .cookie-notice-container { padding: 14px 16px; }
}

/* 15 · Eingeloggter Zustand (v1.0.2) --------------------------------------- */

/* Konto-Menü (Avatar + Name): Platz für den Dropdown-Pfeil */
.bb-theme #top-bar-primary .bb-usernav .dropdown.menu > li.is-dropdown-submenu-parent > a {
	display: flex; align-items: center; padding-right: 30px;
}
.bb-theme #top-bar-primary .bb-usernav .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
	border: 5px inset; border-color: var(--bb-muted) transparent transparent; border-top-style: solid;
	right: 12px; margin-top: -2px;
}
.bb-theme #top-bar-primary .bb-usernav .dropdown.menu .submenu { margin-top: 4px; }

/* Handy: Hauptinhalt vor der Seitenleiste (z. B. Dashboard: erst „Meine Inserate“, dann Menü) */
@media (max-width: 39.9375em) {
	.bb-theme .content-area.row { display: flex; flex-wrap: wrap; }
	.bb-theme .content-area.row > * { flex: 0 0 100%; max-width: 100%; }
	.bb-theme .content-area.row > #primary { order: 1; }
	.bb-theme .content-area.row > #sidebar { order: 2; }
}

/* 16 · Inserat aufgeben (v1.0.3) -------------------------------------------- */

/* Primär-Buttons der Formulare („weiter ››“, „Weiter ››“) im Seitenblau statt Petrol */
.bb-theme .button.primary,
.bb-theme input.button.primary { background: var(--bb-cta); border-color: var(--bb-cta); color: #fff; }
.bb-theme .button.primary:hover,
.bb-theme input.button.primary:hover { background: var(--bb-blue-dark); border-color: var(--bb-blue-dark); color: #fff; }

/* Kategorie-Auswahl (Schritt 1) */
.bb-theme .cat-select.table-plain td { border: 0; padding: 12px 0; }
.bb-theme .cat-select .labelwrapper label { margin: 0; }

/* Detailformular (Schritt 2): zweispaltig auf grossen Bildschirmen */
.bb-theme #mainform.app-form .form-field > label { margin-bottom: 6px; }
@media (min-width: 900px) {
	.bb-theme #mainform.app-form:has(#list_post_title) {
		display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-items: start;
	}
	.bb-theme #mainform.app-form:has(#list_post_title) > * { grid-column: 1 / -1; }
	.bb-theme #mainform.app-form:has(#list_post_title) > .form-field.text-box,
	.bb-theme #mainform.app-form:has(#list_post_title) > .form-field.drop-down { grid-column: auto; }
	.bb-theme #mainform.app-form:has(#list_post_title) > #list_post_title,
	.bb-theme #mainform.app-form:has(#list_post_title) > #list_cp_hersteller,
	.bb-theme #mainform.app-form:has(#list_post_title) > #list_cp_preis_info,
	.bb-theme #mainform.app-form:has(#list_post_title) > #list_cp_video_link { grid-column: 1 / -1; }
	.bb-theme #mainform.app-form:has(#list_post_title) > input[type="submit"] { justify-self: start; }
}

/* Bilder-Upload */
.bb-theme .app-attachment-upload-filelist {
	background: var(--bb-bg); border: 1px dashed var(--bb-input); border-radius: 12px;
	min-height: 64px; padding: 10px; margin-bottom: 12px;
}
.bb-theme .app-attachment-upload-filelist:not(:has(li))::before {
	content: "Noch keine Bilder. Mit „Bild hinzufügen“ bis zu 10 Fotos hochladen – das erste wird das Titelbild.";
	display: block; color: var(--bb-muted); font-size: 14px; line-height: 44px; padding: 0 6px;
}
.bb-theme .app-attachment-list { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bb-theme .app-attachment-list li img { border-radius: 8px; }
.bb-theme .image-input .help-text { margin: 4px 0 0; }

/* Top-Inserat-Option */
.bb-theme #mainform .form-field.callout.warning { padding: 18px 20px; }
.bb-theme #mainform .form-field.callout.warning label { font-weight: 500; line-height: 1.5; }

/* Vorschau (Schritt 3) */
.bb-theme .table-listing-preview td { padding: 10px 0; border-bottom: 1px solid var(--bb-line-2); font-size: 15px; }
.bb-theme .table-listing-preview td:first-child { color: var(--bb-muted); width: 36%; }
.bb-theme .table-listing-preview td:first-child strong { font-weight: 500; }
.bb-theme .table-listing-preview td.review { font-weight: 600; color: var(--bb-ink); }
.bb-theme .table-listing-preview tr.bb-empty { display: none; }
/* AGB-Box */
.bb-theme .license.callout.primary {
	background: var(--bb-bg); color: var(--bb-ink-2); border: 1px solid var(--bb-line);
	border-radius: 12px; padding: 20px 22px; font-size: 14px;
}
/* „zurück“ als Zweit-Button */
.bb-theme input.button.primary[name="goback"] { background: #fff; color: var(--bb-navy); border-color: var(--bb-input); }
.bb-theme input.button.primary[name="goback"]:hover { background: var(--bb-tint); color: var(--bb-navy); }

/* 17 · Feedback Desktop (v1.1.0) ------------------------------------------- */

/* Dropdown-Pfeile im Kopf: ein sauberes Dreieck (vorher doppelt: alte Pfeil-Regel + Foundation) */
.bb-theme #top-bar-primary .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
	content: ""; display: block; position: absolute; top: 50%; right: 12px; bottom: auto; left: auto;
	width: 0; height: 0; margin-top: -2px; transform: none;
	border-style: solid; border-width: 5px 5px 0; border-color: var(--bb-muted) transparent transparent;
}

/* Inseratskarten: Ort mit ausgeschriebenem Land als eigene Zeile */
.bb-theme .bb-card__loc {
	display: flex; align-items: center; gap: 5px; margin: 6px 0 0; text-align: left;
	font-size: 13px; color: var(--bb-muted); line-height: 1.4;
}
.bb-theme .bb-card__loc .bb-icon { flex: none; color: var(--bb-muted); }
.bb-theme .bb-card__loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-theme .bb-card__foot { align-items: center; }
.bb-theme .bb-card__extra { justify-content: flex-end; text-align: right; }

/* Kategorieseiten: Beschreibungstext mit Innenabstand */
.bb-theme .taxonomy-description.row.columns,
.bb-theme .taxonomy-description { padding: 32px 36px; margin-left: 0; margin-right: 0; max-width: none; }
.bb-theme .taxonomy-description > :first-child { margin-top: 0; }
.bb-theme .taxonomy-description > :last-child { margin-bottom: 0; }

/* Händler-Logoleiste (Startseite, Händlerseite) */
.bb-dealers__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bb-dealers__item {
	height: 96px; display: flex; align-items: center; justify-content: center; padding: 14px 18px;
	background: #fff; border: 1px solid var(--bb-line); border-radius: 14px;
	color: var(--bb-muted); font-size: 13px; font-weight: 500; text-align: center;
	transition: border-color .15s, box-shadow .15s;
}
.bb-dealers__item:hover { border-color: var(--bb-blue); box-shadow: var(--bb-shadow); }
.bb-dealers__item img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }

/* Seite „Händler / Werften“: Vorteile als Karten */
.bb-page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bb-dealer-landing .bb-page-hero__lead + .bb-page-hero__lead { font-size: 16px; }
.bb-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.bb-feature { background: #fff; border: 1px solid var(--bb-line); border-radius: 16px; padding: 22px; }
.bb-feature__icon {
	width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	background: var(--bb-tint); color: var(--bb-blue);
}
.bb-theme .bb-feature__title { margin: 14px 0 4px; font-size: 17px; font-weight: 700; }
.bb-feature__text { margin: 0; font-size: 14px; color: var(--bb-ink-2); line-height: 1.55; }

/* Seite „Bootshändler“: Händler-Tabelle als Kartenraster */
.bb-page-bootshaendler .entry-content > p:first-child { font-size: 18px; }
.bb-page-bootshaendler .entry-content .wp-block-table { margin: 28px 0 44px; overflow: visible; }
.bb-page-bootshaendler .entry-content .wp-block-table table { display: block; border: 0; background: none; width: 100%; }
.bb-page-bootshaendler .entry-content .wp-block-table tbody {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0; background: none;
}
.bb-page-bootshaendler .entry-content .wp-block-table tr {
	display: flex; flex-direction: column; background: #fff !important;
	border: 1px solid var(--bb-line); border-radius: 16px; overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
}
.bb-page-bootshaendler .entry-content .wp-block-table tr:hover { border-color: var(--bb-blue); box-shadow: var(--bb-shadow); }
.bb-page-bootshaendler .entry-content .wp-block-table tr:not(:has(td:last-child a)) { display: none; }
.bb-page-bootshaendler .entry-content .wp-block-table td {
	display: block; border: 0 !important; background: none !important; padding: 16px 20px 20px;
	font-size: 14px; line-height: 1.6; color: var(--bb-ink-2);
}
.bb-page-bootshaendler .entry-content .wp-block-table td:first-child {
	height: 128px; display: flex; align-items: center; justify-content: center; overflow: hidden;
	padding: 16px 24px; background: var(--bb-bg) !important; border-bottom: 1px solid var(--bb-line-2) !important;
}
.bb-page-bootshaendler .entry-content .wp-block-table td:first-child a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.bb-page-bootshaendler .entry-content .wp-block-table td:first-child img {
	width: auto !important; height: auto; max-width: 100%; max-height: 90px; object-fit: contain;
}
.bb-page-bootshaendler .entry-content .wp-block-table td:first-child .verified-icon { display: none; }
.bb-page-bootshaendler .entry-content .wp-block-table td:last-child strong { font-family: var(--bb-font-head); font-size: 17px; color: var(--bb-ink); }
.bb-page-bootshaendler .entry-content .wp-block-table td:last-child a[target="_blank"] { word-break: break-all; }
.bb-page-bootshaendler .entry-content h2 { margin-top: 8px; }
.bb-page-bootshaendler .entry-content ul.wp-block-list { list-style: none; margin-left: 0; padding: 0; display: grid; gap: 10px; }
.bb-page-bootshaendler .entry-content ul.wp-block-list li { position: relative; padding-left: 30px; }
.bb-page-bootshaendler .entry-content ul.wp-block-list li::before {
	content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--bb-green-bg); color: var(--bb-green); font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}

@media (max-width: 1000px) {
	.bb-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-page-bootshaendler .entry-content .wp-block-table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.bb-features { grid-template-columns: 1fr; }
	.bb-page-bootshaendler .entry-content .wp-block-table tbody { grid-template-columns: 1fr; }
	.bb-theme .taxonomy-description.row.columns, .bb-theme .taxonomy-description { padding: 22px 20px; }
	.bb-dealers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 18 · Inseratsseite: „Alle Bilder“ auf dem blauen Overlay in Weiss (v1.1.1) */
.bb-theme .listing-photo-grid-more a,
.bb-theme .listing-photo-grid-more a span,
.bb-theme .listing-photo-grid-more .fa { color: #fff; }
.bb-theme .listing-photo-grid-more a { cursor: pointer; font-weight: 600; }
.bb-theme .listing-photo-grid-more a:hover,
.bb-theme .listing-photo-grid-more a:hover span { color: #fff; text-decoration: underline; }
