/* Shared layout and typography: preserve Hungarian words at every breakpoint. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:100px}
body{min-width:0}
main,section,article,aside,header,footer,nav,figure,form{min-width:0}
h1,h2,h3,h4,.big,.scene-copy strong,.home-focus-split strong{word-break:normal!important;overflow-wrap:normal!important;hyphens:manual;line-height:1.12;text-wrap:pretty}
p,li,figcaption{word-break:normal;overflow-wrap:normal}
img,video,svg{max-width:100%}
input,select,textarea{max-width:100%;font-size:16px!important}
button,.btn,.knowledge-cta{min-height:44px;max-width:100%}
.btn{white-space:normal!important;text-align:center;line-height:1.35;padding-top:12px;padding-bottom:12px}
a[href^="mailto:"],.sources a,.source a,.article a[href^="http"]{overflow-wrap:anywhere}
:where(.hero,.hero-grid,.section-head,.head,.services,.process,.promise,.cta-inner,.footer-grid,.footer,.contact,.layout,.topics,.article-card,.details-grid,.split,.grid,.focus-three-grid,.christmas-offer-grid,.energy-promo-grid)>*{min-width:0}
.fonix-home .hero{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
.fonix-home .hero-copy{padding:clamp(40px,5vw,84px) clamp(24px,5vw,88px)}
.fonix-home h1{font-size:clamp(2rem,4.1vw,4.7rem);line-height:1.08}
.fonix-home .hero-side{padding:clamp(24px,3vw,42px)}
.fonix-home .section-head{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
.fonix-home .section-head h2,.fonix-home .promise-box .big,.fonix-home .cta h2{font-size:clamp(1.65rem,3.2vw,3.6rem);line-height:1.12}
.fonix-home .focus-energy h2,.fonix-home .focus-knowledge h2{font-size:clamp(1.5rem,2.1vw,2.5rem);line-height:1.16}
.fonix-home .christmas-offer h2{font-size:clamp(2rem,3.5vw,4rem);line-height:1.12;width:auto}
.fonix-home .home-focus-split strong{font-size:clamp(1.4rem,2.1vw,2.25rem);line-height:1.16}
.fonix-home .scene-copy strong{font-size:clamp(1.65rem,3vw,3.2rem);line-height:1.15}
.fonix-home .services{grid-template-columns:repeat(3,minmax(0,1fr))}
.fonix-home .process{grid-template-columns:repeat(4,minmax(0,1fr))}
.fonix-home .cta-inner{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px}
.fonix-service .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.fonix-service .hero h1,.fonix-offer .hero h1,.fonix-gallery .hero h1{font-size:clamp(1.75rem,4vw,4.5rem);line-height:1.12}
.fonix-service .head{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.fonix-service h2,.fonix-offer .details h2,.fonix-offer .cta h2{font-size:clamp(1.6rem,3vw,3.4rem);line-height:1.16}
.fonix-service .services{grid-template-columns:repeat(4,minmax(0,1fr))}
.fonix-service .service{padding:26px 22px}
.fonix-service .service h3{font-size:1.15rem;line-height:1.4}
.fonix-knowledge .hero h1{font-size:clamp(1.8rem,4.2vw,4rem);line-height:1.14}
.fonix-knowledge h2{font-size:clamp(1.6rem,3vw,3rem);line-height:1.16}
.fonix-knowledge .article-card{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.fonix-knowledge .article-copy{padding:clamp(22px,3vw,40px)}
.fonix-knowledge .article-card h3{font-size:clamp(1.4rem,2.2vw,2.1rem);line-height:1.25}
.fonix-article .hero h1{font-size:clamp(1.7rem,3.5vw,3.4rem);line-height:1.18}
.fonix-article .layout{grid-template-columns:minmax(0,1fr) minmax(0,280px);gap:clamp(24px,4vw,56px)}
.fonix-article .article h2{font-size:clamp(1.45rem,2.5vw,2.2rem);line-height:1.25}
.fonix-article .article h3{line-height:1.4}
.fonix-article .article{font-size:1.125rem;line-height:1.75}
.table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.facts{table-layout:fixed;width:100%}
.facts th,.facts td{white-space:normal;overflow-wrap:break-word;word-break:normal}
.fonix-energy .hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.fonix-energy h1{font-size:clamp(1.85rem,4vw,3.6rem);line-height:1.18;letter-spacing:-.02em}
.fonix-energy h2{font-size:clamp(1.6rem,2.6vw,2.125rem);line-height:1.25}
.fonix-offer .hero-grid,.fonix-offer .details-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.fonix-offer .hero figure{transform:none}
/* The full navigation needs more space than a tablet provides. */
@media(max-width:1200px){
 .fonix-home header nav,.site-main-header nav{height:76px}
 .fonix-home .menu,.site-main-header .menu{display:block;padding:12px 16px}
 .fonix-home .navlinks,.site-main-header .navlinks{display:none;position:absolute;top:76px;left:0;right:0;max-height:calc(100dvh - 76px);overflow-y:auto;flex-direction:column;align-items:stretch;gap:6px;padding:20px 24px;background:#f7f8fb;box-shadow:0 16px 30px #071f4920}
 .fonix-home .navlinks.open,.site-main-header .navlinks.open{display:flex}
 .fonix-home .navlinks a,.site-main-header .navlinks a{white-space:normal;font-size:1rem;line-height:1.4;padding:10px 0}
 .fonix-home .navlinks .btn,.site-main-header .navlinks .btn{padding:12px 18px;width:100%}
 .fonix-home .brand-logo{width:178px;flex-shrink:0}
}
@media(max-width:1000px){
 .fonix-home .hero,.fonix-service .hero,.fonix-energy .hero-grid{grid-template-columns:minmax(0,1fr)}
 .fonix-home .hero{min-height:0}
 .fonix-home .hero-side{min-height:360px}
 .fonix-home .hero-copy{padding:48px max(24px,calc((100vw - 800px)/2))}
 .fonix-home h1{font-size:clamp(2rem,5vw,3.4rem);max-width:750px}
 .fonix-service .hero-copy{padding:48px 28px}
 .fonix-service .services{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fonix-home .section-head,.fonix-service .head{grid-template-columns:minmax(0,1fr);gap:16px}
 .fonix-home .promise,.fonix-home .cta-inner,.fonix-service .contact{grid-template-columns:minmax(0,1fr);gap:28px}
 .fonix-home .process{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fonix-home .services{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fonix-home .footer-grid,.fonix-service .footer{grid-template-columns:minmax(0,1fr);gap:28px}
 .fonix-article .layout{grid-template-columns:minmax(0,1fr)}
 .fonix-article .side{position:static;order:0}
 .fonix-offer .hero-grid,.fonix-offer .details-grid,.fonix-offer .cta-inner{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 html{scroll-padding-top:84px}
 .wrap{width:calc(100% - 32px)}
 .fonix-home section,.fonix-service section{padding-top:48px;padding-bottom:48px}
 .fonix-home .focus-three,.fonix-home .christmas-offer,.fonix-home .cta{padding:0}
 .fonix-home .focus-three-grid{grid-template-columns:minmax(0,1fr)}
 .fonix-home .focus-energy,.fonix-home .focus-knowledge{min-height:0;grid-column:auto}
 .fonix-home .focus-panel{padding:32px 24px}
 .fonix-home .focus-visual{order:2;min-height:0;aspect-ratio:auto}
 .fonix-home .focus-visual picture{position:static}
 .fonix-home .focus-visual img{position:static;height:auto;object-fit:contain}
 .fonix-home .focus-energy{order:1}.fonix-home .focus-knowledge{order:3}
 .fonix-home .christmas-offer-grid{grid-template-columns:minmax(0,1fr)}
 .fonix-home .christmas-offer-copy{padding:36px 24px}
 .fonix-home .home-focus-split{grid-template-columns:minmax(0,1fr)}
 .fonix-home .home-focus-split a{padding:22px 24px;align-items:flex-start;text-align:left}
 .fonix-knowledge .article-card{grid-template-columns:minmax(0,1fr)}
 .fonix-knowledge .article-card img{min-height:0;height:auto}
 .fonix-article .hero,.fonix-knowledge .hero{padding:40px 0 32px}
 .fonix-article .layout{padding-top:36px;padding-bottom:48px}
 .fonix-article .facts{font-size:.9rem;line-height:1.5}
 .fonix-article .facts th,.fonix-article .facts td{padding:10px 8px}
 .knowledge-links{max-height:calc(100dvh - 82px);overflow-y:auto}
 .fonix-energy .knowledge-links{max-height:none}
 .fonix-energy .split,.fonix-energy .grid{grid-template-columns:minmax(0,1fr)}
 .fonix-home .phone,.fonix-service .phone,.fonix-offer .contact .phone{font-size:clamp(1.35rem,6vw,1.8rem)}
}
@media(max-width:560px){
 /* Sentence case reduces the width of long Hungarian compound words. */
 h1,h2,.big,.scene-copy strong,.home-focus-split strong{text-transform:none!important;letter-spacing:normal!important}
 .fonix-home h1,.fonix-service .hero h1,.fonix-offer .hero h1,.fonix-gallery .hero h1{font-size:clamp(1.75rem,7.6vw,2.6rem)}
 .fonix-article .hero h1,.fonix-knowledge .hero h1{font-size:clamp(1.65rem,6vw,2rem)}
 .fonix-home .focus-energy h2,.fonix-home .focus-knowledge h2{font-size:clamp(1.5rem,6vw,1.9rem)}
 .fonix-home .services,.fonix-home .process,.fonix-service .services{grid-template-columns:minmax(0,1fr)}
 .fonix-home .hero-copy,.fonix-service .hero-copy{padding:36px 20px}
 .fonix-home .hero-side{min-height:320px}
 .fonix-home .hero-copy h1 br,.fonix-service .hero-copy h1 br,.fonix-article .hero h1 br{display:none}
 .fonix-home .card-body,.fonix-home .step{padding:24px;min-height:0}
 .fonix-home .cta-inner,.fonix-service .contact,.fonix-offer .cta-inner{padding:28px 20px}
 .fonix-home .actions .btn{width:100%}
 .fonix-home .promise-box{padding:28px 22px;min-height:280px}
 .fonix-service .contact-card,.fonix-offer .contact{padding:22px 16px}
 .fonix-article .article{font-size:1.0625rem}
 .fonix-article .article h2{font-size:1.45rem;margin-top:36px}
 .fonix-knowledge .article-copy{padding:24px 20px}
 .knowledge-links{max-height:calc(100dvh - 70px)}
 .kicker,.eyebrow{letter-spacing:.06em;flex-wrap:wrap}
 .topbar .wrap,.top .wrap{flex-wrap:wrap;gap:8px}
}
@media(min-width:1201px){
 .fonix-home header nav{gap:24px}
 .fonix-home .brand{flex-shrink:0}
 .fonix-home .navlinks{gap:16px}
 .fonix-home .navlinks a{font-size:.83rem;white-space:nowrap}
 .fonix-home .navlinks .btn{padding-left:16px;padding-right:16px}
}
/* Keep table words intact; scroll the table, never the whole page. */
.table-scroll,.lia-scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
.table-scroll:focus-visible,.lia-scroll:focus-visible{outline:3px solid #d9681e;outline-offset:4px}
.facts{table-layout:auto}
.facts th,.facts td,.lia-table th,.lia-table td{overflow-wrap:normal;word-break:normal;hyphens:manual}
.fonix-energy .wrap{width:calc(100% - 32px);max-width:1160px;padding-left:0;padding-right:0}
.fonix-knowledge .topics{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
@media(max-width:760px){
 .facts th,.facts td,.lia-table th,.lia-table td{padding:12px!important}
 .fonix-energy .copy{padding:36px 0 24px}
 .fonix-energy .photo{padding-left:0}
 .fonix-home .home-focus-split strong br{display:none}
 .fonix-home .home-focus-split a:first-child{align-items:flex-start!important;text-align:left!important}
}
@media(max-width:560px){
 .fonix-energy h1{font-size:clamp(1.5rem,6.6vw,2rem)}
 .fonix-energy .panel,.fonix-energy .card{padding:20px 16px}
 .fonix-energy .wekerle-recommendation{padding:20px 16px}
 .fonix-energy .wekerle-recommendation h3{font-size:1.25rem;line-height:1.35}
 .fonix-home .new-reference-section h2{font-size:1.65rem;line-height:1.25}
 .fonix-home .christmas-offer h2{font-size:clamp(1.7rem,6.8vw,2rem)}
}

/* Full-width mobile records: every column stays visible without sideways scrolling. */
.readable-table{width:100%;max-width:100%;min-width:0;table-layout:auto;border-collapse:separate;border-spacing:0;border:1px solid #d7ddea}
.readable-table th,.readable-table td,.facts.readable-table td:first-child{width:auto!important;min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal}
.table-cell-label{display:none}
.table-scroll,.lia-scroll{padding:1px}
@media(max-width:900px){
 .table-scroll,.lia-scroll{overflow:visible;max-width:100%;padding:0}
 .readable-table{display:block;width:100%;max-width:100%;min-width:0!important;border:0;background:transparent;font-size:1rem!important;line-height:1.6;margin:0}
 .readable-table thead,.readable-table .table-heading-row{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
 .readable-table tbody{display:block;width:100%}
 .readable-table tbody tr:not(.table-heading-row){display:block;width:100%;margin:0 0 18px;background:#fff;border:1px solid #b9c7dc;border-radius:6px}
 .readable-table tbody tr:not(.table-heading-row)>th,.readable-table tbody tr:not(.table-heading-row)>td{display:block;width:100%!important;max-width:100%;padding:14px 16px!important;border:0;border-bottom:1px solid #d7ddea;background:#fff;color:#253754;text-align:left;font-weight:400}
 .readable-table tbody tr:not(.table-heading-row)>:first-child{background:#edf1f8;color:#071f49;font-weight:700;border-radius:5px 5px 0 0}
 .readable-table tbody tr:not(.table-heading-row)>:last-child{border-bottom:0;border-radius:0 0 5px 5px}
 .readable-table .table-cell-label{display:block;margin:0 0 5px;color:#123c82;font:700 .875rem/1.5 Arial,sans-serif;text-transform:none;letter-spacing:normal}
 .readable-table p{margin:0}
 .fonix-article .layout{gap:28px}
}
@media(max-width:560px){
 .fonix-article .hero h1{font-size:clamp(1.5rem,5.5vw,1.9rem);line-height:1.25}
 .fonix-article .article h2{font-size:1.35rem;line-height:1.35}
 .fonix-article .article h3{font-size:1.125rem;line-height:1.4}
 .fonix-article .cta{padding:26px 18px}
 .fonix-article .note{padding:20px 16px}
 .fonix-article .article-creative{margin-left:0;margin-right:0}
}
