@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#174d42;--line:#e2e7e3;--muted:#77837e}*{box-sizing:border-box}body{margin:0;background:#f5f7f4;color:#20332d;font-family:'DM Sans',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,label.restore{cursor:pointer}button{border:1px solid var(--line);border-radius:8px;background:white;color:inherit;padding:11px 16px;font-weight:600}button:hover{filter:brightness(.95)}a{color:var(--green)}aside{width:235px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:33px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;font-size:29px;color:var(--green);font-weight:800}.brand span{font-size:23px}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:7px;color:#87948b}nav{display:grid;gap:10px;margin-top:48px}nav button{text-align:left;border:0;background:transparent;font-size:13px;padding:14px 10px}nav .active{background:#eaf2ed;color:var(--green)}.sidebottom{margin-top:auto;border-top:1px solid var(--line);padding-top:22px;font-size:12px;color:var(--muted);line-height:1.7}.sidebottom>p:first-child{letter-spacing:1.5px;font-size:9px}.sidebottom strong{color:#344d43}.sidebottom button,.restore{display:block;margin:10px 0}.sidebottom small{font-size:10px}main{margin-left:235px;padding:0 35px;max-width:1800px}header{height:77px;display:flex;align-items:center;justify-content:space-between;color:#88928c;font-size:12px}header b{color:#46594f;margin-left:12px;font-weight:500}.avatar{background:#e5ece5;padding:12px;border-radius:50%;font-weight:600;color:#45604f}.hero{background:linear-gradient(90deg,rgba(13,39,39,.94),rgba(14,36,38,.3)),url('matterhorn.jpg') center 44%/cover;border-radius:14px;min-height:283px;color:white;padding:31px 38px;position:relative}.eyebrow{font-size:9px;letter-spacing:2px;color:#c9d6c4}h1{font-family:Manrope,sans-serif;font-size:37px;letter-spacing:-1.4px;line-height:1.2;margin:16px 0 12px}.hero p{font-size:12px;color:#d5dfd7}.primary{background:var(--green);border-color:var(--green);color:white}.hero .primary{background:#e3edb7;border-color:#e3edb7;color:#243b29;margin-top:10px;font-size:12px}.mountainlabel{position:absolute;right:25px;bottom:24px;font-size:11px;letter-spacing:2px}.mountainlabel small{display:block;font-size:9px;letter-spacing:0;margin-top:7px;text-align:right}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0 28px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:16px 20px;display:flex;align-items:center;gap:15px}.stat i{font-style:normal;background:#edf2e9;border-radius:10px;padding:11px;color:#4f7559;font-size:22px}.stat b{font-family:Manrope;font-size:25px;display:block}.stat small{color:var(--muted);font-size:11px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px}h2{font-family:Manrope;font-size:20px;margin:0 0 7px;letter-spacing:-.5px}.sectionhead p{font-size:12px;color:var(--muted);margin:0}.toolbar{display:flex;gap:12px;margin:19px 0 15px}.toolbar input{flex:1;min-width:100px}.toolbar a{align-self:center;font-size:12px;text-decoration:none;white-space:nowrap}input,select,textarea{padding:11px 12px;border:1px solid #dce3dd;background:white;border-radius:7px;color:#2a4237;max-width:100%}#maplayout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.mapwrap{border-radius:12px;overflow:hidden;border:1px solid var(--line);position:relative}#map{height:415px;z-index:1}.mapnote{background:white;padding:11px;font-size:10px;color:#6b7b6e}.places{height:451px;overflow:auto}.place{background:white;border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:11px;cursor:pointer}.place:hover{border-color:#6b977b}.place h3{font-size:14px;margin:0 0 7px}.place p{font-size:11px;color:var(--muted);margin:5px 0}.place .bottom{border-top:1px solid #edf0ed;padding-top:12px;margin-top:14px;display:flex;justify-content:space-between;font-size:11px}.badge{display:inline-block;border-radius:5px;padding:5px 8px;background:#e9f1dd;color:#4d6a27;font-size:10px}.badge.work{background:#fff0d5;color:#93681b}.empty{padding:32px 20px;border:1px dashed #c5d1c7;border-radius:10px;line-height:1.8;color:#75887a}.detailcard,#listview{background:white;border:1px solid var(--line);border-radius:12px;padding:23px;margin-top:20px}.detailtop{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px}.order{padding:17px 0;border-top:1px solid var(--line);display:flex;gap:15px;justify-content:space-between;align-items:center}.order p{color:var(--muted);font-size:12px;margin:7px 0}.order button{font-size:11px}.description{white-space:pre-wrap;line-height:1.7}.files{display:flex;gap:9px;flex-wrap:wrap}.files a{display:inline-block;border:1px solid var(--line);padding:10px;border-radius:7px}.files img{width:90px;height:70px;object-fit:cover;display:block}footer{display:flex;justify-content:space-between;gap:20px;padding:25px 0;color:#8c978e;font-size:9px}dialog{border:0;border-radius:15px;width:650px;max-width:95vw;max-height:90vh;padding:27px;box-shadow:0 20px 100px #132d2855}dialog::backdrop{background:#0d241c88;backdrop-filter:blur(3px)}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modalhead button{border:0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}label.field{display:grid;gap:7px;font-size:12px;font-weight:500;margin-bottom:14px}.full{grid-column:1/-1}textarea{min-height:140px;resize:vertical}.hint{font-size:11px;color:var(--muted);line-height:1.7}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173d38;color:white;padding:13px 22px;border-radius:9px;z-index:9999;display:none}[hidden]{display:none!important}@media(max-width:1000px){aside{width:185px;padding:25px 13px}main{margin-left:185px;padding:0 20px}#maplayout{grid-template-columns:1fr}.places{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats{gap:8px}.stat{padding:12px;gap:10px}.stat i{display:none}}@media(max-width:650px){aside{position:static;width:100%;padding:15px}.brand{font-size:22px}.brand small,.sidebottom{display:none}nav{margin-top:15px;display:flex;gap:4px}nav button{font-size:11px;padding:10px}.brand span{font-size:20px}main{margin:0;padding:0 15px}header{height:50px}.hero{padding:25px;min-height:280px}h1{font-size:33px}.mountainlabel{font-size:8px;right:15px;bottom:15px}.stats{grid-template-columns:1fr 1fr}.sectionhead h2{font-size:18px}.sectionhead button{font-size:11px;padding:10px}.toolbar{flex-wrap:wrap}.toolbar input{width:100%;flex:auto}.toolbar select{flex:1}.places{grid-template-columns:1fr}#map{height:350px}.grid{grid-template-columns:1fr}.full{grid-column:auto}.order,.detailtop{flex-wrap:wrap}footer{flex-direction:column}.hero p{max-width:210px}dialog{padding:20px}}
@media(max-width:650px){.sidebottom{display:flex;border:0;padding:0;margin-top:8px;gap:10px;align-items:center}.sidebottom p,.sidebottom strong,.sidebottom small{display:none}.sidebottom button,.sidebottom .restore{font-size:10px;padding:5px;margin:0}}

/* Gipfel und Himmel bleiben im Bildausschnitt. */
.hero{background-position:center top;background-image:linear-gradient(90deg,rgba(13,39,39,.95),rgba(14,36,38,.42) 43%,rgba(14,36,38,.05) 75%),url('matterhorn.jpg')}
.geosearch{background:#edf3ee;border:1px solid #dce6dc;border-radius:10px;padding:15px;margin-bottom:18px}.geosearch strong{display:block;font-size:13px;margin-bottom:9px}.georow{display:flex;gap:8px}.georow input{flex:1;min-width:0}.georesults{display:grid;gap:5px;margin-top:8px}.georesults button{text-align:left;font-weight:400;font-size:12px}.georesults button small{display:block;color:#75847a;margin-top:4px}.geosearch .hint{margin:8px 0 0}#pickmap{height:200px;border-radius:9px;margin:12px 0;z-index:1}.geoconfirm{font-size:12px;color:#235b43;padding:7px 0}
@media(max-width:650px){.hero{padding-top:220px;min-height:490px;background-size:auto 320px;background-repeat:no-repeat;background-position:center top;background-color:#173b36;background-image:linear-gradient(0deg,#173b36 0%,transparent 65%),url('matterhorn.jpg')}.hero .mountainlabel{top:177px;bottom:auto;right:15px}.hero h1{font-size:30px;margin-top:12px}.hero .eyebrow{font-size:8px}.georow button{padding:9px}.geosearch{padding:12px}}

.orderstep{padding:4px 0 20px;margin:0 0 20px;border-bottom:1px solid #dfe7e0}.orderstep h3{font-family:Manrope;font-size:15px;display:flex;align-items:center;gap:10px;margin:0 0 17px}.orderstep h3 span{background:#e6eddb;border-radius:50%;width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;color:#2d5943}.drawbuttons{display:flex;gap:7px;flex-wrap:wrap}.drawbuttons button{font-size:11px;padding:8px 10px}#ordermap{height:310px;border-radius:10px;border:1px solid #dae2db;margin-top:12px;z-index:1}.weathercard{background:#edf4ed;border:1px solid #dce6da;border-radius:10px;padding:17px;margin:0 0 16px}.weatherpreview{font-size:19px;font-weight:600;margin-bottom:10px}.weathercard button{font-size:11px}.weathercard .grid label{margin-bottom:4px}@media(max-width:650px){#ordermap{height:290px}.weatherpreview{font-size:16px}.orderstep h3{font-size:14px}.weathercard{padding:12px}}

/* Grosszügige Kartenübersicht mit klarer Farbzuordnung. */
#maplayout{grid-template-columns:1fr}.mapwrap{width:100%}#map{height:68vh;min-height:560px;max-height:800px}.places{height:auto;max-height:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.place{margin-bottom:0}.mapheading{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;padding:12px 15px;font-size:11px}.mapheading button{font-size:11px;padding:7px 10px}.legenddot{width:9px;height:9px;display:inline-block;border-radius:50%;vertical-align:middle}.legenddot.blue{background:#2688cc}.legenddot.orange{background:#ed811f}.order-point-icon{background:transparent;border:0}.order-point-icon span{display:block;width:18px;height:18px;margin:1px;border:3px solid #fff;background:#ed811f;border-radius:50%;box-shadow:0 0 0 1px #ac4f0d,0 2px 7px #0004}.geometryitems{margin:13px 0}.geometryitem{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #e1e6df;align-items:center}.geometryitem strong{font-size:12px}.geometryitem small{display:block;font-size:12px;color:#b85b16;margin-top:4px}.geometryitem button{font-size:10px;padding:7px 9px}.geometrytotals{background:#fff0df;border:1px solid #f0d5b6;color:#98501a;border-radius:7px;padding:12px;font-size:12px;font-weight:600}#ordermap{height:400px}#geometryitems:empty{display:none}
@media(max-width:1000px){.places{grid-template-columns:1fr 1fr}}@media(max-width:650px){#map{height:68vh;min-height:470px}.places{grid-template-columns:1fr}.mapheading{flex-wrap:wrap;font-size:10px}.mapheading button{font-size:10px}#ordermap{height:340px}.geometryitem{flex-wrap:wrap}}
