@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-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:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-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}
/* Moderne Variante: gleiche Inhalte und URLs, neues Auftreten. Aktiv mit WP_THEME=modern. */
:root {
  --bg: #faf9f6; --surface: #fff; --text: #2b2f2c; --muted: #6d746f; --line: #e8e6e0;
  --accent: #2f9e5b; --accent-ink: #1f7a43; --radius: 14px; --shadow: 0 1px 2px rgba(20,30,20,.06), 0 8px 24px rgba(20,30,20,.06);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121513; --surface: #1b1f1c; --text: #e6eae7; --muted: #9aa39d; --line: #2a302c;
    --accent: #5fcf8a; --accent-ink: #7fe0a4; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3); }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, blockquote, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.7 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.screen-reader-text:focus { clip-path: none; width: auto; height: auto; left: 8px; top: 8px; padding: 8px 14px; background: var(--surface); z-index: 99; }
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }
.inner-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Kopf: Titel links, Menü rechts, klebt oben */
#page { min-height: 100vh; display: flex; flex-direction: column; }
#header-text-nav-container { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap; padding: 14px max(24px, calc((100% - 1100px) / 2 + 24px));
  background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
#header-text-nav-container .inner-wrap { margin: 0; padding: 0; max-width: none; width: auto; }
#site-title { padding-bottom: 0; font-size: 20px; letter-spacing: -.02em; }
#site-title a { color: var(--text); text-decoration: none; }
#site-title a::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--accent); }
#site-description { margin: 2px 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.main-navigation ul { display: flex; flex-wrap: wrap; gap: 4px; }
.main-navigation a { display: block; padding: 6px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; text-decoration: none; }
.main-navigation a:hover, .main-navigation .current a { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

/* Suche im Kopf */
.head-search { position: relative; display: flex; align-items: center; gap: 10px; width: min(380px, 100%); padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.head-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.head-search .icon { flex: none; color: var(--muted); }
.head-search input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; }
.head-search input::-webkit-search-cancel-button { display: none; }
.head-search kbd { padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font: 500 12px/1.6 'Inter', sans-serif; }
.head-search:focus-within kbd { display: none; }
.head-search ul { max-height: 70vh; overflow-y: auto; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; overflow: hidden; padding: 6px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 40px rgba(20,30,20,.18); }
.head-search ul[hidden] { display: none; }
.head-search li a, .head-search li.none { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 15px; line-height: 1.35; text-decoration: none; }
.head-search li.none { color: var(--muted); }
.head-search li a:hover, .head-search li.active a { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.head-search li a.all { color: var(--accent-ink); font-weight: 600; }
.head-search li a:not(.all) { display: flex; flex-direction: column; gap: 2px; }
.head-search li strong { font-weight: 600; }
.head-search li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.45; }
mark { padding: 0 2px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 28%, transparent); color: inherit; }
@media (max-width: 640px) { .head-search { width: 100%; } .head-search kbd { display: none; } }

/* Hauptbereich */
#main { flex: 1; width: 100%; padding-top: 48px; padding-bottom: 24px; }
#primary { max-width: 100%; }
.archive-title { margin-bottom: 28px; font-size: 34px; }

/* Startseite/Kategorien: Karten */
.card-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.card .entry-title { font-size: 22px; }
.card .entry-title a { color: var(--text); text-decoration: none; }
.card .entry-title a:hover { color: var(--accent-ink); }
.card .excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card .entry-meta { padding: 0; font-size: 13px; }
.card .entry-meta .byline, .card .entry-meta .cat-links { display: none; }
.card .more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Meta-Zeile */
.entry-meta { padding: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.entry-meta .byline, .entry-meta .cat-links, .entry-meta .posted-on, .entry-meta .comments-link { display: inline-block; margin: 0 16px 4px 0; }
.entry-meta .sep { display: none; }
.entry-meta a { color: var(--muted); text-decoration: none; }
.entry-meta a:hover { color: var(--accent-ink); }
.entry-meta .icon { margin-right: 5px; color: var(--accent); }

/* Beitrag: schmale Lesespalte */
.hentry { max-width: 680px; margin: 0 auto 48px; }   /* ~70 Zeichen je Zeile */
.hentry .entry-title { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.03em; }
.post-featured-image { margin: 28px 0 32px; }
.hentry > .entry-title + .entry-content { margin-top: 32px; }   /* Seiten ohne Meta-Zeile (Über uns, Impressum …): Luft unter der Überschrift */
@media (min-width: 840px) { .post-featured-image { margin-left: -40px; margin-right: -40px; } }   /* Bild darf breiter sein als der Text */
.post-featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.entry-content { font-size: clamp(17px, 16px + 0.3vw, 19px); line-height: 1.75; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; font-size: 26px; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-content img { border-radius: 10px; }
.entry-content figcaption { margin-top: 6px; color: var(--muted); font-size: 14px; }
.entry-content iframe, .entry-content video { width: 100%; border-radius: 10px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; }
blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); font-size: 1.05em; }
.entry-content .gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-left: -60px; margin-right: -60px; }
@media (max-width: 900px) { .entry-content .gallery { margin-left: 0; margin-right: 0; } }
.entry-content .gallery a { display: block; overflow: hidden; border-radius: 10px; background: var(--line); }
.entry-content .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .35s; }
.entry-content .gallery a:hover img { transform: scale(1.06); }

/* Blättern */
.paging-navigation, .post-navigation { display: flex; justify-content: space-between; gap: 16px; max-width: 680px; margin: 0 auto 48px; font-weight: 600; }
.paging-navigation { max-width: none; margin-top: 40px; }
.post-navigation .nav-next { margin-left: auto; text-align: right; }
.paging-navigation a, .post-navigation a { text-decoration: none; }
.paging-navigation a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

/* Kommentare */
#comments { max-width: 680px; margin: 0 auto 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments-title { margin-bottom: 20px; font-size: 22px; }
.comment-list, .comment-list .children { display: grid; gap: 16px; }
.comment-list .children { margin: 16px 0 0 20px; padding-left: 16px; border-left: 2px solid var(--line); }
.comment header { margin-bottom: 6px; font-size: 14px; }
.comment-author { font-weight: 600; }
.comment-date { margin-left: 10px; color: var(--muted); }
.comment-content { padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 16px; }
.comment-content p + p { margin-top: .7em; }
.comments-closed { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Formularelemente */
.search-row input, #q { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
#q:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button { padding: 10px 18px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
button:hover { background: var(--accent-ink); }
#q { width: 100%; font-size: 17px; }

/* Flaggenkette (Startseite): die Reise nach Ländern, ~100 px hoch */
.flag-chain { margin: 0 0 48px; padding: 4px 0 10px; overflow-x: auto; scrollbar-width: thin; }
.flag-chain ol { display: flex; align-items: flex-start; width: max-content; margin: 0 auto; padding: 0 8px; }
.flag-chain li { position: relative; }
.flag-chain li + li { margin-left: 34px; }
.flag-chain li + li::before { content: ""; position: absolute; top: 21px; left: -34px; width: 34px; border-top: 2px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); }
.flag-chain a { display: grid; justify-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; transition: transform .18s ease, color .18s; }
.flag-chain a:hover { color: var(--accent-ink); transform: translateY(-3px); }
.flag-chain img { display: block; width: 56px; height: 42px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.flag-tip { position: fixed; z-index: 40; max-width: 280px; padding: 12px 15px 13px; border-radius: 12px; background: var(--text); color: var(--bg); box-shadow: 0 10px 30px rgba(20,30,20,.28); font-size: 13px; line-height: 1.45; pointer-events: none; }
.flag-tip[hidden] { display: none; }
.flag-tip::before { content: ""; position: absolute; top: -6px; left: var(--arrow, 50%); width: 12px; height: 12px; margin-left: -6px; background: var(--text); transform: rotate(45deg); border-radius: 2px; }
.flag-tip span { position: relative; display: block; }
.flag-tip .t { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.flag-tip .m { margin-top: 2px; opacity: .85; }
.flag-tip .s { margin-top: 6px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--bg) 22%, transparent); font-size: 12px; opacity: .7; }
.flag-chain .to-map a { margin-top: 5px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.flag-chain .to-map::before { border-top-style: solid !important; }

/* 404 */
.notfound { max-width: 640px; margin: 24px auto 0; text-align: center; }
.notfound .code { color: var(--accent-ink); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.notfound h1 { margin: 6px 0 16px; font-size: clamp(42px, 8vw, 72px); letter-spacing: -.035em; }
.notfound p { color: var(--muted); font-size: 18px; }
.notfound .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 28px; }
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--accent-ink); color: #fff; }
.notfound + .route { margin-top: 56px; }

/* Reiseroute */
.route { scroll-margin-top: 90px; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.route h2 { font-size: 30px; }
.route-sub { margin: 6px 0 28px; color: var(--muted); font-size: 15px; }
.route-body { display: grid; gap: 32px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) {
  .route-body { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
  /* Karte läuft beim Scrollen der Liste mit, damit der vergrößerte Pin immer zu sehen ist */
  .route svg { position: sticky; top: 88px; width: auto; max-width: 100%; height: min(calc(100vh - 110px), 760px); aspect-ratio: 720 / 946; }
}
.route svg { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.route .land path { fill: var(--line); stroke: var(--surface); stroke-width: 1; stroke-linejoin: round; }
.route .land path.visited { fill: color-mix(in srgb, var(--accent) 22%, var(--surface)); }
.route .line { fill: none; stroke: var(--accent-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
@media (prefers-reduced-motion: no-preference) { .route .line { stroke-dashoffset: 1; animation: route-draw 4s .3s ease-out forwards; } }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
.route .pins circle { fill: var(--surface); stroke: var(--accent-ink); stroke-width: 2; transition: fill .15s; }
.route .pins text { fill: var(--accent-ink); font: 600 10px 'Inter', sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.route .pins a { transform-box: fill-box; transform-origin: center; transition: transform .18s ease; }
.route .pins a.hot, .route .pins a:hover { transform: scale(2.1); }
.route .pins a.hot circle, .route .pins a:hover circle { fill: var(--accent); stroke: var(--accent-ink); }
.route .pins a.hot text, .route .pins a:hover text { fill: #fff; }
.route .lost rect { fill: #e8603c; }
.route .lost text { fill: #fff; font: 600 19px 'Inter', sans-serif; text-anchor: middle; dominant-baseline: central; }
.route .lost .dot { fill: #e8603c; stroke: #fff; stroke-width: 3; }
.route .lost .pulse { fill: none; stroke: #e8603c; stroke-width: 3; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .route .lost .pulse { animation: lost-pulse 2s ease-out infinite; } }
@keyframes lost-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.route-list { display: grid; gap: 2px; counter-reset: none; }
.route-list a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.route-list a:hover, .route-list a.hot { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.route-list .n { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--accent-ink); border-radius: 50%; color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.route-list b { font-weight: 600; }
.route-list .c { color: var(--muted); font-size: 14px; }

/* Fuß */
.footer-socket-wrapper { margin-top: 24px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-socket-wrapper .inner-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-socket-wrapper a { color: var(--muted); }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Lightbox */
#lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
#lightbox::backdrop { background: rgba(8,10,9,.94); backdrop-filter: blur(6px); }
#lightbox .lb-stage { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
#lb-img { max-width: 96vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
#lb-cap { padding: 0 16px; color: rgba(255,255,255,.8); font-size: 14px; text-align: center; }
#lb-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.65); font-size: 13px; }
#lightbox [data-lb] { position: absolute; width: 44px; height: 44px; padding: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; }
#lightbox [data-lb]:hover { background: rgba(255,255,255,.26); }
#lightbox [data-lb="close"] { top: 14px; right: 14px; }
#lightbox [data-lb="prev"], #lightbox [data-lb="next"] { top: 50%; transform: translateY(-50%); }
#lightbox [data-lb="prev"] { left: 14px; }
#lightbox [data-lb="next"] { right: 14px; }

/* Suche */
#results { display: grid; gap: 22px; }
#results a { color: var(--text); font-size: 20px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
#results a:hover { color: var(--accent-ink); }
#results p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
#search-status { margin: 12px 0 20px; color: var(--muted); font-size: 14px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .inner-wrap { padding: 0 18px; }
  #header-text-nav-container { position: static; padding: 12px 18px; }   /* am Handy nicht kleben: spart Platz */
  #main { padding-top: 32px; }
  .card-grid { grid-template-columns: 1fr; }
}

/* Icon-Sammlung und Suchfeld ohne Inline-Style (strenge CSP) */
.sprite { position: absolute; width: 0; height: 0; }

/* Screenshot der alten Seite in „Über uns" */
.entry-content figure.shot img { border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Hinweis-Box („Stand: …“) am Anfang eines Beitrags */
.notice { margin: 0 0 1.6em; padding: 14px 18px; border: 1px solid var(--line); border-left: 4px solid var(--hot, #e8603c); border-radius: 10px; background: var(--surface); font-size: .92em; line-height: 1.55; }
.notice strong { display: block; margin-bottom: 2px; }
.notice p { margin: 0; color: var(--muted); }
