/* Schriften lokal eingebunden (SIL Open Font License 1.1, siehe fonts/OFL-*.txt): Barlow (serifenlos), Crimson Pro (Serife) */
@font-face { font-family:'Barlow'; font-style:italic; font-weight:400; font-display:swap; src:url(/assets/fonts/barlow-italic-400-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:italic; font-weight:400; font-display:swap; src:url(/assets/fonts/barlow-italic-400-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow'; font-style:italic; font-weight:700; font-display:swap; src:url(/assets/fonts/barlow-italic-700-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:italic; font-weight:700; font-display:swap; src:url(/assets/fonts/barlow-italic-700-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:400; font-display:swap; src:url(/assets/fonts/barlow-normal-400-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:400; font-display:swap; src:url(/assets/fonts/barlow-normal-400-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:700; font-display:swap; src:url(/assets/fonts/barlow-normal-700-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Barlow'; font-style:normal; font-weight:700; font-display:swap; src:url(/assets/fonts/barlow-normal-700-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Crimson Pro'; font-style:italic; font-weight:400 700; font-display:swap; src:url(/assets/fonts/crimson-pro-italic-400-700-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Crimson Pro'; font-style:italic; font-weight:400 700; font-display:swap; src:url(/assets/fonts/crimson-pro-italic-400-700-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family:'Crimson Pro'; font-style:normal; font-weight:400 700; font-display:swap; src:url(/assets/fonts/crimson-pro-normal-400-700-latin-ext.woff2) format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Crimson Pro'; font-style:normal; font-weight:400 700; font-display:swap; src:url(/assets/fonts/crimson-pro-normal-400-700-latin.woff2) format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --sans:Barlow,Arial,Helvetica,sans-serif; --serif:'Crimson Pro',Georgia,'Times New Roman',serif; --paper:#fff; --ink:#151515; --muted:#777; --line:#222; --orange:#cc3300; --blue:#007cbe; --wash:#f3f2ef; font-family:var(--sans); color:var(--ink); background:var(--paper); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.topbar { min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:0 clamp(20px,3vw,48px); border-bottom:1px solid var(--line); }
.brand { color:var(--blue); font-size:17px; font-weight:700; letter-spacing:0; white-space:nowrap; }
.brand span { color:var(--orange); }
.topbar small,.topnav,.eyebrow,.section-label,.meta,.filter button,.caption-index,.foot { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; text-transform:uppercase; letter-spacing:.11em; }
.topbar small { color:#777; font-size:10px; white-space:nowrap; }
.topnav { display:flex; gap:clamp(16px,2.4vw,36px); align-items:center; font-size:11px; font-weight:700; }
.topnav a:hover,.topnav a[aria-current] { color:var(--blue); }
.topnav .submit { border:1px solid var(--ink); padding:10px 15px; border-radius:0; }
.topnav .submit:hover { color:white; background:var(--ink); }
.wrap { margin:0 auto; max-width:1600px; padding:0 clamp(20px,3vw,48px); }
.issue { display:flex; justify-content:space-between; gap:16px; padding:23px 0 0; color:var(--muted); font:11px ui-monospace,SFMono-Regular,Consolas,monospace; text-transform:uppercase; letter-spacing:.14em; }
.masthead { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr); gap:30px; align-items:end; padding:30px 0 35px; border-bottom:1px solid var(--line); }
h1 { margin:0; font-size:clamp(80px,11vw,178px); line-height:.78; font-weight:700; letter-spacing:0; }
h1 span { color:var(--orange); }
h1 em { color:var(--blue); font-style:normal; }
.intro { border-left:1px solid var(--line); padding-left:clamp(22px,3vw,50px); align-self:end; padding-bottom:7px; }
.intro p { font-family:var(--serif); font-size:clamp(21px,2vw,30px); line-height:1.3; margin:0 0 20px; max-width:19em; }
.intro a { font:700 11px ui-monospace,monospace; letter-spacing:.1em; text-transform:uppercase; color:var(--blue); border-bottom:1px solid var(--blue); padding-bottom:5px; }
.tools { display:grid; grid-template-columns:1fr auto; align-items:end; gap:20px; padding:25px 0 23px; border-bottom:1px solid var(--line); }
.section-label { font-size:11px; color:var(--muted); margin:0 0 9px; }
h2 { font-size:clamp(28px,3.8vw,54px); line-height:1; letter-spacing:0; margin:0; }
.search { display:flex; align-items:center; gap:12px; border-bottom:1px solid var(--ink); padding:0 0 10px; width:min(30vw,320px); }
.search label { font-size:20px; line-height:1; }
.search input { border:0; background:transparent; min-width:0; width:100%; outline:none; font-size:14px; }
.search input:focus-visible { outline:2px solid var(--blue); }
.filter { display:flex; gap:5px; flex-wrap:wrap; padding:17px 0 23px; }
.filter button { border:1px solid #d6d6d6; padding:10px 13px; background:white; color:#424242; cursor:pointer; font-size:10px; min-height:44px; }
.filter button:hover,.filter button[aria-pressed="true"] { border-color:var(--ink); background:var(--ink); color:#fff; }
.gallery { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(16px,2.15vw,32px); }
.card { grid-column:span 3; min-width:0; border-top:1px solid var(--line); padding-top:11px; }
.card.wide { grid-column:span 6; }
.card-head { display:flex; justify-content:space-between; gap:8px; align-items:baseline; margin-bottom:12px; }
.caption-index { font-size:10px; color:var(--orange); }
.card-head .type { color:var(--muted); font:10px ui-monospace,monospace; text-transform:uppercase; letter-spacing:.06em; text-align:right; }
.card .photo { display:block; overflow:hidden; background:var(--wash); aspect-ratio:4/3; }
.card.wide .photo { aspect-ratio:16/9; }
.card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.card a:hover img { transform:scale(1.035); }
.card h3 { margin:13px 0 6px; font-size:clamp(20px,2vw,29px); line-height:1.08; letter-spacing:0; }
.card p { margin:0; color:#5f5f5f; font:14px var(--serif); }
.card .km { margin-top:9px; color:var(--blue); font:700 11px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; text-transform:uppercase; }
.card .km strong { font-weight:700; color:var(--ink); }
.card[hidden] { display:none !important; }
.archive-note { margin:38px 0 0; padding:27px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center; gap:20px; }
.archive-note strong { font-size:clamp(20px,2.4vw,34px); letter-spacing:0; }
.archive-note a { color:var(--blue); font:700 11px ui-monospace,monospace; text-transform:uppercase; letter-spacing:.08em; }
.foot { display:flex; justify-content:space-between; gap:16px; padding:27px 0 40px; font-size:10px; color:var(--muted); }
.foot nav { display:flex; gap:20px; flex-wrap:wrap; }
.foot a:hover { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
@media (max-width:950px) { .topbar small { display:none; } .masthead { grid-template-columns:1fr; } .intro { border-left:0; padding-left:0; max-width:600px; } .card { grid-column:span 6; } .card.wide { grid-column:span 6; } }
@media (max-width:640px) { .topbar { flex-wrap:wrap; padding-top:15px; padding-bottom:15px; gap:12px; } .topnav { width:100%; justify-content:space-between; gap:8px; font-size:9px; } .topnav .submit { padding:9px 7px; } .issue span:last-child { display:none; } h1 { font-size:clamp(60px,17vw,105px); } .tools { grid-template-columns:1fr; } .search { width:100%; } .card,.card.wide { grid-column:span 12; } .card .photo,.card.wide .photo { aspect-ratio:4/3; } .archive-note,.foot { flex-direction:column; align-items:flex-start; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .card img { transition:none; } }
.skip { position:absolute; left:-9999px; top:0; background:#fff; z-index:20; padding:12px; }
.skip:focus { left:12px; }
.masthead.compact { padding:34px 0 42px; }
.masthead.compact h1 { font-size:clamp(72px,10vw,145px); }
.masthead h1 em { font-style:normal; color:var(--blue); }
.filter a { display:inline-flex; align-items:center; border:1px solid #d6d6d6; padding:10px 13px; color:#424242; font:10px ui-monospace,monospace; text-transform:uppercase; letter-spacing:.11em; min-height:44px; }
.filter a[aria-current="page"],.filter a:hover { background:var(--ink); color:#fff; border-color:var(--ink); }
.search button,.action { border:1px solid var(--ink); background:var(--ink); color:#fff; padding:12px 18px; min-height:44px; cursor:pointer; font-weight:bold; }
.search button:hover,.action:hover { background:var(--blue); border-color:var(--blue); }
.search { width:min(38vw,420px); }
.search input { font-size:15px; }
.card .km { font-size:12px; }
.card .place { margin-top:5px; }
.pagination { display:flex; gap:20px; align-items:center; padding:35px 0; border-top:1px solid var(--line); font:12px ui-monospace,monospace; }
.pagination a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.detail { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr); gap:clamp(25px,4vw,70px); margin:40px 0 70px; }
.detail img { display:block; width:100%; height:auto; background:var(--wash); }
.detail h1,.form-page h1 { font-size:clamp(40px,5vw,75px); line-height:1; letter-spacing:0; margin:0 0 25px; }
.detail dl { border-top:1px solid var(--line); margin:25px 0; }
.detail dl div { border-bottom:1px solid #ddd; padding:13px 0; display:grid; grid-template-columns:130px 1fr; gap:12px; }
.detail dt { color:var(--muted); } .detail dd { margin:0; }
.detail .description { white-space:pre-line; line-height:1.55; }
.detail-map { margin-top:32px; border-top:1px solid var(--ink); padding-top:24px; }
.detail-map h2 { font-size:clamp(23px,2.4vw,34px); margin:0 0 16px; }
.detail-map .map-consent,.detail-map .find-map { min-height:280px; }
.detail-map .map-consent { padding:clamp(20px,3vw,34px); }
.detail-map .map-consent p { font:15px/1.5 var(--sans); margin:0 0 20px; }
.detail-map .map-credit { margin:12px 0; }
.map-more { color:var(--blue); text-decoration:underline; text-underline-offset:3px; font-weight:bold; }
.detail dd a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.detail dd a:hover { color:var(--orange); }
.active-filters { margin:18px 0 0; line-height:1.5; }
.active-filters a { color:var(--blue); text-decoration:underline; margin-left:12px; }
.form-page { max-width:540px; padding:60px 0 90px; }
.form-page label { display:block; font-weight:bold; margin:22px 0 7px; }
.form-page input,.form-page select,.form-page textarea { width:100%; min-height:48px; border:1px solid #777; padding:12px; border-radius:0; background:#fff; font:inherit; }
.form-page input[type=file] { height:auto; }
.form-page .action { margin-top:25px; }
.alert { padding:14px; border:2px solid var(--orange); color:#671d00; }
@media (max-width:950px) { .detail { grid-template-columns:1fr; } }
@media (max-width:640px) { .search { width:100%; } .search button { padding:10px; } .detail dl div { grid-template-columns:100px 1fr; } }
.map-intro { padding:clamp(35px,5vw,75px) 0; border-bottom:1px solid var(--line); }
.map-intro h1 { font-size:clamp(44px,7vw,100px); line-height:1; margin:0 0 25px; }
.map-intro>p:last-child { max-width:650px; line-height:1.55; font:clamp(19px,2.2vw,24px) var(--serif); }
.map-filters { display:flex; flex-wrap:wrap; align-items:end; gap:16px; padding:24px 0; }
.map-filters label { display:grid; gap:7px; font-size:13px; font-weight:bold; }
.map-filters input,.map-filters select { min-height:44px; border:1px solid #777; padding:8px; background:white; }
.map-filters input { width:110px; }
.map-filters .reset { color:var(--blue); text-decoration:underline; padding:12px; }
.map-summary { padding:16px 0; border-top:1px solid #ddd; font-weight:bold; }
.map-split { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(240px,.8fr); gap:28px; margin:20px 0 55px; }
.map-panel h2,.km-list h2 { font-size:clamp(26px,3vw,40px); margin-bottom:15px; }
.map-consent,.find-map { min-height:480px; border:1px solid #bbc9ce; background:#ecf0ee; }
.map-consent { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:clamp(24px,5vw,75px); }
.map-consent p { max-width:540px; font-size:18px; line-height:1.5; }
.map-consent[hidden],.find-map[hidden] { display:none; }
.map-credit { font-size:12px; line-height:1.5; color:#555; }
.map-credit a { text-decoration:underline; }
.km-list ol { margin:0; padding:0; list-style:none; max-height:510px; overflow:auto; border-top:1px solid #ddd; }
.km-list li a { display:flex; justify-content:space-between; gap:14px; padding:12px 4px; border-bottom:1px solid #ddd; font-size:14px; }
.km-list li a:hover,.km-list li a[aria-current] { color:var(--blue); background:#edf6fb; }
.km-list li a span:last-child { white-space:nowrap; }
.map-results { margin:30px 0 80px; border-top:2px solid var(--ink); padding-top:25px; }
.map-results>p { line-height:1.5; }
@media (max-width:950px) { .map-split { grid-template-columns:1fr; } .km-list ol { max-height:350px; } }
.info-page { max-width:790px; padding:60px 0 100px; line-height:1.6; }
.info-page h1 { font-size:clamp(38px,6vw,76px); line-height:1; letter-spacing:0; margin:0 0 34px; }
.info-page h2 { font-size:clamp(24px,3vw,34px); margin:40px 0 12px; }
.info-page p,.info-page address { font-size:17px; }
.info-page address { font-style:normal; }
.info-page .lead { font:clamp(23px,2.6vw,30px)/1.4 var(--serif); }
.info-page .source-note { color:#555; font-size:14px; }
.info-page a:not(.action) { color:var(--blue); text-decoration:underline; }
.info-page .info-action { display:inline-block; text-decoration:none; }
.notice { padding:18px; border-left:4px solid var(--blue); background:var(--wash); line-height:1.5; }
.social-panel { max-width:820px; margin:50px 0; border-top:2px solid var(--ink); padding-top:25px; }
.social-panel h2 { font-size:clamp(26px,3vw,42px); margin-bottom:18px; }
.social-panel a { color:var(--blue); text-decoration:underline; }
.rating-summary strong { font-size:clamp(24px,3vw,36px); color:var(--blue); }
.social-form { display:grid; gap:12px; max-width:560px; margin:24px 0; }
.social-form label { font-weight:bold; }
.social-form select,.social-form textarea { border:1px solid #777; padding:12px; font:inherit; width:100%; min-height:44px; }
.social-form select { max-width:210px; }
.social-form textarea { min-height:120px; resize:vertical; }
.social-form .action { justify-self:start; }
.social-form p { margin:0; color:#555; line-height:1.5; }
.comment-list { list-style:none; margin:0; padding:0; border-top:1px solid #ddd; }
.comment-list li { padding:20px 0; border-bottom:1px solid #ddd; }
.comment-list p { white-space:pre-line; line-height:1.55; overflow-wrap:anywhere; }
.comment-by { display:flex; flex-wrap:wrap; gap:10px; align-items:baseline; }
.comment-by time { color:#555; font-size:13px; }
.admin-page { max-width:900px; padding:60px 0 100px; }
.admin-page h1 { font-size:clamp(38px,6vw,76px); line-height:1; margin:0 0 30px; }
.admin-page h2 { margin:45px 0 18px; font-size:clamp(25px,3vw,38px); }
.admin-page button,.member-role select { min-height:44px; padding:8px 12px; font:inherit; border:1px solid var(--ink); background:#fff; cursor:pointer; }
.review-item { padding:24px 0; border-top:1px solid #ccc; overflow-wrap:anywhere; }
.review-item h3 { margin:0 0 10px; }
.review-item img { max-width:100%; height:auto; display:block; margin:15px 0; }
.review-item form { display:inline-block; margin:0 10px 10px 0; }
.review-item a,.admin-page a,.form-page a { color:var(--blue); text-decoration:underline; }
.member-role { display:flex; flex-wrap:wrap; gap:10px; align-items:center; border-top:1px solid #ddd; padding:10px 0; }
.member-role label { min-width:180px; }
.upload-page { max-width:650px; }
@media (max-width:640px) { .map-consent,.find-map { min-height:340px; } .map-filters label:first-child { width:100%; } .map-filters select { width:100%; } .topnav { flex-wrap:wrap; justify-content:flex-start; font-size:11px; gap:4px 12px; } .topnav a { display:inline-flex; align-items:center; min-height:44px; } .member-role label,.member-role select,.member-role button { width:100%; } }


/* Backend (Administration und Mitgliederbereich) */
.backend-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 28px; border-bottom:2px solid var(--ink); }
.backend-tabs a { padding:12px 16px; min-height:44px; box-sizing:border-box; text-decoration:none!important; color:var(--ink)!important; font-weight:bold; border:1px solid transparent; }
.backend-tabs a[aria-current=page] { background:var(--ink); color:#fff!important; }
.backend-tabs a:hover { border-color:var(--ink); }
.backend-filter { display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center; margin:0 0 20px; }
.backend-filter input,.backend-filter select { min-height:44px; padding:8px 12px; font:inherit; border:1px solid #777; background:#fff; }
.inline-form { display:inline-block; margin:0 10px 10px 0; }
.inline-form label { margin-right:8px; }
.stat-list { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.stat-list li { border:1px solid #ccc; padding:14px; }
.stat-list strong { display:block; font-size:34px; }
.admin-row { display:flex; gap:18px; align-items:flex-start; }
.admin-row img { width:90px; height:90px; object-fit:cover; margin:0; flex:none; }
.profile-forms { max-width:540px; padding-top:0; }
.profile-forms h2,.form-page h2 { margin:40px 0 10px; font-size:26px; }
.form-page fieldset { border:1px solid #777; padding:12px 16px; margin:20px 0 0; }
.form-page fieldset label { font-weight:normal; display:flex; gap:10px; align-items:flex-start; }
.form-page fieldset input { width:auto; min-height:0; margin-top:4px; }
.admin-page button:focus-visible,.backend-tabs a:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }

/* Dashboard */
.user-pill { background:var(--orange); color:#fff!important; padding:8px 14px; font-weight:bold; text-decoration:none; }
.user-pill:hover,.user-pill:focus-visible { background:#a82a00; }
.dashboard { display:grid; grid-template-columns:240px minmax(0,1fr); gap:40px; padding:40px 0 90px; align-items:start; }
.dash-side { position:sticky; top:20px; border:1px solid var(--ink); background:var(--wash); }
.dash-group { margin:0; padding:14px 16px 6px; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:#555; font-weight:bold; }
.dash-side ul { list-style:none; margin:0; padding:0 0 8px; }
.dash-side a,.dash-logout { display:flex; justify-content:space-between; align-items:center; gap:8px; width:100%; box-sizing:border-box; min-height:44px; padding:10px 16px; color:var(--ink); text-decoration:none; font:inherit; font-weight:bold; border:0; background:none; border-left:4px solid transparent; cursor:pointer; text-align:left; }
.dash-side a:hover,.dash-logout:hover { background:#fff; }
.dash-side a[aria-current=page] { background:#fff; border-left-color:var(--orange); }
.dash-side a:focus-visible,.dash-logout:focus-visible { outline:3px solid var(--blue); outline-offset:-3px; }
.dash-logout { border-top:1px solid #ccc; color:#671d00; }
.dash-badge { background:var(--orange); color:#fff; border-radius:12px; padding:1px 8px; font-size:13px; }
.dash-main .admin-page,.dash-main .form-page { max-width:none; padding:0; }
.dash-main .admin-page h1,.dash-main .form-page h1 { font-size:clamp(30px,4vw,52px); margin-bottom:18px; }
.dash-main .form-page form,.dash-main .profile-forms { max-width:560px; }
.dash-main .form-page h2:first-child { margin-top:0; }
.edit-link { display:inline-block; min-height:44px; line-height:44px; margin-right:14px; font-weight:bold; }
@media (max-width:820px) { .dashboard { grid-template-columns:1fr; gap:24px; } .dash-side { position:static; } }
.admin-page button.action,.dash-main button.action { background:var(--ink); color:#fff; border:1px solid var(--ink); min-height:44px; padding:12px 18px; font-weight:bold; }
.admin-page button.action:hover,.dash-main button.action:hover { background:var(--blue); border-color:var(--blue); }

.map-remember { font-size:14px!important; color:#444; }
.map-revoke-line { margin:8px 0 0; }
.linklike { background:none; border:0; padding:8px 0; min-height:44px; color:var(--blue); text-decoration:underline; font:inherit; cursor:pointer; }
.linklike[hidden] { display:none; }

/* Mauerwerk-Layout: Kacheln stapeln sich spaltenweise ohne Lücken; Hochkantbilder in voller Breite */
.gallery { display:block; column-count:4; column-gap:clamp(16px,2.15vw,32px); }
.gallery .card { display:inline-block; width:100%; margin:0 0 clamp(20px,2.5vw,36px); break-inside:avoid; -webkit-column-break-inside:avoid; }
.card.portrait .photo { aspect-ratio:auto; background:var(--wash); }
.card.portrait img { height:auto; object-fit:contain; }
@media (max-width:950px) { .gallery { column-count:2; } }
@media (max-width:480px) { .gallery { column-count:1; } }

/* Fund-Pagination */
.find-pager { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:center; margin:6px 0 22px; padding:0; }
.find-pager-bottom { margin:40px 0 0; }
.find-pager a { display:flex; flex-direction:column; min-height:44px; justify-content:center; padding:6px 0; color:var(--ink); font-weight:bold; text-decoration:none; }
.find-pager a:hover,.find-pager a:focus-visible { color:var(--blue); }
.find-pager small { font-weight:normal; color:var(--muted); font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
.find-pager .next { text-align:right; align-items:flex-end; }
@media (max-width:640px) { .find-pager { grid-template-columns:1fr 1fr; } }

.detail-crumb { margin-top:34px; }

/* Detailseite: Bewertungen/Kommentare unter dem Bild (Desktop/Tablet), auf dem Handy erst Daten, dann Bewertungen */
.detail { grid-template-areas:"image info" "social info"; grid-template-rows:auto 1fr; align-items:start; }
.detail-image { grid-area:image; min-width:0; }
.detail-info { grid-area:info; min-width:0; }
.detail-social { grid-area:social; min-width:0; }
.detail-social .social-panel { max-width:none; margin:10px 0 0; }
@media (max-width:950px) { .detail { grid-template-areas:"image" "info" "social"; grid-template-rows:auto; } }

/* Kilometer-Auswahl auf der Upload-Seite */
.km-picker { margin:14px 0 4px; }
.km-picker[hidden] { display:none; }
.km-picker .map-consent,.km-picker .find-map { min-height:360px; }
.km-picker .map-consent { padding:clamp(18px,3vw,30px); }
.km-picker .map-consent p { font:15px/1.5 var(--sans); margin:0 0 18px; }
.km-picker .find-map { cursor:crosshair; }
.km-picker-status { min-height:1.5em; margin:8px 0 0; color:#333; }

/* Einfacher Texteditor (Stil angelehnt an TinyMCE) */
.rte { border:1px solid #cccccc; border-radius:4px; background:#fff; overflow:hidden; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.rte:focus-within { border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,124,190,.25); }
.rte-toolbar { display:flex; flex-wrap:wrap; gap:2px; align-items:center; padding:5px 6px; border-bottom:1px solid #ccc; background:#f4f5f7; }
.rte-toolbar button { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; min-height:34px; min-width:34px; padding:0; border:1px solid transparent; border-radius:3px; background:transparent; color:#222f3e; cursor:pointer; font:inherit; }
.rte-toolbar button:hover { background:#e4e6ea; }
.rte-toolbar button:focus-visible { outline:2px solid var(--blue); outline-offset:1px; }
.rte-toolbar button[aria-pressed=true] { background:#cfd6e0; border-color:#b6c0cd; }
.rte-sep { width:1px; height:22px; margin:0 5px; background:#cfd3d8; }
.rte-area { padding:12px 14px; line-height:1.55; overflow-wrap:anywhere; outline:none; background:#fff; font-size:16px; }
.rte-area.rte-invalid { box-shadow:inset 0 0 0 2px var(--orange); }
.rte-area p { margin:0 0 .8em; } .rte-area ul,.rte-area ol { margin:0 0 .8em; padding-left:1.6em; }
.rte-status { display:flex; justify-content:space-between; gap:12px; padding:5px 10px; border-top:1px solid #e1e3e6; background:#f4f5f7; color:#555; font:12px/1.4 var(--sans); min-height:18px; }
.rte-count.over { color:#b00020; font-weight:bold; }
.rte-hint { font-size:14px; color:#555; margin:6px 0 0; }
.form-page .rte textarea,.social-form .rte textarea { border:0; border-radius:0; }
.rich p { margin:0 0 .8em; } .rich p:last-child { margin-bottom:0; }
.rich ul,.rich ol { margin:0 0 .8em; padding-left:1.6em; }
.detail .description.rich { white-space:normal; }

/* Schaltflächen: Standard blau, zerstörerische Aktionen orange (weiße Schrift) */
.search button,.action,.topnav .submit,.admin-page button.action,.dash-main button.action { background:var(--blue); border:1px solid var(--blue); color:#fff; }
.search button:hover,.action:hover,.topnav .submit:hover,.admin-page button.action:hover,.dash-main button.action:hover { background:#005f91; border-color:#005f91; color:#fff; }
.topnav .submit { font-weight:bold; }
.admin-page a.edit-link,.dash-main a.edit-link { display:inline-flex; align-items:center; min-height:44px; line-height:1.2; padding:8px 18px; margin:0 10px 10px 0; background:var(--blue); border:1px solid var(--blue); color:#fff; font-weight:bold; text-decoration:none; box-sizing:border-box; vertical-align:top; }
.admin-page a.edit-link:hover,.dash-main a.edit-link:hover { background:#005f91; border-color:#005f91; }
button.danger,.admin-page button.danger,.dash-main button.danger,.action.danger,.admin-page button.action.danger,.dash-main button.action.danger { background:var(--orange); border:1px solid var(--orange); color:#fff; font-weight:bold; }
button.danger:hover,.admin-page button.danger:hover,.dash-main button.danger:hover,.action.danger:hover,.admin-page button.action.danger:hover,.dash-main button.action.danger:hover { background:#a82a00; border-color:#a82a00; color:#fff; }
.search button:focus-visible,.action:focus-visible,.topnav .submit:focus-visible,a.edit-link:focus-visible,button.danger:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }

/* Kategorie-Filter: Alle = blau gefüllt, Kategorien = blauer Rahmen/Schrift, Partnergewässer = orange gefüllt */
.filter a { border-color:var(--blue); color:var(--blue); background:#fff; font-weight:bold; }
.filter a:hover,.filter a:focus-visible,.filter a[aria-current="page"] { background:var(--blue); border-color:var(--blue); color:#fff; }
.filter a.cat-all { background:var(--blue); border-color:var(--blue); color:#fff; }
.filter a.cat-all:hover,.filter a.cat-all:focus-visible { background:#005f91; border-color:#005f91; }
.filter a.cat-partner { background:var(--orange); border-color:var(--orange); color:#fff; }
.filter a.cat-partner:hover,.filter a.cat-partner:focus-visible { background:#a82a00; border-color:#a82a00; }
.filter a:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }

.info-page .register-line { margin-top:22px; }

.rte-error { margin:6px 0 0; color:#b00020; font-weight:bold; }
.rte-error[hidden] { display:none; }

/* Kartenseite: Sprunglinks, Partnergewässer */
.map-anchors { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 22px; }
.map-anchors a { display:inline-flex; align-items:center; min-height:44px; padding:8px 18px; background:var(--blue); color:#fff; font-weight:bold; text-decoration:none; border:1px solid var(--blue); }
.map-anchors a:hover,.map-anchors a:focus-visible { background:#005f91; border-color:#005f91; }
.map-anchors a[href="#partnergewaesser"] { background:var(--orange); border-color:var(--orange); }
.map-anchors a[href="#partnergewaesser"]:hover,.map-anchors a[href="#partnergewaesser"]:focus-visible { background:#a82a00; border-color:#a82a00; }
#rheinkarte,#partnergewaesser { scroll-margin-top:20px; }
.partner-section { margin-top:70px; padding-top:30px; border-top:2px solid var(--ink); }
.partner-section h2 { margin:0 0 14px; }
.partner-intro { max-width:760px; line-height:1.55; }
.partner-table h3,.partner-split .map-panel h3 { margin:0 0 12px; }
.geo-head,.geo-level>summary,.geo-places li { display:grid; grid-template-columns:1fr auto; gap:12px; align-items:center; }
.geo-head { padding:8px 12px; background:var(--wash); font:12px ui-monospace,monospace; text-transform:uppercase; letter-spacing:.08em; color:#444; }
.geo-level { border-bottom:1px solid #ddd; }
.geo-level>summary { cursor:pointer; padding:12px; min-height:44px; box-sizing:border-box; font-weight:bold; list-style:none; }
.geo-level>summary::-webkit-details-marker { display:none; }
.geo-level>summary>span:first-child::before { content:"▸"; display:inline-block; width:1.2em; color:var(--blue); }
.geo-level[open]>summary>span:first-child::before { content:"▾"; }
.geo-level>summary:hover { background:var(--wash); }
.geo-level>summary:focus-visible { outline:3px solid var(--blue); outline-offset:-3px; }
.geo-country { margin-left:18px; border-bottom:0; border-top:1px solid #eee; }
.geo-country>summary { font-weight:normal; }
.geo-count { font-variant-numeric:tabular-nums; color:#444; text-align:right; }
.geo-places { list-style:none; margin:0 0 10px 18px; padding:0; }
.geo-places li { grid-template-columns:1fr auto auto; padding:2px 8px; border-top:1px solid #f0f0f0; }
.geo-place { text-align:left; background:none; border:0; padding:10px 6px; min-height:44px; font:inherit; color:var(--blue); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.geo-place small { color:#666; text-decoration:none; margin-left:6px; }
.geo-place[aria-current=true] { color:var(--orange); font-weight:bold; }
.geo-place:focus-visible,.geo-places a:focus-visible { outline:3px solid var(--blue); outline-offset:-2px; }
.geo-places li a { white-space:nowrap; font-size:14px; }
.geo-filter { margin-top:-10px; }
.geo-filter-label { align-self:center; font:11px ui-monospace,monospace; text-transform:uppercase; letter-spacing:.1em; color:#555; min-width:80px; }
.geo-trail { margin:0 0 14px; }
@media (max-width:640px) { .geo-places li { grid-template-columns:1fr auto; } .geo-places li a { grid-column:1 / -1; padding-bottom:8px; } }

/* Standortwahl Partnergewässer */
.geo-picker { border:1px solid #777; padding:12px 16px 18px; margin:22px 0 0; }
.geo-picker[hidden] { display:none; }
.geo-picker legend { font-weight:bold; padding:0 6px; }
.geo-combo { position:relative; }
.geo-suggest { position:absolute; z-index:20; left:0; right:0; margin:2px 0 0; padding:0; list-style:none; background:#fff; border:1px solid #777; max-height:260px; overflow:auto; box-shadow:0 6px 16px rgba(0,0,0,.15); }
.geo-suggest[hidden] { display:none; }
.geo-suggest li { padding:11px 12px; min-height:44px; box-sizing:border-box; cursor:pointer; border-bottom:1px solid #eee; }
.geo-suggest li[aria-selected=true],.geo-suggest li:hover { background:var(--blue); color:#fff; }
.geo-suggest .geo-none { cursor:default; color:#555; }
.geo-suggest .geo-none:hover { background:#fff; color:#555; }
.geo-coords { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.geo-picker .map-consent,.geo-picker .find-map { min-height:340px; margin-top:16px; }
.geo-picker .map-consent { padding:clamp(18px,3vw,30px); }
.geo-picker .map-consent p { font:15px/1.5 var(--sans); margin:0 0 18px; }
.geo-picker .find-map { cursor:crosshair; }
.geo-place small { display:inline-block; text-decoration:none; margin:0 0 0 6px; }

.form-page .geo-picker input,.dash-main .geo-picker input { width:100%; min-height:48px; }
.form-page .geo-picker select { width:100%; }

/* Navigation: Umschalter Rheinschuhe | Partnergewässer, Auswahlfelder */
.mode-switch { display:flex; gap:14px; margin:6px 0 14px; flex-wrap:wrap; }
.mode-switch a { display:inline-flex; align-items:center; min-height:48px; padding:10px 26px; font-weight:bold; text-decoration:none; font-size:17px; border:1px solid var(--blue); background:#fff; color:var(--blue); }
.mode-switch a[aria-current=page] { background:var(--blue); color:#fff; }
.mode-switch a:hover:not([aria-current=page]) { background:var(--wash); }
.mode-switch a.is-partner,.mode-switch a.is-partner[aria-current=page] { background:var(--orange); border-color:var(--orange); color:#fff; }
.mode-switch a.is-partner:hover { background:#a82a00; border-color:#a82a00; color:#fff; }
.mode-switch a.is-partner[aria-current=page] { box-shadow:inset 0 0 0 3px #fff; }
.mode-switch a:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }
.nav-selects { display:none; gap:14px; flex-wrap:wrap; align-items:flex-end; margin:0 0 16px; }
.js .nav-selects-geo { display:flex; }
.js .geo-chips { display:none; }
.nav-select { display:flex; flex-direction:column; gap:5px; min-width:200px; flex:1 1 200px; max-width:320px; }
.nav-select label { font:11px ui-monospace,monospace; text-transform:uppercase; letter-spacing:.1em; color:#555; }
.nav-select select { appearance:none; -webkit-appearance:none; width:100%; min-height:48px; padding:10px 44px 10px 14px; border:1px solid var(--blue); border-radius:0; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23007cbe' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; color:var(--blue); font:inherit; font-weight:bold; cursor:pointer; }
.nav-select select:hover:not(:disabled) { background-color:var(--wash); }
.nav-select select:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }
.nav-select select:disabled { color:#888; border-color:#ccc; cursor:not-allowed; background-color:#f6f6f6; }
.nav-selects-geo .nav-select select { border-color:var(--orange); color:var(--orange); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23cc3300' stroke-width='2'/%3E%3C/svg%3E"); }
.nav-selects-geo .nav-select select:disabled { color:#888; border-color:#ccc; background-image:none; }
.nav-reset { align-self:flex-end; display:inline-flex; align-items:center; min-height:48px; color:var(--blue); text-decoration:underline; }
@media (max-width:640px) {
  .js .cat-chips { display:none; }
  .js .nav-selects-mobile { display:flex; }
  .mode-switch { width:100%; gap:10px; }
  .mode-switch a { flex:1; justify-content:center; padding:10px 8px; font-size:16px; }
  .nav-select { max-width:none; flex-basis:100%; }
}

/* Partnergewässer: Land in Orange statt Gewässer-km */
.card .km.km-country,.card .km.km-country strong { color:var(--orange); }
.detail dd strong.km-country,.detail dd strong.km-country a { color:var(--orange); }

/* Hochladen: Bereichswahl */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.area-choice { border:0; padding:0; margin:22px 0 8px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.area-choice legend { font-weight:bold; margin-bottom:10px; padding:0; }
.area-card { display:flex; gap:12px; align-items:flex-start; padding:16px 18px; min-height:48px; border:2px solid var(--blue); background:#fff; cursor:pointer; margin:0; }
.area-card input { margin-top:5px; width:20px; height:20px; accent-color:var(--blue); flex:none; }
.area-card strong { display:block; font-size:18px; color:var(--blue); }
.area-card small { display:block; font-size:14px; color:#555; margin-top:3px; }
.area-card.is-on,.area-card:has(input:checked) { background:var(--blue); }
.area-card.is-on strong,.area-card:has(input:checked) strong,.area-card:has(input:checked) small { color:#fff; }
.area-partner { border-color:var(--orange); }
.area-partner input { accent-color:var(--orange); }
.area-partner strong { color:var(--orange); }
.area-card.area-partner:has(input:checked) { background:var(--orange); }
.area-card:focus-within { outline:3px solid var(--ink); outline-offset:2px; }
.area-block { border:0; padding:0; margin:0; min-width:0; }
.area-block[hidden],.js .area-block:not(.is-active) { display:none; }
@media (max-width:640px) { .area-choice { grid-template-columns:1fr; } }
.area-block > input:not([type=hidden]),.area-block > select { width:100%; box-sizing:border-box; min-height:48px; }

/* Dashboard: Icons und Startseite mit Kacheln */
.dash-label { display:inline-flex; align-items:center; gap:10px; }
.dash-icon { flex:none; }
.dash-logout { justify-content:flex-start; }
.dash-intro { font-size:18px; margin:0 0 20px; }
.dash-subhead { margin:38px 0 16px; font-size:22px; }
.dash-tiles { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:18px; }
.dash-tile { display:flex; gap:16px; align-items:flex-start; padding:22px 20px; min-height:110px; box-sizing:border-box; border:1px solid var(--blue); background:#fff; color:var(--ink); text-decoration:none; }
.dash-tile:hover { background:var(--wash); }
.dash-tile:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }
.dash-tile-icon { flex:none; display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; background:var(--blue); color:#fff; }
.dash-tile-icon .dash-icon { width:26px; height:26px; }
.dash-tile-body { display:flex; flex-direction:column; gap:4px; min-width:0; }
.dash-tile-body strong { font-size:19px; color:var(--blue); }
.dash-tile-body span { font-size:15px; line-height:1.4; color:#444; }
.dash-tile.is-primary { background:var(--blue); }
.dash-tile.is-primary .dash-tile-icon { background:#fff; color:var(--blue); }
.dash-tile.is-primary strong,.dash-tile.is-primary .dash-tile-body span { color:#fff; }
.dash-tile.is-primary:hover { background:#005f91; }
.dash-tile.is-danger { border-color:var(--orange); }
.dash-tile.is-danger .dash-tile-icon { background:var(--orange); }
.dash-tile.is-danger strong { color:var(--orange); }
.dash-tile.is-admin { border-color:var(--ink); }
.dash-tile.is-admin .dash-tile-icon { background:var(--ink); }
.dash-tile.is-admin strong { color:var(--ink); }
.dash-tile .dash-badge { vertical-align:middle; }
.js .geo-coords:not(.show) { display:none; }

/* Admin: Einträge eines Mitglieds */
.member-entries-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:8px 16px; background:var(--blue); color:#fff; border:1px solid var(--blue); text-decoration:none; font-weight:bold; }
.member-entries-link:hover { background:#005f91; border-color:#005f91; }
.member-entries-link:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }
.entry-tabs { display:flex; gap:0; margin:22px 0 20px; border-bottom:2px solid var(--blue); flex-wrap:wrap; }
.entry-tabs a { display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:10px 22px; color:var(--blue); text-decoration:none; font-weight:bold; border:1px solid var(--blue); border-bottom:0; margin-right:6px; background:#fff; }
.entry-tabs a[aria-current=page] { background:var(--blue); color:#fff; }
.entry-tabs a:focus-visible { outline:3px solid var(--ink); outline-offset:2px; }
.table-wrap { overflow-x:auto; }
.entry-table { width:100%; border-collapse:collapse; font-size:15px; }
.entry-table th,.entry-table td { text-align:left; padding:10px 12px; border-bottom:1px solid #ddd; vertical-align:top; }
.entry-table th { background:var(--wash); font:12px ui-monospace,monospace; text-transform:uppercase; letter-spacing:.08em; }
.entry-table img { display:block; height:auto; }

.map-intro h1 .map-word { color:var(--orange); }
/* Umschalter: Rheinschuhe ist immer blau; der aktive Bereich trägt einen weißen Innenrahmen */
.mode-switch a:not(.is-partner) { background:var(--blue); color:#fff; border-color:var(--blue); }
.mode-switch a:not(.is-partner):hover { background:#005f91; border-color:#005f91; color:#fff; }
.mode-switch a[aria-current=page] { box-shadow:inset 0 0 0 3px #fff; }
