/* Natural Fitting – Ergänzungen zu theme.json (Stil: ruhige Produktseite, viel Weißraum, Kacheln). */
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }

/* Glas-Navigation */
.nf-header { position: sticky; top: 0; z-index: 50; background: rgba(245,245,247,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(210,210,215,.5); }
.admin-bar .nf-header { top: 32px; }
.nf-header .wp-block-navigation { font-size: 12.5px; }
.nf-header .wp-block-navigation a { opacity: .8; }
.nf-header .wp-block-navigation a:hover { opacity: 1; text-decoration: none; }

.nf-eyebrow { font-size: clamp(19px, 2vw, 24px) !important; font-weight: 600; color: #ab281e; margin-bottom: 8px !important; }
.nf-sub { font-size: clamp(19px, 2.2vw, 28px) !important; line-height: 1.25 !important; max-width: 30ch; margin-left: auto !important; margin-right: auto !important; }
.nf-more a::after { content: " ›"; }
.nf-ipad img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.12)); }

/* Kampagne */
.nf-campaign-pic { position: relative; height: clamp(420px, 56vw, 680px); margin-top: clamp(28px,4vw,48px); background: #000 center top / auto 100% no-repeat; }
.nf-campaign-pic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 calc(50% - min(40vw,260px)), transparent calc(50% - min(26vw,150px)), transparent calc(50% + min(26vw,150px)), #000 calc(50% + min(40vw,260px))), linear-gradient(#000 0, transparent 18%, transparent 70%, #000 100%); }
.nf-eq { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12%; width: min(620px, 84%); height: 30%; display: flex; align-items: flex-end; justify-content: space-between; z-index: 1; }
.nf-eq span { flex: 0 0 clamp(8px, 1.3vw, 16px); background: #ab281e; border-radius: 4px 4px 0 0; transition: height 1.8s cubic-bezier(.2,.8,.2,1); }
.nf-eq.is-even span { height: 55% !important; }
.nf-eq-cap { position: absolute; left: 0; right: 0; bottom: 4%; z-index: 1; font-size: 14px; color: #a1a1a6; text-align: center; }

/* Statement */
.nf-statement { font-size: clamp(26px, 3.6vw, 44px) !important; line-height: 1.15 !important; font-weight: 600; letter-spacing: -.03em; color: #6e6e73; }
.nf-statement strong { color: #1d1d1f; font-weight: 600; }
.nf-body2 p { color: #6e6e73; font-size: 19px; }
.nf-body2 strong { color: #1d1d1f; font-weight: 600; }

/* Kacheln */
.nf-tile { border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.nf-tile .wp-block-image { margin-top: auto !important; padding-top: 28px; }
.nf-tile .wp-block-image img { border-radius: 14px 14px 0 0; margin: 0 auto; }
.nf-tile p { color: #6e6e73; }

/* P.E.T.T.S */
.nf-bands { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(4px,.8vw,10px); height: clamp(150px,22vw,240px); margin: 56px auto 12px; max-width: 900px; }
.nf-bands > div { position: relative; background: #1d1d1f; border-radius: 8px; }
.nf-bands i { position: absolute; left: 12%; right: 12%; height: 12px; border-radius: 6px; background: #e0473b; transition: bottom 1.5s cubic-bezier(.2,.8,.2,1); }
.nf-bands.is-even i { bottom: 52% !important; }
.nf-bands-cap { display: flex; justify-content: space-between; max-width: 900px; margin: 0 auto; color: #86868b; font-size: 14px; }
.nf-stat { border-radius: 24px; }
.nf-stat .nf-n { font-size: clamp(56px,7vw,88px) !important; font-weight: 600; line-height: 1 !important; letter-spacing: -.04em; background: linear-gradient(180deg,#ff7a6b,#ab281e); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 !important; }
.nf-stat p { color: #a1a1a6; }

/* Schritte */
.nf-step { border-radius: 22px; }
.nf-step .nf-num { font-size: 40px !important; font-weight: 600; color: #ab281e; line-height: 1 !important; margin: 0 !important; }
.nf-step p { color: #6e6e73; font-size: 15px; }

/* Footer */
.nf-footer { font-size: 12px; line-height: 1.5; color: #6e6e73; }
.nf-footer a { color: #6e6e73; }
.nf-footer h5 { font-size: 12px; font-weight: 600; color: #1d1d1f; margin: 0 0 8px; letter-spacing: -.01em; }
.nf-footer p { margin: 0 0 4px; }
.nf-footer .nf-rule { border-top: 1px solid #d2d2d7; padding-top: 14px; }

/* Kontaktformular (Contact Form 7) */
.wpcf7 p { margin: 0 0 12px; }
.wpcf7 label { font-size: 14px; font-weight: 600; color: #6e6e73; }
.wpcf7 input:not([type=checkbox]):not([type=submit]), .wpcf7 textarea { width: 100%; font: inherit; font-size: 17px; min-height: 50px; padding: 10px 16px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; }
.wpcf7 .wpcf7-acceptance { font-size: 13px; color: #6e6e73; }
.wpcf7 input[type=submit] { background: #ab281e; color: #fff; border: 0; border-radius: 999px; min-height: 44px; padding: 0 22px; font: inherit; font-size: 17px; cursor: pointer; }

@media (max-width: 781px) { .admin-bar .nf-header { top: 46px; } }
@media (max-width: 600px) {
	.nf-campaign-pic { background-size: cover; background-position: 30% top; }
	.nf-campaign-pic::before { background: linear-gradient(#000 0, transparent 18%, transparent 70%, #000 100%); }
	.nf-bands-cap span:not(:first-child):not(:last-child) { display: none; }
	.admin-bar .nf-header { top: 0; }
}

/* powered by IAS */
.nf-powered { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; color: #6e6e73; font-size: 15px; }
.nf-powered img { height: 34px; width: auto; }

/* Neue Funktionen */
.nf-feature { align-items: center; text-align: center; }
.nf-glyph { width: 72px; height: 72px; color: #ab281e; display: block; margin: 0 auto 22px; }
.nf-badge { display: inline-block; font-size: 13px; font-weight: 600; color: #ab281e; border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; }
.nf-feature .wp-block-html { text-align: center; }

/* Zahlen */
.nf-fig { font-size: clamp(44px,6vw,72px) !important; font-weight: 600; letter-spacing: -.04em; line-height: 1 !important; color: #ab281e; margin: 48px 0 0 !important; }
.nf-figcap { color: #6e6e73; margin-top: 10px !important; }
.nf-scope { color: #6e6e73; font-size: 19px; margin-top: 36px !important; }
.nf-scope strong { color: #1d1d1f; font-weight: 600; }

/* Stimmen */
.nf-quote { display: flex; flex-direction: column; height: 100%; }
.nf-q { font-size: clamp(19px,1.7vw,22px) !important; line-height: 1.3 !important; font-weight: 600; letter-spacing: -.02em; color: #1d1d1f !important; margin: 0 0 .6em !important; }
.nf-qwho { margin-top: auto !important; padding-top: 18px; color: #6e6e73; font-size: 15px; }
.nf-qwho strong { color: #1d1d1f; }

/* Entwickler */
.nf-team-img img { border-radius: 28px; }
.nf-team-img figcaption { color: #6e6e73; font-size: 14px; text-align: left; }
.nf-lead { color: #6e6e73; font-size: 19px; }
.nf-lead strong { color: #1d1d1f; font-weight: 600; }
#entwickler .wp-block-columns { align-items: center; }

/* Für Hörakustiker */
.nf-pull { font-size: clamp(20px,2vw,24px) !important; line-height: 1.3 !important; font-weight: 600; letter-spacing: -.02em; border-left: 3px solid #ab281e; padding-left: 18px; }
.nf-who { font-size: 15px; font-weight: 400; color: #6e6e73; }
.nf-ias img { width: 120px !important; }

/* Sprachumschalter im Menü */
.nf-header .nf-lang a { border: 1px solid #d2d2d7; border-radius: 999px; padding: 4px 12px !important; font-weight: 600; opacity: 1 !important; }

/* So funktioniert's */
.nf-how { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(28px,4vw,56px); margin-top: 48px; align-items: start; text-align: left; }
.nf-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nf-how li button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 4px 14px; width: 100%; padding: 16px 18px; border-radius: 18px; cursor: pointer; background: #f5f5f7; }
.nf-how li button:focus-visible { outline: 3px solid #f0a99f; outline-offset: 2px; }
.nf-how .num { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: #fff; color: #ab281e; }
.nf-how li b { font-size: 19px; font-weight: 600; }
.nf-how li small { font-size: 15px; color: #6e6e73; }
.nf-how .more-txt { grid-column: 2; display: none; font-size: 16px; margin-top: 8px; line-height: 1.5; }
.nf-how li[aria-current=step] button { background: #fff; box-shadow: 0 0 0 2px #ab281e inset; }
.nf-how li[aria-current=step] .num { background: #ab281e; color: #fff; }
.nf-how li[aria-current=step] .more-txt { display: block; }
.nf-how .stage { position: sticky; top: 80px; background: #000; color: #f5f5f7; border-radius: 28px; padding: clamp(22px,3vw,36px); min-height: 420px; display: flex; flex-direction: column; }
.nf-how .lbl { font-size: 14px; color: #a1a1a6; min-height: 20px; }
.nf-how .stage h3 { margin: 6px 0 18px; font-size: clamp(22px,2.4vw,28px); color: #f5f5f7; }
.nf-how .viz { position: relative; flex: 1; min-height: 250px; }
.nf-how .viz > * { position: absolute; inset: 0; transition: opacity .5s; }
.nf-how .bars { height: 100%; box-sizing: border-box; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 6px; align-items: end; padding-bottom: 26px; }
.nf-how .bars div { position: relative; height: 100%; background: #1d1d1f; border-radius: 6px; }
.nf-how .bars i { position: absolute; left: 10%; right: 10%; bottom: 0; border-radius: 5px 5px 0 0; background: #e0473b; height: var(--h); transition: height .9s cubic-bezier(.2,.8,.2,1); }
.nf-how .bars i.soft { background: #ff9a8f; left: 30%; right: 30%; }
.nf-how .bars div.ref i:first-child { background: #fff; }
.nf-how .bars small { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 11px; color: #86868b; }
.nf-how .refline { position: absolute; left: 0; right: 0; border-top: 1px dashed rgba(255,255,255,.5); transition: bottom .9s, opacity .4s; }
.nf-how .bal { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.nf-how .track { position: relative; height: 10px; border-radius: 5px; background: #1d1d1f; margin: 0 10%; }
.nf-how .dot { position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #e0473b; left: var(--x); transition: left 1.2s cubic-bezier(.2,.8,.2,1); }
.nf-how .ends { display: flex; justify-content: space-between; margin: 0 10%; font-size: 14px; color: #a1a1a6; }
.nf-how svg { width: 100%; height: 100%; }
.nf-how .legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #a1a1a6; margin-top: 12px; min-height: 20px; }
.nf-how .legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--c); }
.nf-how .ctrl { display: flex; justify-content: space-between; margin-top: 14px; }
.nf-how .ctrl button { font: inherit; font-size: 15px; border: 1px solid #424245; background: transparent; color: #f5f5f7; border-radius: 999px; min-height: 40px; padding: 0 16px; cursor: pointer; }
.nf-how .ctrl button:disabled { opacity: .35; cursor: default; }
@media (max-width: 833px) { .nf-how { grid-template-columns: 1fr; } .nf-how .stage { position: relative; top: 0; order: -1; } }
