/*
Theme Name: StreamWelle
Author: Codex
Description: Editable German IPTV information and service theme with Customizer sections.
Version: 0.6.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: streamwelle
*/

:root{--bg:#100d19;--surface:#1a1427;--surface2:#241a35;--text:#f7f3ff;--muted:#bcb3ca;--accent:#a36cff;--accent2:#cfacff;--line:#413351;--radius:22px;--max:1160px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit}img{max-width:100%;height:auto}button,input{font:inherit}.wrap{width:min(calc(100% - 40px),var(--max));margin:auto}.skip-link{position:absolute;left:-9999px;top:10px;background:#fff;color:#111;padding:10px;z-index:99}.skip-link:focus{left:10px}.site-header{border-bottom:1px solid var(--line);background:#100d19ee;position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:1.45rem;font-weight:850;letter-spacing:-.04em;text-decoration:none}.brand span{color:var(--accent)}.brand img{max-height:46px;width:auto;display:block}.nav-list{display:flex;gap:24px;align-items:center;list-style:none;margin:0;padding:0}.nav-list a{text-decoration:none;color:var(--muted);font-weight:650}.nav-list a:hover,.nav-list a:focus-visible{color:#fff}.menu-toggle{display:none;border:1px solid var(--line);background:var(--surface);color:#fff;border-radius:12px;padding:8px 12px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 22px;border-radius:999px;text-decoration:none;font-weight:750;border:1px solid var(--accent);background:var(--accent);color:#150d22;transition:transform .18s ease,background .18s ease}.button:hover,.button:focus-visible{transform:translateY(-2px);background:#bb96ff}.button.secondary{background:transparent;color:#fff;border-color:#77658f}.button.secondary:hover{background:var(--surface2)}.button-row{display:flex;gap:12px;flex-wrap:wrap}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:var(--accent2);font-size:.76rem;font-weight:800}.section{padding:88px 0}.section.alt{background:#151020}.section-head{max-width:680px;margin-bottom:28px}.section h2{font-size:clamp(2rem,4vw,3.1rem);line-height:1.14;letter-spacing:-.045em;margin:10px 0 14px}.section-intro,.lead{color:var(--muted);font-size:1.08rem}.hero{padding:88px 0 70px;background:radial-gradient(circle at 78% 30%,#3d225d 0,transparent 37%),radial-gradient(circle at 15% 5%,#281638 0,transparent 37%),var(--bg)}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}.hero h1{font-size:clamp(2.7rem,5.4vw,5.2rem);line-height:1.04;letter-spacing:-.055em;margin:16px 0 22px}.hero h1 em{font-style:normal;color:var(--accent)}.hero .lead{font-size:1.22rem;max-width:650px}.hero-points{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 30px}.hero-points span,.pill{display:inline-block;border:1px solid var(--line);background:#241a34;border-radius:999px;padding:5px 13px;color:#e7dcf6;font-size:.88rem}.hero-art{aspect-ratio:1/1;display:grid;place-items:center;position:relative;border:1px solid #66498c;border-radius:50%;background:radial-gradient(circle,#4d2b71 0,#21132f 48%,#100d19 75%);box-shadow:0 0 100px #8c49df33}.hero-art:before{content:"";position:absolute;width:72%;height:48%;border:9px solid #19121f;background:#110d18;border-radius:20px;box-shadow:0 0 45px #ac70ff55}.hero-art strong{z-index:1;font-size:clamp(2rem,4vw,3.8rem);letter-spacing:-.06em;text-shadow:0 0 20px #ad73ff}.hero-art strong span{color:var(--accent)}.hero-art img{width:100%;height:100%;object-fit:cover;border-radius:50%;position:relative;z-index:2}.trust-line{margin-top:20px;color:var(--muted);font-size:.94rem}.grid{display:grid;gap:20px}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.card h3{font-size:1.28rem;line-height:1.25;margin:4px 0 12px}.card p{color:var(--muted);margin:0 0 16px}.card a.more{color:var(--accent2);font-weight:750;text-decoration:none}.card a.more:hover{text-decoration:underline}.icon{color:var(--accent);font-size:1.6rem}.media-strip{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 0 18px}.media-tile{scroll-snap-align:start;flex:0 0 165px;min-height:95px;background:var(--surface);border:1px solid var(--line);border-radius:16px;display:grid;place-items:center;padding:15px}.media-tile img{max-height:75px;width:auto;object-fit:contain}.price{display:flex;flex-direction:column;min-height:260px}.price .amount{font-size:2.3rem;font-weight:850;letter-spacing:-.05em;margin:10px 0}.price .button{margin-top:auto}.price.featured{border-color:var(--accent);box-shadow:0 0 30px #a36cff22}.quote{font-size:1.05rem;color:#f3ecff}.quote-meta{font-size:.9rem;color:var(--muted);margin-top:16px}.faq-item{border-bottom:1px solid var(--line);padding:17px 0}.faq-item summary{cursor:pointer;font-weight:750;font-size:1.1rem}.faq-item p{color:var(--muted);margin-bottom:0}.article-shell{max-width:800px;padding:64px 0 90px}.article-shell h1{font-size:clamp(2.2rem,4vw,3.8rem);letter-spacing:-.05em;line-height:1.12}.article-shell h2{margin-top:45px}.article-shell p,.article-shell li{color:#ded5e9}.article-shell a{color:var(--accent2)}.post-meta{color:var(--muted);font-size:.9rem}.post-card{height:100%}.post-card img{aspect-ratio:16/9;object-fit:cover;border-radius:12px}.pagination{margin-top:32px}.site-footer{background:#0a0810;border-top:1px solid var(--line);padding:55px 0 24px;color:var(--muted)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer h2{font-size:1rem;color:#fff}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:7px 0}.site-footer a{text-decoration:none}.site-footer a:hover{text-decoration:underline}.copyright{border-top:1px solid var(--line);margin-top:32px;padding-top:18px;font-size:.85rem}.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}
@media(max-width:800px){.hero-grid{grid-template-columns:1fr}.hero-art{max-width:390px;order:-1;margin:auto}.grid.four,.grid.three{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.menu-toggle{display:block}.header-nav{display:none;position:absolute;top:76px;left:0;right:0;background:#100d19;padding:20px;border-bottom:1px solid var(--line)}.header-nav.open{display:block}.nav-list{display:flex;flex-direction:column;align-items:flex-start}.header-cta{display:none}}
@media(max-width:560px){.section{padding:62px 0}.hero{padding:45px 0 60px}.hero-art{max-width:265px}.grid.four,.grid.three,.footer-grid{grid-template-columns:1fr}.card{padding:23px}.wrap{width:min(calc(100% - 32px),var(--max))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* Version 0.2: gold theme, readable sliders, and accessible motion. */
.mobile-trial{display:none}
:root{--bg:#0d0c0b;--surface:#171614;--surface2:#211e18;--text:#fffaf0;--muted:#c4bfb4;--accent:#f4cd55;--accent2:#ffdf78;--line:#403723;--radius:20px}
html{color-scheme:dark}body{background-color:var(--bg);background-repeat:no-repeat;color:var(--text)}
body:where(.home,.page,.blog,.single) .section.alt{background:rgba(12,11,10,.88)}
.site-header{background:#0d0c0bef}.site-footer{background:#090806}.header-nav{background:#0d0c0b}.nav-list a:hover,.nav-list a:focus-visible,.site-footer a:hover{color:var(--accent2)}
a:focus-visible,button:focus-visible,summary:focus-visible,.media-strip:focus-visible,.quote-strip:focus-visible{outline:3px solid #fff0a8;outline-offset:4px}
.button{color:#19140a;background:var(--accent);border-color:var(--accent);box-shadow:0 7px 24px #f4cd5526}.button:hover,.button:focus-visible{background:#ffe17e}.button.secondary{background:#211e18;color:#fff9eb;border-color:#605439;box-shadow:none}.button.secondary:hover{background:#342b18}
.eyebrow,.icon,.card a.more,.article-shell a,.hero h1 em{color:var(--accent2)}.hero{background:radial-gradient(circle at 80% 35%,#6a4b1838,transparent 35%),radial-gradient(circle at 12% 12%,#49371126,transparent 35%),rgba(13,12,11,.78)}.hero-art{border-color:#786529;background:radial-gradient(circle,#5b431c 0,#211a10 48%,#0d0c0b 76%);box-shadow:0 0 75px #e3af3c22}.hero-art:before{border-color:#201b11;background:#110e0a;box-shadow:0 0 30px #e4b94d44}.hero-art strong{text-align:center;font-size:clamp(1.4rem,3vw,2.8rem);padding:20px;text-shadow:0 0 16px #e7b54166;overflow-wrap:anywhere}.hero-points span,.pill{background:#292313;color:#fff4d6}.card{background:#171614ed;border-color:#473b22}.card p{color:#cac4b7}.section h2,.hero h1,.article-shell h1{text-wrap:balance}.section-head.center,.center{text-align:center;margin-left:auto;margin-right:auto}.narrow{max-width:850px}.button-row.centered{justify-content:center}.section-action{margin-top:25px}.section-action.center{text-align:center}.small-note{font-size:.88rem;color:var(--muted);margin-top:18px}.setup-notice{border:1px solid #efba42;background:#34290d;color:#fff7dd;border-radius:12px;padding:14px 18px;margin:20px auto}.page-hero{padding:70px 0}.page-hero h1,.trial-hero h1{font-size:clamp(2.4rem,4.4vw,4.2rem)}.trial-card{margin-bottom:30px}.trial-card h2{margin-top:0}.trial-steps{margin:35px 0 55px}.trial-steps .card h2{font-size:1.2rem;margin:8px 0}.install-group{padding:55px 0}.install-group+.install-group{padding-top:0}.device-icon{display:grid;place-items:center;width:48px;height:48px;background:#3b3018;color:var(--accent);border-radius:13px;font-size:1.3rem;margin-bottom:14px}.breadcrumbs{margin-bottom:28px}.guide-next{margin-top:55px}.guide-next h2{margin-top:0}
.marquee{overflow-x:hidden;max-width:100%;mask-image:linear-gradient(to right,transparent,#000 6%,#000 94%,transparent)}.marquee-track{display:flex;width:max-content;animation:sw-marquee 60s linear infinite}.marquee:hover .marquee-track,.marquee:focus-within .marquee-track{animation-play-state:paused}.marquee-set{display:flex;gap:18px;padding-right:18px}.logo-tile{display:grid;place-items:center;width:165px;height:100px;border:1px solid var(--line);border-radius:15px;background:#1a1814;padding:18px}.logo-tile img{max-width:100%;max-height:70px;width:auto;height:auto;object-fit:contain;filter:grayscale(.65);opacity:.8}.marquee-set:only-child{animation:none}.marquee:has(.marquee-set:only-child){overflow-x:auto}.marquee-track:has(.marquee-set:only-child){animation:none}@keyframes sw-marquee{to{transform:translateX(-50%)}}
.carousel-shell{display:flex;align-items:center;gap:14px}.carousel-arrow{width:44px;height:44px;flex:0 0 44px;border-radius:50%;border:1px solid #dbb845;background:var(--accent);color:#1d1708;font-size:1.7rem;line-height:1;cursor:pointer;box-shadow:0 3px 20px #e4b94935}.carousel-arrow:hover{background:#ffe17e}.poster-strip,.quote-strip{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#806824 transparent;padding:8px 0 20px;min-width:0;flex:1}.poster-tile{flex:0 0 clamp(180px,23%,265px);margin:0;scroll-snap-align:start}.poster-tile a{display:block}.poster-tile img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:15px;border:1px solid var(--line)}.poster-tile figcaption{font-weight:700;margin-top:10px}.quote-strip{align-items:stretch}.quote-card{flex:0 0 calc((100% - 40px)/3);scroll-snap-align:start;min-width:0;display:flex;flex-direction:column;margin:0;min-height:310px}.stars{font-size:1.4rem;color:var(--accent);letter-spacing:.08em}.quote{font-style:italic;font-size:1.05rem;line-height:1.75;color:#e9e2d6;flex:1}.quote-meta{color:#fff4db}.verified{color:#73d9a0;font-weight:700}
.pricing-grid{align-items:stretch}.price{min-height:390px;position:relative;padding-top:35px}.price.featured{background:linear-gradient(180deg,#30240f,#1b1813);border-color:var(--accent);box-shadow:0 0 28px #e6b84924}.price .amount{margin:8px 0 0;font-variant-numeric:tabular-nums}.per-month{margin:0 0 12px;color:var(--muted)}.plan-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);white-space:nowrap;border-radius:999px;background:var(--accent);color:#21190a;padding:3px 12px;font-size:.78rem;font-weight:800}.saving{align-self:flex-start;border-radius:999px;background:#3a2e18;color:#ffe397;padding:3px 10px;font-size:.85rem;font-weight:700}.plan-features{list-style:none;padding:0;margin:18px 0 28px}.plan-features li{position:relative;padding-left:22px;margin:8px 0;line-height:1.4;color:#d7d0c2}.plan-features li:before{content:'✓';position:absolute;left:0;color:var(--accent)}.price .button{width:100%}
.reveal{opacity:1;transform:none}.js-motion .reveal:not(.is-visible){opacity:.92;transform:translateY(12px)}.js-motion .reveal{transition:opacity .55s ease,transform .55s ease}
@media(max-width:900px){.pricing-grid{grid-template-columns:repeat(2,1fr)!important}.quote-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:800px){.header-nav{background:#0d0c0b}.header-nav.open .mobile-trial{display:inline-flex;margin-top:20px}.hero-art{order:2}.hero-copy{order:1}.hero{padding:45px 0 55px}.hero-art{max-width:300px}.hero h1{font-size:clamp(2.5rem,8vw,4rem)}.hero-points{margin-bottom:20px}}
@media(max-width:560px){.pricing-grid{grid-template-columns:1fr!important}.quote-card{flex-basis:100%}.carousel-shell{gap:7px}.carousel-arrow{width:34px;height:34px;flex-basis:34px}.poster-tile{flex-basis:72%}.hero-art{max-width:210px}.hero h1{font-size:clamp(2.2rem,9vw,3rem)}.hero .lead{font-size:1.04rem}.hero-points{gap:7px}.logo-tile{width:135px;height:85px}.section{padding:58px 0}}
@media(prefers-reduced-motion:reduce){.marquee-track{animation:none!important;transform:none!important}.marquee{overflow-x:auto;mask-image:none}.marquee-set[aria-hidden="true"]{display:none}.js-motion .reveal{opacity:1!important;transform:none!important;transition:none!important}.poster-strip,.quote-strip{scroll-behavior:auto}}
@media(max-width:800px){body{background-attachment:scroll!important}}
.hero-grid:not(:has(.hero-photo)){grid-template-columns:minmax(0,850px)}.hero-photo{min-width:0}.hero-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:22px;border:1px solid var(--line)}.editorial-steps{padding-left:1.5rem}.editorial-steps li{padding-left:.4rem;margin:0 0 18px;color:var(--muted)}.editorial-steps h3{margin:0 0 5px;color:var(--text)}.editorial-steps p{margin:0}.guide-content{padding:20px 0 40px}.guide-content h2{margin-top:45px}.guide-content li{margin-bottom:10px}.guide-content .faq-item p{padding-bottom:8px}

.entry-content{max-width:72ch}.entry-content h2{margin-top:2.1em;line-height:1.2}.entry-content h3{margin-top:1.5em}.entry-content p,.entry-content li{color:#ded5e9}.entry-content a{text-decoration:underline;text-underline-offset:3px}.table-scroll{overflow-x:auto}.entry-content table{width:100%;border-collapse:collapse;margin:24px 0}.entry-content th,.entry-content td{padding:12px 16px;border:1px solid var(--line);text-align:left}.entry-content th{background:var(--surface2)}
.poster-strip{align-items:stretch}.poster-tile{display:flex;flex-direction:column;align-self:stretch}.poster-tile>a{display:block}.poster-tile img{width:100%;height:clamp(300px,34vw,398px);aspect-ratio:2/3;object-fit:cover}.poster-tile figcaption{min-height:1.5em;line-height:1.5;margin-top:9px}@media(max-width:560px){.poster-tile img{height:clamp(270px,96vw,430px)}}
