/* Kopfbereich, Navigation und Footer – identisch zur Startseite (aus site.css erzeugt) */
.topbar, .header, .footer, .cta-band { --text:#15191A; --text-2:#333333; --text-3:#333333; --line:#E3E7E8; --bg-alt:#F6F7F7; --accent:#00748A; --accent-hover:#005E70; --accent-50:#EFF6F7; --r-sm:8px; --r-lg:28px; --container:1240px; font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.6; }
.topbar { background: var(--accent); color: #FFFFFF; font-size: 13.5px; }
.topbar .wrap { max-width: var(--container); margin: 0 auto; padding: 9px 32px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.topbar__items { display: flex; gap: 6px 0; flex-wrap: wrap; }
.topbar__items span { display: inline-flex; align-items: center; }
.topbar__items span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .6); margin: 0 16px; }
.topbar strong { font-weight: 600; }
.topbar a { color: #FFFFFF; font-weight: 600; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; min-height: 78px; display: flex; align-items: center; gap: 24px 40px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 32px; flex: 1; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.header__tools { display: flex; align-items: center; gap: 2px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--text); border-radius: var(--r-sm); cursor: pointer; }
.icon-btn:hover { background: var(--bg-alt); }
.cart-btn { margin-left: 10px; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); background: var(--accent); color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.cart-btn:hover { background: var(--accent-hover); color: #FFFFFF; }
.menu-toggle { display: none; }
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.footer .wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding: 72px 0 48px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 20px; }
.footer__grid > div:first-child p { max-width: 340px; margin-bottom: 14px; }
.footer h2 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 16px; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--accent); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.badges span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 22px; }
}
@media (max-width: 760px) {
  .header .wrap, .topbar .wrap, .footer .wrap { padding-left: 20px; padding-right: 20px; }
  .topbar .wrap { justify-content: center; }
  .topbar__items span + span, .topbar .wrap > span:last-child { display: none; }
  .header .wrap { min-height: 64px; flex-wrap: wrap; gap: 0 8px; }
  .header__logo img { height: 38px; }
  .menu-toggle { display: inline-grid; order: 3; }
  .header__tools { margin-left: auto; }
  .nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; gap: 0; padding-bottom: 12px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 48px 0 32px; }
}
.nav { align-items: center; gap: 28px; }
.nav > a, .nav__item > a { white-space: nowrap; }
.nav__item { position: relative; }
.nav__item > a { display: inline-flex; align-items: center; gap: 4px; color: var(--text); padding: 6px 0; position: relative; }
.nav__item > a svg { transition: transform .2s; color: var(--text-3, #6B7577); }
.nav__item > a::after { content: ""; position: absolute; left: 0; right: 18px; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.has-sub:hover > a::after, .has-sub:focus-within > a::after { transform: scaleX(1); }
.has-sub:hover > a svg, .has-sub:focus-within > a svg { transform: rotate(180deg); }
.subnav { position: absolute; top: calc(100% + 16px); left: -14px; z-index: 40; min-width: 230px; padding: 8px; background: #FFFFFF; border: 1px solid var(--line, #E3E7E8); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(16, 24, 26, .28); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.nav .subnav a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--text); }
.nav .subnav a::after { display: none; }
.nav .subnav a:hover { background: var(--bg-alt, #F6F7F7); color: var(--accent); }
@media (max-width: 1240px) {
  .header .wrap { gap: 24px 28px; }
  .nav { gap: 22px; }
}
@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: 14.5px; }
  .header .wrap { gap: 20px; }
}
@media (max-width: 1024px) {
  .header .wrap { flex-wrap: wrap; gap: 0 4px; min-height: 0; }
  .header__logo { padding: 14px 0; }
  .header__tools { margin-left: auto; }
  .menu-toggle { display: inline-grid; order: 3; }
  .nav { display: none; order: 4; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; font-size: 16px; }
  .nav.is-open { display: flex; }
  .nav > a, .nav__item > a { display: flex; padding: 13px 0; border-top: 1px solid var(--line, #E3E7E8); }
  .nav > a::after, .nav__item > a::after { display: none; }
  .nav__item > a svg { display: none; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 16px; min-width: 0; }
  .subnav::before { display: none; }
  .nav .subnav a { padding: 8px 0; font-size: 15px; color: var(--text-2, #4F595B); }
}
@media (max-width: 1024px) {
  .nav .subnav a { border-top: 0; border-radius: 0; }
  .nav .subnav a:hover { background: none; }
}
.nav { gap: 4px; }
.nav > a, .nav__item > a { padding: 9px 14px; border-radius: 8px; transition: background .15s, color .15s; }
.nav > a::after, .nav__item > a::after { display: none; }
.nav > a:hover, .nav__item > a:hover { background: var(--bg-alt); color: var(--text); }
.nav > a[aria-current] { background: var(--accent-50); color: var(--accent); font-weight: 600; }
@media (max-width: 1240px) {
  .nav { gap: 0; }
  .nav > a, .nav__item > a { padding: 9px 10px; }
}
@media (max-width: 1024px) {
  .nav > a, .nav__item > a { padding: 13px 0; border-radius: 0; }
  .nav > a:hover { background: none; }
  .nav > a[aria-current] { background: none; }
}
.cta-band { padding: 0 20px 20px; }
.cta-band h2 { color: #FFFFFF; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 14px; }
.cta-band p { color: #D3EBEF; max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
@media (max-width: 760px) {
  .cta-band { padding: 0 10px 10px; }
}
.nav__item > a[aria-current] { background: var(--accent-50); color: var(--accent); font-weight: 600; }
@media (max-width: 1024px) {
  .nav__item > a[aria-current] { background: none; }
}

/* v27: exakt wie Startseite */
.header { color: #15191A; }
.header button { font: 13.3333px Arial; line-height: normal; }
.header .cart-btn { height: 44px; min-height: 44px; line-height: 15px; }
.footer .mt-16 { margin-top: 16px; }
@media (max-width: 760px) { .icon-btn--hide-sm { display: none; } }
.header svg, .topbar svg { display: inline; }
/* v29: Footer-Spaltenüberschriften größer */
.footer h2 { font-size: 17px; margin-bottom: 18px; }
/* v30: Footer Zahlung und Versand */
.footer__pay { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.footer__pay > div { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer__pay-label { font-size: 14px; font-weight: 600; color: var(--text); margin-right: 4px; }
.pay-badge { display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.footer__pay { border-top: 0; padding: 4px 0 30px; }

/* v31: Widerrufsfunktion im Footer (§ 356a BGB) – hervorgehoben */
.footer__legal { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 4px; }
.withdraw-btn { display: inline-flex; align-items: center; min-height: 36px; margin-left: 14px; padding: 0 16px; border: 1.5px solid var(--accent); border-radius: 8px; background: #FFFFFF; color: var(--accent) !important; font-weight: 700; font-size: 14px; }
.withdraw-btn:hover { background: var(--accent); color: #FFFFFF !important; }
@media (max-width: 760px) { .withdraw-btn { margin: 10px 0 0; } }
