/* Germany-specific DOM adapter. Shared phone rules come from the Italian module. */
.gc-dual h2{margin-bottom:28px}.gc-dual-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.gc-dual article{padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}.gc-dual article h3{font-size:27px;line-height:1.2;margin:0 0 16px}.gc-dual-price{font-size:24px;font-weight:700;color:var(--petrol)}.gc-dual article p{max-width:55ch;line-height:1.6}.gc-free-pages{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:24px 0 12px}.gc-free-pages img{width:100%;height:auto;border:1px solid var(--line)}.gc-report-options h3{font-size:19px;margin:20px 0 12px}.gc-report-options a{white-space:normal;text-align:center;width:100%;line-height:1.4;min-height:52px;padding:10px 16px}.gc-report-options a[aria-disabled=true]{opacity:.6}.gc-report-options{margin-bottom:12px}
html.lcm:not(.lcm-step) #parcelMap{touch-action:pan-y!important}html.lcm .map-toolbar{position:relative;z-index:20}html.lcm:not(.lcm-step) #mapStage .map-search{position:relative!important;inset:auto!important;padding:12px!important;background:#fff!important}.lcm-start{display:none}html.lcm .lcm-start{display:grid}html.lcm #parcelMap{height:360px!important;min-height:0!important}html.lcm #mapStage .map-col{min-height:0!important;height:auto!important}html.lcm #mapStage .map-modes{top:auto!important;bottom:50px;right:12px;left:12px}html.lcm #mapwake{display:none!important}
html.lcm-step #mapStage{overflow:visible!important;transform:none!important}html.lcm-step #mapStage .map-col{height:100dvh!important;overflow:hidden!important}html.lcm-step #parcelMap{position:absolute!important;inset:0!important;height:100%!important;width:100%!important;min-height:0!important;touch-action:none!important}html.lcm-step #mapStage .map-toolbar{position:absolute!important;z-index:840;left:0;right:0;top:0;padding:calc(8px + env(safe-area-inset-top)) 10px 8px!important;display:flex;gap:8px;background:linear-gradient(#fff 70%,transparent)}html.lcm-step #mapStage .map-search{position:relative!important;inset:auto!important;flex:1;min-width:0;padding:0!important}.lcm-step #mapStage .map-search .lcm-start,.lcm-step #mapStage .map-search .search-hint{display:none!important}html.lcm-step #mapStage .map-search .search-box{min-height:48px}html.lcm-step #mapStage .map-search input{font-size:16px}html.lcm-step #mapStage .lcm-back{flex:0 0 48px;width:48px;height:48px;display:flex;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px}html.lcm-step #mapStage .lcm-back svg{width:24px;height:24px}html.lcm-step #mapStage .map-modes,html.lcm-step #mapFullscreen,html.lcm-step #mapStage .leaflet-control-zoom,html.lcm-step #mapStage .map-north{display:none!important}
html.lcm-step #parcelCard:not([hidden]){position:fixed!important;z-index:850;left:0;right:0;bottom:0;width:100%;max-height:53dvh;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -5px 24px #0e353b40}html.lcm-step #parcelCard .parcel-head{padding:0}html.lcm-step #parcelCard .parcel-card{padding:0;background:none;border:0;box-shadow:none}html.lcm-step #parcelCard #pIdent{font-size:20px}html.lcm-step #parcelCard .kl,html.lcm-step #parcelCard .cad-badge,html.lcm-step #parcelCard .k-copy,html.lcm-step #parcelCard .parcel-rows .row:last-child,html.lcm-step #parcelCard .parcel-sketch,html.lcm-step #parcelMapSource,html.lcm-step #parcelCard .pick-price,html.lcm-step #parcelCard #pickClear,html.lcm-step #parcelCard #landPromise{display:none!important}html.lcm-step #parcelCard .parcel-rows{padding:6px 0;gap:4px}html.lcm-step #parcelCard .row{padding:2px 0;font-size:13px}html.lcm-step #parcelCard .verify-box{padding:6px 0;border:0}html.lcm-step #parcelCard .verify-box label{font-size:13px;line-height:1.3;min-height:44px;align-items:center}html.lcm-step #parcelCard .gc-report-options h3{margin:6px 0;font-size:16px}html.lcm-step #parcelCard .pick-actions{display:grid;gap:4px}html.lcm-step #pickContinue{width:100%;min-height:48px;font-size:15px}html.lcm-step #parcelCard .gc-free-link{font-size:14px;min-height:48px;padding:8px 12px}html.lcm-step #parcelCard .lcm-delivery{display:none}html.lcm-step #parcelCard .lcm-change{display:block;min-height:36px;margin:4px auto 0;border:0;background:none;text-decoration:underline;font:inherit;font-size:13px}html.lcm-cross-on #parcelCard{display:none!important}html.lcm-step #mapStage .picker-status{font-size:13px;line-height:1.35;padding:6px 8px}
@media(max-width:760px){.gc-dual-grid{grid-template-columns:1fr;gap:20px}.gc-dual article{padding:22px}.gc-dual .btn{white-space:normal;text-align:center}.gc-dual .gc-free-pages{gap:6px}#orderModal .confirm-row,#orderModal .withdrawal-row{min-height:44px}#orderModal input[type=email]{min-height:48px}}

html.lcm .germany-cookie{z-index:2000!important}html.lcm-step #mapStage .map-toolbar .suggest{max-height:38dvh;overflow-y:auto}

html.lcm-step #parcelCard .pick-actions{position:static!important;inset:auto!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}html.lcm-step #parcelCard .parcel-rows .row:nth-child(2){display:none!important}html.lcm-step #parcelCard #pIdent{font-family:inherit;font-size:16px;line-height:1.3;white-space:normal}html.lcm-step #parcelCard .parcel-rows .val{font-family:inherit;font-size:15px}html.lcm-step #parcelCard .verify-box{margin:0!important}html.lcm-step #parcelCard .gc-report-options{margin:0 0 8px}html.lcm-step #parcelCard .gc-report-options h3{display:none}html.lcm-step #mapStage:has(#parcelCard:not([hidden])) .lcm-tools .lcm-tool:nth-child(n+4){display:none}html.lcm-step .lcm-tools{top:calc(var(--lcm-top,64px) + 16px)!important;bottom:auto!important}
@media(max-width:760px){html.lcm #orderModal{padding:0!important}html.lcm #orderModal .modal{width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important;height:100dvh!important;max-height:100dvh!important;display:flex!important;flex-direction:column;border-radius:0!important}html.lcm #orderModal .modal-body{flex:1;min-height:0;overflow-y:auto;padding:16px!important}html.lcm #orderModal .modal-foot{position:static!important;flex:0 0 auto;width:100%;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important}html.lcm #orderModal .modal-grid{display:block!important}html.lcm #orderModal .pick-form{min-width:0!important}html.lcm #orderModal .code-line{display:flex;gap:8px}html.lcm #orderModal input{min-width:0;max-width:100%}}
@media(max-width:760px){html.lcm #orderModal{left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;overflow-x:hidden!important}html.lcm #orderModal .modal{width:100vw!important;max-width:100vw!important;min-width:0!important;box-sizing:border-box}html.lcm #orderModal .modal-body{width:100%;min-width:0;box-sizing:border-box}html.lcm #orderModal .voucher-control{display:flex!important;min-width:0;gap:8px}html.lcm #orderModal .voucher-control input{flex:1 1 0;min-width:0!important;width:0!important}html.lcm #orderModal .voucher-control button{flex:0 0 auto;min-width:0;max-width:110px;padding:0 14px}html.lcm #orderModal .modal-foot .pick-submit{min-width:0;display:block;margin:0}html.lcm #orderModal #reportSubmit{width:100%;min-height:52px;white-space:normal}html.lcm #orderModal #orderJump{position:static!important;flex:0 0 auto;width:100%;max-width:100%;margin:0;box-sizing:border-box}html.lcm #orderModal .order-field{min-width:0}html.lcm #orderModal .lang-options{width:100%;min-width:0}html.lcm #orderModal .lang-option{width:100%;min-width:0;box-sizing:border-box}html.lcm #orderModal .lo-radio{flex-shrink:0}}

.gc-cadastral-fields{margin:8px 0 14px;font-size:13px}.gc-cadastral-fields summary{cursor:pointer;min-height:36px;display:flex;align-items:center;text-decoration:underline}.gc-cadastral-fields label{display:grid;gap:4px;margin:8px 0}.gc-cadastral-fields input{width:100%;padding:8px;min-height:40px;font:inherit;border:1px solid var(--line);background:#f8f9f8;border-radius:5px}html.lcm-step .gc-cadastral-fields{margin:0 0 4px}html.lcm-step .gc-cadastral-fields summary{min-height:28px}
html.lcm,html.lcm body{max-width:100%;overflow-x:clip!important}html.lcm #orderModal .modal-top{min-width:0;max-width:100%;box-sizing:border-box}html.lcm #orderModal .modal-top p{overflow-wrap:anywhere}
@media(max-width:760px){html,body{width:100%;max-width:100%;overflow-x:clip!important}.gc-dual-grid{grid-template-columns:minmax(0,1fr)}.gc-dual article{min-width:0;max-width:100%}.gc-dual .btn{min-width:0;max-width:100%;overflow-wrap:anywhere}.gc-free-pages{grid-template-columns:repeat(4,minmax(0,1fr))}.gc-free-pages a{min-width:0}.gc-free-pages img{max-width:100%}.germany-cookie{z-index:2000!important;display:flex!important;flex-direction:column!important;height:auto!important;max-height:none!important;box-sizing:border-box}.germany-cookie[hidden]{display:none!important}.germany-cookie .cookie-copy{position:static!important;flex:0 0 auto!important;max-width:100%;height:auto!important}.germany-cookie .cookie-actions{position:static!important;flex:0 0 auto!important;display:flex!important;width:100%!important;min-height:44px}.germany-cookie .cookie-actions button{position:relative;z-index:1;flex:1 1 0;min-width:0;white-space:normal}}

@media(max-width:760px){.germany-studio .leaflet-control-attribution:has(.gc-map-sources){max-width:calc(100vw - 104px);padding:0;border-radius:8px}.gc-map-sources summary{min-height:32px;padding:6px 10px;cursor:pointer;font:600 11px/20px system-ui,sans-serif}.gc-map-sources>div{padding:4px 10px 8px;max-height:160px;overflow:auto;font-size:10px;line-height:1.4}.gc-map-sources:not([open]){width:max-content}.gc-map-sources[open]{max-width:260px}}

/* === map-first phone home 2026-11-15 (hotfix, kandyb-page) === */
/* map-first phone home (2026-11-15). Only html.lcm without .lcm-step, i.e. the in-page map on a phone.
   The full-screen map step and every computer layout stay exactly as before. */
@media (max-width:760px){
html:not(.lcm-step){--mf-hdr:68px;--mf-bar:108px}
html:not(.lcm-step) main.home2{display:flex;flex-direction:column}
html:not(.lcm-step) main.home2>#studio{order:-1;width:100%;max-width:none!important;margin:0!important;padding:0!important}
html:not(.lcm-step) #studio>.section-head{display:none!important}
html:not(.lcm-step) #studio .studio{display:block!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;min-height:0!important;height:auto!important}
html:not(.lcm-step) #studio .map-col{position:relative!important;height:max(440px,calc(100svh - var(--mf-hdr)))!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;box-shadow:none!important}
html:not(.lcm-step) #studio .map-col>.leaflet-container{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;border-radius:0!important}
/* search on top of the map */
html.lcm:not(.lcm-step) #studio .map-col .map-toolbar{position:absolute!important;inset:0!important;z-index:700!important;display:block!important;height:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;pointer-events:none}
html.lcm:not(.lcm-step) #studio .map-col .map-toolbar .map-search{position:static!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}
html.lcm:not(.lcm-step) #studio .map-col .map-toolbar .map-search>*{pointer-events:auto}
html.lcm:not(.lcm-step) #studio .map-col .map-toolbar .search-box{position:absolute!important;top:10px!important;left:10px!important;right:10px!important;margin:0!important;box-shadow:0 2px 12px rgba(14,26,29,.22)!important}
html.lcm:not(.lcm-step) #studio .map-col .map-toolbar .suggest,html.lcm:not(.lcm-step) #studio .map-col .map-toolbar #suggest{position:absolute!important;top:68px!important;left:10px!important;right:10px!important;z-index:730;max-height:calc(100% - 180px)!important;overflow-y:auto}
html.lcm:not(.lcm-step) #studio .map-col .map-toolbar .picker-status{position:absolute!important;top:68px;left:10px;right:10px;z-index:725}
html.lcm:not(.lcm-step) #studio .map-col .search-hint{display:none!important}
/* the two buttons become a bottom bar with the delivery promise */
html.lcm:not(.lcm-step) #studio .map-col .lcm-start{position:absolute!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;z-index:720!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important;padding:8px 12px calc(10px + env(safe-area-inset-bottom))!important;background:#fff!important;border-radius:16px 16px 0 0;box-shadow:0 -4px 18px rgba(14,26,29,.16);pointer-events:auto}
html.lcm:not(.lcm-step) #studio .map-col .lcm-start::before{content:var(--mf-promise,"");grid-column:1/-1;font:500 12.5px/1.3 var(--font,system-ui);color:var(--muted,#55646b);text-align:center}
html.lcm:not(.lcm-step) #studio .map-col .lcm-start .lcm-open{background:var(--petrol,#0e353b)!important;border-color:var(--petrol,#0e353b)!important;color:#fff!important}
html.lcm:not(.lcm-step) #studio .map-col .lcm-start .lcm-open svg{color:#fff!important}
/* preview controls: the map step has its own column, so the preview stays clean */
html.lcm:not(.lcm-step) #studio .map-col .leaflet-control-zoom,html.lcm:not(.lcm-step) #studio .map-col .map-fs,html.lcm:not(.lcm-step) #studio .map-col .map-flag,html.lcm:not(.lcm-step) #studio .map-col .map-wake,html.lcm:not(.lcm-step) #studio .map-col .map-north,html.lcm:not(.lcm-step) #studio .map-col .map-north-control{display:none!important}
html.lcm:not(.lcm-step) #studio .map-col .leaflet-bottom{bottom:var(--mf-bar)!important}
html.lcm:not(.lcm-step) #studio .map-col .map-modes{position:absolute!important;top:auto!important;right:auto!important;left:10px!important;bottom:calc(var(--mf-bar) + 44px)!important;z-index:710!important;display:flex!important;width:auto!important;max-width:calc(100% - 20px)!important;padding:3px!important;gap:2px!important;border-radius:12px!important;justify-content:flex-start!important}
html.lcm:not(.lcm-step) #studio .map-col .map-modes button{flex:0 0 auto!important;min-width:0!important;min-height:36px!important;padding:4px 9px!important;font-size:11.5px!important;flex-direction:row!important;gap:4px!important}
/* step text only after a parcel is chosen */
html.lcm:not(.lcm-step) #studio .pick .step-label,html.lcm:not(.lcm-step) #studio .pick .pick-empty{display:none!important}
html.lcm:not(.lcm-step) #studio .pick:has(>.pick-body[hidden]){display:none!important}
html.lcm:not(.lcm-step) #studio .studio>.pick{margin:0!important;border-radius:0!important}
/* after a parcel is chosen: the choice sits at the bottom of the map as a sheet (area + order), like in the map step */
html.lcm:not(.lcm-step) #studio .studio{position:relative!important}
html.lcm:not(.lcm-step) #studio .map-col>.pick:not([hidden]),html.lcm:not(.lcm-step) #studio .studio>.pick:has(>.pick-body:not([hidden])){display:flex!important;flex-direction:column;position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;z-index:740!important;width:100%!important;max-height:62%;overflow:auto;margin:0!important;padding:12px 16px calc(10px + env(safe-area-inset-bottom))!important;box-sizing:border-box;border:0!important;border-radius:20px 20px 0 0!important;background:#fff!important;box-shadow:0 -6px 34px #0e353b40}
html.lcm:not(.lcm-step) #studio .map-col:has(>.pick:not([hidden])) .lcm-start,html.lcm:not(.lcm-step) #studio .map-col:has(>.pick:not([hidden])) .map-modes,html.lcm:not(.lcm-step) #studio .studio:has(>.pick>.pick-body:not([hidden])) .lcm-start,html.lcm:not(.lcm-step) #studio .studio:has(>.pick>.pick-body:not([hidden])) .map-modes{display:none!important}
html.lcm:not(.lcm-step) #studio .pick .join-hint,html.lcm:not(.lcm-step) #studio .pick .verify-box>.confirm-note:not(.confirm-hint),html.lcm:not(.lcm-step) #studio .pick .pick-price,html.lcm:not(.lcm-step) #studio .pick .pick-clear,html.lcm:not(.lcm-step) #studio .pick .kl,html.lcm:not(.lcm-step) #studio .pick .cad-badge,html.lcm:not(.lcm-step) #studio .pick .parcel-sketch,html.lcm:not(.lcm-step) #studio .pick #landPromise,html.lcm:not(.lcm-step) #studio .pick .lcm-delivery{display:none!important}
html.lcm:not(.lcm-step) #studio .pick .parcel-card{padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
html.lcm:not(.lcm-step) #studio .pick .pick-actions{display:block;margin:0;padding:0;border:0}
html.lcm:not(.lcm-step) #studio .pick .lcm-change{display:block}
html.lcm:not(.lcm-step) #studio .pick .parcel-rows .row:not(:first-child),html.lcm:not(.lcm-step) #studio .pick .gc-report-options h3,html.lcm:not(.lcm-step) #studio .pick .confirm-note.confirm-hint[hidden]{display:none!important}
html.lcm:not(.lcm-step) #studio .pick .parcel-head{padding:0!important;margin:0!important}
html.lcm:not(.lcm-step) #studio .pick .parcel-head .k,html.lcm:not(.lcm-step) #studio .pick #pIdent{font-size:19px!important}
html.lcm:not(.lcm-step) #studio .pick .parcel-rows{padding:4px 0!important;margin:0!important;gap:2px}
html.lcm:not(.lcm-step) #studio .pick .row{padding:4px 0!important;font-size:13.5px}
html.lcm:not(.lcm-step) #studio .pick .verify-box{padding:6px 8px!important;margin:4px 0!important}
html.lcm:not(.lcm-step) #studio .pick .verify-box label{font-size:13px!important;line-height:1.3!important}
html.lcm:not(.lcm-step) #studio .pick .pick-actions .btn,html.lcm:not(.lcm-step) #studio .pick .pick-actions button.btn-p{display:flex;width:100%!important;height:auto!important;min-height:48px;align-items:center;justify-content:center;text-align:center;white-space:normal;line-height:1.25;margin:4px 0 0!important}
html.lcm:not(.lcm-step) #studio .map-col>.pick:not([hidden]),html.lcm:not(.lcm-step) #studio .studio>.pick:has(>.pick-body:not([hidden])){max-height:58%!important;padding-top:10px!important}
html.lcm:not(.lcm-step) #studio .pick .btn,html.lcm:not(.lcm-step) #studio .pick .gc-free-link{height:auto!important;min-height:48px;white-space:normal!important;line-height:1.25!important;padding-top:10px!important;padding-bottom:10px!important;margin-bottom:6px!important;box-sizing:border-box}
html.lcm:not(.lcm-step) #studio .map-col .lcm-start::before{font-size:12px!important;line-height:1.25!important}
html.lcm:not(.lcm-step) .cookie-banner{z-index:2000!important}
html.lcm-step #studio .map-col .map-flag,html.lcm-step #studio .map-col .pinmsg,html.lcm-step #studio .map-col .parcel-state{transform:none!important;max-width:none!important;width:auto!important;box-sizing:border-box}
html.lcm-step #studio:has(#parcelCard:not([hidden])) .map-col .map-flag{display:none!important}
html.lcm #parcelMap path[stroke="#c0562f"][stroke-width="3"],html.lcm #parcelMap path[stroke="#c0562f"][stroke-width="3.5"]{stroke-width:4.5px!important;fill-opacity:.38!important;stroke-opacity:1!important}
}
html[lang=de]{--mf-promise:"PDF ca. 30 Min. nach der Zahlung (bei hoher Auslastung bis zu 45 Minuten)"}
html[lang=en]{--mf-promise:"PDF about 30 min after payment (up to 45 minutes at busy times)"}

/* === end map-first === */

/* === MOBILE-6 2026-11-15: layout only (price strip, consent banner height, touch targets, small labels) === */
@media (max-width:760px){
html[lang=de]{--mf-price:"Kurzbericht kostenlos · Vollbericht 29 €"}
html[lang=en]{--mf-price:"Free short report · Full PDF report €29"}
html:not(.lcm-step) main.home2>#studio::before{content:var(--mf-price,"");display:block;box-sizing:border-box;min-height:34px;padding:8px 12px;background:var(--petrol,#0e353b);color:#fff;font:600 13px/18px var(--font,system-ui);text-align:center}
html:not(.lcm-step) #studio .map-col{height:max(440px,calc(100svh - var(--mf-hdr) - 34px))!important}
html.lcm .map-modes button,html.lcm:not(.lcm-step) #studio .map-col .map-modes button{min-height:44px!important;font-size:13px!important;padding:4px 10px!important}
html.lcm:not(.lcm-step) #studio .map-col .map-modes{bottom:calc(var(--mf-bar) + 36px)!important}
.germany-studio .gc-map-sources summary{min-height:44px;display:flex;align-items:center;font-size:12px}
.gc-map-sources>div{font-size:12px!important}
.germany-cookie{padding:4px 12px calc(4px + env(safe-area-inset-bottom))!important;gap:4px!important}
.germany-cookie .cookie-copy{font-size:13px!important;line-height:17px!important}
.report-preview-link span,.meta .loc,.meta .src2{font-size:12px!important}
.bf a{display:inline-flex!important;align-items:center;min-height:44px!important}
footer nav a{display:inline-flex!important;align-items:center;min-height:44px!important}
main details>summary{min-height:44px!important;box-sizing:border-box;display:flex;align-items:center}
}
