/* Europe4strays shared chrome: masthead, donate, socials, card row.
   Used by index.html and blog.html. Tokens come from scrollcraft.css. */

.site-head { position: sticky; top: 0; z-index: var(--sc-z-chrome); display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); flex-wrap: wrap; padding: .9rem var(--sc-gutter); background: var(--sc-canvas); border-bottom: 1px solid var(--sc-hairline-strong); }
.head-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--sc-ink); text-decoration: none; font: 560 1.15rem/1 var(--sc-font-display); }
.head-brand .head-logo { width: 2.4rem; height: 2.4rem; border-radius: 8px; display: block; box-shadow: 0 1px 3px rgba(12, 50, 71, .25); }
.head-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.7rem); margin-right: auto; overflow-x: auto; scrollbar-width: none; }
.head-nav::-webkit-scrollbar { display: none; }
.head-nav a { color: var(--sc-ink-soft); text-decoration: none; font: 500 var(--sc-t-sm)/1.2 var(--sc-font-text); letter-spacing: .04em; white-space: nowrap; transition: color 140ms var(--sc-ease-out); }
.head-nav a:hover { color: var(--sc-accent); }
.head-nav a[aria-current="page"] { color: var(--sc-ink); font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: .8rem; }
.soc { display: inline-flex; color: var(--sc-ink-soft); transition: color 140ms var(--sc-ease-out); }
.soc:hover { color: var(--sc-accent); }
.soc svg { width: 1.15rem; height: 1.15rem; }
.donate-btn { display: inline-block; font: 600 var(--sc-t-sm)/1 var(--sc-font-text); color: var(--sc-accent-ink); background: var(--sc-accent); border-radius: var(--sc-r-sm); padding: .62rem .95rem; text-decoration: none; white-space: nowrap; transition: transform 140ms var(--sc-ease-out); }
.donate-btn:hover { transform: translateY(-1px); }
.donate-btn:active { transform: translateY(1px) scale(.97); }
/* the header button carries a short label for narrow screens */
.donate-btn .d-short { display: none; }
.site-head select { font: 500 var(--sc-t-xs)/1 var(--sc-font-text); color: var(--sc-ink-soft); background: transparent; border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-sm); padding: .38rem .45rem; cursor: pointer; }
/* mobile: brand + socials + language + donate all share the first row,
   the nav takes its own scrollable row underneath */
@media (max-width: 900px) {
  .site-head { gap: .5rem .6rem; padding: .7rem 1rem; }
  .site-head .donate-btn .d-long { display: none; }
  .site-head .donate-btn .d-short { display: inline; }
  .head-brand { font-size: 1.15rem; gap: .5rem; min-width: 0; flex: 0 1 auto; }
  .head-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .head-brand .head-logo { width: 2.35rem; height: 2.35rem; border-radius: 9px; }
  /* the row scrolls sideways; the soft right edge signals there is more */
  .head-nav {
    order: 3; flex-basis: 100%; gap: 1.15rem; margin-right: 0;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  .head-nav a { font-size: .95rem; padding-block: .35rem; }
  .head-actions { margin-left: auto; gap: .6rem; flex: 0 0 auto; }
  .soc svg { width: 1.35rem; height: 1.35rem; }
  .donate-btn { padding: .55rem .78rem; font-size: .82rem; }
  .site-head select { padding: .38rem .28rem; font-size: .78rem; }
}
@media (max-width: 430px) {
  .site-head { padding: .6rem .85rem; gap: .45rem .5rem; }
  .head-nav a { font-size: .9rem; }
  .head-brand { font-size: 1.04rem; gap: .42rem; }
  .head-brand .head-logo { width: 2.1rem; height: 2.1rem; }
  .head-actions { gap: .5rem; }
  .soc svg { width: 1.25rem; height: 1.25rem; }
  .donate-btn { padding: .5rem .66rem; font-size: .78rem; }
  .site-head select { font-size: .72rem; padding: .34rem .22rem; }
}
/* small phones: trim just enough to keep the one row in every language */
@media (max-width: 389px) {
  .site-head { padding: .55rem .7rem; gap: .4rem .42rem; }
  .head-brand { font-size: .96rem; gap: .36rem; }
  .head-brand .head-logo { width: 1.95rem; height: 1.95rem; }
  .head-actions { gap: .42rem; }
  .soc svg { width: 1.18rem; height: 1.18rem; }
  .donate-btn { padding: .46rem .56rem; font-size: .74rem; }
  .site-head select { font-size: .68rem; padding: .3rem .18rem; }
}
/* very small phones: the logo alone carries the brand */
@media (max-width: 339px) {
  .head-brand span { display: none; }
}

/* video embed frame */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--sc-r-md); overflow: hidden; box-shadow: var(--sc-e2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* click-to-play: a local thumbnail until someone presses play (embeds.js) */
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; display: block; background: #0B2533; color: #fff; font: inherit; cursor: pointer; }
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms var(--sc-ease-out); }
.yt-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 20, 30, .66), rgba(4, 20, 30, 0) 42%); }
.yt-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 4.4rem; height: 4.4rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #D6231B; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); transition: transform 180ms var(--sc-ease-out); }
.yt-play svg { width: 1.7rem; height: 1.7rem; margin-left: .18rem; fill: #fff; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-facade:hover img { transform: scale(1.02); }
.yt-facade:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.yt-note { position: absolute; left: 0; right: 0; bottom: .75rem; z-index: 1; padding: 0 1rem; text-align: center; font: 500 .72rem/1.35 var(--sc-font-text); letter-spacing: .03em; color: rgba(255, 255, 255, .9); }
.yt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Impressum / Datenschutz ============ */
.lg-hero { padding: clamp(3rem, 8vh, 5rem) var(--sc-gutter) clamp(1.4rem, 4vh, 2.2rem); border-bottom: 1px solid var(--sc-hairline-strong); }
.lg-hero .inner, .lg-body { max-width: 46rem; margin: 0 auto; }
.lg-kicker { font: 500 var(--sc-t-xs)/1.4 var(--sc-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--sc-accent); margin: 0 0 .7rem; }
.lg-title { font-family: var(--sc-font-display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.04; font-weight: 560; margin: 0 0 .8rem; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 400px) { .lg-title { font-size: clamp(1.55rem, 7.5vw, 2rem); } }
.lg-lead { font-size: var(--sc-t-base); line-height: 1.6; color: var(--sc-ink-soft); margin: 0; max-width: 42rem; text-wrap: pretty; }
.lg-body { padding: clamp(2rem, 5vh, 3rem) var(--sc-gutter) 3.5rem; }
.lg-body h2 { font-family: var(--sc-font-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.15; font-weight: 560; margin: 2.1rem 0 .7rem; }
.lg-body h2:first-child { margin-top: 0; }
.lg-body h3 { font: 600 var(--sc-t-base)/1.35 var(--sc-font-text); margin: 1.3rem 0 .35rem; }
.lg-body p, .lg-body li { font-size: var(--sc-t-sm); line-height: 1.65; overflow-wrap: break-word; hyphens: auto; }
.lg-body p { margin: 0 0 .85em; max-width: 68ch; }
.lg-body ul { margin: 0 0 1em; padding-left: 1.15rem; max-width: 68ch; }
.lg-body li { margin-bottom: .35em; }
.lg-body a { color: var(--sc-accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
.lg-body code { font-size: .92em; background: rgba(12, 50, 71, .08); padding: .1em .35em; border-radius: 3px; }
.lg-card { background: var(--sc-surface); border-radius: var(--sc-r-sm); padding: 1.15rem 1.25rem .4rem; margin: 0 0 1.4rem; }
.lg-card > :last-child { margin-bottom: .75rem; }
.lg-addr { line-height: 1.75; }
.lg-note { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); line-height: 1.6; margin-top: 1.8rem; }
.lg-body p.lg-pol { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); margin: -.4em 0 1.1em; }
.lg-foot { border-top: 1px solid var(--sc-hairline-strong); max-width: 46rem; margin: 0 auto; padding: 2rem var(--sc-gutter) 3rem; display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.lg-foot-links a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.lg-foot-links a:hover { color: var(--sc-accent); }
/* the subpage footers carry the same two links, so they need the same row layout */
footer.ad-foot { display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; }

/* donate row with payment marks */
.donate-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.card-row { display: inline-flex; align-items: center; gap: .4rem; }
.card-row svg { height: 1.5rem; width: auto; display: block; border-radius: 3px; box-shadow: 0 1px 2px rgba(36, 28, 18, .18); }
