/* HEYAI ARTROOM Partner – Formular, Terminblock und Tarifkarten im ARTROOM-Stil.
   Reinweiß, Schwarz #111, Grau, Rot (Akzent). Baskervville für Titel, DM Sans für Bedienung;
   beide liefert ARTROOM lokal aus, sonst greifen die Ersatzschriften. */
.hnp {
	--hnp-accent: #b3261e;
	--hnp-ink: #111;
	--hnp-grey: #6b6b6b;
	--hnp-line: #d9d9d9;
	--hnp-soft: #f6f6f6;
	--hnp-warn: #b3261e;
	--hnp-serif: "Baskervville", Georgia, "Times New Roman", serif;
	--hnp-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	max-width: 760px;
	margin: 0 auto;
	box-sizing: border-box;
	color: var(--hnp-ink);
	font-family: var(--hnp-sans);
	font-size: 16px;
	line-height: 1.55;
}
.hnp *, .hnp *::before, .hnp *::after { box-sizing: border-box; }
/* Themes setzen Eingabefelder oft auf content-box; hier mit höherer Spezifität zurück. */
.hnp .hnp-form input, .hnp .hnp-form select, .hnp .hnp-form textarea, .hnp .hnp-events-box input, .hnp .hnp-events-box select { box-sizing: border-box; }

.hnp-site { margin: 0 0 32px; font-family: var(--hnp-serif); font-size: 22px; letter-spacing: .18em; text-transform: uppercase; }
.hnp-site a { color: inherit; text-decoration: none; }
.hnp-site a::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--hnp-accent); margin-right: 10px; vertical-align: middle; }

.hnp-title { margin: 0 0 10px; font-family: var(--hnp-serif); font-weight: 500; font-size: clamp(30px, 5vw, 42px); line-height: 1.12; color: var(--hnp-accent); }
.hnp-intro { margin: 0 0 28px; font-family: var(--hnp-serif); font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.5; color: var(--hnp-ink); }

.hnp-group { border: 0; border-top: 1px solid var(--hnp-ink); margin: 0 0 8px; padding: 18px 0 6px; min-width: 0; }
.hnp-group > legend, .hnp-events-box > summary {
	padding: 0 8px 0 0; font-family: var(--hnp-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hnp-accent);
}

.hnp-field { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hnp-field > label, .hnp-label { font-weight: 500; font-size: 15px; }
.hnp input[type=text], .hnp input[type=email], .hnp input[type=url], .hnp input[type=tel], .hnp input[type=date], .hnp select, .hnp textarea {
	box-sizing: border-box; width: 100%; max-width: 100%; margin: 0; font: inherit; font-size: 16px; color: var(--hnp-ink); background: #fff;
	border: 1px solid var(--hnp-line); border-radius: 0; padding: 10px 12px; min-height: 46px;
}
.hnp input:hover, .hnp select:hover, .hnp textarea:hover { border-color: #9a9a9a; }
.hnp .hnp-field input[name="hnp_urls[]"] { margin-bottom: 6px; }
.hnp textarea { min-height: 120px; resize: vertical; }
.hnp input:focus, .hnp select:focus, .hnp textarea:focus { outline: 2px solid var(--hnp-accent); outline-offset: -1px; border-color: var(--hnp-accent); }
.hnp-btn:focus-visible, .hnp-events-box > summary:focus-visible { outline: 2px solid var(--hnp-accent); outline-offset: 2px; }
.hnp [aria-invalid="true"] { border-color: var(--hnp-warn); }
.hnp-hint { font-size: 13px; color: var(--hnp-grey); }
.hnp-err { display: block; font-size: 13px; color: var(--hnp-warn); font-weight: 600; }
.hnp-req { color: var(--hnp-accent); }

/* Aufklappbarer Terminblock */
.hnp-events-box { border-top: 1px solid var(--hnp-ink); border-bottom: 1px solid var(--hnp-line); margin: 8px 0 18px; padding: 0; }
.hnp-events-box > summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative; }
.hnp-events-box > summary::-webkit-details-marker { display: none; }
.hnp-events-box > summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-size: 22px; font-weight: 400; letter-spacing: 0; }
.hnp-events-box[open] > summary::after { content: "–"; }
.hnp-events-box[open] { padding-bottom: 6px; }
.hnp-event { border: 0; border-top: 1px solid var(--hnp-line); padding: 14px 0 0; margin: 0 0 6px; }
.hnp-event > summary { cursor: pointer; padding-bottom: 12px; font-weight: 600; }
.hnp-event__n { margin: 0 0 8px; font-family: var(--hnp-serif); font-style: italic; font-size: 16px; color: var(--hnp-grey); }
.hnp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.hnp-span2 { grid-column: span 2; }
@media (max-width: 600px) {
	.hnp-grid { grid-template-columns: minmax(0, 1fr); }
	.hnp-span2 { grid-column: auto; }
}

/* Leistungen und Tarifkarten */
.hnp-tariff { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--hnp-line); padding: 16px; margin: 0 0 10px; cursor: pointer; background: #fff; }
.hnp-tariff:has(input:checked) { border-color: var(--hnp-ink); box-shadow: inset 0 0 0 1px var(--hnp-ink); }
.hnp-tariff input { margin-top: 4px; accent-color: var(--hnp-accent); width: 18px; height: 18px; flex: none; }
.hnp-tariff__body { display: flex; flex-direction: column; gap: 4px; }
.hnp-tariff__title { font-family: var(--hnp-serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.hnp-tariff__price { font-weight: 700; font-size: 15px; color: var(--hnp-accent); }
.hnp-tariff__desc { font-size: 14px; color: var(--hnp-grey); }
.hnp-tarife { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hnp-tariff--card { flex-direction: column; justify-content: space-between; gap: 20px; cursor: default; margin: 0; border-color: var(--hnp-ink); }
.hnp-tariff--card .hnp-btn { text-decoration: none; text-align: center; display: inline-block; }

.hnp-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 15px; cursor: pointer; }
.hnp-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--hnp-accent); }

.hnp-notice { font-size: 14px; background: var(--hnp-soft); padding: 14px 16px; margin: 18px 0; }
.hnp-submit { margin: 18px 0 8px; }
.hnp-btn {
	font-family: var(--hnp-sans); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	color: #fff; background: var(--hnp-ink); border: 0; border-radius: 0; padding: 15px 26px; min-height: 46px; cursor: pointer;
	transition: background-color .15s ease;
}
.hnp-btn:hover { background: var(--hnp-accent); color: #fff; }

.hnp-msg { border-left: 3px solid var(--hnp-accent); background: var(--hnp-soft); padding: 16px 18px; margin: 0 0 22px; }
.hnp-msg p { margin: 0 0 8px; }
.hnp-msg p:last-child, .hnp-msg ul:last-child { margin-bottom: 0; }
.hnp-msg ul { margin: 0; padding-left: 20px; }
.hnp-msg--ok, .hnp-msg--info { border-left-color: var(--hnp-ink); }
.hnp-msg--warn { border-left-color: var(--hnp-warn); }
.hnp-msg__title { font-family: var(--hnp-serif); font-size: 21px; font-weight: 500; }
.hnp-msg form { margin-top: 14px; }

/* In der PMPro-Kasse: Terminblock ohne eigenen Rahmen */
.hnp--kasse { max-width: none; }
.hnp--kasse .hnp-events-box { margin: 0; border-bottom: 0; }

.hnp-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Kundenbereich, Aufträge, Partnerseite (0.4) */
.hnp-seite__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hnp-grey); }
.hnp-quota { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--hnp-ink); border-bottom: 1px solid var(--hnp-line); padding: 14px 0; margin: 0 0 18px; }
.hnp-quota__zahl { font-family: var(--hnp-serif); font-size: 44px; line-height: 1; color: var(--hnp-accent); }
.hnp-bereich .hnp-events-box form { margin: 0; }
.hnp-seite__h { margin: 28px 0 10px; font-family: var(--hnp-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hnp-accent); border-top: 1px solid var(--hnp-ink); padding-top: 14px; }
.hnp-job { border-bottom: 1px solid var(--hnp-line); padding: 14px 0; }
.hnp-job__kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 4px; font-size: 13px; color: var(--hnp-grey); }
.hnp-job__kopf strong { color: var(--hnp-ink); }
.hnp-job--vorschau .hnp-job__kopf strong { color: var(--hnp-accent); }
.hnp-job__thema { margin: 0 0 8px; font-family: var(--hnp-serif); font-size: 20px; line-height: 1.3; }
.hnp-vorschau { background: var(--hnp-soft); padding: 12px 16px; margin: 8px 0 14px; }
.hnp-vorschau > summary { cursor: pointer; font-weight: 600; }
.hnp-vorschau__text { margin-top: 12px; max-height: 70vh; overflow: auto; }
.hnp-vorschau__text h4 { font-family: var(--hnp-serif); font-size: 26px; font-weight: 500; line-height: 1.2; margin: 4px 0 10px; }
.hnp-job__knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }
.hnp-btn--zweit { background: #fff; color: var(--hnp-ink); box-shadow: inset 0 0 0 1px var(--hnp-ink); }
.hnp-btn--zweit:hover { background: var(--hnp-soft); color: var(--hnp-ink); }
.hnp-seite { max-width: 980px; }
.hnp-seite__links a { color: var(--hnp-ink); }
.hnp-seite__termine { list-style: none; margin: 0; padding: 0; }
.hnp-seite__termine li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--hnp-line); padding: 10px 0; }
.hnp-seite__termine a { font-family: var(--hnp-serif); font-size: 19px; color: var(--hnp-ink); text-decoration: none; }
.hnp-seite__termine span { color: var(--hnp-grey); font-size: 14px; }
.hnp-seite__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.hnp-seite__item h3 { font-family: var(--hnp-serif); font-size: 22px; font-weight: 500; line-height: 1.25; margin: 4px 0 8px; }
.hnp-seite__item h3 a { color: var(--hnp-ink); text-decoration: none; }
.hnp-seite__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hnp-seite__datum { margin: 10px 0 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hnp-grey); }
