/* Shared, background-free social profile icons in every page header. */
header > nav.wrap { gap:24px; }
header .links { margin-left:auto; gap:24px; }
.header-social { display:flex; flex-shrink:0; align-items:center; gap:7px; color:#f0eee7; }
.header-social a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:44px; background:transparent; border:0; color:inherit; transition:color .18s ease; }
.header-social svg { display:block; width:19px; height:19px; }
.header-social a:hover { color:#dca17a; }
.header-social a:focus-visible { outline:2px solid #dca17a; outline-offset:2px; }
@media (min-width:751px) and (max-width:1100px) {
  header > nav.wrap { gap:12px; }
  header .logo { font-size:30px; }
  header .links { gap:12px; font-size:12px; }
  .header-social { gap:2px; }
  .header-social a { width:30px; }
}
@media (max-width:750px) {
  header > nav.wrap { flex-wrap:wrap; height:auto; min-height:94px; padding-top:12px; padding-bottom:10px; gap:3px 12px; }
  header .logo { font-size:29px; }
  .header-social { margin-left:auto; gap:3px; }
  .header-social a { width:32px; height:40px; }
  .header-social svg { width:18px; height:18px; }
  header .links { order:3; flex:0 0 100%; margin-left:0; justify-content:center; gap:22px; font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { .header-social a { transition:none; } }

/* Legal pages retain their compact return link and existing header layout. */
header.legal-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
header.legal-header .header-social { margin-left:auto; }
@media (max-width:750px) {
  header .signup-nav .links { flex-wrap:wrap; gap:4px 16px; }
  header.legal-header { flex-wrap:wrap; gap:6px 16px; }
  header.legal-header > a { font-size:13px; }
}

/* Keep individual coaching visible in the shared navigation, including mobile. */
header .links .unterricht-nav{display:inline!important}
@media(max-width:750px){header .links{flex-wrap:wrap;gap:5px 16px}}
