/* IHK Fotoportal – App-Oberfläche. Kampagnen-CI #könnenlernen, flache Karten ohne Schatten. */
:root {
	--ocean: #003366;
	--ocean-dark: #002244;
	--sky: #009ED4;
	--sky-text: #00739E;      /* Sky in textfähigem Kontrast */
	--light: #76DDFF;          /* nur Headline-Akzent auf Dunkel */
	--lime: #A6CE39;           /* nur Fläche/Akzent */
	--lime-soft: #EFF7D9;
	--mandarin: #F08119;       /* Fokus */
	--mandarin-soft: #FFF1E3;
	--warn-text: #8A4100;
	--sky-soft: #E6F4FA;
	--grey-soft: #EEF1F4;
	--line: #DDE4EB;
	--field: #8A9BB0;
	--muted: #3A5878;
	--bg: #F8F8F6;
	--white: #FFFFFF;
	--error: #B3261E;
	--font: 'din-2014', Arial, Helvetica, sans-serif;
	--font-head: 'din-2014', 'Arial Narrow', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ihkfp { margin: 0; min-height: 100vh; font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; color: var(--ocean); background: var(--bg); }
a { color: var(--sky-text); }
a:hover { color: var(--ocean); }
[hidden] { display: none !important; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--mandarin); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.ihkfp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ihkfp-skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .75rem 1rem; background: var(--ocean); color: var(--white); font-weight: 700; }
.ihkfp-skip:focus { left: 1rem; top: 1rem; }
.ihkfp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Typo */
.ihkfp-h, h1.ihkfp-h, h2.ihkfp-h { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; line-height: 1; margin: 0; text-wrap: balance; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.ihkfp-h--s { font-size: 1.375rem; }
.ihkfp-h--m { font-size: 2rem; }
.ihkfp-h--l { font-size: clamp(2rem, 4vw, 2.5rem); }
.ihkfp-h--xl { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.ihkfp-kicker { display: block; font-weight: 700; font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-text); }
.ihkfp-lead { font-size: 1.1875rem; margin: 0 0 1.5rem; }
.ihkfp-muted { color: var(--muted); font-size: .9375rem; margin: 0; }
.ihkfp-strong { font-weight: 700; }
.ihkfp-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9375rem; word-break: break-all; }
.ihkfp-wordmark { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; line-height: .9; font-size: 1.875rem; color: var(--white); text-decoration: none; display: inline-flex; flex-direction: column; }
.ihkfp-wordmark span { color: var(--sky); }
.ihkfp-wordmark:hover { color: var(--white); }
.ihkfp-wordmark--dark, .ihkfp-wordmark--dark:hover { color: var(--ocean); font-size: 1.5rem; }

/* Buttons */
.ihkfp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
	min-height: 52px; padding: 0 1.375rem; border-radius: 26px; border: 2px solid var(--ocean);
	background: var(--ocean); color: var(--white); font: 700 1.0625rem var(--font); text-decoration: none; cursor: pointer;
}
.ihkfp-btn:hover { background: var(--ocean-dark); border-color: var(--ocean-dark); color: var(--white); }
.ihkfp-btn--ghost { background: var(--white); color: var(--ocean); }
.ihkfp-btn--ghost:hover { background: var(--sky-soft); color: var(--ocean); border-color: var(--ocean); }
.ihkfp-btn--small { min-height: 44px; padding: 0 1rem; font-size: .9375rem; border-radius: 22px; }
.ihkfp-btn--l { min-height: 64px; padding: 0 2.25rem; border-radius: 32px; font-size: 1.3125rem; }
.ihkfp-btn--xl { min-height: 72px; padding: 0 2.5rem; border-radius: 36px; font-size: 1.5rem; }
.ihkfp-btn--block { width: 100%; min-height: 60px; border-radius: 30px; font-size: 1.25rem; }
.ihkfp-btn:disabled { opacity: .55; cursor: wait; }
.ihkfp-link { color: var(--ocean); font-weight: 700; text-underline-offset: 3px; }

/* Karten, Formulare */
.ihkfp-card { background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; }
.ihkfp-form { display: grid; gap: 1.25rem; padding: 1.5rem; }
.ihkfp-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.ihkfp-field { display: grid; gap: .5rem; }
.ihkfp-field label { font-weight: 600; font-size: 1.0625rem; }
.ihkfp-req { font-weight: 400; color: var(--muted); font-size: .9375rem; }
.ihkfp-field input { width: 100%; min-height: 52px; padding: 0 1rem; border: 2px solid var(--field); border-radius: 12px; font: 400 1.125rem var(--font); color: var(--ocean); background: var(--white); }
.ihkfp-field input[aria-invalid="true"] { border-color: var(--error); }
.ihkfp-field input.is-warn { border-color: var(--mandarin); }
.ihkfp-fielderr { margin: 0; color: var(--error); font-weight: 700; }
.ihkfp-alert { padding: 1rem 1.25rem; margin: 0 0 1.5rem; border-radius: 14px; background: var(--white); border: 2px solid var(--ocean); }
.ihkfp-alert--error { border-color: var(--error); color: var(--error); font-weight: 700; }
.ihkfp-empty { padding: 1.5rem; margin: 0; }

/* Chips */
.ihkfp-chip { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: 14px; background: var(--grey-soft); font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.ihkfp-chip--running, .ihkfp-chip--ready, .ihkfp-chip--done { background: var(--lime-soft); }
.ihkfp-chip--planned, .ihkfp-chip--advised, .ihkfp-chip--sent { background: var(--sky-soft); }
.ihkfp-chip--problem { background: var(--mandarin-soft); color: var(--warn-text); }
.ihkfp-chips { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Öffentliches Layout (Login, Systemseiten) */
.ihkfp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.ihkfp-narrow { max-width: 560px; }
.ihkfp-header { background: var(--white); border-bottom: 1.5px solid var(--line); }
.ihkfp-header__inner { display: flex; align-items: center; min-height: 80px; }
.ihkfp-main { padding: 3rem 0 4rem; min-height: calc(100vh - 160px); }
.ihkfp-main h1 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.05; margin: 0 0 1rem; }
.ihkfp-footer { background: var(--ocean); color: var(--white); font-size: .9375rem; padding: 1.25rem 0; }
.ihkfp-footer p { margin: 0; }

/* App-Layout mit Seitenleiste */
.ihkfp-app { display: flex; flex-wrap: wrap; min-height: 100vh; }
.ihkfp-side { flex: 1 1 240px; max-width: 280px; background: var(--ocean); color: var(--white); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 1.75rem; }
.ihkfp-side__brand { display: flex; flex-direction: column; gap: .5rem; }
.ihkfp-side__area { font-size: .875rem; color: #CFE3F2; }
.ihkfp-side__nav { display: flex; flex-direction: column; gap: .25rem; }
.ihkfp-side__nav a { color: var(--white); font-weight: 600; text-decoration: none; min-height: 48px; display: flex; align-items: center; gap: .75rem; padding: .5rem .875rem; border-radius: 12px; line-height: 1.25; }
.ihkfp-side__nav a:hover { background: rgba(255, 255, 255, .12); }
.ihkfp-side__nav a[aria-current="page"] { background: var(--white); color: var(--ocean); font-weight: 700; }
.ihkfp-side__nav svg { flex: none; }
.ihkfp-side__user { margin-top: auto; display: flex; align-items: center; gap: .75rem; font-size: .9375rem; }
.ihkfp-side__user a { color: #CFE3F2; }
.ihkfp-avatar { width: 40px; height: 40px; border-radius: 20px; background: var(--sky); color: var(--ocean); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.ihkfp-app__main { flex: 999 1 640px; min-width: 0; padding: 2rem clamp(1.25rem, 3vw, 3rem); }
.ihkfp-page { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1280px; }
.ihkfp-page--narrow { max-width: 760px; }
.ihkfp-pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ihkfp-pagehead .ihkfp-kicker { margin-bottom: .375rem; }
.ihkfp-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.ihkfp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1rem; }
.ihkfp-eventcard { height: 100%; text-decoration: none; color: var(--ocean); padding: 1.5rem; display: flex; flex-direction: column; gap: .625rem; transition: border-color .2s; }
.ihkfp-eventcard:hover { border-color: var(--sky); color: var(--ocean); }
.ihkfp-eventcard__top { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.ihkfp-eventcard__title { font-size: 1.375rem; font-weight: 700; line-height: 1.25; }
.ihkfp-note { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.ihkfp-note p { margin: 0; }
.ihkfp-note__icon { width: 48px; height: 48px; border-radius: 16px; background: var(--mandarin-soft); display: flex; align-items: center; justify-content: center; flex: none; }

.ihkfp-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: .75rem; }
.ihkfp-tile { background: var(--white); border-radius: 16px; padding: 1rem 1.125rem; display: flex; flex-direction: column; gap: .125rem; font-size: .9375rem; }
.ihkfp-tile--warn { background: var(--mandarin-soft); }
.ihkfp-tile__n { font-family: var(--font-head); font-weight: 800; font-size: 1.875rem; line-height: 1; }

.ihkfp-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.ihkfp-search { flex: 1 1 260px; display: flex; align-items: center; gap: .625rem; background: var(--white); border: 2px solid var(--field); border-radius: 14px; padding: 0 1rem; min-height: 52px; }
.ihkfp-search:focus-within { outline: 3px solid var(--mandarin); outline-offset: 3px; }
.ihkfp-search input { flex: 1; border: 0; outline: none; min-height: 44px; font: 400 1.0625rem var(--font); color: var(--ocean); background: transparent; }
.ihkfp-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.ihkfp-filters button { min-height: 44px; padding: 0 1rem; border-radius: 22px; border: 2px solid #C9D5E1; background: var(--white); color: var(--ocean); font: 600 1rem var(--font); cursor: pointer; }
.ihkfp-filters button[aria-pressed="true"] { background: var(--ocean); border-color: var(--ocean); color: var(--white); }

.ihkfp-tablewrap { overflow-x: auto; }
.ihkfp-table { width: 100%; border-collapse: collapse; }
.ihkfp-table th { text-align: left; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; padding: .75rem 1rem; border-bottom: 2px solid #E1E8EF; white-space: nowrap; }
.ihkfp-table td { padding: .75rem 1rem; border-bottom: 1px solid #E1E8EF; white-space: nowrap; }
.ihkfp-table tr:last-child td { border-bottom: 0; }

.ihkfp-qrcard { padding: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.ihkfp-qrcard > div:first-child { flex: 1 1 360px; display: flex; flex-direction: column; gap: .5rem; }
.ihkfp-qrcard p { margin: 0; }
.ihkfp-qr { width: 180px; height: 180px; flex: none; }
.ihkfp-qr svg { width: 100%; height: 100%; display: block; }
.ihkfp-qr--framed { width: 200px; height: 200px; border: 3px solid var(--ocean); border-radius: 20px; overflow: hidden; background: var(--white); }

/* Stand (Kiosk + Beratung) – Tablet im Querformat */
.ihkfp-layout--kiosk { background: var(--ocean); }
.ihkfp-kiosk { min-height: 100vh; display: flex; }
.ihkfp-stand { flex: 1; min-height: 100vh; display: flex; flex-direction: column; gap: 1.5rem; padding: 1.75rem clamp(1rem, 3.5vw, 2.5rem) 2rem;
	background: linear-gradient(rgba(0, 51, 102, .55), rgba(0, 51, 102, .55)), var(--ocean); }
.ihkfp-stand__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; color: var(--white); }
.ihkfp-stand__title { display: flex; flex-direction: column; gap: .125rem; font-size: 1.125rem; font-weight: 600; }
.ihkfp-stand__kicker { font-weight: 700; font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase; }
.ihkfp-stand__tools { display: flex; align-items: center; gap: 1rem; }
.ihkfp-stand__panel { flex: 1; background: var(--white); border-radius: 32px; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; gap: 1.75rem; position: relative; }
.ihkfp-stand__panel > section, .ihkfp-stand__panel > form, .ihkfp-stand__panel > div { display: flex; flex-direction: column; gap: 1.5rem; }
.ihkfp-stand__search { display: flex; align-items: center; gap: .625rem; background: var(--white); color: var(--ocean); border-radius: 28px; padding: 0 1.25rem; min-height: 56px; width: min(340px, 100%); }
.ihkfp-stand__search:focus-within { outline: 3px solid var(--mandarin); outline-offset: 3px; }
.ihkfp-stand__search input { flex: 1; border: 0; outline: none; font: 700 1.375rem var(--font); color: var(--ocean); min-height: 44px; min-width: 0; }
.ihkfp-stand__back { margin: 0; }
.ihkfp-stand__exit { position: absolute; right: 1.5rem; bottom: 1rem; margin: 0; font-size: .875rem; }
.ihkfp-stand__exit a { color: var(--muted); }

.ihkfp-lang { display: flex; gap: .5rem; }
.ihkfp-lang button { min-width: 52px; min-height: 44px; border-radius: 22px; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: var(--white); font: 700 1rem var(--font); cursor: pointer; }
.ihkfp-lang button[aria-pressed="true"] { background: var(--white); color: var(--ocean); border-color: var(--white); }
.ihkfp-offline { background: var(--mandarin-soft); color: var(--warn-text); font-weight: 700; padding: .5rem .875rem; border-radius: 18px; font-size: .9375rem; }

/* Erfassung */
.ihkfp-capture__start { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 3rem !important; }
.ihkfp-capture__intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.ihkfp-capture__text { margin: 0; font-size: 1.375rem; line-height: 1.45; }
.ihkfp-capture__qr { width: 240px; display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; font-size: 1.0625rem; line-height: 1.35; }
.ihkfp-capture__qr p { margin: 0; }
.ihkfp-steplabel { margin: 0; font-weight: 700; color: var(--sky-text); font-size: 1.0625rem; }
.ihkfp-field--big label { font-weight: 700; font-size: 1.375rem; }
.ihkfp-field--big input { min-height: 72px; border-width: 3px; border-radius: 18px; padding: 0 1.5rem; font: 500 1.75rem var(--font); }
.ihkfp-suggest { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; font-size: 1.1875rem; }
.ihkfp-suggest svg { color: #B35400; flex: none; }
.ihkfp-capture__nav { flex-direction: row !important; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ihkfp-bigmail { margin: 0; font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; padding: 1.25rem 1.75rem; background: var(--sky-soft); border-radius: 18px; word-break: break-all; }
.ihkfp-consent { display: flex; gap: .875rem; align-items: flex-start; font-size: 1rem; line-height: 1.45; }
.ihkfp-consent input { width: 28px; height: 28px; flex: none; margin: 0; accent-color: var(--ocean); }
.ihkfp-consent--big { font-size: 1.1875rem; gap: 1rem; }
.ihkfp-consent--big input { width: 32px; height: 32px; margin-top: 2px; }
.ihkfp-capture__done { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 3rem !important; }
.ihkfp-capture__donetext { flex: 1 1 360px; display: flex; flex-direction: column; gap: 1.125rem; }
.ihkfp-capture__doneside { width: 220px; display: flex; flex-direction: column; align-items: center; gap: .875rem; text-align: center; }
.ihkfp-number { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(4.5rem, 10vw, 6.5rem); line-height: 1; }
.ihkfp-checkmark { width: 180px; height: 180px; border-radius: 50%; background: var(--lime); color: var(--ocean); display: flex; align-items: center; justify-content: center; }
.ihkfp-checkmark--s { width: 88px; height: 88px; align-self: center; }
.ihkfp-tip { margin: 0; background: var(--mandarin-soft); border-radius: 16px; padding: .875rem 1rem; text-align: left; }

/* Beratung */
.ihkfp-person { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.ihkfp-person__nr { font-size: clamp(3.5rem, 8vw, 6rem) !important; }
.ihkfp-person__meta { display: flex; flex-direction: column; gap: .375rem; font-size: 1.125rem; }
.ihkfp-person__name { font-size: 1.875rem; font-weight: 700; }
.ihkfp-topics { border: 0; padding: 0; margin: 0; }
.ihkfp-topics legend { font-weight: 700; font-size: 1.1875rem; margin-bottom: .75rem; padding: 0; }
.ihkfp-topics__list { display: flex; flex-wrap: wrap; gap: .625rem; }
.ihkfp-toggle { min-height: 52px; display: inline-flex; align-items: center; gap: .625rem; padding: 0 1.125rem; border-radius: 26px; border: 2px solid #C9D5E1; background: var(--white); font-size: 1.0625rem; font-weight: 600; cursor: pointer; }
.ihkfp-toggle.is-on { border-color: var(--ocean); background: var(--sky-soft); }
.ihkfp-toggle input { width: 22px; height: 22px; margin: 0; accent-color: var(--ocean); }
.ihkfp-status { margin: 0; font-size: 1.1875rem; font-weight: 700; min-height: 1.5em; }
.ihkfp-status--ok { color: #2E5A0C; }
.ihkfp-status--error { color: var(--error); }
[data-advise-confirm] { align-self: flex-start; }

/* Handy (QR-Registrierung) */
.ihkfp-layout--mobile { background: var(--bg); }
.ihkfp-mobile { max-width: 520px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.ihkfp-mobile__head { background: var(--ocean); color: var(--white); padding: 1.125rem 1.25rem; display: flex; flex-direction: column; gap: .375rem; }
.ihkfp-mobile__head .ihkfp-wordmark { font-size: 1.375rem; }
.ihkfp-mobile__event { font-size: .9375rem; color: #CFE3F2; }
.ihkfp-mobile__main { flex: 1; padding: 1.25rem 1.25rem 2rem; }
.ihkfp-mobile__main > h1, .ihkfp-mobile__main > p { margin: 0 0 1rem; }
.ihkfp-mobile__lang { display: flex; justify-content: flex-end; margin-bottom: 1rem; }
.ihkfp-mobile__lang .ihkfp-lang button { border-color: #C9D5E1; color: var(--ocean); }
.ihkfp-mobile__lang .ihkfp-lang button[aria-pressed="true"] { background: var(--ocean); border-color: var(--ocean); color: var(--white); }
.ihkfp-capture__body form, .ihkfp-capture__body section { display: flex; flex-direction: column; gap: 1.375rem; }
.ihkfp-capture--qr .ihkfp-field--big label { font-size: 1.125rem; font-weight: 600; }
.ihkfp-capture--qr .ihkfp-field--big input { min-height: 58px; border-width: 2px; border-radius: 12px; padding: 0 1rem; font-size: 1.25rem; }
.ihkfp-capture--qr .ihkfp-capture__text { font-size: 1.125rem; }
.ihkfp-capture--qr .ihkfp-capture__done { flex-direction: column !important; gap: 1rem !important; text-align: center; }
.ihkfp-capture--qr .ihkfp-capture__donetext { flex: none; align-items: center; }
.ihkfp-capture--qr .ihkfp-number { font-size: 5.5rem; }
.ihkfp-mobile__foot { padding: 1rem 1.25rem 1.5rem; font-size: .875rem; color: var(--muted); text-align: center; }


/* Fotos im Fotografen-Bereich */
.ihkfp-thumb { display: block; width: 48px; height: 60px; border-radius: 8px; object-fit: cover; background: #C9D5E1; }
.ihkfp-thumb--empty { display: inline-flex; align-items: center; justify-content: center; border: 2px dashed var(--field); background: transparent; font-size: .75rem; }
.ihkfp-rowactions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.ihkfp-small { font-size: .9375rem; }
.ihkfp-why { display: block; max-width: 260px; white-space: normal; margin-top: .25rem; font-size: .8125rem; }
.ihkfp-warn { color: var(--warn-text); font-weight: 700; }
.ihkfp-ok { color: #2E5A0C; font-weight: 700; }
.ihkfp-btn--warn { background: var(--white); color: var(--warn-text); border-color: #B35400; }
.ihkfp-btn--warn:hover { background: var(--mandarin-soft); color: var(--warn-text); border-color: #B35400; }
.ihkfp-btn--sky { background: var(--sky); border-color: var(--sky); color: var(--ocean); }
.ihkfp-btn--sky:hover { background: #33B4E0; border-color: #33B4E0; color: var(--ocean); }
.ihkfp-btn--lime { background: var(--lime); border-color: var(--lime); color: var(--ocean); }
.ihkfp-btn--lime:hover { background: #B8DA5E; border-color: #B8DA5E; color: var(--ocean); }
.ihkfp-btn:is([disabled]) { opacity: .55; cursor: not-allowed; }
.ihkfp-dialog { border: 0; border-radius: 20px; padding: 0; max-width: min(480px, calc(100vw - 2rem)); color: var(--ocean); }
.ihkfp-dialog::backdrop { background: rgba(0, 34, 68, .55); }
.ihkfp-dialog .ihkfp-form { padding: 1.75rem; }
.ihkfp-dialog p { margin: 0; }

.ihkfp-stand__backlink { color: var(--white); font-weight: 700; font-size: 1.125rem; min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.ihkfp-stand__backlink:hover { color: var(--white); text-decoration: underline; }
.ihkfp-assign { flex-direction: row !important; flex-wrap: wrap; justify-content: flex-start !important; gap: 2.5rem !important; }
.ihkfp-assign__info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 1.125rem; }
.ihkfp-assign__nr { font-size: clamp(3.5rem, 7vw, 4.5rem) !important; }
.ihkfp-assign__meta { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.ihkfp-assign__actions { margin-top: auto; display: flex; flex-direction: column; gap: .75rem; }
.ihkfp-assign__photo { flex: 1.3 1 340px; display: flex; flex-direction: column; gap: .875rem; }
.ihkfp-assign__preview { aspect-ratio: 4 / 5; max-height: 60vh; width: 100%; border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 600;
	border: 2px dashed rgba(0, 51, 102, .35); background: repeating-linear-gradient(45deg, #E3EBF2 0 12px, #EDF2F7 12px 24px); }
.ihkfp-assign__preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ihkfp-assign__preview.is-new, .ihkfp-assign__preview:has(img) { border-style: solid; border-color: var(--line); }
.ihkfp-assign__preview.is-drag, .ihkfp-drop.is-drag { border-color: var(--sky); background: var(--sky-soft); }
.ihkfp-assign__pick { display: flex; flex-wrap: wrap; gap: .625rem; }
.ihkfp-assign__pick .ihkfp-btn { flex: 1; cursor: pointer; }
.ihkfp-assign__pick .ihkfp-btn:focus-within { outline: 3px solid var(--mandarin); outline-offset: 3px; }
.ihkfp-drop { padding: 2.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; border: 2px dashed var(--field); }
.ihkfp-drop p { margin: 0; }
.ihkfp-drop label { cursor: pointer; }
.ihkfp-drop label:focus-within { outline: 3px solid var(--mandarin); outline-offset: 3px; }

/* Downloadseite „Mein Foto“ */
.ihkfp-layout--download { background: var(--bg); }
.ihkfp-dl__wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; box-sizing: border-box; }
.ihkfp-dl__head { background: var(--ocean); padding: .875rem 0; }
.ihkfp-dl__head .ihkfp-wordmark { font-size: 1.625rem; min-height: 44px; justify-content: center; }
.ihkfp-dl { display: flex; flex-direction: column; gap: 2.5rem; padding-bottom: 3rem; }
.ihkfp-dl__hero { color: var(--white); padding: 2rem 0 7rem; background: linear-gradient(rgba(0, 51, 102, .55), rgba(0, 51, 102, .55)), var(--ocean); }
.ihkfp-dl__kicker { margin: 0 0 .875rem; font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
.ihkfp-dl__title { font-size: clamp(2.125rem, 5vw, 3.25rem) !important; max-width: 760px; }
.ihkfp-dl__title span { color: var(--light); }
.ihkfp-dl__main { margin-top: -8.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: flex-end; }
.ihkfp-dl__photo { flex: 1 1 320px; max-width: 460px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--white); }
.ihkfp-dl__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ihkfp-dl__side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 1rem; }
.ihkfp-dl__note { display: flex; align-items: center; gap: .75rem; background: var(--mandarin-soft); border-radius: 16px; padding: .875rem 1rem; }
.ihkfp-dl__note svg { flex: none; }
.ihkfp-dl__note p { margin: 0; line-height: 1.4; }
.ihkfp-dl__side .ihkfp-btn--block { min-height: 56px; border-radius: 28px; font-size: 1.1875rem; }
.ihkfp-dl__cv { background: var(--ocean); color: var(--white); border-radius: 24px; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: .875rem; align-items: flex-start; }
.ihkfp-dl__cv h2 { font-size: clamp(1.75rem, 4vw, 2.25rem) !important; }
.ihkfp-dl__cv h2 span { color: var(--lime); }
.ihkfp-dl__cv p { margin: 0; font-size: 1.0625rem; }
.ihkfp-dl__next h2 { font-size: clamp(1.75rem, 4vw, 2.25rem) !important; margin-bottom: 1rem; }
.ihkfp-dl__next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .875rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.ihkfp-dl__next a { text-decoration: none; color: var(--ocean); background: var(--white); border: 2px solid #E1E8EF; border-radius: 18px; padding: 1.125rem 1.25rem; display: flex; align-items: center; gap: .875rem; min-height: 64px; }
.ihkfp-dl__next a:hover { border-color: var(--sky); color: var(--ocean); }
.ihkfp-dl__next a > span:first-child { flex: 1; display: flex; flex-direction: column; gap: .125rem; }
.ihkfp-dl__next strong { font-size: 1.125rem; }
.ihkfp-dl__next a > span:last-child { font-size: 1.375rem; color: var(--sky-text); }
.ihkfp-dl__foot { background: var(--ocean); color: var(--white); padding: 1.75rem 0; font-size: .9375rem; }
.ihkfp-dl__foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: .75rem; }
.ihkfp-dl__foot a { color: var(--white); min-height: 44px; display: inline-flex; align-items: center; }
.ihkfp-dl__foot p { margin: 0; line-height: 1.45; }

/* Lebenslauf-Vorlage */
.ihkfp-dl__wrap--wide { max-width: 1280px; }
.ihkfp-cv__hero { padding-bottom: 3.5rem; }
.ihkfp-cv__back { display: inline-flex; align-items: center; gap: .375rem; min-height: 44px; margin-bottom: .75rem; color: var(--white); font-weight: 600; }
.ihkfp-cv__back:hover { color: var(--light); }
.ihkfp-cv__intro { margin: 1.25rem 0 0; font-size: 1.25rem; line-height: 1.5; max-width: 680px; }
.ihkfp-cv { display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; align-items: flex-start; }
.ihkfp-cv__form { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.ihkfp-cv__photo { display: flex; align-items: center; gap: 1.25rem; background: var(--white); border: 2px solid var(--line); border-radius: 24px; padding: 1.5rem; }
.ihkfp-cv__photo.is-set { border-color: var(--lime); }
.ihkfp-cv__photoimg { flex: none; width: 88px; height: 110px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 2px dashed rgba(0, 51, 102, .35); background: var(--grey-soft); font-size: .8125rem; font-weight: 600; }
.ihkfp-cv__photo.is-set .ihkfp-cv__photoimg { border: 0; }
.ihkfp-cv__photoimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ihkfp-cv__phototext { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.ihkfp-cv__phototext strong { font-size: 1.1875rem; }
.ihkfp-cv__phototext > span { font-size: 1rem; line-height: 1.4; }
.ihkfp-cv__file { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.125rem; border-radius: 22px; border: 2px solid var(--ocean); background: var(--white); color: var(--ocean); font-weight: 700; font-size: 1rem; cursor: pointer; }
.ihkfp-cv__file:hover { background: var(--sky-soft); }
.ihkfp-cv__file:focus-within { outline: 3px solid var(--mandarin); outline-offset: 3px; }
.ihkfp-cv__set { border: 1.5px solid var(--line); border-radius: 18px; padding: 1.25rem 1.375rem 1.375rem; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.ihkfp-cv__set legend { padding: 0 .5rem; font-weight: 700; font-size: 1.125rem; }
.ihkfp-cv__grid, .ihkfp-cv__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1rem; }
.ihkfp-cv__list { display: flex; flex-direction: column; gap: 1.25rem; }
.ihkfp-cv__row + .ihkfp-cv__row { padding-top: 1.25rem; border-top: 1.5px dashed var(--line); }
.ihkfp-cv__lbl { display: flex; flex-direction: column; gap: .5rem; font-weight: 600; font-size: 1.0625rem; }
.ihkfp-cv__lbl input { width: 100%; min-height: 52px; padding: 0 1rem; border: 2px solid var(--field); border-radius: 12px; font: 400 1.125rem var(--font); color: var(--ocean); background: var(--white); }
.ihkfp-cv__lbl input::placeholder { color: #6B7F95; opacity: 1; }
.ihkfp-cv__remove { justify-self: start; align-self: end; min-height: 44px; padding: 0 1rem; border-radius: 22px; border: 2px solid var(--field); background: var(--white); color: var(--ocean); font: 700 .9375rem var(--font); cursor: pointer; }
.ihkfp-cv__remove:hover { border-color: var(--ocean); }
.ihkfp-cv__add { align-self: flex-start; min-height: 44px; padding: 0 1.125rem; border-radius: 22px; border: 2px dashed var(--field); background: transparent; color: var(--ocean); font: 700 1rem var(--font); cursor: pointer; }
.ihkfp-cv__add:hover { border-color: var(--ocean); background: var(--white); }
.ihkfp-cv__side { container-type: inline-size; flex: 1 1 400px; min-width: 0; position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.ihkfp-cv__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ihkfp-cv__actions .ihkfp-btn--l { min-height: 56px; border-radius: 28px; font-size: 1.1875rem; padding: 0 1.625rem; }
.ihkfp-cv__actions .is-armed { border-color: var(--error); color: var(--error); }
.ihkfp-cv__lock { margin: 0; display: flex; gap: .625rem; align-items: center; font-size: 1rem; }
.ihkfp-cv__lock svg { flex: none; }
/* Vorschau – Arial wie im PDF (Arimo ist maßgleich) */
.ihkfp-cv__paper { background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; aspect-ratio: 210 / 297; padding: 9.5%; display: flex; flex-direction: column; gap: 4.5cqw; font: 400 2.5cqw/1.5 Arial, Helvetica, sans-serif; color: #212529; overflow-wrap: anywhere; }
.ihkfp-cv__p-head { display: flex; justify-content: space-between; gap: 4cqw; align-items: flex-start; }
.ihkfp-cv__p-who { display: flex; flex-direction: column; gap: .2em; min-width: 0; }
.ihkfp-cv__p-kicker { color: #00739E; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9em; margin-bottom: .6em; }
.ihkfp-cv__p-name { font-weight: 700; font-size: 2.1em; line-height: 1.15; color: var(--ocean); margin-bottom: .35em; }
.ihkfp-cv__p-name.is-empty { color: #8A9BB0; }
.ihkfp-cv__p-photo { flex: none; width: 22.5%; aspect-ratio: 4 / 5; background: var(--grey-soft); border: 1px dashed rgba(0, 51, 102, .35); display: flex; align-items: center; justify-content: center; font-size: .85em; color: var(--muted); overflow: hidden; }
.ihkfp-cv__p-photo:has(img) { border: 0; }
.ihkfp-cv__p-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ihkfp-cv__p-sec { display: flex; flex-direction: column; gap: .55em; }
.ihkfp-cv__p-h { color: #00739E; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05em; border-bottom: 1px solid var(--line); padding-bottom: .3em; margin-bottom: .2em; }
.ihkfp-cv__p-row { display: grid; grid-template-columns: 21% 1fr; gap: 1em; }
.ihkfp-cv__p-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 4cqw; padding-top: 4cqw; }
.ihkfp-cv__p-sign { width: 41%; border-top: 1px solid #5A6470; padding-top: .3em; font-size: .8em; color: #5A6470; }
@media (max-width: 960px) {
	.ihkfp-cv__side { position: static; }
}
@media (max-width: 480px) {
	.ihkfp-cv__photo { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
	.ihkfp-cv__actions .ihkfp-btn--l { width: 100%; }
}

/* IHK-Verwaltung */
.ihkfp-side__nav--sub { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); }
.ihkfp-side__label { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #CFE3F2; padding: 0 .875rem .25rem; }
.ihkfp-kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: .875rem; }
.ihkfp-kpis li { padding: 1.375rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; font-size: 1rem; }
.ihkfp-kpis__n { font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; text-transform: uppercase; }
.ihkfp-table--admin caption { text-align: left; padding: 1.25rem 1rem .5rem; font-weight: 700; font-size: 1.25rem; }
.ihkfp-table--admin td { white-space: normal; }
.ihkfp-table--admin td a { color: var(--ocean); }
.ihkfp-num { text-align: right !important; font-variant-numeric: tabular-nums; }
.ihkfp-admingrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1rem 1.25rem; align-items: start; }
.ihkfp-admingrid--3 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.ihkfp-admingrid--form { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.ihkfp-admingrid__full { grid-column: 1 / -1; }
.ihkfp-adminbox { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.ihkfp-adminbox > * { max-width: 100%; }
.ihkfp-adminbox > .ihkfp-admingrid, .ihkfp-adminbox > form, .ihkfp-adminbox > ul { align-self: stretch; }
.ihkfp-adminbox h2 { margin: 0; font-size: 1.375rem; }
.ihkfp-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .875rem; }
.ihkfp-bars li { display: flex; flex-direction: column; gap: .25rem; }
.ihkfp-bars__label { display: flex; justify-content: space-between; gap: 1rem; }
.ihkfp-bars__track { height: 10px; border-radius: 5px; background: var(--grey-soft); overflow: hidden; }
.ihkfp-bars__track span { display: block; height: 100%; border-radius: 5px; background: var(--sky); }
.ihkfp-plist { list-style: none; margin: 0; padding: 0; }
.ihkfp-plist li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 52px; padding: .375rem 0; border-bottom: 1px solid #E1E8EF; }
.ihkfp-plist li:last-child { border-bottom: 0; }
.ihkfp-chip--p-active { background: var(--lime-soft); }
.ihkfp-chip--p-invited { background: var(--mandarin-soft); color: var(--warn-text); }
.ihkfp-chip--p-blocked { background: #FBE9E8; color: var(--error); }
.ihkfp-select { min-height: 48px; padding: 0 2.25rem 0 .875rem; border: 2px solid var(--field); border-radius: 12px; font: 400 1.0625rem var(--font); color: var(--ocean); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .75rem center no-repeat; -webkit-appearance: none; appearance: none; max-width: 100%; }
.ihkfp-field .ihkfp-select { min-height: 52px; width: 100%; font-size: 1.125rem; }
.ihkfp-select--small { min-height: 44px; font-size: 1rem; }
.ihkfp-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; }
.ihkfp-yearform { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; }
.ihkfp-alert--ok { border-color: var(--lime); background: var(--lime-soft); font-weight: 700; margin: 0; }
.ihkfp-page .ihkfp-alert { margin: 0; }
.ihkfp-hint { font-size: .9375rem; color: var(--muted); line-height: 1.4; }
.ihkfp-field input[type="number"], .ihkfp-field input[type="url"] { width: 100%; min-height: 52px; padding: 0 1rem; border: 2px solid var(--field); border-radius: 12px; font: 400 1.125rem var(--font); color: var(--ocean); background: var(--white); }
.ihkfp-field input[aria-invalid="true"] { border-color: var(--error); }
.ihkfp-settings { display: flex; flex-direction: column; gap: 1.25rem; }
.ihkfp-statuslist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.ihkfp-statuslist li { display: flex; align-items: center; gap: .625rem; min-height: 32px; }
.ihkfp-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.ihkfp-dot--ok { background: #5E8A1A; }
.ihkfp-dot--warn { background: var(--mandarin); }
.ihkfp-roles { margin: .5rem 0 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.ihkfp-roles div { background: var(--grey-soft); border-radius: 14px; padding: .875rem 1rem; }
.ihkfp-roles dt { font-weight: 700; }
.ihkfp-roles dd { margin: .25rem 0 0; font-size: .9375rem; line-height: 1.4; }
.ihkfp-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

@media (max-width: 760px) {
	.ihkfp-side { max-width: none; flex-basis: 100%; gap: 1rem; }
	.ihkfp-side__user { margin-top: 0; }
	.ihkfp-capture__qr, .ihkfp-capture__doneside { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
