/* nav.css – gemeinsamer Kopfbereich (Menü mit Hamburger) und Fusszeile für alle Seiten.
   Wird nach draft.css bzw. style.css geladen; alle Regeln sind auf .site-header / .site-footer begrenzt. */
.site-header { position: sticky; top: 0; z-index: 50; background: #111; color: #fff; border: 0; }
.site-header .nav { width: min(1180px, calc(100% - 32px)); margin: 0 auto; height: 64px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-header .brand { display: flex; align-items: center; flex: none; }
.site-header .brand img { height: 30px; width: auto; display: block; }
.site-header .links { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: rgba(255,255,255,.86); }
.site-header .links > a, .site-header .drop > button { color: inherit; background: none; border: 0; font: inherit; cursor: pointer; padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.site-header .drop > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.site-header .links > a:hover, .site-header .drop > button:hover, .site-header .drop:focus-within > button, .site-header .drop.open > button { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.site-header a[aria-current="page"] { color: #f26520; }
.site-header .drop { position: relative; }
.site-header .drop .menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #111; border-radius: 12px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.35); z-index: 60; }
.site-header .drop:hover .menu, .site-header .drop:focus-within .menu, .site-header .drop.open .menu { display: grid; }
.site-header .drop .menu a { padding: 9px 10px; border-radius: 8px; color: #fff; text-decoration: none; }
.site-header .drop .menu a[aria-current="page"] { color: #f26520; }
.site-header .drop .menu a:hover, .site-header .drop .menu a:focus-visible { background: #222; }
.site-header .burger { display: none; }
@media (max-width: 768px) {
  .site-header .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; background: none; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; cursor: pointer; }
  .site-header .burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .site-header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .burger span:nth-child(2) { opacity: 0; }
  .site-header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 16px 18px; background: #111; border-top: 1px solid #262626; max-height: calc(100vh - 64px); overflow-y: auto; font-size: 16px; box-shadow: 0 18px 30px rgba(0,0,0,.35); }
  .site-header.open .links { display: flex; }
  .site-header .links > a, .site-header .drop > button { width: 100%; justify-content: space-between; padding: 12px 10px; }
  .site-header .drop .menu, .site-header .drop:hover .menu, .site-header .drop:focus-within .menu { display: none; position: static; box-shadow: none; background: #1b1b1b; min-width: 0; padding: 4px 8px; margin: 2px 0 6px; }
  .site-header .drop.open .menu { display: grid; }
  .site-header .drop .menu a { padding: 11px 10px; }
  .site-header .drop.open > button::after { transform: translateY(2px) rotate(-135deg); }
}
.site-footer { background: #111; color: #efe8e1; text-align: center; padding: 30px 20px 26px; margin: 0; font-size: 14px; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; }
.site-footer a { color: #efe8e1; text-decoration: none; }
.site-footer a:hover { color: #f26520; }
.site-footer .legal-links { font-size: 13px; }
.site-footer .legal-links a { color: rgba(255,255,255,.75); }
.site-footer .pays { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.site-footer .pays span { background: #fff; color: #1a1a1a; border: 0; border-radius: 6px; padding: 5px 9px; font-size: 12px; font-weight: 600; }
.site-footer p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; }
/* Rechtes Dropdown am rechten Rand ausrichten (Desktop), damit es nicht aus dem Bild ragt */
@media (min-width: 769px) { .site-header .drop:last-child .menu { left: auto; right: 0; } }
/* Fusszeile immer am unteren Rand, auch bei kurzen Seiten */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
@media (max-width: 860px) { body { padding-bottom: 0; } }

/* ===== fix-7 ===== */
/* Laufband über dem Kopfbereich */
.ticker { background: #8d6248; color: #fff; font: 600 13px/1 Sora, sans-serif; height: 34px; overflow: hidden; position: relative; z-index: 51; }
.ticker-track { display: flex; width: max-content; height: 100%; animation: aa-ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex: none; }
.ticker-group span { white-space: nowrap; letter-spacing: .01em; }
.ticker-group i { width: 6px; height: 6px; border-radius: 50%; background: #fff; margin: 0 26px; flex: none; }
.ticker-static { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes aa-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { height: auto; min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; }
  .ticker-track { display: none; }
  .ticker-static { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; text-align: center; line-height: 1.4; }
}
/* Kopfbereich: Menü rechts, Sprachwahl ganz rechts */
.site-header .links { margin-left: auto; }
.site-header .lang { display: flex; align-items: center; gap: 2px; flex: none; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 3px; background: none; cursor: default; }
.site-header .lang a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1; padding: 7px 10px; border-radius: 999px; min-width: 38px; text-align: center; }
.site-header .lang a:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.site-header .lang a[aria-current="true"] { background: #fff; color: #111; }
@media (max-width: 768px) {
  .site-header .nav { gap: 10px; }
  .site-header .lang { margin-left: auto; }
  .site-header .links { margin-left: 0; max-height: calc(100vh - 64px); }
}
/* Sprungziele nicht unter dem fixierten Kopfbereich verstecken (Laufband scrollt mit weg) */
[id] { scroll-margin-top: 84px; }
#buy { scroll-margin-top: 84px; }
/* Fusszeile: Gewährleistungs-Grafik, Zahlungslogos, «Vertrag widerrufen», Copyright */
.site-footer .foot-badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin: 0 0 16px; }
.site-footer .gw-badge { margin: 0; display: flex; align-items: center; gap: 10px; }
.site-footer .gw-badge a { display: block; background: #fff; border-radius: 6px; padding: 3px; line-height: 0; }
.site-footer .gw-badge a:hover, .site-footer .gw-badge a:focus-visible { outline: 2px solid #f26520; outline-offset: 2px; }
.site-footer .gw-badge img { width: 60px; height: auto; display: block; }
.site-footer .gw-badge figcaption { font-size: 12px; color: rgba(255,255,255,.75); max-width: 9em; text-align: left; line-height: 1.35; }
.site-footer .pays { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; }
.site-footer .pays li { background: #fff; border-radius: 6px; height: 34px; min-width: 62px; padding: 0 10px; display: flex; align-items: center; justify-content: center; }
.site-footer .pays img { display: block; height: auto; }
.site-footer .foot-withdraw { margin: 0 0 10px; }
.site-footer .foot-withdraw a { color: #efe8e1; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.site-footer .foot-withdraw a:hover { color: #f26520; }
.site-footer p.copy { margin: 0; }
/* Dialog mit der vollständigen EU-Mitteilung */
.gw-dialog { border: 0; border-radius: 14px; padding: 14px; background: #fff; color: #111; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; font-family: Sora, sans-serif; }
.gw-dialog::backdrop { background: rgba(0,0,0,.6); }
.gw-dialog img { display: block; width: 100%; height: auto; }
.gw-dialog .gw-close { position: sticky; top: 0; float: right; margin: 0 0 6px 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #111; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.gw-dialog .gw-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 14px; }
.gw-dialog .gw-links a { color: #1a3c8f; text-decoration: underline; }

/* ===== fix-12 ===== */
/* Desktop: Kopfbereich gleich breit wie die Inhaltsbereiche darunter (1120 px, seitlich 16 px),
   damit der linke Rand des Logos mit dem linken Rand der Abschnitte fluchtet. */
.site-header .nav { width: min(1120px, calc(100% - 32px)); }
/* Mobil: Hamburger links, Logo in der Mitte, Sprachwahl rechts */
@media (max-width: 768px) {
  .site-header .nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
  .site-header .burger { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .site-header .lang { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
}
@media (max-width: 360px) {
  .site-header .brand img { height: 24px; }
  .site-header .lang a { min-width: 32px; padding: 7px 7px; }
}
