/* Fulfillmentmarkt Core – Profile, Verzeichnis, Formulare */
:root {
  --fm-night: #0B1F1A; --fm-green: #05705A; --fm-green-2: #0A9B6E; --fm-lime: #D6FF6B;
  --fm-mint: #E4F6EE; --fm-paper: #F6F7F4; --fm-muted: #44535C; --fm-line: #E3E8E4; --fm-text2: #2E3D37;
}
.fm-p, .fm-dir, .fm-app, .fm-auth { font-family: 'Figtree', system-ui, sans-serif; color: var(--fm-night); }
.fm-p *, .fm-dir *, .fm-app *, .fm-auth * { box-sizing: border-box; }
.fm-p a, .fm-dir a, .fm-app a { color: inherit; text-decoration: none; }
.fm-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Grundelemente */
.fm-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; border: 0; text-decoration: none !important; line-height: 1.1; text-align: center; }
.fm-b-green { background: var(--fm-green); color: #fff !important; }
.fm-b-green:hover { background: #045e4b; }
.fm-b-line { background: transparent; border: 1.5px solid var(--fm-night); color: var(--fm-night) !important; }
.fm-b-lime { background: var(--fm-lime); color: var(--fm-night) !important; }
.fm-b.is-block { display: flex; width: 100%; }
.fm-b.is-s { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.fm-pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.fm-pill-lime { background: var(--fm-lime); color: var(--fm-night); }
.fm-pill-dark { background: var(--fm-night); color: #fff; }
.fm-pill-line { border: 1.5px solid #C9D2CD; color: var(--fm-muted); }
.fm-pill-grey { background: #EEF1EF; color: var(--fm-muted); }
.fm-pill-mint { background: var(--fm-mint); color: var(--fm-green); }
.fm-pill-warn { background: #FFF1D6; color: #8A5A00; }
.fm-pill-glass { background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 12px; }
.fm-verified { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--fm-mint); color: var(--fm-green); font-size: 13px; font-weight: 800; white-space: nowrap; }
.fm-verified.is-small { font-size: 12px; padding: 5px 10px 5px 7px; gap: 5px; }
.fm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-chip { padding: 7px 12px; border-radius: 10px; background: #F1F4F2; font-size: 14px; font-weight: 700; }
.fm-chip.is-line { background: transparent; border: 1.5px solid #DCE2DE; }
.fm-chip.is-mint { background: var(--fm-mint); color: var(--fm-green); }
.fm-chip.is-s { padding: 4px 9px; border-radius: 8px; font-size: 12px; }
.fm-card { background: #fff; border: 1px solid var(--fm-line); border-radius: 18px; padding: 26px; }
.fm-card h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; }
.fm-card h2.is-s { font-size: 18px; margin: 0; }
.fm-card p { line-height: 1.65; color: var(--fm-text2); }
.fm-card > p:last-child { margin-bottom: 0; }
.fm-card.is-dark { background: var(--fm-night); border-color: var(--fm-night); color: #fff; }
.fm-card.is-dark p { color: #C9DAD3; }
.fm-card.is-mint { background: var(--fm-mint); border-color: #CDEBDD; }
.fm-card.is-dashed { border: 2px dashed #C9D2CD; background: transparent; }
.fm-stack { display: flex; flex-direction: column; gap: 22px; }
.fm-stack-s { display: flex; flex-direction: column; gap: 12px; }
.fm-stack-s > * { margin: 0; }
.fm-muted { color: var(--fm-muted) !important; }
.fm-small { font-size: 13px; color: var(--fm-muted); font-weight: 600; margin: 0; line-height: 1.5; }
.fm-green { color: var(--fm-green); font-weight: 800; }
.fm-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--fm-green); text-transform: uppercase; letter-spacing: .8px; }
.fm-eyebrow.is-lime { color: var(--fm-lime); }
.fm-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #DCE7E2; }
.fm-checks li { display: flex; gap: 8px; line-height: 1.45; }
.fm-checks li span { color: var(--fm-lime); font-weight: 800; }
.fm-checks.is-green { color: var(--fm-text2); }
.fm-checks.is-green li span { color: var(--fm-green); }
.fm-note { padding: 14px 16px; border-radius: 12px; background: var(--fm-mint); color: #0B5E48; font-size: 15px; font-weight: 600; line-height: 1.5; margin: 0 0 16px; }
.fm-note-err { background: #FDE8E7; color: #9B1C1C; }
.fm-note-warn, .fm-note-lock { background: #FFF6E0; color: #7A5200; }
.fm-note a { text-decoration: underline !important; }
.fm-dl-table { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 10px 18px; margin: 0; font-size: 15px; }
.fm-dl-table dt { color: var(--fm-muted); font-weight: 600; }
.fm-dl-table dd { margin: 0; font-weight: 700; }
.fm-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

/* Logo-Kacheln */
.fm-logo-tile { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--fm-night); color: #fff; font-size: 20px; font-weight: 800; overflow: hidden; }
.fm-logo-tile.has-img { background: #fff; border: 1px solid var(--fm-line); }
.fm-logo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.fm-logo-tile.is-m { width: 72px; height: 72px; border-radius: 16px; font-size: 24px; }
.fm-logo-tile.is-l { width: 96px; height: 96px; border-radius: 20px; font-size: 32px; }
.fm-logo-tile.is-xl { width: 112px; height: 112px; border-radius: 24px; font-size: 36px; border: 5px solid #fff; margin-top: -56px; }
.fm-logo-tile.is-xl.has-img { border: 5px solid #fff; box-shadow: 0 0 0 1px var(--fm-line); }
.fm-logo-tile.is-grey { background: #DCE2DE; color: var(--fm-muted); }

/* Profil */
.fm-p { background: var(--fm-paper); }
.fm-p-head { background: #fff; border-bottom: 1px solid var(--fm-line); }
.fm-p-cover { height: 240px; background: linear-gradient(120deg, #0B1F1A 0%, #05705A 100%); background-size: cover; background-position: center; }
.fm-p-headrow { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; padding-bottom: 28px; }
.fm-p-head.is-plain .fm-p-headrow { padding-top: 32px; align-items: center; }
.fm-p-title { flex: 1 1 420px; min-width: 0; padding-top: 18px; }
.fm-crumbs { margin: 0 0 6px; font-size: 14px; color: var(--fm-muted); font-weight: 600; }
.fm-p-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fm-p-badges h1 { margin: 0; font-size: 36px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.fm-p-addr { margin: 8px 0 0; font-size: 16px; color: var(--fm-muted); font-weight: 600; }
.fm-p-cta { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 10px; }
.fm-p-tabs { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 700; border-top: 1px solid var(--fm-line); }
.fm-p-tabs a { padding: 16px 0; color: var(--fm-muted); border-bottom: 3px solid transparent; }
.fm-p-tabs a.is-active { color: var(--fm-night); border-color: var(--fm-green); }
.fm-p-body { padding: 36px 0 40px; }
.fm-p-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.fm-p-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.fm-p-side { flex: 1 1 300px; max-width: 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fm-p-hint { padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--fm-line); border-left: 4px solid var(--fm-green); font-size: 14px; line-height: 1.55; color: var(--fm-text2); }
.fm-p-ai { background: var(--fm-mint); border-radius: 18px; padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; }
.fm-p-ai svg { flex: 0 0 auto; }
.fm-p-ai p { margin: 0; font-size: 16px; line-height: 1.6; color: #1E2E28; }
.fm-p-ai .fm-eyebrow { font-size: 13px; }
.fm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.fm-stat { background: #fff; border: 1px solid var(--fm-line); border-radius: 16px; padding: 20px; }
.fm-stat-v { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.fm-stat-l { font-size: 14px; color: var(--fm-muted); font-weight: 600; }
.fm-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fm-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.fm-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--fm-night); margin-bottom: 12px; }
.fm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fm-video-btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(120deg, #0B1F1A, #05705A); color: #fff; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 17px; }
.fm-video-btn small { font-weight: 600; font-size: 12px; color: #A9C2B9; }
.fm-play { width: 64px; height: 64px; border-radius: 50%; background: var(--fm-lime); color: var(--fm-night); display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; }
.fm-dl { display: flex; flex-direction: column; gap: 10px; }
.fm-dl a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--fm-paper); font-size: 15px; font-weight: 700; }
.fm-person { display: flex; gap: 12px; align-items: center; }
.fm-person img, .fm-person-i { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #EEF1EF; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--fm-muted); }
.fm-person strong { display: block; font-size: 15px; }
.fm-person small { display: block; font-size: 13px; color: var(--fm-muted); font-weight: 600; }
.fm-contact-lines { font-size: 14px; line-height: 1.8; color: var(--fm-text2); }
.fm-contact-lines a { color: var(--fm-green) !important; font-weight: 700; }
.fm-vhead { display: flex; align-items: center; gap: 12px; }
.fm-vhead small { font-size: 13px; color: #A9C2B9; font-weight: 600; }
.fm-lime-link { font-size: 13px; font-weight: 700; color: var(--fm-lime) !important; text-decoration: underline !important; }
.fm-facts { font-size: 14px; line-height: 1.9; color: var(--fm-text2); }
.fm-facts h2 { margin-bottom: 8px; }
.fm-open-bar { background: #FFF6E0; color: #7A5200; font-size: 14px; font-weight: 600; padding: 12px 0; }
.fm-open-bar a { text-decoration: underline !important; font-weight: 800; }
.fm-open-bar.is-warn { background: var(--fm-night); color: var(--fm-lime); }

/* Anfrageformular */
.fm-anfrage-sec { padding: 0 0 88px; }
.fm-anfrage-box { background: #fff; border: 1px solid var(--fm-line); border-radius: 22px; overflow: hidden; }
.fm-anfrage-head { padding: 28px 36px; background: var(--fm-green); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.fm-anfrage-head h2 { margin: 0; font-size: 26px; font-weight: 800; color: #fff; }
.fm-anfrage-head p { margin: 6px 0 0; font-size: 15px; color: #DDF2EA; }
.fm-anfrage-form { padding: 32px 36px; display: flex; flex-direction: column; gap: 26px; }
.fm-anfrage-form fieldset { border: 0; margin: 0; padding: 0; }
.fm-anfrage-form legend { font-size: 18px; font-weight: 800; margin-bottom: 14px; padding: 0; }
.fm-anfrage-form .fm-b { align-self: flex-start; min-width: 240px; }
.fm-anfrage-done { padding: 40px 36px; }
.fm-anfrage-done h3 { margin: 0 0 8px; font-size: 22px; }

/* Formulare */
.fm-form { display: flex; flex-direction: column; gap: 16px; }
.fm-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fm-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
.fm-grid2 > .is-full, .fm-grid3 > .is-full { grid-column: 1 / -1; }
.fm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; border: 0; padding: 0; }
.fm-field > span, .fm-field > legend { font-size: 14px; font-weight: 700; color: var(--fm-night); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 0; }
.fm-field input[type=text], .fm-field input[type=email], .fm-field input[type=password], .fm-field input[type=number], .fm-field input[type=tel], .fm-field input[type=search], .fm-field select, .fm-field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #C9D2CD; border-radius: 12px; font: inherit; font-size: 16px; color: var(--fm-night); background: #fff; box-shadow: none; }
.fm-field textarea { min-height: 90px; line-height: 1.5; resize: vertical; }
.fm-field input:focus, .fm-field select:focus, .fm-field textarea:focus { outline: none; border-color: var(--fm-green); box-shadow: 0 0 0 3px rgba(5,112,90,.15); }
.fm-field input:disabled, .fm-field select:disabled, .fm-field textarea:disabled { background: #F1F4F2; color: #8A9993; cursor: not-allowed; }
.fm-hint { font-size: 12.5px; color: var(--fm-muted); font-weight: 600; }
.fm-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; cursor: pointer; }
.fm-opt input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--fm-green); flex: 0 0 auto; }
.fm-opt.is-s { font-size: 13px; }
.fm-opt a { text-decoration: underline !important; }
.fm-optrow { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.fm-checkgrid > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px; }
.fm-checkgrid legend { margin-bottom: 10px; }
.fm-checkgrid input:disabled + * , .fm-checkgrid label:has(input:disabled) { opacity: .5; }
.fm-lock { font-size: 12px; font-weight: 800; color: #8A5A00; background: #FFF1D6; padding: 2px 8px; border-radius: 999px; }

/* Verzeichnis */
.fm-dir { padding: 36px 0 80px; background: var(--fm-paper); }
.fm-dir-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.fm-dir-filter { flex: 1 1 260px; max-width: 300px; background: #fff; border: 1px solid var(--fm-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.fm-dir-filter fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fm-dir-filter legend { font-size: 14px; font-weight: 800; margin-bottom: 6px; padding: 0; }
.fm-dir-filter .fm-opt { font-size: 14px; }
.fm-dir-fhead { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.fm-dir-fhead a { font-size: 13px; font-weight: 700; color: var(--fm-green) !important; }
.fm-dir-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fm-dir-count { margin: 0; font-size: 16px; }
.fm-dir-claim { font-size: 15px; }
.fm-dir-claim a { color: var(--fm-green) !important; font-weight: 800; }
.fm-lcard { background: #fff; border: 1px solid var(--fm-line); border-radius: 18px; padding: 24px; display: flex; flex-wrap: wrap; gap: 22px; }
.fm-lcard.is-premium { border: 2px solid var(--fm-green); }
.fm-lcard.is-plus { border: 1.5px solid #9FD3BF; }
.fm-lcard.is-open { background: #FBFCFB; }
.fm-lcard-body { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.fm-lcard-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fm-lcard-top h3 { margin: 0; font-size: 21px; font-weight: 800; }
.fm-lcard-meta { margin: 0; font-size: 14px; color: var(--fm-muted); font-weight: 600; }
.fm-lcard-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fm-text2); }
.fm-lcard-cta { flex: 0 0 200px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.fm-lcard-cta .fm-b { min-height: 44px; font-size: 15px; }
.fm-pager { display: flex; gap: 8px; }
.fm-pager a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--fm-line); background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.fm-pager a.is-active { background: var(--fm-night); color: #fff !important; }

/* Startseite */
.fm-hgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.fm-hcard { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--fm-line); border-radius: 18px; color: var(--fm-night) !important; text-decoration: none !important; }
.fm-hcard.is-premium { border: 2px solid var(--fm-green); }
.fm-hcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fm-hcard-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.fm-hcard-name { display: block; font-size: 19px; font-weight: 800; }
.fm-hcard-meta { display: block; margin-top: 3px; font-size: 14px; color: var(--fm-muted); font-weight: 600; }
.fm-hcard-text { font-size: 15px; line-height: 1.5; color: var(--fm-text2); }
.fm-hcard-more { margin-top: auto; font-size: 15px; font-weight: 800; color: var(--fm-green); }

/* Mobil */
@media (max-width: 900px) {
  .fm-dir-filter { position: static; max-width: none; }
  .fm-p-side { max-width: none; }
  .fm-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .fm-wrap { padding-left: 16px; padding-right: 16px; }
  .fm-p-cover { height: 150px; }
  .fm-logo-tile.is-xl { width: 88px; height: 88px; margin-top: -44px; font-size: 28px; border-radius: 20px; }
  .fm-p-badges h1 { font-size: 27px; letter-spacing: -.5px; }
  .fm-p-headrow { gap: 14px; padding-bottom: 22px; }
  .fm-p-title { padding-top: 0; flex-basis: 100%; }
  .fm-p-cta { width: 100%; }
  .fm-p-cta .fm-b { flex: 1 1 0; }
  .fm-p-tabs { gap: 18px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .fm-p-body { padding: 22px 0 28px; }
  .fm-p-main { gap: 16px; }
  .fm-card { padding: 20px; border-radius: 16px; }
  .fm-card h2 { font-size: 19px; }
  .fm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fm-stat { padding: 16px; }
  .fm-stat-v { font-size: 21px; }
  .fm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-grid2, .fm-grid3 { grid-template-columns: 1fr; }
  .fm-anfrage-head, .fm-anfrage-form, .fm-anfrage-done { padding: 22px 18px; }
  .fm-anfrage-head h2 { font-size: 21px; }
  .fm-anfrage-form .fm-b { width: 100%; min-width: 0; }
  .fm-lcard { padding: 18px; gap: 14px; }
  .fm-lcard .fm-logo-tile.is-m { width: 56px; height: 56px; font-size: 20px; }
  .fm-lcard-cta { flex: 1 1 100%; flex-direction: row; }
  .fm-lcard-cta .fm-b { flex: 1 1 0; padding: 0 10px; }
  .fm-hgrid { grid-template-columns: 1fr; }
  .fm-dl-table { grid-template-columns: 1fr; gap: 2px; }
  .fm-dl-table dd { margin-bottom: 10px; }
}

/* Suchfeld */
.fm-search { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-search label { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 52px; border: 1.5px solid #C9D2CD; border-radius: 12px; background: #fff; }
.fm-search input { flex: 1 1 auto; min-width: 0; border: 0 !important; outline: none; font: inherit; font-size: 16px; background: transparent; box-shadow: none !important; padding: 0 !important; }
.fm-search .fm-b { min-height: 52px; padding: 0 26px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 680px) { .fm-search .fm-b { width: 100%; } }

/* Kontakt-Erweiterung */
.fm-contact-addr { font-size: 14px; line-height: 1.6; color: var(--fm-text2); }
.fm-social { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-social a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1.5px solid #DCE2DE; font-size: 13px; font-weight: 800; color: var(--fm-night) !important; }
.fm-social a:hover { border-color: var(--fm-green); color: var(--fm-green) !important; }

/* Beiträge */
.fm-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.fm-card-head h2 { margin: 0 !important; }
.fm-ncard { display: flex; flex-wrap: wrap; gap: 18px; padding: 16px; border-radius: 14px; background: var(--fm-paper); color: var(--fm-night) !important; text-decoration: none !important; }
.fm-ncard-img { flex: 0 0 160px; height: 106px; border-radius: 10px; background: var(--fm-mint) center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.fm-ncard-body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fm-ncard-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--fm-muted); font-weight: 600; }
.fm-ncard-title { font-size: 18px; line-height: 1.3; }
.fm-ncard-text { font-size: 14px; line-height: 1.5; color: var(--fm-muted); }
.fm-ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.fm-ngrid .fm-ncard { background: #fff; border: 1px solid var(--fm-line); flex-direction: column; }
.fm-ngrid .fm-ncard-img { flex: 0 0 auto; width: 100%; height: 190px; }
.fm-news-head { padding-top: 32px; padding-bottom: 28px; }
.fm-news-head h1 { margin: 0 0 8px; font-size: 36px; }
.fm-news-filter { margin-top: 16px; }
.fm-art { max-width: 820px !important; padding-top: 36px; padding-bottom: 80px; }
.fm-art h1 { font-size: 40px; line-height: 1.12; margin: 14px 0 12px; }
.fm-art-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--fm-muted); font-weight: 600; }
.fm-art-lead { font-size: 20px; line-height: 1.55; color: var(--fm-text2); margin: 0 0 22px; }
.fm-art-author { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--fm-line); border-radius: 14px; background: #fff; margin-bottom: 26px; flex-wrap: wrap; }
.fm-art-author strong { display: block; font-size: 15px; }
.fm-art-author small { display: block; font-size: 13px; color: var(--fm-green); font-weight: 600; }
.fm-art-img { width: 100%; border-radius: 16px; margin-bottom: 28px; display: block; }
.fm-art-body { font-size: 18px; line-height: 1.75; color: var(--fm-text2); }
.fm-art-body h2 { font-size: 26px; margin: 34px 0 10px; color: var(--fm-night); }
.fm-art-body h3 { font-size: 21px; margin: 26px 0 8px; color: var(--fm-night); }
.fm-art-body a { color: var(--fm-green) !important; text-decoration: underline !important; }
.fm-art-body ul, .fm-art-body ol { padding-left: 22px; }
.fm-art-note { margin: 30px 0 18px !important; }
.fm-art-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.fm-art-cta span { display: block; font-size: 14px; color: var(--fm-text2); margin-top: 4px; }
.fm-pager-wrap { margin-top: 24px; display: flex; gap: 8px; }
.fm-pager-wrap .page-numbers { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--fm-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.fm-pager-wrap .current { background: var(--fm-night); color: #fff; }
.fm-toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.fm-toolbar button { padding: 6px 12px; border-radius: 8px; border: 1.5px solid #C9D2CD; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fm-toolbar button:hover { border-color: var(--fm-green); color: var(--fm-green); }
@media (max-width: 680px) {
  .fm-ncard-img { flex: 1 1 100%; height: 160px; }
  .fm-ngrid { grid-template-columns: 1fr; }
  .fm-art h1 { font-size: 28px; }
  .fm-art-lead { font-size: 17px; }
  .fm-art-body { font-size: 16px; }
  .fm-news-head h1 { font-size: 27px; }
}

/* Verzeichnis mobil kompakt */
.fm-dir-fwrap { flex: 1 1 260px; max-width: 300px; }
.fm-dir-fwrap .fm-dir-filter { max-width: none; }
.fm-dir-ftoggle { display: none; }
@media (max-width: 900px) {
  .fm-dir-fwrap { max-width: none; flex-basis: 100%; }
  .fm-dir-ftoggle { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--fm-line); border-radius: 12px; background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
  .fm-dir-ftoggle::-webkit-details-marker { display: none; }
  .fm-dir-fwrap[open] .fm-dir-ftoggle { border-radius: 12px 12px 0 0; border-bottom: 0; }
  .fm-dir-fwrap[open] .fm-dir-filter { border-radius: 0 0 16px 16px; }
  .fm-dir { padding-top: 18px; }
}
@media (max-width: 680px) {
  .fm-search { flex-wrap: nowrap; gap: 8px; }
  .fm-search label { flex: 1 1 auto; min-height: 46px; padding: 0 12px; gap: 8px; }
  .fm-search .fm-b { width: auto; min-height: 46px; padding: 0 16px; font-size: 15px; }
  .fm-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
  .fm-page h1[style*="font-size: 38px"] { margin-bottom: 14px !important; }
}

/* Städte & Kategorien */
.fm-near { display: flex; flex-direction: column; gap: 18px; }
.fm-near-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.fm-near-head.is-2 { margin-top: 48px; }
.fm-near-head h2 { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; color: var(--fm-night); }
.fm-near-head p { margin: 0; color: var(--fm-muted); font-size: 16px; }
.fm-near-head .fm-b { min-height: 44px; font-size: 15px; }
.fm-near-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; }
.fm-near-grid a { font-size: 16px; color: var(--fm-text2) !important; text-decoration: none !important; }
.fm-near-grid a:hover { color: var(--fm-green) !important; text-decoration: underline !important; }
.fm-stadt-intro { max-width: 760px; font-size: 17px; line-height: 1.6; margin: 0 0 20px; }
.fm-sec-h { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.fm-staedte-cols { columns: 4 220px; column-gap: 28px; }
.fm-staedte-cols > div { break-inside: avoid; margin-bottom: 20px; }
.fm-staedte-cols h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--fm-muted); text-transform: uppercase; letter-spacing: .5px; }
.fm-staedte-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fm-staedte-cols a { color: var(--fm-text2) !important; }
.fm-staedte-cols a:hover { color: var(--fm-green) !important; }
@media (max-width: 980px) { .fm-near-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .fm-near-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .fm-near-grid a { font-size: 14.5px; }
  .fm-near-head .fm-b { width: 100%; }
  .fm-near-head.is-2 { margin-top: 36px; }
}

/* Kompaktere Karten: Theme-Absatzabstände neutralisieren */
.fm-lcard p, .fm-hcard p { margin: 0 !important; }
.fm-lcard { padding: 22px; gap: 20px; }
.fm-lcard-body { gap: 8px; }
.fm-lcard-meta { margin-top: -2px !important; }
.fm-lcard .fm-chips { margin-top: 4px; }
.fm-p .fm-card > p:last-child, .fm-p .fm-card > div:last-child > p:last-child { margin-bottom: 0 !important; }

/* Startseite: Abstand Unterzeile – Suchfeld */
form.fm-hs { margin-top: 36px !important; }
@media (max-width: 760px) { form.fm-hs { margin-top: 24px !important; } }
.fm-h3 { margin: 6px 0 0 !important; font-size: 16px !important; font-weight: 700 !important; }
.fm-p.is-open .fm-near-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .fm-p.is-open .fm-near-grid { grid-template-columns: 1fr; } }

/* Merkliste */
.fm-merk { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.fm-merk.is-on { color: #C2185B !important; border-color: #F3B6CB !important; background: #FFF1F6 !important; }
.fm-merk.is-on svg path { fill: currentColor; }
.fm-merk.is-icon { width: 34px; height: 34px; border-radius: 999px; border: 1.5px solid #DCE2DE; background: #fff; color: #44535C; flex: 0 0 auto; }
.fm-merk.is-icon:hover { color: #C2185B; border-color: #F3B6CB; }
.fm-hcard-badges { align-items: center; }
.fm-merk-link { display: inline-flex !important; align-items: center; gap: 6px; position: relative; }
.fm-merk-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--fm-lime); color: var(--fm-night); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.fm-nav--desktop .fm-merk-label { display: none; }
.fm-merk-page { display: flex; flex-direction: column; gap: 16px; }
.fm-merk-list { display: flex; flex-direction: column; gap: 16px; }
.fm-merk-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.fm-merk-actions[hidden], .fm-merk-empty[hidden] { display: none; }

/* Cookie-Hinweis */
.fm-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; display: flex; justify-content: center; pointer-events: none; }
.fm-cookie-in { pointer-events: auto; max-width: 860px; width: 100%; display: flex; gap: 18px; align-items: center; padding: 18px 20px; background: #0B1F1A; color: #fff; border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); font-size: 14px; line-height: 1.5; }
.fm-cookie-in strong { display: block; margin-bottom: 4px; font-size: 15px; }
.fm-cookie-in p { margin: 0 !important; color: #C9DAD3; }
.fm-cookie-in a { color: #D6FF6B; text-decoration: underline; }
.fm-cookie-in .fm-b { flex: 0 0 auto; }
@media (max-width: 640px) { .fm-cookie-in { flex-direction: column; align-items: stretch; } }
.fm-ck { align-items: flex-end; }
.fm-ck-txt { flex: 1 1 auto; min-width: 0; }
.fm-ck-btns { flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.fm-ck-btns .fm-b { justify-content: center; }
.fm-ck-b { appearance: none; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.fm-ck-b:hover, .fm-ck-b:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); }
.fm-ck-link { border-color: transparent; text-decoration: underline; padding: 6px 16px; }
.fm-ck-cats { display: grid; gap: 10px; margin-top: 14px; }
.fm-ck-cats[hidden] { display: none; }
.fm-ck-cat { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); cursor: pointer; }
.fm-ck-cat input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: #D6FF6B; }
.fm-ck-cat input:disabled { opacity: .7; }
.fm-ck-cat b { display: block; color: #fff; font-size: 14px; }
.fm-ck-cat small { display: block; color: #C9DAD3; font-size: 13px; line-height: 1.45; }
@media (max-width: 640px) { .fm-ck-btns { min-width: 0; } .fm-ck-in, .fm-ck { max-height: calc(100vh - 32px); overflow-y: auto; } }

/* Kopfbereich: alles in einer Zeile, Burger-Menü früher */
.fm-header .fm-nav--desktop { flex-wrap: nowrap; gap: 20px; white-space: nowrap; }
.fm-header .fm-merk-link { margin: 0 -2px; }
@media (max-width: 1200px) {
  .fm-header .fm-nav--desktop { display: none !important; }
  .fm-header .fm-burger { display: block !important; }
  .fm-header .fm-header__inner { position: relative; }
  .fm-header .fm-burger[open] .fm-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--fm-night); flex-direction: column; align-items: flex-start; padding: 20px 24px 28px; gap: 18px; border-top: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Ausschreibungen ---------- */
.fm-as-form-wrap { background: #fff; border: 1px solid #E3E8E4; border-radius: 20px; padding: 32px; }
.fm-as-form { gap: 30px; }
.fm-as-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fm-as-form legend { margin-bottom: 16px; padding: 0; font-size: 18px; font-weight: 800; color: var(--fm-night); }
.fm-as-paket { display: flex; gap: 12px; align-items: flex-start; padding: 20px; border: 2px solid #DCE2DE; border-radius: 16px; cursor: pointer; }
.fm-as-paket:has(input:checked) { border-color: var(--fm-green); background: #F4FBF8; }
.fm-as-paket input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fm-green); flex: 0 0 auto; }
.fm-as-paket span { display: flex; flex-direction: column; gap: 6px; }
.fm-as-paket strong { font-size: 17px; }
.fm-as-paket small { font-size: 14px; line-height: 1.5; color: #44535C; }
.fm-as-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; }
.fm-as-form input[type=date], .fm-as-form input[type=file] { height: 46px; padding: 0 12px; border: 1.5px solid #C9D2CD; border-radius: 10px; font: inherit; font-size: 15px; background: #fff; }
.fm-as-form input[type=file] { height: auto; padding: 12px; border-style: dashed; }
.fm-as-form > .fm-b { align-self: flex-start; min-height: 54px; padding: 0 30px; font-size: 17px; }
.fm-as-done h2 { margin: 0 0 10px; }
.fm-as-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fm-as-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid #E3E8E4; border-radius: 16px; color: var(--fm-night) !important; text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.fm-as-card:hover { border-color: var(--fm-green); box-shadow: 0 6px 20px rgba(11,31,26,.06); }
.fm-as-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fm-as-card-top small { color: var(--fm-muted); font-weight: 700; font-size: 12px; }
.fm-as-card strong { font-size: 17px; line-height: 1.35; }
.fm-as-card-meta { font-size: 14px; color: #44535C; }
.fm-as-card-frist { font-size: 13px; font-weight: 700; color: var(--fm-green); margin-top: auto; }
.fm-as-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.fm-as-detail .fm-card { display: flex; flex-direction: column; gap: 14px; }
.fm-as-detail .fm-card h2 { margin: 0; }
@media (max-width: 900px) { .fm-as-detail { grid-template-columns: 1fr; } .fm-as-form-wrap { padding: 22px 18px; } }
@media (max-width: 700px) {
  .fm-hero-shots { padding: 0 0 28px !important; }
  .fm-hero-shots img + img { display: none !important; }
  .fm-hero-shots p { bottom: 0 !important; }
}
.fm-dir-filter .fm-more summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--fm-green); list-style: none; margin-top: 2px; }
.fm-dir-filter .fm-more summary::-webkit-details-marker { display: none; }
.fm-dir-filter .fm-more summary::after { content: " ▾"; }
.fm-dir-filter .fm-more[open] summary::after { content: " ▴"; }
.fm-dir-filter .fm-more > div { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

