/* Lokal gehostete Schriften (DSGVO) – latin + latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-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;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-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;
}

* { box-sizing: border-box; }
  body { margin: 0; background: #FBF9F4; font-family: 'Hanken Grotesk', system-ui, sans-serif; color: #0F2523; -webkit-font-smoothing: antialiased; }
  a { color: #005A55; text-decoration: none; }
  a:hover { color: #005A55; }
  input, textarea, select, button { font-family: inherit; }
  [data-nav][data-active="true"] { background: #EEF4DA; color: #005A55; }
  [data-drawer][data-active="true"] { color: #C9DF6A; }
  @keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @media (max-width: 1024px) {
    [style*="sticky"] { position: static !important; top: auto !important; }
  }
  @media (max-width: 720px) {
    [data-hide-mobile] { display: none !important; }
    [data-stack-mobile] { grid-template-columns: 1fr !important; text-align: left !important; }
    [data-mobile-full] { max-width: 100% !important; justify-self: stretch !important; }
  }
  ::selection { background: #CBE6D4; }
  @property --sh-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
  @property --sh-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
  @property --sh-percent { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
  @property --sh-shine { syntax: "<color>"; initial-value: #FFFFFF; inherits: false; }
  .shiny-cta {
    --base: #005A55; --label: #FFFFFF; --accent: #91B500; --accent-soft: #D6EA8A;
    --sh-duration: 3s;
    isolation: isolate; position: relative; overflow: hidden; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 30px; font-size: 16px; font-weight: 600; line-height: 1.2;
    border: 1px solid transparent; border-radius: 999px; color: var(--label);
    background: linear-gradient(var(--base), var(--base)) padding-box,
      conic-gradient(from calc(var(--sh-angle) - var(--sh-offset)), transparent,
        var(--accent) var(--sh-percent),
        var(--sh-shine) calc(var(--sh-percent) * 2),
        var(--accent) calc(var(--sh-percent) * 3),
        transparent calc(var(--sh-percent) * 4)) border-box;
    transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transition-property: --sh-offset, --sh-percent, --sh-shine, translate, box-shadow;
    animation: sh-spin var(--sh-duration) linear infinite;
  }
  .shiny-cta::after {
    content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
    width: 100%; aspect-ratio: 1; z-index: -1; pointer-events: none;
    background: linear-gradient(-50deg, transparent, var(--accent), transparent);
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.5; animation: sh-shimmer calc(var(--sh-duration) * 1.6) linear infinite;
  }
  .shiny-cta > span { position: relative; z-index: 1; }
  .shiny-cta:is(:hover, :focus-visible) { --sh-percent: 20%; --sh-offset: 95deg; --sh-shine: var(--accent-soft); color: var(--label); translate: 0 -2px; box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--accent) 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
  .shiny-cta:is(:hover, :focus-visible)::after { opacity: 0.85; }
  .shiny-cta:is(:hover, :focus-visible)::before { opacity: 0.7; }
  .shiny-cta > span { transition: letter-spacing 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
  .shiny-cta:is(:hover, :focus-visible) > span { letter-spacing: 0.015em; }
  a.shiny-cta, a.shiny-cta:hover, a.shiny-cta:focus-visible { color: var(--label); text-decoration: none; }
  .shiny-cta:active { translate: 0 1px; box-shadow: none; }
  .shiny-cta::after { transition: opacity 0.5s ease; }
  .shiny-cta::before { transition: opacity 0.5s ease; }
  .shiny-cta[data-variant="light"] { --base: #FFFFFF; --label: #005A55; --accent: #005A55; --accent-soft: #91B500; }
  .shiny-cta[data-variant="green"] { --base: #91B500; --label: #0F2523; --accent: #FFFFFF; --accent-soft: #005A55; }
  .shiny-cta::before {
    content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: -1; pointer-events: none;
    --dot: 2px; --space: calc(var(--dot) * 2);
    width: calc(100% - 6px); height: calc(100% - 6px); border-radius: inherit;
    background: radial-gradient(circle at var(--dot) var(--dot), #FFFFFF calc(var(--dot) / 4), transparent 0) padding-box;
    background-size: var(--space) var(--space); background-repeat: space;
    mask-image: conic-gradient(from calc(var(--sh-angle) + 45deg), black, transparent 10% 90%, black);
    opacity: 0.45; animation: sh-spin var(--sh-duration) linear infinite;
  }
  .shiny-cta[data-variant="light"]::before { background: radial-gradient(circle at var(--dot) var(--dot), #005A55 calc(var(--dot) / 4), transparent 0) padding-box; background-size: var(--space) var(--space); background-repeat: space; opacity: 0.35; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes reveal { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
  @keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
  @keyframes marquee { to { transform: translateX(-50%); } }
  @keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(145,181,0,0.55); } 70% { box-shadow: 0 0 0 9px rgba(145,181,0,0); } }
  @keyframes ring { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
  @keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @keyframes twinkle { 0%, 100% { opacity: 0.22; transform: scale(0.75); } 50% { opacity: 1; transform: scale(1); } }
  @keyframes streak { 0% { transform: translateX(-40%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(500%); opacity: 0; } }
  @keyframes glowPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
  @keyframes lineFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes dotTravel { from { left: 0%; } to { left: 100%; } }
  @keyframes markerOn1 { 0%, 100% { background: #005A55; box-shadow: 0 0 0 8px rgba(145,181,0,0.22); } }
  @keyframes markerOn2 { 0%, 49.5% { background: #F4EFE4; box-shadow: 0 0 0 0 rgba(145,181,0,0); } 50%, 100% { background: #005A55; box-shadow: 0 0 0 8px rgba(145,181,0,0.22); } }
  @keyframes markerOn3 { 0%, 98% { background: #F4EFE4; box-shadow: 0 0 0 0 rgba(145,181,0,0); } 100% { background: #005A55; box-shadow: 0 0 0 8px rgba(145,181,0,0.22); } }
  @keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  .shiny-cta[data-size="sm"] { padding: 11px 20px; font-size: 14.5px; }
  @keyframes sh-spin { to { --sh-angle: 360deg; } }
  @keyframes sh-shimmer { to { rotate: 360deg; } }
  .heart-pulse {
    display: inline-block;
    color: #FFFFFF;
    margin: 0 0.15em;
    transform-origin: center;
    animation: heartPulse 1.15s ease-in-out infinite;
  }
  @keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.22); }
    30% { transform: scale(1); }
    45% { transform: scale(1.18); }
    60% { transform: scale(1); }
  }
  @media (prefers-reduced-motion: reduce) {
    .shiny-cta, .shiny-cta::before, .shiny-cta::after { animation: none !important; }
    .heart-pulse { animation: none !important; }
    video[autoplay] { display: none !important; }
    [data-hero-fallback] { display: block !important; position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
  }

/* --- Export: Hover-/Fokus-Zustände (aus den Inline-Styles übernommen) --- */
.x1:hover{background:#EEF4DA;color:#005A55; !important}
.x2:hover{background:rgba(255,255,255,0.14); !important}
.x3:hover{background:#EEF4DA; !important}
.x4:hover{background:#F4EFE4;transform:translateY(-5px);box-shadow:0 22px 44px rgba(0,42,40,0.12); !important}
.x5:focus{border-color:#005A55; !important}
.x6:hover{background:#0F2523;color:#FFFFFF; !important}
.x7:hover{background:rgba(255,255,255,0.14);color:#FFFFFF; !important}
.x8:hover{transform:translateY(-5px);box-shadow:0 22px 44px rgba(0,42,40,0.12); !important}
.x9:hover{background:#EEF4DA;border-color:#005A55; !important}

/* --- Social-Icons: dunkel (Footer, Seitenmenü) und hell (Header) --- */
.social-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); color: #FFFFFF; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.social-icon:hover, .social-icon:focus-visible { background: #FFFFFF; border-color: #FFFFFF; color: #01403C; }
.social-icon:focus-visible { outline: 2px solid #C9DF6A; outline-offset: 3px; }
.social-icon[data-tone="light"] { background: #FFFFFF; border-color: #EAE4D7; color: #0F2523; }
.social-icon[data-tone="light"]:hover, .social-icon[data-tone="light"]:focus-visible { background: #EEF4DA; border-color: #005A55; color: #005A55; }
.social-icon[data-tone="light"]:focus-visible { outline-color: #005A55; }

/* --- Export: Navigation, Off-Canvas, FAQ, Formular --- */
/* !important nötig: der Button hat display:inline-flex im Inline-Style */
.nav-burger { display: none !important; }
/* Schmale Desktops: Menüpunkte enger, damit Button und Instagram-Icon in eine Zeile passen */
@media (min-width: 1025px) and (max-width: 1139px) {
  .nav-desktop [data-nav] { padding-left: 8px !important; padding-right: 8px !important; font-size: 14px !important; }
}
@media (max-width: 1024px) {
  .nav-desktop { display: none !important; }
  .nav-burger { display: inline-flex !important; }
}
[data-drawer-root][hidden], [data-faq-panel][hidden], [data-form-success][hidden], [data-form-live][hidden] { display: none !important; }
[data-interest] { border: 1.5px solid #E6E0D3; transition: background .2s, color .2s, border-color .2s; }
[data-interest][data-selected="true"] { background: #005A55; color: #FFFFFF; border-color: #005A55; }
[data-interest][data-selected="false"] { background: #FFFFFF; color: #566158; }
img { max-width: 100%; }
/* <picture> (AVIF + Fallback) soll das Layout nicht beeinflussen: das <img> verhält sich wie ein direktes Kind */
picture { display: contents; }

/* --- iFibr SPORT: abgegrenzte Akzentwelt (Graphit + SPORT-Grün) --- */
:root { --sport-bg: #121714; --sport-bg2: #1B231E; --sport-ink: #F2F5EC; --sport-mute: #B4BEB0; --sport-lime: #B5E61D; --sport-line: rgba(181,230,29,0.28); }
.sport-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sport-lime); }
.sport-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sport-lime); flex: 0 0 auto; }
.sport-name { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; color: var(--sport-ink); margin: 0; }
.sport-name b { color: var(--sport-lime); font-weight: 800; }
.sport-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: #121714; background: var(--sport-lime); border-radius: 999px; padding: 16px 30px; transition: transform .25s, box-shadow .25s; }
.sport-btn:hover, .sport-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(181,230,29,0.55); }
.sport-btn-ghost { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--sport-ink); border: 1px solid rgba(242,245,236,0.35); border-radius: 999px; padding: 16px 30px; transition: background .25s; }
.sport-btn-ghost:hover, .sport-btn-ghost:focus-visible { background: rgba(242,245,236,0.1); }
.sport-btn:focus-visible, .sport-btn-ghost:focus-visible { outline: 3px solid var(--sport-ink); outline-offset: 3px; }

/* --- iFibr SPORT: Animationen (alle aus bei prefers-reduced-motion) --- */
@keyframes sportShine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -20% 0; } }
@keyframes sportZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes sportGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(181,230,29,0.45); } 50% { box-shadow: 0 0 0 10px rgba(181,230,29,0); } }
@keyframes sportPop { 0% { opacity: 0; transform: translateY(28px) scale(0.92); } 60% { opacity: 1; transform: translateY(-4px) scale(1.01); } 100% { opacity: 1; transform: none; } }
@keyframes sportFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sportReveal { from { clip-path: inset(0 0 100% 0 round 22px); transform: scale(1.06); } to { clip-path: inset(0 0 0 0 round 22px); transform: none; } }
@keyframes sportSweep { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(320%) skewX(-18deg); } }

/* Glanz über „SPORT“ */
.sport-name b { background: linear-gradient(100deg, var(--sport-lime) 40%, #F4FFD0 50%, var(--sport-lime) 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sportShine 4.5s ease-in-out 1s infinite; }
/* Langsamer Zoom im Bild */
.sport-zoom > img { animation: sportZoom 16s ease-in-out infinite alternate; }
/* Pulsierender Punkt im Eyebrow */
.sport-eyebrow::before { animation: sportGlow 2.2s ease-out infinite; }
/* Lichtstreif über den Hauptbutton */
.sport-btn { position: relative; overflow: hidden; }
.sport-btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); animation: sportSweep 3.2s ease-in-out 1.5s infinite; pointer-events: none; }
/* Bilder decken sich beim Scrollen auf */
@supports (animation-timeline: view()) {
  .sport-reveal { animation: sportReveal 1s cubic-bezier(0.2,0.7,0.2,1) both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}
/* Hover: Zoom + grünes Leuchten */
.sport-tile { position: relative; overflow: hidden; border-radius: 22px; transition: box-shadow .4s, transform .4s cubic-bezier(0.2,0.7,0.2,1); }
.sport-tile > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(0.2,0.7,0.2,1); }
.sport-tile:hover { box-shadow: 0 0 0 1px var(--sport-lime), 0 24px 60px -18px rgba(181,230,29,0.55); transform: translateY(-4px); }
.sport-tile:hover > img { transform: scale(1.06); }
.sport-card:hover { box-shadow: 0 0 0 1px var(--sport-lime), 0 22px 50px -16px rgba(181,230,29,0.5); }
/* Laufband */
.sport-marquee { background: var(--sport-lime); color: #121714; overflow: hidden; border-radius: 20px; padding: 16px 0; }
.sport-marquee > div { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.sport-marquee span { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.02em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.sport-marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 3px solid #121714; }

/* Pop-up Startseite */
.sport-popup { border: 0; padding: 0; background: var(--sport-bg); color: var(--sport-ink); width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 28px; box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px var(--sport-line); }
.sport-popup[open] { animation: sportPop .7s cubic-bezier(0.2,0.8,0.2,1) both; }
.sport-popup::backdrop { background: rgba(4,20,18,0.62); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.sport-popup[open]::backdrop { animation: sportFade .4s ease both; }
.sport-popup-media { position: relative; height: clamp(170px, 32vh, 290px); overflow: hidden; }
.sport-popup-media > img { width: 100%; height: 100%; object-fit: cover; display: block; animation: sportZoom 12s ease-in-out infinite alternate; }
.sport-popup-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--sport-bg) 2%, rgba(18,23,20,0) 55%); }
.sport-popup-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(242,245,236,0.3); background: rgba(18,23,20,0.6); color: var(--sport-ink); font-size: 17px; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.sport-popup-close:hover { background: rgba(18,23,20,0.9); transform: rotate(90deg); }
.sport-popup-close:focus-visible, .sport-popup-later:focus-visible { outline: 3px solid var(--sport-ink); outline-offset: 3px; }
.sport-popup-later { background: none; border: 0; color: var(--sport-mute); font: 600 15px 'Hanken Grotesk', sans-serif; cursor: pointer; padding: 14px 8px; }
.sport-popup-later:hover { color: var(--sport-ink); }

@media (prefers-reduced-motion: reduce) {
  .sport-name b, .sport-zoom > img, .sport-eyebrow::before, .sport-btn::after, .sport-reveal, .sport-marquee > div,
  .sport-popup[open], .sport-popup[open]::backdrop, .sport-popup-media > img { animation: none !important; }
  .sport-btn::after { display: none; }
  .sport-name b { color: var(--sport-lime); background: none; }
  .sport-tile, .sport-tile > img { transition: none; }
}
.sport-card .sport-tile:hover { box-shadow: none; transform: none; }
.sport-card:hover .sport-tile > img { transform: scale(1.06); }
@media (max-width: 900px) {
  .sport-hero-shade { background: linear-gradient(to top, rgba(18,23,20,0.97) 55%, rgba(18,23,20,0.6) 85%, rgba(18,23,20,0.35) 100%) !important; }
}
.sport-back { display: inline-flex; align-items: center; gap: 8px; background: rgba(18,23,20,0.55); border: 1px solid rgba(242,245,236,0.25); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--sport-ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, border-color .2s; }
.sport-back:hover, .sport-back:focus-visible { background: rgba(18,23,20,0.85); border-color: var(--sport-lime); }
/* Platz für den „Alle Produkte“-Button oben im Hero */
.sport-hero-text { padding-top: clamp(84px, 9vw, 96px) !important; }
