/* GKphone 1.0.29: Smartphone-/Tablet-Ansichten auf Basis 1.0.25, ohne Editor-Umbau. */
:root{--gk-header-height:90px;--gk-callbar-height:0px}
:where(main [id]){scroll-margin-top:calc(var(--gk-header-height) + 16px)}
#anfrage{scroll-margin-top:calc(var(--gk-header-height) + 16px)}
@media(max-width:1259px){
  nav.main{max-height:calc(100vh - var(--gk-header-height) - var(--gk-callbar-height) - 12px);max-height:calc(100dvh - var(--gk-header-height) - var(--gk-callbar-height) - 12px);overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  nav.main a,nav.main .nav-disclosure{overflow-wrap:anywhere}
}
@media(min-width:641px) and (max-width:980px){
  header.site .brand img{height:54px;width:auto}
  header.site .wrap{padding-top:10px;padding-bottom:10px}
  .topbar{display:none}
  .hero{padding:42px 0 48px}
  .hero .wrap{grid-template-columns:minmax(0,1.25fr) minmax(240px,.8fr);gap:24px}
  .hero h1{font-size:clamp(1.9rem,4.2vw,2.6rem)}
  .hero .lead,.page-hero .lead{font-size:1.08rem}
  .hero-card{padding:20px;box-shadow:0 10px 28px rgba(7,29,64,.1)}
  .hero-card .who{gap:12px}.hero-card .avatar{width:56px;height:56px}
  .hero-card dl{grid-template-columns:1fr;gap:0}.hero-card dt{font-size:.85rem;margin-top:6px}
  .hero .btn-row{gap:10px}.hero .btn-row .btn{padding:12px 16px}
  section{padding:52px 0}.sec-head{margin-bottom:28px}
  .contact{gap:24px}.ci-photo{width:112px}.person{grid-template-columns:210px minmax(0,1fr);gap:28px}
  .photo{aspect-ratio:4/5}.person .btn-row .btn{padding-left:14px;padding-right:14px}
  .page-hero{padding:38px 0 40px}.split{gap:28px}
}
@media(min-width:768px) and (max-width:980px){
  .contact{grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr)}
  .contact .row2{grid-template-columns:1fr}
  .ci-head{padding:18px 18px 4px}.ci-inner{padding-left:18px;padding-right:18px}
  .ci-big{font-size:1.15rem;white-space:normal}
  form.c{padding:22px}
}
@media(max-width:767px){
  .split{grid-template-columns:minmax(0,1fr);gap:24px}
  .contact{grid-template-columns:minmax(0,1fr);gap:24px}
  .contact .row2{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:640px){
  :root{--gk-header-height:76px;--gk-callbar-height:calc(64px + env(safe-area-inset-bottom,0px))}
  html{scroll-padding-top:calc(var(--gk-header-height) + 12px)}
  body{font-size:16px;line-height:1.6}
  .wrap{padding-left:max(18px,env(safe-area-inset-left,0px));padding-right:max(18px,env(safe-area-inset-right,0px))}
  header.site .wrap{padding-top:10px;padding-bottom:10px;gap:14px;min-height:72px}
  header.site .brand{width:clamp(145px,47vw,184px);max-width:calc(100% - 88px);flex:0 1 auto}
  header.site .brand img{display:block;width:100%;height:auto;max-height:none}
  .head-cta{flex:none;gap:0}.head-cta>.btn{display:none}
  .menu-btn{font-size:15px;min-height:44px;min-width:68px;padding:0 12px;border-radius:9px}
  nav.main{padding:8px 18px 14px}
  nav.main a,nav.main .subtoggle.nav-disclosure{font-size:16px;line-height:1.4;min-height:48px;padding-top:13px;padding-bottom:13px}
  nav.main .drop a{padding:12px 10px;min-height:46px}
  .topbar{display:none}
  section,section.tight{padding:38px 0}
  .hero{padding:28px 0 34px}
  .hero .wrap{grid-template-columns:minmax(0,1fr);gap:24px}
  h1,.hero h1{font-size:clamp(1.8rem,7.9vw,2.25rem);line-height:1.15;letter-spacing:-.025em;hyphens:manual;-webkit-hyphens:manual;overflow-wrap:break-word}
  .eyebrow{font-size:11px;line-height:1.5;letter-spacing:.055em;margin-bottom:10px;max-width:100%}
  .swoosh{width:142px;margin-bottom:17px}
  .lead,.hero .lead,.page-hero .lead{font-size:17px;line-height:1.55;margin-bottom:22px}
  .page-hero .lead.tight{margin-bottom:12px}
  .page-hero{padding:28px 0 30px}
  .page-hero .btn-row{margin-top:4px}
  .btn{min-height:46px;padding:12px 16px;font-size:16px;line-height:1.3}
  .btn-row{gap:10px}.btn-row .btn{width:100%;white-space:normal}
  .hero-card{padding:18px;border-radius:13px;box-shadow:0 8px 24px rgba(7,29,64,.09)}
  .hero-card .who{gap:12px;margin-bottom:12px}.hero-card .avatar{width:52px;height:52px}
  .hero-card h2{font-size:18px}.hero-card .role{font-size:14px;line-height:1.4}
  .hero-card dl{font-size:15px;gap:4px 12px;margin-bottom:14px}
  .hero-card dd a{overflow-wrap:anywhere}.hero-card dd{min-width:0}
  .hero-card>.btn{min-height:44px;font-size:15px}
  .sec-head{margin-bottom:22px}h2.title{font-size:25px;line-height:1.22;margin-bottom:10px}
  .sec-head p{font-size:16px;line-height:1.55}
  .grid{gap:14px}.g2,.g3,.g5{grid-template-columns:minmax(0,1fr)}
  .card{padding:20px;gap:9px}.card h3,.aud h3{font-size:18px;line-height:1.35}
  .card p{font-size:16px;line-height:1.55}.card .more{font-size:15px;padding-top:3px}
  .icon{width:36px;height:36px}.icon svg{width:21px;height:21px}
  #leistungen .card-link{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:14px;row-gap:6px;padding:18px}
  #leistungen .card-link .icon{grid-column:1;grid-row:1/span 3;margin:0}
  #leistungen .card-link h3,#leistungen .card-link p,#leistungen .card-link .more{grid-column:2}
  #leistungen .card-link .more{margin-top:2px}
  .person{grid-template-columns:minmax(0,1fr);gap:22px}
  .person>.photo{width:132px;max-width:45%;aspect-ratio:4/5;justify-self:start}
  .person .photo img{object-position:center top}
  .person blockquote{font-size:18px;line-height:1.55;padding-left:15px;margin-bottom:18px}
  .person p{font-size:16px}
  .check .wrap{grid-template-columns:minmax(0,1fr);gap:22px}.check p{font-size:16px}
  .band{padding:32px 0}.band.check .wrap{gap:20px}
  .steps,.steps.s3,.steps.s4{grid-template-columns:minmax(0,1fr);gap:22px}
  .steps li{padding:0 0 0 54px;min-height:40px}.steps li::before{width:36px;height:36px;font-size:16px}
  .steps li::after{display:none}.steps h3{font-size:17px}.steps p{font-size:16px}
  .explain{padding:20px;border-radius:10px}
  .ci-head{padding:18px 18px 6px;display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:15px}
  .ci-photo{width:88px;border-radius:9px}.ci-photo img{width:100%;height:auto}.ci-initials{font-size:28px}
  .ci-name{font-size:20px}.ci-role{font-size:14px;line-height:1.4}
  .ci-inner{padding:0 18px 6px}.ci-head+.ci-inner{padding-top:6px}
  .ci-row{gap:12px;padding:12px 0}.ci-icon{width:32px;height:32px}.ci-icon svg{width:18px;height:18px}
  .ci-label{font-size:14px}.ci-big{font-size:19px;white-space:normal}.ci-mail{font-size:16px}
  .ci-hours,.contact-info address{font-size:15px}.ci-hours div{grid-template-columns:3.6em minmax(0,1fr);gap:8px}
  .ci-hours dd{white-space:normal}
  form.c{padding:20px 18px;gap:17px;border-radius:13px}
  .row2{grid-template-columns:minmax(0,1fr);gap:17px}
  label{font-size:15px;margin-bottom:6px}
  input[type=email],input[type=tel],input[type=text],select,textarea{font-size:16px;min-width:0;max-width:100%;padding:11px 12px}
  textarea{min-height:128px}.cb{font-size:15px;line-height:1.55;gap:10px}
  .cb input{width:22px;height:22px}.fine,.up .up-help,.up-msg{font-size:14px;line-height:1.55}
  .up input[type=file]{font-size:14px;padding:9px;min-width:0;max-width:100%}
  .up input[type=file]::file-selector-button{font-size:14px;padding:10px;margin-right:8px;min-height:42px}
  .up-list li{font-size:14px;min-width:0;gap:8px}.up-list .sz{white-space:normal}
  .up-list button{min-height:44px}.up-list .nm{overflow-wrap:anywhere}
  .prose h2{font-size:21px;line-height:1.3;margin-top:28px}.prose h3{font-size:18px}
  .prose{overflow-wrap:anywhere}.prose p,.prose li{font-size:16px}
  footer.site{padding-top:34px;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
  footer.site .cols{gap:25px}.flogo{padding:10px 14px}.flogo img{width:190px}
  footer.site li a{display:inline-block;padding:4px 0}.copy{margin-top:26px}
  .callbar{padding:7px max(10px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));gap:9px}
  .callbar .btn{min-height:46px;padding:10px 12px;font-size:16px;border-radius:9px}
  .totop{width:44px;height:44px;right:max(14px,env(safe-area-inset-right,0px));bottom:calc(var(--gk-callbar-height) + 12px)}
  .vc-dialog[open]{width:calc(100vw - 16px);height:calc(var(--vvh,100dvh) - 16px);max-height:calc(var(--vvh,100dvh) - 16px);margin:auto;border-radius:12px}
  .vc-dialog[open] .vc-box{height:100%;max-height:100%;min-height:0}
  .vc-head{padding:13px 14px 10px;gap:10px}.vc-head h2{font-size:18px}.vc-head p{font-size:13px;line-height:1.4}
  .vc-close{width:44px;height:44px;min-width:44px}.vc-body{padding:14px;min-height:0}
  .vc-dialog form.c{padding:0}.vc-form{gap:18px}
  .vc-count{font-size:14px}.vc-dialog .vc-step>legend{font-size:18px}
  .q>legend{font-size:16px;line-height:1.45}.opts{gap:8px}.opt{flex:1 1 calc(50% - 8px)}
  .opt span{min-height:46px;padding:10px;font-size:15px;overflow-wrap:anywhere}
  .opts.long .opt{flex-basis:100%}.vc-summary{padding:15px}.vc-summary dl>div{gap:4px 10px}
  .vc-nav{gap:10px}.vc-nav .btn{min-height:46px}.vc-actions .btn-primary{order:0}
  .vc-dialog.vc-static{width:auto;height:auto;max-height:none;margin:24px 18px}
}
@media(max-width:359px){
  .wrap{padding-left:14px;padding-right:14px}
  header.site .wrap{gap:10px}.hero h1,h1{font-size:28px}
  .hero-card dl{grid-template-columns:1fr;gap:0}.hero-card dt{font-size:13px;margin-top:6px}
  .ci-head{grid-template-columns:72px minmax(0,1fr);gap:12px}.ci-photo{width:72px}
  .ci-big{font-size:18px}.ci-inner,.ci-head{padding-left:14px;padding-right:14px}
  form.c{padding-left:14px;padding-right:14px}.opt{flex-basis:100%}
}
@media(min-width:480px) and (max-width:640px){footer.site .cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:480px) and (max-width:980px){
  .vc-dialog[open]{height:calc(var(--vvh,100dvh) - 8px);max-height:calc(var(--vvh,100dvh) - 8px)}
  .vc-head p{display:none}.vc-head{padding-top:8px;padding-bottom:8px}
}

/* 1.0.30: Eigener kompakter Smartphone-Einstieg.
   Kontaktaktionen stehen bereits dauerhaft in der unteren Kontaktleiste. */
@media(max-width:640px){
  .hero .hero-card,.hero .btn-row{display:none}
  .hero .lead{margin-bottom:0}
  .hero{padding-bottom:28px}
}

/* 1.0.31: Mobile Kontaktaktionen zentral in der festen unteren Leiste.
   Der spezielle Einstieg zum Vertragscheck bleibt im Seiteneinstieg erreichbar. */
@media(max-width:640px){
  .page-hero:not(.page-hero-vertragscheck) .btn-row{display:none}
}

/* Consistent restrained page headings across desktop, tablet and phone. */
@media(min-width:981px){h1,.hero h1,.page-hero h1{font-size:clamp(2rem,3.3vw,2.65rem)}}
@media(min-width:641px) and (max-width:980px){h1,.hero h1,.page-hero h1{font-size:clamp(1.9rem,3.8vw,2.3rem)}}
@media(max-width:640px){h1,.hero h1,.page-hero h1{font-size:clamp(1.75rem,7.5vw,2rem)}}
h1,.hero h1,.page-hero h1{font-weight:600;line-height:1.2;letter-spacing:-.015em}
h2.title{font-size:clamp(1.5rem,2.6vw,1.85rem);font-weight:600;line-height:1.3}

.energy-fields{border:0;padding:0;margin:0;min-width:0}.energy-fields legend{font-weight:600;margin-bottom:14px}.energy-fields select{margin-bottom:16px}
@media(max-width:640px){.page-hero-energy .btn-row{display:flex!important}}

.energy-contact-column{display:grid;gap:20px;min-width:0}.energy-documents ul{padding-left:20px}.energy-documents p:last-child{margin-bottom:0}

/* Themenbezogene Überblickskarten im bisherigen GKphone-Design. */
.page-hero-topic>.wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:52px;align-items:center}.page-hero-topic .inner{max-width:none;min-width:0}.gk-topic-card{min-width:0;background:rgba(255,255,255,.88);border:1px solid #d2e1ee;border-radius:20px;padding:32px 34px;box-shadow:0 14px 38px rgba(7,29,64,.035);color:var(--navy)}.gk-topic-icon{display:block;width:40px;height:40px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-bottom:25px}.gk-topic-card h2{font-size:26px;font-weight:600;line-height:1.3;margin:0 0 20px;letter-spacing:-.02em}.gk-topic-card ul{list-style:none;padding:0;margin:0}.gk-topic-card li{padding:14px 0;border-bottom:1px solid #d6e3ec;font-size:16px;line-height:1.55}.gk-topic-card>p{font-size:14px;line-height:1.7;color:var(--muted);margin:20px 0 0}.hero .gk-topic-card{width:100%}
@media(min-width:641px) and (max-width:980px){.page-hero-topic>.wrap{gap:28px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.gk-topic-card{padding:25px}.gk-topic-card h2{font-size:23px}.gk-topic-card li{font-size:15px}}
@media(max-width:767px){.page-hero-topic>.wrap{grid-template-columns:minmax(0,1fr);gap:26px}}
@media(max-width:640px){.gk-topic-card{padding:25px;border-radius:16px}.gk-topic-card h2{font-size:23px;margin-bottom:14px}.gk-topic-icon{width:33px;height:33px;margin-bottom:18px}.gk-topic-card li{padding:12px 0;font-size:15px}.gk-topic-card>p{font-size:13px;margin-top:17px}.hero .gk-topic-card{display:block}.page-hero-topic>.wrap{gap:24px}}
