*{box-sizing:border-box}
body{margin:0;background:var(--light);color:var(--ink);font:16px/1.5 var(--body-font)}
[hidden]{display:none!important}
.wrap{width:min(1080px,calc(100% - 40px));margin-inline:auto}
.top{background:var(--paper);border-bottom:1px solid var(--line)}
.bar,nav,.brand,.tools{display:flex;align-items:center;gap:12px}
.bar{justify-content:space-between;min-height:72px}
nav{gap:6px}
nav a,.brand{color:inherit;text-decoration:none}
nav a{padding:9px 12px;border-radius:8px;font-size:.9rem}
nav a[aria-current]{background:#e7eef6;color:var(--pine);font-weight:700}
.brand{gap:0;font-weight:800;white-space:nowrap}
.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--green);color:white;font-size:.75rem;margin-right:9px}
.accent{color:var(--green)}
.hero{background:radial-gradient(ellipse at 100% 0%,#365d84,transparent 66%),var(--pine);color:white;padding:47px 0 77px}
.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.13em;color:var(--amber);margin:0 0 12px}
.eyebrow.dark{color:var(--green)}
h1,h2,h3,p{margin-top:0}
h1{font-family:var(--heading-font);letter-spacing:-.045em;font-size:clamp(2.5rem,6vw,4.5rem);line-height:1.04;margin-bottom:15px}
.hero p:last-child{color:#e3edf8;margin:0}
.search-content{position:relative;margin-top:-42px}
.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 8px 24px #183f3210}
fieldset{border:0;margin:0 0 16px;padding:0;min-width:0}
legend,label{font-weight:650}
legend{margin-bottom:7px}
.choices,.checkboxes{display:flex;gap:8px;flex-wrap:wrap}
.choice{display:flex;align-items:center;gap:7px;background:#f5f8f4;border:1px solid var(--line);border-radius:9px;padding:8px 12px;cursor:pointer}
.choice:has(:checked){border-color:var(--green);background:#e7eef6}
input,select,textarea,button{font:inherit;color:inherit}
input:not([type=radio],[type=checkbox],[type=file]),select,textarea{display:block;width:100%;background:white;border:1px solid #aebdb3;border-radius:8px;padding:9px 10px;margin-top:4px}
input[type=checkbox],input[type=radio]{accent-color:var(--green)}
button{background:white;border:1px solid #aebdb3;border-radius:8px;padding:9px 13px;cursor:pointer;font-weight:650}
button:hover{background:#ebf1f8}
.primary{background:var(--green);color:white;border-color:var(--green)}
.primary:hover{background:var(--pine)}
:focus-visible{outline:3px solid #a06913;outline-offset:2px}
.search-row,.pair,.admin-grid{display:grid;gap:12px}
.search-row{grid-template-columns:minmax(0,1fr) 120px auto;align-items:end}
.pair{grid-template-columns:repeat(2,minmax(0,1fr))}
small,.muted{color:var(--muted);font-size:.88rem}
.search-panel small{display:block;margin-top:10px}
#results{margin-top:24px}
.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card h3{font-size:1.12rem;margin:8px 0;overflow-wrap:anywhere}
.card p{margin-bottom:6px}
.card a{color:var(--green)}
.card button{margin-top:9px}
.badge{display:inline-block;background:#f1f4ef;color:var(--green);padding:3px 8px;border-radius:6px;font-size:.78rem;font-weight:750}
.badge.premium{background:#f9e6bc;color:#5b3b12}
.admin{padding-top:32px}
.admin h1{font-size:clamp(2.15rem,5vw,3.8rem)}
.tools,.checkboxes{flex-wrap:wrap}
.admin-grid{grid-template-columns:minmax(230px, .85fr) minmax(0,1.15fr);align-items:start}
.directory h2,#editor h2{font-size:1.25rem;margin-bottom:10px}
#business-list{margin-top:10px;max-height:530px;overflow:auto}
.list-row{width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;overflow-wrap:anywhere}
.list-row small{display:block;font-weight:400}
#editor label{display:block;margin-bottom:10px}
#editor fieldset{margin:12px 0}
#editor .check{display:flex;align-items:center;gap:7px}
#editor-error{color:#9f291d;margin:8px 0 0}
#status:empty{margin:12px 0}
footer{padding:26px 0;font-size:.85rem;color:var(--muted)}
dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(620px,calc(100% - 32px));color:var(--ink)}
dialog::backdrop{background:#0a1c2fcc}
.dialog-inner{padding:26px;overflow-wrap:anywhere}
.dialog-inner h2{font-family:var(--heading-font);font-size:2rem;line-height:1.12;margin:14px 0}
.close{float:right;font-size:1.2rem;padding:3px 10px;margin-left:8px}
@media(max-width:670px){
  .wrap{width:calc(100% - 28px)}
  .bar{flex-wrap:wrap;gap:6px;padding:10px 0}
  nav a{padding:7px 8px}
  .hero{padding:34px 0 68px}
  .panel{padding:16px}
  .search-row{grid-template-columns:minmax(0,1fr) 91px}
  .search-row button{grid-column:1/-1}
  .results-grid,.admin-grid{grid-template-columns:1fr}
  #business-list{max-height:240px}
}
.data-tools{margin-top:12px}
.data-tools .tools{margin-top:8px}
summary{cursor:pointer;font-weight:700;color:var(--green)}
.filters,.deadlines{margin-top:14px}
.deadlines label{display:block;margin-bottom:8px}
#editor details{border-top:1px solid var(--line);margin:12px 0;padding-top:10px}
#editor details summary{margin-bottom:10px}
#editor input[type=file]{display:block;width:100%;margin-top:5px;font-size:.9rem}
#editor #contract-action{margin:8px 0}
.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
.gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#edf1f6;border-radius:8px}
.editor-gallery figure{margin:0;min-width:0}
.editor-gallery button{font-size:.8rem;padding:5px 8px}
.profile-copy{white-space:pre-line}
.profile-contact{padding:16px;background:#eaf0f7;border-radius:10px;margin-top:16px}
.profile-contact p{margin-bottom:6px}
.profile-contact a{color:var(--pine)}
.premium-label{color:#773606;background:#fff0dc}
.premium-star{color:var(--premium-star);margin-right:.3em;font-size:1.1em}
.card-image{width:100%;aspect-ratio:2.5/1;object-fit:cover;display:block;border-radius:9px;margin-bottom:10px}
.card .snippet{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin:8px 0}
.card-more{display:inline-block;margin-top:7px;font-weight:700}
.test-banner{background:#fff0dc;border-bottom:1px solid #ffd39d;padding:8px 0;font-weight:700}
.site-profile{padding-block:32px}
.site-profile h1{font-size:clamp(2.2rem,6vw,4rem);overflow-wrap:anywhere}
.site-profile .gallery img{object-fit:cover}
#editor-error{position:relative}
.editor-gallery input[aria-invalid=true]{border:2px solid #9f291d}
.site-signet{width:34px;height:34px;object-fit:contain;margin-right:9px}
.hero.with-image{position:relative;isolation:isolate}
.hero.with-image::after{content:"";position:absolute;inset:0;background:#102b478c;z-index:-1}
.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.trade-image{width:37px;height:30px;object-fit:cover;border-radius:4px}

/* Portalansicht. Suche und Website-Export teilen diese Regeln. */
:root { --body-font: "Segoe UI", system-ui, sans-serif; --heading-font: "Segoe UI", system-ui, sans-serif; }
.top { border-bottom-color:#e6ebf1; }
.bar { min-height:76px; }
.site-signet { width:200px; max-width:100%; height:auto; margin:0; display:block; }
nav a { font-weight:650; }
.hero { padding: clamp(48px,8vw,103px) 0 clamp(78px,10vw,137px); background:#102947; }
.hero-image { object-position:65% 45%; }
.hero.with-image::after { background:linear-gradient(90deg,#0c2544 0%,#102a48ed 30%,#102a4875 62%,#102a4830 100%); }
.hero h1 { font-weight:790; line-height:1.02; max-width:12em; letter-spacing:-.055em; }
.hero .eyebrow { color:#ffce94; }
.hero p:last-child { font-size:clamp(1rem,2vw,1.18rem); }
.search-content { margin-top:-55px; }
.search-panel { padding:clamp(16px,3vw,32px); }
.search-panel legend { font-size:1.22rem; margin-bottom:13px; }
.trade-tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr)); gap:12px; }
.trade-choice { position:relative; display:grid; grid-template-rows:auto 1fr; gap:0; padding:0; overflow:hidden; border-radius:10px; background:white; text-align:left; }
.trade-choice input { position:absolute; right:10px; bottom:14px; margin:0; }
.trade-choice:has(:checked) { border-color:#294f7c; outline:2px solid #294f7c; outline-offset:-2px; background:#eaf1f8; }
.trade-choice:has(:focus-visible) { outline:3px solid #a06913; outline-offset:2px; }
.trade-choice img { width:100%; height:auto; aspect-ratio:2.4/1; object-fit:cover; border-radius:0; display:block; }
.trade-name { padding:11px 28px 11px 12px; overflow-wrap:anywhere; font-weight:700; }
.search-row { margin-top:20px; }
.search-row button { min-height:44px; }
.results-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
.premium-card { padding:clamp(15px,2.5vw,25px); border:1px solid #e7c99e; }
.premium-card .card-image { aspect-ratio:2.8/1; max-height:430px; object-position:center; margin-bottom:14px; }
.premium-card h3 { font-size:clamp(1.18rem,2.5vw,1.63rem); }
.standard-card { box-shadow:none; padding:13px 17px; }
.standard-card h3 { margin:0 0 3px; }
.standard-card p { margin:0 0 2px; }
.standard-card a { display:inline-block; padding-block:4px; }
.card-more { padding:8px 13px; border-radius:8px; background:#eaf1f8; border:1px solid #d5e2f0; min-height:40px; }
.profile-heading { border-bottom:1px solid var(--line); padding-bottom:11px; margin-bottom:24px; }
.profile-body { display:grid; grid-template-columns:minmax(0,1fr) minmax(215px,30%); gap:28px; align-items:start; }
.profile-main { min-width:0; overflow-wrap:anywhere; }
.profile-contact { margin-top:0; background:#142e4d; color:#fff; overflow-wrap:anywhere; }
.profile-contact a { color:#e0edff; }
.profile-contact h2,.profile-contact h3 { margin-bottom:9px; }
.profile-copy { line-height:1.7; overflow-wrap:anywhere; }
.site-profile .gallery img,.dialog-inner .gallery img { object-fit:contain; }
.dialog-inner .profile-contact { margin-top:15px; }
@media(max-width:670px){
  .bar { min-height:64px; }
  .site-signet { width:155px; }
  .hero { padding:42px 0 82px; }
  .hero-image { object-position:65% center; }
  .hero.with-image::after { background:linear-gradient(90deg,#0c2544f2,#102a48ab 60%,#102a485a); }
  .search-content { margin-top:-46px; }
  .trade-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .trade-choice img { aspect-ratio:1.8/1; }
  .premium-card .card-image { aspect-ratio:1.9/1; }
  .profile-body { grid-template-columns:minmax(0,1fr); gap:16px; }
}

.hero.with-image::after { background:linear-gradient(90deg,#0c2544 0%,#102a48e8 33%,#102a485c 60%,transparent 88%); }
.trade-tiles { grid-template-columns:repeat(4,minmax(0,1fr)); }
.trade-choice img,.trade-placeholder { width:100%; height:auto; aspect-ratio:1.65/1; object-fit:contain; background:#edf2f7; display:block; }
.trade-placeholder { display:grid; place-items:center; text-align:center; color:#506176; font-size:.85rem; padding:8px; }
.portal-intro { padding:28px 0 10px; max-width:1080px; }
.portal-intro p { max-width:75ch; }
.results-mode .search-content { margin-top:0; padding-top:20px; }
#result-navigation { margin-bottom:12px; }
#result-trade-label { display:block; max-width:420px; }
.gallery { min-width:0; }
.gallery-zoom { padding:0; overflow:hidden; border:0; background:#edf2f7; }
.gallery-zoom img { margin:0; }
.lightbox { width:min(94vw,960px); max-height:92dvh; }
.lightbox img { display:block; max-width:100%; max-height:68dvh; margin:12px auto; object-fit:contain; }
.lightbox .tools { justify-content:space-between; }
@media(max-width:1020px){ .trade-tiles { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:780px){ .trade-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px){
  .trade-tiles { grid-template-columns:minmax(0,1fr); }
  .hero.with-image::after { background:linear-gradient(90deg,#0c2544f7,#102a48b8 51%,#102a4814 100%); }
}
.admin.wrap { width:min(1400px,calc(100% - 36px)); }
.admin-grid { grid-template-columns:minmax(240px, .62fr) minmax(0, 1.38fr); }
#editor details > summary { padding:8px 0; }
#edit-trades { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr)); }
.editor-actions { position:sticky; bottom:0; background:white; border-top:1px solid var(--line); margin-top:16px; padding:10px 0; z-index:2; }
.text-tools,.image-actions { margin:8px 0; }
@media(max-width:780px){ .admin-grid { grid-template-columns:minmax(0,1fr); } }
.hero.with-image::after { background:linear-gradient(90deg,#0c2544 0%,#102a48e3 31%,#102a4833 57%,transparent 73%); }
.portal-intro { padding:18px 0 0; }
.portal-intro p { margin:0; max-width:76ch; }
.portal-intro h2 { font-size:clamp(1.17rem,2.4vw,1.42rem); margin:0 0 5px; }
.search-content { margin:18px auto 0; }
.profile-copy { line-height:1.55; }
.profile-copy p { margin:.3em 0 .68em; }
.profile-copy h3 { margin:.9em 0 .22em; font-weight:800; }
.profile-copy ul { margin:.25em 0 .8em; padding-inline-start:1.35em; }
.profile-main .gallery figure { margin:0; min-width:0; }
.profile-main .gallery figcaption,.lightbox p { margin:.35em 0 .5em; overflow-wrap:anywhere; }
.profile-main .gallery .gallery-zoom { width:100%; display:block; }
.lightbox .tools { row-gap:.5em; }
.backup-targets,.backup-state { overflow-wrap:anywhere; }
@media(max-width:600px){
  .hero.with-image::after { background:linear-gradient(90deg,#0c2544f4,#102a48ae 46%,#102a480d 83%); }
  .hero { padding-bottom:40px; }
  .portal-intro { padding-top:14px; }
}
.profile-copy { white-space:normal; }
.profile-copy:not(:has(p,h3,ul)) { white-space:pre-line; }
.home-trades { margin:20px auto 0; padding-bottom:30px; }
.home-trades > h2 { margin:0 0 14px; }
.home-trades .trade-choice { text-decoration:none; color:inherit; }
.home-trades .trade-choice:focus-visible { outline:3px solid #a06913; outline-offset:3px; }
.home-trades .trade-choice img { transition:transform .18s ease; }
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .home-trades .trade-choice:hover { box-shadow:0 4px 14px #102a4824; }
 .home-trades .trade-choice:hover img { transform:scale(1.025); }
}
.trade-page { padding:clamp(20px,4vw,48px) 0; }
.trade-page h1 { font-size:clamp(1.65rem,4vw,2.7rem); margin:.4em 0 .32em; }
.trade-page > p { max-width:76ch; margin-bottom:18px; }
.trade-page .search-row { margin-top:0; }
.trade-page .search-panel { padding:16px; }
.site-profile { padding-block:24px; }
.site-profile h1 { font-size:clamp(1.65rem,4vw,2.65rem); margin:.28em 0 .24em; line-height:1.13; }
.profile-heading { margin-bottom:15px; padding-bottom:6px; }
.profile-heading p { margin:0 0 6px; }
.profile-body { gap:16px; }
.profile-main h2,.profile-main > h3 { font-size:1.2rem; margin:.9em 0 .28em; }
.profile-copy h3 { font-size:1.08rem; margin:.65em 0 .2em; }
.profile-copy p { margin:.22em 0 .55em; }
.profile-contact a { overflow-wrap:anywhere; }
.profile-copy p { white-space:pre-line; }
.visual-description { min-height:17rem; margin:.6rem 0; padding:1rem; border:1px solid var(--line); border-radius:8px; background:white; font-weight:400; overflow-wrap:anywhere; }
.visual-description p { margin:.4rem 0 .65rem; }
.visual-description h2,.visual-description h3 { margin:.65rem 0 .35rem; line-height:1.2; }
.visual-description h2 { font-size:1.45rem; }
.visual-description h3 { font-size:1.14rem; }
.gallery-help { margin:0 0 .65rem; color:#445979; font-size:.92rem; }
.profile-main .gallery { gap:.8rem; align-items:start; }
.profile-main .gallery figure { padding:0; border:1px solid #e6ecf4; border-radius:12px; background:white; box-shadow:0 4px 14px #18315312; overflow:hidden; }
.profile-main .gallery .gallery-zoom { position:relative; border:0; border-radius:0; padding:0; overflow:hidden; aspect-ratio:4/3; background:#eef2f7; }
.profile-main .gallery .gallery-zoom img { display:block; width:100%; height:100%; object-fit:contain; object-position:center; transition:transform .2s ease; }
.profile-main .gallery figcaption { margin:0; padding:.65rem .8rem; font-size:.94rem; }
.gallery-loupe { position:absolute; right:.6rem; bottom:.6rem; width:2rem; height:2rem; border-radius:50%; background:#0b223ce6; opacity:.85; }
.gallery-loupe::before { content:""; position:absolute; left:.53rem; top:.49rem; width:.52rem; height:.52rem; border:2px solid white; border-radius:50%; }
.gallery-loupe::after { content:""; position:absolute; left:1.04rem; top:1.09rem; width:.43rem; height:2px; background:white; transform:rotate(46deg); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .profile-main .gallery-zoom:hover img { transform:scale(1.025); }
 .profile-main .gallery-zoom:hover .gallery-loupe { opacity:1; }
}
.lightbox { position:fixed; padding:.8rem; padding-top:3rem; overflow:auto; background:#0f2034; color:white; border:1px solid #36465c; border-radius:12px; }
.lightbox .gallery-stage { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.3rem; align-items:center; touch-action:pan-y pinch-zoom; }
.lightbox .gallery-stage img { max-height:66dvh; width:100%; margin:0; object-fit:contain; }
.lightbox .gallery-close { position:absolute; top:.4rem; right:.5rem; min-width:2.5rem; line-height:1; font-size:1.55rem; }
.lightbox .gallery-prev,.lightbox .gallery-next { min-width:2.5rem; padding:.2rem .55rem; font-size:1.5rem; }
.lightbox .tools { justify-content:center; flex-wrap:wrap; margin-top:.5rem; }
.lightbox .tools p { margin:0; text-align:center; }
@media(max-width:600px){
 .profile-main .gallery { grid-template-columns:minmax(0,1fr); }
 .profile-main .gallery .gallery-zoom { aspect-ratio:4/3; }
 .lightbox { padding-inline:.35rem; }
}
.public-footer { margin-block:1.75rem .8rem; border-top:1px solid var(--line); padding-block:.8rem; }
.public-footer nav { display:flex; flex-wrap:wrap; gap:.3rem; }
.public-footer a { padding:.35rem .5rem; }
.info-page { max-width:790px; padding-block:2rem; }
.info-page h1 { font-size:clamp(1.7rem,4vw,2.7rem); margin:0 0 .85rem; }
.info-page h2 { font-size:1.2rem; margin:1.3rem 0 .35rem; }
.info-page address { font-style:normal; }
.notice { padding:.75rem; background:#fff3dc; border-left:3px solid #e8a322; }
.business-offers { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:.8rem; }
.business-offers section { padding:.8rem; border:1px solid var(--line); border-radius:9px; background:white; }
.business-offers h2 { margin-top:0; }
.action-link { display:inline-block; padding:.65rem .85rem; background:#123252; color:white; border-radius:7px; }

/* Eine Bildbühne mit separater Auswahl. Die Originalreihenfolge bleibt im HTML. */
.profile-gallery { margin-top:clamp(22px,4vw,36px); }
.profile-gallery .gallery-interactive { display:grid; grid-template-columns:minmax(0,1fr) clamp(72px,12vw,108px); gap:.65rem; }
.profile-gallery .gallery-interactive[data-count="1"] { grid-template-columns:minmax(0,1fr); }
.profile-gallery .gallery-interactive > figure { min-width:0; grid-area:1 / 1; }
.profile-gallery .gallery-interactive > figure[hidden] { display:none !important; }
.profile-gallery .gallery-interactive .gallery-zoom { display:block; width:100%; aspect-ratio:16 / 10; max-height:430px; background:#edf1f5; }
.profile-gallery .gallery-interactive .gallery-zoom img { display:block; width:100%; height:100%; object-fit:cover; image-orientation:from-image; }
.profile-gallery .gallery-interactive .gallery-zoom img[data-crop="oben"], .editor-gallery img[data-crop="oben"] { object-position:center top; }
.profile-gallery .gallery-interactive .gallery-zoom img[data-crop="unten"], .editor-gallery img[data-crop="unten"] { object-position:center bottom; }
.profile-gallery .gallery-interactive .gallery-zoom img[data-crop="links"], .editor-gallery img[data-crop="links"] { object-position:left center; }
.profile-gallery .gallery-interactive .gallery-zoom img[data-crop="rechts"], .editor-gallery img[data-crop="rechts"] { object-position:right center; }
.profile-gallery .gallery-interactive .gallery-zoom img[data-crop="ganz"], .editor-gallery img[data-crop="ganz"] { object-fit:contain; }
.gallery-selector { display:grid; gap:.35rem; min-width:0; align-content:start; }
.gallery-thumb { display:block; width:100%; padding:2px; min-height:44px; border:2px solid #d6e0e9; border-radius:.45rem; background:#edf1f5; overflow:hidden; }
.gallery-thumb img { display:block; width:100%; height:clamp(40px,6vw,63px); border-radius:.2rem; object-fit:contain; }
.gallery-thumb[aria-pressed="true"] { border-color:#975817; background:#fff1df; }
.gallery-thumb:focus-visible { outline:2px solid #183a5b; outline-offset:1px; }
@media(max-width:600px) {
  .profile-gallery .gallery-interactive { grid-template-columns:minmax(0,1fr); }
  .gallery-selector { display:flex; gap:.25rem; }
  .gallery-thumb { flex:1 1 0; min-width:0; max-width:76px; }
  .gallery-thumb img { height:42px; }
}
.lightbox .gallery-prev, .lightbox .gallery-next, .lightbox .gallery-close { background: #172a43; color: #fff; border: 1px solid #fff; padding: .5rem; }
.lightbox .gallery-prev svg, .lightbox .gallery-next svg, .lightbox .gallery-close svg { width: 1.35rem; height: 1.35rem; display: block; margin: auto; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox button:focus-visible { outline: 3px solid #fcb85a; outline-offset: 3px; }
.sales-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sales-intro { border-left: .25rem solid #c57016; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.contact-actions input { max-width: 100%; width: 15rem; }
.quiet-action { display: inline-block; padding: .45rem .8rem; border: 1px solid #b1bfd0; border-radius: .45rem; }
@media (max-width: 600px) {
  .sales-options { grid-template-columns: 1fr; }
}

.info-panel { padding: .8rem 1rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; margin-block: .8rem; }
.info-panel h2 { margin-top: .15rem; }
.editor-gallery img[data-crop]:not([data-crop="ganz"]) { object-fit: cover; }

.info-page .quiet-action,
.info-page button,
.card-more { display: inline-flex; align-items: center; min-height: 44px; }
.seeker-notice { margin-block: 1.1rem; border-radius: .45rem; }
.seeker-notice p { margin: .25rem 0; }
.premium-card .card-image[data-crop="oben"] { object-position: center top; }
.premium-card .card-image[data-crop="unten"] { object-position: center bottom; }
.premium-card .card-image[data-crop="links"] { object-position: left center; }
.premium-card .card-image[data-crop="rechts"] { object-position: right center; }
.premium-card .card-image[data-crop="ganz"] { object-fit: contain; background: #e7edf4; }
@media (max-width: 600px) {
  .search-row input, .search-row select, .search-row button { min-height: 44px; font-size: 1rem; }
  .info-page, .site-profile, .card { overflow-wrap: anywhere; }
  .contact-actions input { min-height: 44px; }
}

/* Einheitliche öffentliche Aktionen für Links und Buttons. */
.quiet-action, .back-link, .card-more, #copy-email {
  display:inline-flex; align-items:center; justify-content:center;
  gap:.35rem; min-height:44px; margin-block:.15rem;
  padding:.55rem .85rem; border:1px solid #9aadc2; border-radius:.55rem;
  background:#fff; color:#173451; font:600 .94rem/1.3 var(--body-font);
  text-align:center; text-decoration:none; white-space:normal;
}
a:where(.quiet-action,.back-link,.card-more):visited { color:#173451; }
.contact-actions a.quiet-action, .card a.card-more {
  background:#183a5b; border-color:#183a5b; color:#fff; text-decoration:none;
}
:is(.quiet-action,.back-link,.card-more,#copy-email):hover { filter:brightness(.94); }
:is(.quiet-action,.back-link,.card-more,#copy-email):focus-visible {
  outline:3px solid #aa570e; outline-offset:3px;
}
#results { scroll-margin-block-start:1rem; }
.profile-contact a, .standard-card a { display:inline-flex; align-items:center; min-height:44px; }
#results li button { margin:.2rem 0; min-height:44px; text-align:left; }
#results ul { padding-inline-start:1.25rem; }
.ortsvorschlaege { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));
  gap:.35rem; padding:.55rem; margin:.6rem 0; border:1px solid var(--line); border-radius:.6rem; background:var(--paper); }
.ortsvorschlaege button { min-height:44px; text-align:left; overflow-wrap:anywhere; }
@media (max-width:560px) { .ortsvorschlaege { max-height:12rem; overflow-y:auto; grid-template-columns:1fr; } }
.orts-eingabe { min-width:0; position:relative; }
@media (max-width: 600px) {
  .orts-eingabe .ortsvorschlaege {
    position:relative;
    margin:.15rem 0 0; padding:.25rem; max-height:min(9rem,25dvh);
    overflow:auto; grid-template-columns:1fr; box-shadow:0 6px 16px #132f4d26;
  }
  .orts-eingabe .ortsvorschlaege button { width:100%; min-height:44px; }
}
@media (max-width: 560px) {
  .search-row { grid-template-columns:minmax(0,1fr); align-items:start; }
}

.company-logo {
  display:block;
  width:min(100%, 210px);
  height:104px;
  object-fit:contain;
  object-position:left center;
  margin:.75rem 0;
}
.card-image.logo-preview {
  width:100%;
  height:104px;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
}


/* Trefferkarte und gemeinsamer Seitenbereich für Export und Vorschau. */
.premium-card { display:grid; align-items:center; gap:clamp(.65rem,2.4vw,1.5rem); padding:clamp(13px,2.2vw,24px);
  border:1px solid #ead8c1; border-inline-start:3px solid #a56826; background:#fffefa; }
.premium-card.has-result-image { grid-template-columns:minmax(0,1fr) clamp(74px,17vw,205px); }
.premium-card-copy { min-width:0; overflow-wrap:anywhere; }
.premium-card h3 { margin:.38rem 0 .22rem; font-size:clamp(1.13rem,2.1vw,1.45rem); line-height:1.2; }
.premium-card .badge,.premium-page-sheet .badge { font-size:.75rem; font-weight:650; line-height:1.35; padding:.2rem .48rem; }
.premium-card .premium-label,.premium-page-sheet .premium-label { background:#f7ecdb; color:#744710; }
.premium-card-location,.premium-card-contact { color:#41566e; font-size:.92rem; margin:.16rem 0; }
.premium-card-contact { display:flex; flex-wrap:wrap; gap:.15rem .8rem; align-items:baseline; }
.premium-card-contact a { color:#143f65; white-space:nowrap; }
.premium-card-teaser { margin:.38rem 0; max-width:65ch; }
.premium-card .card-more { min-height:40px; margin:.5rem 0 0; }
.premium-card .card-image { width:100%; height:auto; max-height:106px; aspect-ratio:1.75 / 1; margin:0; }
.premium-card .logo-preview { aspect-ratio:auto; object-fit:contain; background:transparent; border-radius:0; }

.site-profile { padding-block:clamp(12px,2vw,22px); }
.premium-page-sheet { padding:clamp(14px,4vw,42px); background:#fff; border:1px solid #dbe3eb;
  border-radius:clamp(.65rem,1.3vw,1rem); box-shadow:0 10px 24px #172a4310; overflow-wrap:anywhere; }
.premium-page-sheet .profile-heading { display:grid; grid-template-columns:minmax(0,1fr); align-items:center;
  gap:.9rem; border:0; padding:0; margin:0 0 1.2rem; }
.premium-page-sheet .profile-heading:has(.company-logo) { grid-template-columns:minmax(0,1fr) clamp(90px,18vw,200px); }
.premium-page-sheet .profile-title { margin:.36rem 0 .32rem; font-size:clamp(1.45rem,3.8vw,2.38rem); line-height:1.12; color:#142c46; }
.premium-page-sheet .profile-trades { margin:0; font-size:.95rem; color:#46617b; }
.premium-page-sheet .company-logo { justify-self:end; width:100%; max-height:94px; height:auto; object-fit:contain; object-position:right center; margin:0; }
.premium-page-sheet .profile-contact { margin:0 0 clamp(16px,3vw,31px); padding:clamp(10px,1.8vw,17px);
  color:#25415d; background:#f1f5f9; border:1px solid #dde6ef; border-radius:.65rem; }
.premium-page-sheet .profile-contact h2 { margin:0 0 .24rem; font-size:1.02rem; }
.premium-page-sheet .profile-contact-list { display:flex; gap:0 1rem; flex-wrap:wrap; align-items:center; }
.premium-page-sheet .profile-contact p { margin:0; }
.premium-page-sheet .profile-contact a { color:#184b76; min-height:36px; text-underline-offset:.2em; }
.premium-page-sheet .profile-story { color:#213c53; }
.premium-page-sheet .profile-copy { line-height:1.65; }
.premium-page-sheet .profile-copy p { margin:0 0 .68rem; }
.premium-page-sheet .profile-copy h2,.premium-page-sheet .profile-copy h3 { color:#173451; }
.premium-page-sheet .profile-gallery h2 { font-size:clamp(1.12rem,2vw,1.4rem); margin:0 0 .25rem; }
.premium-back { display:inline-flex; min-height:40px; gap:.4rem; align-items:center; color:#254866; text-decoration:none; }
.premium-back:hover { text-decoration:underline; }
.premium-return { margin-top:.65rem; }

#profile { inset:0; margin:0; border:0; border-radius:0; width:100%; max-width:none;
  height:100%; max-height:none; background:var(--bg,#f4f7fb); overflow-y:auto; overscroll-behavior:contain; }
.premium-preview-bar { position:sticky; top:0; z-index:2; background:#fff; border-bottom:1px solid #dbe3eb; }
.premium-preview-bar .wrap { display:flex; gap:.45rem 1rem; justify-content:space-between; align-items:center; flex-wrap:wrap; padding-block:.45rem; }
.premium-preview-bar span { font-weight:650; }
.premium-preview-bar button { min-height:40px; }
@media(max-width:600px) {
  .site-profile { width:calc(100% - 24px); }
  .premium-card.has-result-image { grid-template-columns:minmax(0,1fr) clamp(54px,21vw,100px); }
  .premium-card .card-more,.premium-back,.premium-page-sheet .profile-contact a { min-height:44px; }
  .premium-page-sheet .profile-heading:has(.company-logo) { grid-template-columns:minmax(0,1fr) clamp(59px,23vw,120px); }
  .premium-page-sheet .company-logo { max-height:75px; }
}

/* Ortsgruppen geben den Basistreffern Orientierung bei langen Listen. */
.result-town { margin-block:clamp(.65rem,1.8vw,1.15rem); }
.result-town .results-grid { gap:.45rem; }
.result-town-heading { font:650 .96rem/1.35 var(--body-font); color:#38536c;
  border-bottom:1px solid #dce5ed; padding:.15rem .15rem .25rem; margin:0 0 .45rem; }
.result-town .standard-card h4 { margin:0 0 .16rem; font-size:1.04rem; line-height:1.25; }
.premium-card-location { display:flex; flex-wrap:wrap; column-gap:.65rem; overflow-wrap:anywhere; }
.premium-card-distance { white-space:nowrap; }

/* V11.7 · gemeinsame öffentliche Darstellungsregeln */
.trade-choice .trade-image {
  display:block; width:100%; height:auto; aspect-ratio:1.75 / 1;
  object-fit:cover; object-position:center 45%;
}
.public-footer {
  margin:2rem 0 0; border-top:0; padding:1.25rem 0 1.5rem;
  background:#102947; color:#f0f5fa;
}
.public-footer nav { gap:.15rem .5rem; }
.public-footer a { color:inherit; }
.public-footer nav a {
  display:inline-flex; align-items:center; min-height:44px;
  padding:.45rem .6rem; font-weight:650;
}
.public-footer nav a:hover,.public-footer nav a:focus-visible { background:#294563; }
.public-footer small { display:block; margin:.45rem .6rem 0; color:#d5e0ee; }
.public-footer small a { padding:0; text-decoration:underline; text-underline-offset:.18em; }
.public-footer :focus-visible { outline-color:#fac778; }
.premium-card {
  border:1px solid #d6a959; border-inline-start:4px solid #ba8127;
  background:linear-gradient(112deg,#fff7e7,#fff 68%);
  box-shadow:0 6px 16px #633e1612;
}
.premium-card h3 { color:#142e4d; font-weight:800; }
.premium-card .premium-label { background:#ffe5af; color:#583600; }
.premium-card .card-more { background:#153555; color:#fff; }
.premium-card .card-more:hover { background:#234f77; }
.premium-page-sheet .profile-contact {
  background:#f7f5ef; border:1px solid #ded5c4; border-inline-start:3px solid #bc892e;
}
.premium-page-sheet .profile-contact-list p { max-width:100%; }
.sales-page .info-panel,.sales-page .seeker-notice { margin-block:.65rem; }
.sales-page .info-panel p { margin-bottom:.55rem; }
.sales-page .info-panel p:last-child { margin-bottom:0; }
.sales-page .sales-options { gap:.75rem; }
.sales-page .info-panel a[href^="tel:"] { display:inline-flex; align-items:center; min-height:44px; }
.privacy-draft { margin-bottom:1.15rem; }
.privacy-draft p { margin:0; }
.info-page { overflow-wrap:anywhere; }
@media (max-width:600px) {
  .hero.with-image { padding:0 0 20px; }
  .hero.with-image::after { content:none; }
  .hero.with-image .hero-image {
    position:static; z-index:auto; display:block; width:100%; height:auto;
    aspect-ratio:3 / 1; object-fit:cover; object-position:center;
  }
  .hero.with-image > .wrap { padding-top:14px; }
  .hero.with-image h1 { font-size:clamp(1.9rem,8vw,2.7rem); margin-bottom:.45rem; }
  .hero.with-image h1 br { display:none; }
  .hero.with-image .eyebrow { margin-bottom:.4rem; }
  .hero.with-image p:last-child { color:#f0f5fa; }
  .public-footer nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .public-footer nav a { min-width:0; overflow-wrap:anywhere; }
  .premium-page-sheet .profile-contact-list { display:grid; gap:0; }
  .sales-page .sales-options { gap:0; }
}

.premium-results .premium-card {border:2px solid #a87b31;border-top:6px solid #ac803b;background:white;box-shadow:0 6px 18px #192e4419}
.premium-card .premium-label {background:#193149;color:white;border:1px solid #9a773c;padding:.4em .8em;letter-spacing:.025em}
.premium-card .premium-star {color:#ffd47d}
.premium-card h3 {color:#172f46;font-weight:750}
.premium-card .logo-preview {background:white;object-fit:contain}
.premium-card .card-more {background:#18344c;color:white;border-radius:.45rem;padding:.65rem 1rem}
.info-page.privacy-page p {margin:.38rem 0;line-height:1.48}
.info-page.privacy-page h2 {margin:1.15rem 0 .4rem}
.ortsvorschlaege button {white-space:normal;text-align:left;overflow-wrap:anywhere;min-height:44px}
@media(max-width:680px){.ortsvorschlaege:not([hidden]){display:grid;grid-template-columns:1fr}}

.contact-icon {width:1.13em;height:1.13em;margin-inline-end:.4em;vertical-align:-.18em;fill:none;stroke:#37536c;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.info-page.privacy-page {max-width:76ch;overflow-wrap:anywhere}
.info-page.privacy-page p {line-height:1.55}
@media(max-width:600px){.profile-contact-list {display:grid;grid-template-columns:minmax(0,1fr)}}
