/*
 * qanuk.io Seitenvorlagen: eigenes Design, unabhängig von Salient.
 * Handgeschrieben, kein Build-Schritt. Farben als CSS-Variablen (Werte von qanuk.io übernommen).
 * Alles ist auf #qsite begrenzt, damit Cookie-Banner und andere Plugins unberührt bleiben.
 */
:root {
	--qs-navy: #0e2334;
	--qs-navy-2: #16334a;
	--qs-text: #1d2b36;
	--qs-muted: #5b6b77;
	--qs-line: #e3e9ee;
	--qs-bg: #ffffff;
	--qs-soft: #f4f7fa;
	--qs-green: #3edbac;
	--qs-blue: #5689ff;
	--qs-accent: #2f6bff;
	--qs-radius: 14px;
	--qs-wrap: 1180px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.qsite-page { margin: 0; background: var(--qs-bg); }

#qsite { color: var(--qs-text); font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
#qsite *, #qsite *::before, #qsite *::after { box-sizing: border-box; }
#qsite img { max-width: 100%; height: auto; display: block; }
#qsite a { color: inherit; }
#qsite p { margin: 0 0 1em; }
#qsite h1, #qsite h2, #qsite h3 { margin: 0; color: var(--qs-navy); line-height: 1.2; font-weight: 750; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: manual; }
#qsite ul { margin: 0; padding: 0; list-style: none; }

.qsite-wrap { width: 100%; max-width: var(--qs-wrap); margin: 0 auto; padding: 0 20px; }
.qsite-center { text-align: center; }
#qsite section[id] { scroll-margin-top: 84px; }
.qsite-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--qs-navy); color: #fff !important; padding: 10px 16px; }
.qsite-skip:focus { left: 10px; top: 10px; }

/* Icons */
.qsite-ic { width: 18px; height: 18px; flex: none; }
.qsite-ic-lg { width: 26px; height: 26px; }
.qsite-icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--qs-green), var(--qs-blue)); margin-bottom: 18px; }

/* Buttons */
.qsite-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 2px solid var(--qs-navy); background: var(--qs-navy); color: #fff !important; font-weight: 650; font-size: 16px; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.qsite-btn:hover { background: var(--qs-navy-2); border-color: var(--qs-navy-2); transform: translateY(-1px); }
.qsite-btn:focus-visible, #qsite a:focus-visible, .qsite-burger:focus-visible { outline: 3px solid var(--qs-blue); outline-offset: 3px; }
.qsite-btn-ghost { background: transparent; color: var(--qs-navy) !important; }
.qsite-btn-ghost:hover { background: var(--qs-soft); border-color: var(--qs-navy); }
.qsite-btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.qsite-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Navigation */
.qsite-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--qs-line); backdrop-filter: saturate(1.4) blur(8px); }
.admin-bar .qsite-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .qsite-nav { top: 0; } }
.qsite-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.qsite-brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
#qsite .qsite-logo { height: 34px; width: auto; max-width: 180px; }
.qsite-logo-text { font-weight: 800; font-size: 22px; color: var(--qs-navy); }
.qsite-menu { display: flex; align-items: center; gap: 26px; }
.qsite-menu > a:not(.qsite-btn) { text-decoration: none; color: var(--qs-muted); font-weight: 550; font-size: 16px; white-space: nowrap; }
.qsite-menu > a:not(.qsite-btn):hover { color: var(--qs-navy); }
.qsite-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--qs-line); border-radius: 10px; background: #fff; color: var(--qs-navy); cursor: pointer; padding: 0; }
.qsite-burger svg { width: 22px; height: 22px; }
.qsite-burger .qsite-ic-close, .qsite-burger[aria-expanded="true"] .qsite-ic-open { display: none; }
.qsite-burger[aria-expanded="true"] .qsite-ic-close { display: block; }

@media (max-width: 900px) {
	.qsite-burger { display: inline-flex; }
	.qsite-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: #fff; border-bottom: 1px solid var(--qs-line); box-shadow: 0 20px 30px -20px rgba(14, 35, 52, .3); }
	.qsite-menu.is-open { display: flex; }
	.qsite-menu > a:not(.qsite-btn) { padding: 13px 0; border-bottom: 1px solid var(--qs-line); }
	.qsite-menu > .qsite-btn { margin-top: 16px; }
}
/* Ohne JavaScript bleibt das Menü sichtbar (umbrechend) */
#qsite:not(.qsite-js) .qsite-burger { display: none; }
@media (max-width: 900px) { #qsite:not(.qsite-js) .qsite-menu { display: flex; position: static; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0 0 12px; gap: 4px 18px; } #qsite:not(.qsite-js) .qsite-nav-inner { flex-wrap: wrap; } }

/* Kopfbereich */
.qsite-hero { position: relative; background: linear-gradient(160deg, #f2fbf8 0%, #f3f6ff 55%, #fff 100%); padding: 72px 0 80px; }
.qsite-hero::before { content: ""; position: absolute; inset: auto -10% 0 -10%; height: 140px; background: linear-gradient(90deg, rgba(62, 219, 172, .12), rgba(86, 137, 255, .12)); filter: blur(40px); pointer-events: none; }
.qsite-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.qsite-hero-grid.is-single { grid-template-columns: 1fr; max-width: 820px; }
.qsite-kicker { display: inline-block; margin: 0 0 18px !important; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--qs-line); color: var(--qs-navy); font-size: 14px; font-weight: 650; }
.qsite-hero-title { font-size: clamp(34px, 5.2vw, 56px); margin-bottom: 20px !important; background: linear-gradient(90deg, var(--qs-navy) 0%, var(--qs-navy) 45%, #1f5fd6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.qsite-lead { font-size: 19px; color: var(--qs-muted); }
.qsite-checks { display: grid; gap: 10px; margin-top: 8px !important; }
.qsite-checks li { display: flex; gap: 10px; align-items: flex-start; }
.qsite-checks .qsite-ic { margin-top: 4px; color: #17a67d; }
.qsite-checks-sm { margin: 4px 0 18px !important; gap: 8px; font-size: 15px; }
.qsite-checks-sm li { position: relative; padding-left: 22px; display: block; }
.qsite-checks-sm li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid #17a67d; border-bottom: 2px solid #17a67d; transform: rotate(-45deg); }
.qsite-hero-media img { width: 100%; filter: drop-shadow(0 30px 40px rgba(14, 35, 52, .18)); }
#qsite .qsite-notice { margin: 0 0 20px !important; border-left-color: var(--qs-blue); }
/* Kombi-Karte (Produktseite, statt Bild): Preisaufstellung Add-on plus Hauptplugin */
.qsite-combo-card { max-width: 440px; margin-left: auto; padding: 30px 28px; border-radius: 18px; background: var(--qs-navy); color: #fff; box-shadow: 0 30px 50px -30px rgba(14, 35, 52, .6); }
#qsite .qsite-combo-title { margin: 0 0 14px; color: #fff; font-size: 18px; font-weight: 700; }
#qsite .qsite-combo-rows { margin: 0; padding: 0; list-style: none; }
#qsite .qsite-combo-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 17px; color: #fff; }
#qsite .qsite-combo-rows li span:last-child { white-space: nowrap; }
#qsite .qsite-combo-rows li.is-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .4); font-weight: 700; }
#qsite .qsite-combo-note { margin: 12px 0 0; color: rgba(255, 255, 255, .85); font-size: 15px; }

/* Abschnitte */
.qsite-section { padding: 88px 0; }
.qsite-h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px !important; }
.qsite-h3 { font-size: 21px; margin-bottom: 10px !important; }
.qsite-section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.qsite-features .qsite-h2 { margin-bottom: 44px !important; }
.qsite-grid { display: grid; gap: 24px; }
.qsite-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qsite-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qsite-feature { padding: 28px; border-radius: var(--qs-radius); background: var(--qs-soft); }
.qsite-feature p { color: var(--qs-muted); margin: 0; }

.qsite-products { background: var(--qs-soft); }
.qsite-card { display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--qs-radius); background: #fff; border: 1px solid var(--qs-line); box-shadow: 0 12px 30px -24px rgba(14, 35, 52, .45); }
.qsite-card > p { color: var(--qs-muted); }
.qsite-note { font-size: 15px; color: var(--qs-text) !important; }
.qsite-note a { color: var(--qs-accent) !important; font-weight: 650; }
.qsite-card-btn { margin-top: auto; align-self: flex-start; }

.qsite-shots { gap: 18px; }
.qsite-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--qs-line); box-shadow: 0 16px 30px -24px rgba(14, 35, 52, .5); }
.qsite-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.qsite-showcase .qsite-h2 { max-width: 820px; margin: 0 auto 40px !important; }

.qsite-about { background: linear-gradient(160deg, #f3f6ff, #f2fbf8); }
.qsite-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.qsite-about-grid.is-single { grid-template-columns: 1fr; max-width: 820px; }
.qsite-about-media img { width: 100%; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; }
.qsite-about-kicker { font-weight: 650; color: var(--qs-navy); }

/* Fußbereich */
.qsite-footer { background: var(--qs-navy); color: #c9d5de; padding: 64px 0 0; font-size: 16px; }
.qsite-footer a { text-decoration: none; color: #c9d5de !important; }
.qsite-footer a:hover { color: #fff !important; }
.qsite-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.qsite-footer-brand .qsite-brand { background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 18px; }
.qsite-footer-brand .qsite-logo-text { color: #fff; }
.qsite-footer-brand p { max-width: 340px; }
.qsite-footer-mail { display: flex; align-items: center; gap: 8px; }
#qsite .qsite-footer-title { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.qsite-footer-links { display: grid; gap: 10px; }
.qsite-footer-bottom { margin-top: 48px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #93a5b3; }
.qsite-footer-bottom p { margin: 0 !important; }

/* Tablet */
@media (max-width: 1080px) {
	.qsite-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qsite-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.qsite-hero { padding: 48px 0 56px; }
	.qsite-hero-grid, .qsite-about-grid { grid-template-columns: 1fr; gap: 36px; }
	.qsite-hero-media { max-width: 560px; }
	.qsite-combo-card { margin-left: 0; }
	.qsite-grid-3 { grid-template-columns: 1fr; }
	.qsite-section { padding: 64px 0; }
}
/* Telefon */
@media (max-width: 600px) {
	#qsite { font-size: 16px; }
	.qsite-wrap { padding: 0 16px; }
	.qsite-grid-4, .qsite-footer-grid { grid-template-columns: 1fr; }
	.qsite-lead { font-size: 17px; }
	.qsite-actions .qsite-btn { width: 100%; }
	#qsite .qsite-logo { height: 28px; }
	.qsite-section { padding: 52px 0; }
	.qsite-feature, .qsite-card { padding: 22px 18px; }
}

/* Produktseite (Vorlage "qanuk.io Produktseite") */
.qsite-hero-title-md { font-size: clamp(30px, 4.4vw, 48px); }
.qsite-promo { margin: 4px 0 0 !important; padding: 14px 18px; border-left: 4px solid var(--qs-green); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px -20px rgba(14, 35, 52, .5); }
.qsite-small { margin: 12px 0 0 !important; font-size: 15px; line-height: 1.5; color: var(--qs-muted); }
.qsite-btn-buy { padding-top: 10px; padding-bottom: 10px; text-align: center; line-height: 1.3; }
.qsite-btn-block { display: flex; width: 100%; margin-top: 22px; }
.qsite-callout { max-width: 860px; margin: 32px auto 0 !important; padding: 16px 20px; border-radius: var(--qs-radius); background: var(--qs-soft); text-align: center; }
.qsite-callout a, .qsite-pricing-copy a, .qsite-faq-item a { color: var(--qs-accent); font-weight: 650; }
.qsite-callout-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: none; text-align: left; }
.qsite-callout-row p { margin: 0 !important; }
.qsite-audience .qsite-h2 { margin-bottom: 44px !important; }
.qsite-product-features { background: var(--qs-soft); }
.qsite-product-features .qsite-h2 { margin-bottom: 32px !important; }
.qsite-product-features .qsite-callout { background: #fff; border: 1px solid var(--qs-line); }
.qsite-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.qsite-feature-list li { align-items: flex-start; }
.qsite-pricing-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.qsite-pricing-copy p { color: var(--qs-text); }
.qsite-pricing-copy strong, .qsite-callout strong, .qsite-promo strong { color: var(--qs-navy); }
.qsite-price-card { position: sticky; top: 100px; padding: 30px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--qs-line); box-shadow: 0 24px 50px -30px rgba(14, 35, 52, .45); }
.qsite-price-card::before { content: ""; display: block; height: 4px; margin: -30px -26px 24px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, var(--qs-green), var(--qs-blue)); }
#qsite .qsite-price-name { margin: 0 0 6px; font-weight: 700; color: var(--qs-navy); font-size: 18px; }
#qsite .qsite-price { margin: 0; font-size: 44px; font-weight: 800; line-height: 1.1; color: var(--qs-navy); }
#qsite .qsite-price-period { margin: 2px 0 20px; color: var(--qs-muted); font-size: 15px; }
.qsite-narrow { max-width: 860px; }
.qsite-faq { background: var(--qs-soft); }
.qsite-faq .qsite-h2 { margin-bottom: 32px !important; }
.qsite-faq-list { display: grid; gap: 12px; }
.qsite-faq-item { border: 1px solid var(--qs-line); border-radius: 12px; background: #fff; }
.qsite-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 650; color: var(--qs-navy); }
.qsite-faq-item summary::-webkit-details-marker { display: none; }
.qsite-faq-item summary:focus-visible { outline: 3px solid var(--qs-blue); outline-offset: 2px; border-radius: 12px; }
.qsite-faq-ic { transition: transform .15s; color: var(--qs-muted); }
.qsite-faq-item[open] .qsite-faq-ic { transform: rotate(180deg); }
.qsite-faq-item p { margin: 0 !important; padding: 0 20px 18px; color: var(--qs-muted); }
@media (prefers-reduced-motion: reduce) { .qsite-faq-ic { transition: none; } }
@media (max-width: 900px) {
	.qsite-pricing-grid { grid-template-columns: 1fr; gap: 32px; }
	.qsite-price-card { position: static; max-width: 460px; }
	.qsite-feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.qsite-hero-title-md { font-size: 30px; }
	.qsite-callout-row .qsite-btn { width: 100%; }
	.qsite-faq-item summary { padding: 16px; }
	.qsite-faq-item p { padding: 0 16px 16px; }
	.qsite-price-card { padding: 26px 20px; }
	.qsite-price-card::before { margin: -26px -20px 22px; }
}

/* Inhaltsseite (Vorlage "qanuk.io Inhaltsseite"): übersetzter Inhalt aus dem Seiteneditor */
.qsite-tx { padding: 0 0 72px; }
.qsite-tx-head { padding: 56px 0 8px; }
#qsite .qsite-tx-title { font-size: clamp(32px, 4.4vw, 48px); }
.qsite-tx-row { padding: 44px 0; }
.qsite-tx-row.is-band { background: var(--qs-soft); }
.qsite-tx-loose { padding: 28px 0; }
.qsite-tx-loose .qsite-wrap { position: relative; }
#qsite .qsite-tx iframe { max-width: 100%; }
.qsite-tx-head + .qsite-tx-loose { padding-top: 8px; }
.qsite-tx-head + .qsite-tx-row { padding-top: 24px; }
.qsite-tx-cols { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); column-gap: 0; row-gap: 24px; margin: 0 -14px; }
.qsite-tx-cols > :not(.qsite-tx-col) { grid-column: 1 / -1; }
.qsite-tx-cols > .qsite-tx-inner { margin: 0; }
.qsite-tx-cols.is-middle { align-items: center; }
.qsite-tx-cols.is-center, .qsite-tx-col.is-center { text-align: center; }
.qsite-tx-col { grid-column: span var(--qs-span, 60); padding: 0 14px; min-width: 0; }
.qsite-tx-col.is-linked { position: relative; }
.qsite-tx-col.is-linked > .qsite-tx-cover { left: 14px; right: 14px; }
.qsite-tx-col > * + * { margin-top: 18px; }
.qsite-tx-col > .qsite-tx-inner { margin-left: -14px; margin-right: -14px; }
#qsite .qsite-tx h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: .4em; }
#qsite .qsite-tx h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: .5em; }
#qsite .qsite-tx h3 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: .5em; }
#qsite .qsite-tx h4, #qsite .qsite-tx h5, #qsite .qsite-tx h6 { margin: 0 0 .5em; color: var(--qs-navy); font-size: 19px; line-height: 1.3; font-weight: 700; }
#qsite .qsite-tx em { font-style: normal; }
#qsite .qsite-tx-text ul, #qsite .qsite-tx-text ol, #qsite .qsite-tx-raw ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
#qsite .qsite-tx-text ol { list-style: decimal; }
#qsite .qsite-tx-text li { margin: 0 0 .35em; }
#qsite .qsite-tx-text li ul { margin: .35em 0 0; list-style: circle; }
#qsite .qsite-tx-text a, #qsite .qsite-tx-raw a:not(.qsite-btn), .qsite-tx-cta a { color: var(--qs-accent); font-weight: 600; }
#qsite .qsite-tx-text > :last-child { margin-bottom: 0; }
#qsite .qsite-tx-text table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
#qsite .qsite-tx-text table, #qsite .qsite-tx-raw table { position: relative; } /* hält absolut positionierte Vorlesetexte (EDD) im Scrollbereich der Tabelle */
#qsite .qsite-tx-text td, #qsite .qsite-tx-text th { padding: 6px 8px; border-bottom: 1px solid var(--qs-line); text-align: left; vertical-align: top; }
#qsite .qsite-tx-text, #qsite .qsite-tx-lead { overflow-wrap: break-word; }
#qsite .qsite-tx-lead { color: var(--qs-muted); }
.qsite-tx-heading.is-center { text-align: center; }
#qsite .qsite-tx-actions { margin: 0; }
.qsite-tx-actions + .qsite-tx-actions { margin-top: 12px; }
#qsite .qsite-tx-cta { margin: 0; }
.qsite-tx-cta a { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 4px; }
#qsite .qsite-tx-badge-row { margin: 0; }
.qsite-tx-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--qs-soft); border: 1px solid var(--qs-line); color: var(--qs-navy); font-size: 14px; font-weight: 650; }
.qsite-tx-icon { margin-bottom: 0; }
.qsite-tx-icontext { display: flex; gap: 10px; align-items: flex-start; }
.qsite-tx-icontext .qsite-ic { margin-top: 5px; color: #17a67d; }
.qsite-tx-icontext p { margin: 0 !important; }
.qsite-tx-box { position: relative; padding: 24px; border-radius: var(--qs-radius); background: #fff; border: 1px solid var(--qs-line); box-shadow: 0 12px 30px -24px rgba(14, 35, 52, .45); overflow: hidden; text-align: left; }
.qsite-tx-box.has-img { padding: 0; }
.qsite-tx-box.has-img .qsite-tx-box-body { padding: 20px 22px 22px; }
#qsite .qsite-tx-box-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.qsite-tx-box-body > :last-child { margin-bottom: 0 !important; }
.qsite-tx-cover { position: absolute; inset: 0; z-index: 1; }
.qsite-tx-cover:focus-visible { outline: 3px solid var(--qs-blue); outline-offset: -3px; border-radius: var(--qs-radius); }
.qsite-tx-figure { margin: 0; }
.qsite-tx-figure.is-center img { margin: 0 auto; }
#qsite .qsite-tx-figure img { border-radius: 12px; }
.qsite-tx-cascade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qsite-tx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
#qsite .qsite-tx-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--qs-line); }
.qsite-tx-inline p, .qsite-tx-inline h3 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
#qsite .qsite-tx-inline-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: inline-block; }
.qsite-tx-sep { display: flex; align-items: center; gap: 16px; }
.qsite-tx-sep::after { content: ""; flex: 1; height: 1px; background: var(--qs-line); }
#qsite .qsite-tx-sep h4 { margin: 0; }
.qsite-tx-hr { border: 0; border-top: 1px solid var(--qs-line); margin: 24px 0; }
.qsite-tx-slide { position: relative; }
.qsite-tx-slide-text { margin-top: 12px; }
#qsite .qsite-tx-slide-h { font-weight: 750; font-size: 24px; color: var(--qs-navy); margin: 0; }
.qsite-tx-tabs { display: grid; gap: 40px; }
.qsite-tx-tab { padding-top: 28px; border-top: 1px solid var(--qs-line); }
#qsite .qsite-tx-tab-title { margin-bottom: 4px; }
#qsite .qsite-tx-tab-sub { color: var(--qs-muted); margin-bottom: 18px; }
.qsite-tx-rot { display: inline-grid; vertical-align: bottom; }
.qsite-tx-rot > span { grid-area: 1 / 1; opacity: 0; animation: qsite-rot var(--qs-rot-d, 5s) infinite; animation-delay: calc(var(--qs-rot-d, 5s) / var(--qs-rot-n, 2) * var(--qs-rot-i, 0)); }
.qsite-tx-rot > span:first-child { opacity: 1; }
@keyframes qsite-rot { 0%, 45% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .qsite-tx-rot { display: inline; } .qsite-tx-rot > span { animation: none; opacity: 1; } .qsite-tx-rot > span + span::before { content: " / "; } }
#qsite .qsite-tx .wpforms-container { max-width: 640px; }
/* Formulare von EDD und WordPress (Kasse, Konto, Login) im Inhalt: schlichte Felder, WPForms behält sein eigenes Design */
.qsite-tx form:not(.wpforms-form) fieldset { margin: 0 0 20px; padding: 16px 18px; border: 1px solid var(--qs-line); border-radius: 12px; }
.qsite-tx form:not(.wpforms-form) legend { padding: 0 6px; font-weight: 700; color: var(--qs-navy); }
.qsite-tx form:not(.wpforms-form) label { display: block; margin: 0 0 4px; font-weight: 600; }
.qsite-tx form:not(.wpforms-form) :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], select, textarea) { width: 100%; max-width: 520px; min-height: 42px; padding: 8px 12px; border: 1px solid #c8d3dc; border-radius: 8px; background: #fff; color: var(--qs-text); font: inherit; font-size: 16px; }
.qsite-tx form:not(.wpforms-form) :is(input, select, textarea):focus-visible { outline: 3px solid var(--qs-blue); outline-offset: 1px; }
.qsite-tx form:not(.wpforms-form) p { margin: 0 0 14px; }
.qsite-tx form:not(.wpforms-form) :is(input[type="submit"], button[type="submit"], .edd-submit) { min-height: 44px; padding: 0 20px; border: 2px solid var(--qs-navy); border-radius: 10px; background: var(--qs-navy); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
#qsite .qsite-tx form:not(.wpforms-form) a.edd-submit { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.qsite-tx form:not(.wpforms-form) input[type="checkbox"], .qsite-tx form:not(.wpforms-form) input[type="radio"] { width: auto; min-height: 0; margin-right: 6px; }
@media (max-width: 900px) {
	.qsite-tx-col { grid-column: 1 / -1; }
	.qsite-tx-col.is-empty { display: none; }
	.qsite-tx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qsite-tx-row { padding: 32px 0; }
}
@media (max-width: 600px) {
	.qsite-tx-head { padding-top: 36px; }
	#qsite .qsite-tx-title, #qsite .qsite-tx h1 { font-size: 30px; }
	#qsite .qsite-tx h2 { font-size: 25px; }
	.qsite-tx-cascade { grid-template-columns: 1fr; }
	.qsite-tx-actions .qsite-btn { width: 100%; }
	#qsite .qsite-tx-text table, #qsite .qsite-tx-raw table { display: block !important; overflow-x: auto; max-width: 100%; }
	#qsite .qsite-tx-text, #qsite .qsite-tx-raw { max-width: 100%; overflow-x: auto; }
}

/* Produktseite: Unterzeile, Stichpunkte im Kopfbereich, Bildergalerie (optional) */
#qsite .qsite-subtitle { margin: -6px 0 16px; font-size: 20px; font-weight: 650; color: var(--qs-navy); }
.qsite-hero-points { margin: 20px 0 0 !important; }
.qsite-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qsite-gallery-grid .qsite-shot img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .qsite-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .qsite-gallery-grid { grid-template-columns: 1fr; } }

/* Direkt auf der Seite bearbeiten (nur für Administratoren sichtbar) */
body.qsite-editing #qsite [data-qsite-edit] { outline: 2px dashed rgb(47 107 255 / .45); outline-offset: 3px; border-radius: 4px; cursor: text; }
body.qsite-editing #qsite [data-qsite-edit]:hover { outline-color: rgb(47 107 255 / .8); }
body.qsite-editing #qsite [data-qsite-edit]:focus { outline: 2px solid var(--qs-accent); background: rgb(47 107 255 / .06); }
body.qsite-editing #qsite .qsite-hero-title[data-qsite-edit]:focus { -webkit-text-fill-color: currentColor; }
#qsite-editor { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 99999; font: 14px/1.4 ui-sans-serif, system-ui, sans-serif; color: #13202a; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
#qsite-editor [hidden] { display: none !important; }
#qsite-editor .qsite-ed-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--qs-accent); background: var(--qs-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(16, 40, 56, .45); }
#qsite-editor .qsite-ed-btn:hover { background: #1d55e0; }
#qsite-editor .qsite-ed-btn:disabled { opacity: .5; cursor: default; }
#qsite-editor .qsite-ed-ghost { background: #fff; color: #13202a; border-color: #e0e7eb; box-shadow: none; }
#qsite-editor .qsite-ed-ghost:hover { background: #f3f6f8; }
#qsite-editor .qsite-ed-ic { width: 16px; height: 16px; }
#qsite-editor .qsite-ed-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: #fff; border: 1px solid #e0e7eb; border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(16, 40, 56, .45); max-width: calc(100vw - 40px); }
#qsite-editor .qsite-ed-info { color: #67777e; }
#qsite-editor .qsite-ed-count { font-weight: 600; color: #b45309; }
#qsite-editor .qsite-ed-link { color: var(--qs-accent); text-decoration: underline; font-size: 13px; }
#qsite-editor .qsite-ed-bar .qsite-ed-cancel { margin-left: auto; }
#qsite-editor .qsite-ed-toast { padding: 10px 14px; border-radius: 8px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-weight: 500; }
#qsite-editor .qsite-ed-toast.is-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* FAQ-Akkordeon (sp_easyaccordion ohne Plugin) */
#qsite .qsite-tx-faqs { margin: 0 0 1em; border-top: 1px solid var(--qs-line, #e3e8ee); }
#qsite .qsite-tx-faq { border-bottom: 1px solid var(--qs-line, #e3e8ee); }
#qsite .qsite-tx-faq > summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 650; font-size: 18px; color: var(--qs-navy, #0e2334); }
#qsite .qsite-tx-faq > summary::-webkit-details-marker { display: none; }
#qsite .qsite-tx-faq > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; }
#qsite .qsite-tx-faq[open] > summary::after { content: "\2212"; }
#qsite .qsite-tx-faq-body { padding: 0 0 18px; }
#qsite .qsite-tx-faq-body > :last-child { margin-bottom: 0; }

/* Dokumentation (betterdocs_* ohne Plugin) */
#qsite .qsite-tx-docs-search input { width: 100%; max-width: 520px; padding: 12px 14px; border: 1px solid var(--qs-line); border-radius: 10px; font: inherit; }
#qsite .qsite-tx-docs-kb { margin: 36px 0 0; }
#qsite .qsite-tx-docs-kb h3 { margin: 24px 0 4px; }
#qsite .qsite-tx-doc .qsite-tx-faq-body img { max-width: 100%; height: auto; }

/* Übersicht (Archive, Suche, 404) */
#qsite .qsite-list-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
#qsite .qsite-list-item { border: 1px solid var(--qs-line); border-radius: 14px; padding: 20px; }
#qsite .qsite-list-item h2 { font-size: 20px; margin: 0 0 6px; }
#qsite .qsite-list-item h2 a { text-decoration: none; color: var(--qs-navy); }
#qsite .qsite-list-item p { margin: 6px 0 0; }
#qsite .qsite-list-price { font-weight: 650; }
#qsite .qsite-list-pages ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 24px 0 0; }

/* 1.7.1: Abnahme-Befunde Adrien */
#qsite .qsite-tx img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
#qsite .qsite-tx img.alignright { float: right; margin: 0 0 12px 18px; }
#qsite .qsite-tx img.alignleft { float: left; margin: 0 18px 12px 0; }
#qsite .qsite-tx-hl h3 { font-size: clamp(18px, 1.8vw, 20px); font-weight: 600; }
.qsite-tx-row.has-bg { background-size: cover; background-position: center; }
#qsite .qsite-tx-row.is-light, #qsite .qsite-tx-row.is-light h1, #qsite .qsite-tx-row.is-light h2, #qsite .qsite-tx-row.is-light h3, #qsite .qsite-tx-row.is-light p { color: #fff; }
.qsite-tx-col.has-bg { position: relative; min-height: 260px; }
.qsite-tx-col-bg { position: absolute; top: 0; bottom: 0; left: 14px; right: 14px; border-radius: 14px; background-size: cover; background-position: center; z-index: 0; }
.qsite-tx-col.has-bg > :not(.qsite-tx-col-bg) { position: relative; z-index: 1; }

/* 1.7.2: Text auf Spalten-Hintergrundbild lesbar (Kachel „Über uns“ auf /plugins/) */
.qsite-tx-col.has-bg:has(.qsite-tx-text, h2, h3, p) .qsite-tx-col-bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(12, 16, 28, .62); }
#qsite .qsite-tx-col.has-bg:has(.qsite-tx-text, h2, h3, p) :is(h1, h2, h3, h4, h5, h6, p, li, a:not(.qsite-btn)) { color: #fff; }
.qsite-tx-col.has-bg:has(.qsite-tx-text, h2, h3, p) > :not(.qsite-tx-col-bg) { padding-left: 24px; padding-right: 24px; }
#qsite .qsite-tx-col.has-bg .qsite-btn-ghost { color: #fff !important; border-color: #fff; }
#qsite .qsite-tx-col.has-bg .qsite-btn-ghost:hover { background: rgba(255, 255, 255, .14); }

/* 1.7.3: Kachel mit Hintergrundbild und Text, unten gleicher Abstand wie oben (Knopf saß direkt am Bildrand) */
.qsite-tx-col.has-bg:has(.qsite-tx-text, h2, h3, p) { padding-bottom: 18px; }

/* 1.7.4: Absenden-Knopf in WPForms wie .qsite-btn (war grau und ungestaltet), z. B. /kontakt/ */
#qsite .qsite-tx .wpforms-form .wpforms-submit-container button.wpforms-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 2px solid var(--qs-navy); background: var(--qs-navy); color: #fff; font-weight: 650; font-size: 16px; line-height: 1; cursor: pointer; box-shadow: none; transition: background .15s, border-color .15s, transform .15s; }
#qsite .qsite-tx .wpforms-form .wpforms-submit-container button.wpforms-submit:hover { background: var(--qs-navy-2); border-color: var(--qs-navy-2); transform: translateY(-1px); }
#qsite .qsite-tx .wpforms-form .wpforms-submit-container button.wpforms-submit:focus-visible { outline: 3px solid var(--qs-blue); outline-offset: 3px; }
