/* Vitalstoffe verstehen. – Grundstile. Schriften lokal (keine Google-Server, DSGVO). */
@font-face{font-family:Nunito;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/nunito-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/nunito-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:Nunito;font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:Caveat;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/caveat-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:Caveat;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/caveat-latin-700-normal.woff2) format("woff2")}

:root{--beere:#540128;--himbeer:#FA0276;--himbeer-dunkel:#D4005E;--olive:#254012;--olive-dunkel:#1B2E0D;--gruen:#6FBD37;--text:#2B2328;--rose:#FDD5E6;--rose-hell:#FBEAF1;--linie:#EEE7EB}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:#fff;color:var(--text);font-family:Nunito,system-ui,sans-serif;font-size:17px;line-height:1.6}
img{max-width:100%;height:auto}
a{color:var(--beere)}
a:hover{color:var(--himbeer-dunkel)}
a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--himbeer);outline-offset:3px}
sup{font-size:.65em;line-height:0}
.skip{position:absolute;left:-9999px;top:8px;background:var(--beere);color:#fff;padding:10px 16px;border-radius:999px;z-index:100}
.skip:focus{left:12px}

/* Buttons: Hover für die Inline-Buttons aus den Entwürfen */
a[style*="background: #254012"]:hover{background:var(--olive-dunkel)!important;color:#fff!important}
a[style*="background: #FA0276"]:hover{background:var(--himbeer-dunkel)!important;color:#fff!important}
a[style*="border: 2px solid #540128"]:hover{background:var(--rose-hell)!important}
.btn-main{background:var(--olive);color:#fff!important;text-decoration:none;font-weight:700;padding:12px 20px;border-radius:999px}
.btn-main:hover{background:var(--olive-dunkel)}
.btn-light{align-self:flex-start;background:var(--gruen);color:var(--olive-dunkel)!important;text-decoration:none;font-weight:800;padding:12px 20px;border-radius:999px;margin-top:6px}
.btn-light:hover{background:#86CB55}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--linie)}
.site-header .wrap{max-width:1180px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{text-decoration:none}
.nav-desk{display:flex;align-items:center;gap:4px 22px;flex-wrap:wrap}
.nav-desk a:not(.btn-main),.menu nav a:not(.btn-main){color:var(--beere);text-decoration:none;font-weight:600;padding:10px 4px}
.nav-desk a:not(.btn-main):hover,.menu nav a:not(.btn-main):hover{color:var(--himbeer-dunkel)}
.menu{display:none}
.menu>summary{list-style:none;cursor:pointer;width:46px;height:46px;border-radius:12px;background:var(--rose-hell);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.menu>summary::-webkit-details-marker{display:none}
.menu>summary span{display:block;width:22px;height:2px;background:var(--beere);border-radius:2px}
.menu nav{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--linie);display:flex;flex-direction:column;align-items:stretch;padding:8px 24px 20px}
.menu nav a:not(.btn-main){padding:14px 0;border-bottom:1px solid var(--linie)}
.menu nav .btn-main{margin-top:14px;text-align:center}
@media (max-width:900px){.nav-desk{display:none}.menu{display:block}}

/* Footer */
.site-footer{background:var(--olive);color:#fff}
.site-footer .wrap{max-width:1180px;margin:0 auto;padding:56px 24px 28px;display:flex;flex-direction:column;gap:40px}
.site-footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:32px}
.site-footer .col{display:flex;flex-direction:column;gap:10px}
.site-footer p{margin:0;color:#E4EEDC}
.site-footer .ftitle{font-family:Caveat,cursive;font-weight:700;font-size:1.7rem;color:var(--gruen)}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline;color:#fff}
.site-footer .bottom{border-top:1px solid rgba(255,255,255,.2);padding-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;font-size:.9rem;color:#E4EEDC}
.site-footer .bottom nav{display:flex;flex-wrap:wrap;gap:6px 18px}

/* FAQ-Akkordeon */
details summary{list-style:none;position:relative;padding-right:32px}
.menu>summary{padding:0!important}
details summary::-webkit-details-marker{display:none}
details:not(.menu) > summary::after{content:"";position:absolute;right:4px;top:50%;width:10px;height:10px;border-right:2.5px solid var(--beere);border-bottom:2.5px solid var(--beere);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
details:not(.menu)[open] > summary::after{transform:translateY(-30%) rotate(-135deg)}

/* Inhaltsseiten (Rechtliches, Kontakt) */
.prose{max-width:820px;margin:0 auto;padding:48px 24px 72px}
.prose h1{font-family:Caveat,cursive;font-weight:700;font-size:3.4rem;line-height:1;color:var(--beere);margin:0 0 20px}
.prose h2{font-family:Caveat,cursive;font-weight:700;font-size:2.2rem;line-height:1.05;color:var(--beere);margin:36px 0 10px}
.prose p,.prose li{font-size:1.0625rem;line-height:1.7}
.prose .hint{background:var(--rose);border-radius:16px;padding:16px 20px}
form.kontakt{display:flex;flex-direction:column;gap:16px;background:var(--rose-hell);border-radius:24px;padding:28px}
form.kontakt label{font-weight:700;color:var(--beere);display:flex;flex-direction:column;gap:6px}
form.kontakt input,form.kontakt textarea,form.kontakt select{font:inherit;font-weight:400;color:var(--text);border:1.5px solid #E2C9D4;border-radius:12px;padding:12px 14px;background:#fff}
form.kontakt textarea{min-height:150px;resize:vertical}
form.kontakt .check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;color:var(--text)}
form.kontakt .check input{margin-top:5px;width:18px;height:18px}
form.kontakt button{align-self:flex-start;font:inherit;font-weight:800;font-size:1.1875rem;background:var(--himbeer);color:#fff;border:0;border-radius:999px;padding:15px 28px;cursor:pointer}
form.kontakt button:hover{background:var(--himbeer-dunkel)}
.hp{position:absolute;left:-9999px}

/* Mobil: große Inline-Schriften und Abstände der Entwürfe zähmen */
@media (max-width:700px){
  main h1{font-size:2.6rem!important;line-height:1!important}
  main h2{font-size:2.15rem!important}
  main h3[style*="Caveat"]{font-size:1.75rem!important}
  main section{padding-top:48px!important;padding-bottom:48px!important;padding-left:18px!important;padding-right:18px!important}
  main [style*="gap: 48px"]{gap:28px!important}
  main [style*="flex: 1 1 460px"],main [style*="flex: 1 1 520px"],main [style*="flex: 1 1 380px"]{flex-basis:100%!important}
  main [style*="minmax(300px"]{grid-template-columns:1fr!important}
  main [style*="minmax(280px"]{grid-template-columns:1fr!important}
  main [style*="minmax(260px"]{grid-template-columns:1fr!important}
  .prose h1{font-size:2.6rem}
  .site-header .wrap{padding:10px 18px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Quellen-Hochzahlen als Links */
a.src{color:var(--himbeer-dunkel);text-decoration:none;font-weight:800;padding:0 1px}
a.src:hover{text-decoration:underline}
[style*="background: #540128"] a.src{color:var(--rose)}

/* Tabellen am Handy: Text umbrechen statt seitlich wischen */
@media (max-width:700px){
  main table{font-size:.95rem!important}
  main td,main th{padding:12px 12px!important}
  main table.t3 thead{display:none}
  main table.t3 tr{display:block;padding:10px 0}
  main table.t3 td{display:block;padding:4px 16px!important}
  main table.t3 td:not(:first-child)::before{content:attr(data-label) ": ";font-weight:700;color:#540128}

}

/* Aufklappmenü "Wissen" */
.dd{position:relative}
.dd-btn{font:inherit;font-weight:600;color:var(--beere);background:none;border:0;padding:10px 4px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.dd-btn:hover{color:var(--himbeer-dunkel)}
.dd-menu{display:none;position:absolute;left:-14px;top:100%;min-width:250px;background:#fff;border:1px solid var(--linie);border-radius:16px;box-shadow:0 14px 30px rgba(84,1,40,.12);padding:8px;flex-direction:column;z-index:60}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{display:flex}
.dd-menu a{color:var(--beere)!important;text-decoration:none;font-weight:600;padding:10px 12px!important;border-radius:10px}
.dd-menu a:hover{background:var(--rose-hell)}
.menu .m-group{font-weight:800;color:var(--beere);padding:14px 0 4px;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}
.menu .m-sub{display:flex;flex-direction:column;padding-left:14px}

/* Textlinks in Himbeer (dunkel, gut lesbar), damit sie auffallen */
main a[style*="color: #540128"]:not([style*="background"]){color:var(--himbeer-dunkel)!important}
main a[style*="color: #540128"]:not([style*="background"]):hover{text-decoration:underline!important}
.prose a{color:var(--himbeer-dunkel)}

/* Buttons nie umbrechen */
main a[style*="border-radius: 999px"]{white-space:nowrap}
@media (max-width:700px){main a[style*="background: #FA0276"]{font-size:1.0625rem!important;padding:14px 22px!important}}
/* Einheitliche Textlinks */
main a.tl{color:var(--himbeer-dunkel);font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
main a.tl:hover{color:var(--beere)}
main a.tl-more{font-weight:800;text-decoration:none;align-self:flex-start}
main a.tl-more:hover{text-decoration:underline}

.dd-menu a.dd-sub,.m-sub a.dd-sub{padding-left:28px!important;font-size:.95em;font-weight:500!important}
.dd-menu{max-height:calc(100vh - 90px);overflow-y:auto}
/* Mobiles Menü: Beschwerden und Wissen als Aufklapp-Gruppen */
.menu nav{max-height:calc(100vh - 70px);overflow-y:auto}
.menu .m-acc{border-bottom:1px solid var(--linie)}
.menu .m-acc>summary{cursor:pointer;color:var(--beere);font-weight:600;width:auto;height:auto;background:none;border-radius:0;display:block;padding:14px 32px 14px 0!important}
.menu .m-acc>summary:hover{color:var(--himbeer-dunkel)}
.menu .m-acc[open]>summary{font-weight:800}
.menu .m-acc .m-sub{padding:0 0 8px 14px}
.menu .m-acc .m-sub a:last-child{border-bottom:0}
.menu .m-acc[open]>summary::after{transform:translateY(-30%) rotate(-135deg)}

/* Wissen-Menü: Lexikon als Unterpunkt */
.dd-menu{overflow:visible;max-height:none}
.dd-fly{position:relative;display:flex;flex-direction:column}
.dd-fly-btn{display:flex!important;align-items:center;gap:8px}
.dd-fly-menu{display:none;position:absolute;right:100%;top:-8px;margin-right:6px;min-width:200px;max-height:calc(100vh - 140px);overflow-y:auto;background:#fff;border:1px solid var(--linie);border-radius:16px;box-shadow:0 14px 30px rgba(84,1,40,.12);padding:8px;flex-direction:column;z-index:61}
.dd-fly-menu::before{content:"";position:absolute}
.dd-fly:hover>.dd-fly-btn{background:var(--rose-hell)}
.dd-fly:hover .dd-fly-menu,.dd-fly:focus-within .dd-fly-menu{display:flex}
.dd-fly::after{content:"";position:absolute;right:100%;top:0;width:10px;height:100%}
.menu .m-acc2{border-bottom:1px solid var(--linie)}
.menu .m-acc2>summary{padding:14px 32px 14px 0!important}
.menu .m-acc2 .m-sub a{font-size:.95em;font-weight:500}
/* Footer: Logo links, Rechtliches und Kontakt rechts gruppiert */
@media (min-width:800px){.site-footer .cols{grid-template-columns:minmax(260px,1fr) auto auto;column-gap:88px}.site-footer .cols>.col:first-child{max-width:380px}}
/* Stempel für Mythen-Checks und Dreamteams */
.stamp{display:inline-block;font-family:Nunito,sans-serif;font-weight:800;font-size:1.15rem;line-height:1;letter-spacing:.12em;text-transform:uppercase;color:#D4005E;border:5px double currentColor;border-radius:8px;padding:8px 12px 7px 15px;transform:rotate(-7deg);white-space:nowrap;opacity:.95;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 0 0 0 1.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.5 0 0 0 1.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.stamp-green{color:#3D7A1E}
/* Beschwerde-Kacheln: ganze Kachel klickbar, Vitalstoffe einzeln verlinkt */
.bcard{position:relative}
.bcard a.card-link{color:inherit!important;text-decoration:none!important}
.bcard a.card-link::after{content:"";position:absolute;inset:0;border-radius:18px}
.bcard a.card-link:hover{color:#D4005E!important}
.bcard .sub a{position:relative;z-index:1;font-weight:700}

/* ===== Effekte (fx.js). Ohne JS und bei "Bewegung reduzieren" bleibt alles statisch ===== */
.site-header{transition:background-color .3s,box-shadow .3s}
.site-header .wrap{transition:padding .3s}
.site-header.fx-scrolled{background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(12px) saturate(1.4);backdrop-filter:blur(12px) saturate(1.4);box-shadow:0 6px 24px rgba(84,1,40,.08)}
@media (min-width:701px){.site-header.fx-scrolled .wrap{padding-top:6px;padding-bottom:6px}}
.fx-progress{position:fixed;left:0;top:0;height:3px;width:100%;background:var(--himbeer);transform:scaleX(0);transform-origin:left;z-index:70;pointer-events:none}
.fx-top{position:fixed;right:20px;bottom:20px;width:48px;height:48px;border-radius:50%;border:2px solid #fff;background:var(--olive);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 22px rgba(37,64,18,.25);opacity:0;visibility:hidden;translate:0 12px;transition:opacity .3s,translate .3s,visibility .3s,background-color .2s;z-index:55}
.fx-top.show{opacity:1;visibility:visible;translate:0 0}
.fx-top:hover{background:var(--olive-dunkel)}
.fx-arr{display:inline-block;transition:translate .2s ease}
a:hover>.fx-arr{translate:4px 0}
main a[style*="border-radius: 999px"],.btn-main,.btn-light{transition:background-color .2s,translate .2s,box-shadow .2s}
main a[style*="border-radius: 999px"]:hover,.btn-main:hover{translate:0 -2px;box-shadow:0 8px 18px rgba(84,1,40,.16)}
.fx-lift{transition:translate .25s ease,box-shadow .25s ease}
.fx-lift:hover{translate:0 -5px;box-shadow:0 16px 32px rgba(84,1,40,.12)!important}
.fx-tilt{transition:transform .15s ease-out;will-change:transform}
main tbody tr>*{transition:background-color .2s}
main tbody tr:hover>*{background-color:#FBEAF1!important}
.hl-wrap{position:relative;display:inline-block}
.hl-line{position:absolute;left:-2%;bottom:-.12em;width:104%;height:.32em;overflow:visible;pointer-events:none}
.hl-line path{stroke-dasharray:520;stroke-dashoffset:520;animation:fx-draw 1.1s .5s ease-out forwards}
@keyframes fx-draw{to{stroke-dashoffset:0}}
.fx-float{animation:fx-float 4.5s ease-in-out infinite}
@keyframes fx-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
main section img[fetchpriority]{will-change:transform}
html.fx .fx-r{opacity:0;translate:0 26px;transition:opacity .7s ease,translate .7s cubic-bezier(.2,.7,.2,1)}
html.fx .fx-r.in{opacity:1;translate:0 0}
html.fx .fx-stamp{opacity:0}
html.fx .fx-stamp.in{animation:fx-stamp .5s .25s cubic-bezier(.3,1.6,.5,1) both}
@keyframes fx-stamp{0%{opacity:0;transform:scale(2.4) rotate(-22deg)}100%{opacity:.95;transform:scale(1) rotate(-7deg)}}
html.fx .fx-pair>:first-child,html.fx .fx-pair>:last-child{transition:translate .8s cubic-bezier(.2,.7,.2,1),opacity .8s}
html.fx .fx-pair>:first-child{translate:-40px 0;opacity:0}
html.fx .fx-pair>:last-child{translate:40px 0;opacity:0}
html.fx .fx-pair.in>:first-child,html.fx .fx-pair.in>:last-child{translate:0 0;opacity:1}
html.fx .fx-pair.in>:nth-child(2){animation:fx-pop .5s .7s ease-out}
@keyframes fx-pop{50%{transform:scale(1.5)}}
html.fx .fx-steps>li>span:first-child{scale:0;transition:scale .5s cubic-bezier(.3,1.6,.5,1)}
html.fx .fx-steps.in>li>span:first-child{scale:1}
html.fx .fx-steps.in>li:nth-child(2)>span:first-child{transition-delay:.35s}
html.fx .fx-steps.in>li:nth-child(3)>span:first-child{transition-delay:.7s}
html.fx .fx-steps.in>li>span:first-child{animation:fx-ring 1s ease-out}
html.fx .fx-steps.in>li:nth-child(2)>span:first-child{animation-delay:.35s}
html.fx .fx-steps.in>li:nth-child(3)>span:first-child{animation-delay:.7s}
@keyframes fx-ring{0%{box-shadow:0 0 0 0 rgba(111,189,55,.6)}100%{box-shadow:0 0 0 14px rgba(111,189,55,0)}}
@media (prefers-reduced-motion:reduce){.hl-line path{animation:none;stroke-dashoffset:0}.fx-float{animation:none}.fx-lift,.fx-arr,.fx-top{transition:none}}
@media print{.fx-top,.fx-progress{display:none}html.fx .fx-r,html.fx .fx-stamp{opacity:1!important;translate:none!important}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Vitalstoff-Lexikon: Kärtchen-Links – Name wird beim Hover pink, Kärtchen hebt sich */
main a[href^="/vitalstoffe/"][style*="flex-direction: column"]>span{transition:color .2s}
main a[href^="/vitalstoffe/"][style*="flex-direction: column"]:hover>span,main a[href^="/vitalstoffe/"][style*="flex-direction: column"]:focus-visible>span{color:#D4005E!important}
main a[href^="/vitalstoffe/"][style*="flex-direction: column"]>div{transition:translate .2s,box-shadow .2s}
main a[href^="/vitalstoffe/"][style*="flex-direction: column"]:hover>div{translate:0 -4px;box-shadow:0 10px 22px rgba(84,1,40,.18)}
