/*
Theme Name: Junge Energieberatung V6 Editor
Theme URI: https://junge-energieberatung.de
Author: Junge Energieberatung
Description: Editor-basiertes WordPress-Theme für Junge Energieberatung. Inhalte liegen direkt in den Seiten.
Version: 1.6.0
Text Domain: junge-energieberatung
*/

:root{
  --navy:#003f55;
  --navy2:#002f42;
  --teal:#0ab4c0;
  --teal2:#0f8998;
  --aqua:#e8fbfc;
  --orange:#ef6b00;
  --orange2:#ff8a1f;
  --text:#18313d;
  --muted:#5e717b;
  --line:#e2edf1;
  --bg:#f7fbfc;
  --white:#fff;
  --shadow:0 18px 45px rgba(0,63,85,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth}
body{
  margin:0!important;
  font-family:Arial, Helvetica, sans-serif!important;
  color:var(--text)!important;
  background:linear-gradient(180deg,#fff 0%,#f7fbfc 70%,#fff 100%)!important;
  line-height:1.6!important;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.je-main{min-height:60vh}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  min-height:92px;
  padding:12px clamp(22px,6vw,96px);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
body.admin-bar .site-header{top:32px}
.site-header .brand{
  flex:0 0 auto;
  width:320px;
  max-width:320px;
  height:72px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.site-header .brand img{
  width:300px!important;
  max-width:300px!important;
  max-height:70px!important;
  object-fit:contain;
  object-position:left center;
}
.main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:32px;
  flex:1 1 auto;
  font-weight:800;
  color:var(--navy2);
}
.main-nav a{
  color:var(--navy2);
  font-size:16px;
  line-height:1.2;
  position:relative;
  padding:10px 0;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav a[aria-current="page"]{color:var(--teal2)}
.main-nav a:hover:after,
.main-nav .current-menu-item > a:after,
.main-nav a[aria-current="page"]:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:var(--teal);
  border-radius:10px;
}
.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--teal),var(--teal2));
  color:#fff!important;
  font-weight:900;
  padding:14px 22px;
  border-radius:10px;
  box-shadow:0 14px 30px rgba(10,180,192,.22);
}
.menu-button{display:none}

/* Content typography */
.je-main h1,.je-main h2,.je-main h3{
  line-height:1.14;
  margin:0;
  color:var(--navy2);
}
.je-main h1{font-size:clamp(42px,6.2vw,78px);line-height:1.07;letter-spacing:-.04em}
.je-main h2{font-size:clamp(30px,4vw,46px);letter-spacing:-.025em;margin-bottom:14px}
.je-main h3{font-size:24px;margin-bottom:12px}
.eyebrow{
  margin:0 0 12px;
  color:var(--teal2);
  font-size:14px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.lead{
  font-size:22px;
  color:#41545c;
  max-width:720px;
  margin:26px 0 30px;
}
.buttons{display:flex;gap:18px;flex-wrap:wrap;margin-top:8px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 25px;
  border-radius:10px;
  font-weight:900;
  border:2px solid transparent;
  cursor:pointer;
  text-decoration:none!important;
}
.btn.primary{
  background:linear-gradient(135deg,var(--teal),var(--teal2));
  color:white!important;
  box-shadow:0 14px 30px rgba(10,180,192,.22);
}
.btn.secondary{
  border-color:var(--teal);
  color:var(--navy)!important;
  background:white;
}
.btn.light{border-color:white;color:white!important}
.check{color:var(--teal2);font-weight:900}

/* Sections */
.je-section{padding:76px clamp(22px,6vw,96px)}
.je-section.alt{background:#fff}
.hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:42px;
  align-items:center;
  padding:72px clamp(22px,6vw,96px) 86px;
  overflow:hidden;
}
.hero-visual{
  min-height:360px;
  display:grid;
  place-items:center;
  position:relative;
}
.hero-visual:before{
  content:"";
  position:absolute;
  inset:8% -8% 4% 8%;
  background:radial-gradient(circle at center,rgba(10,180,192,.17),transparent 62%);
  z-index:-1;
}
.hero-logo{
  width:100%!important;
  max-width:540px!important;
  max-height:420px!important;
  object-fit:contain!important;
}
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-top:34px;
  color:#526872;
  font-weight:800;
}
.section-head{max-width:780px;margin-bottom:34px}
.section-head p{font-size:19px;color:var(--muted)}
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
}
.card{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:34px 28px;
  box-shadow:var(--shadow);
  min-height:322px;
  transition:.2s ease;
}
.card:hover{transform:translateY(-4px)}
.icon{
  width:78px;
  height:78px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--aqua),#d3f6f8);
  display:grid;
  place-items:center;
  font-size:34px;
  margin-bottom:22px;
}
.card p{color:var(--muted);margin-bottom:22px}
.card a{font-weight:900;color:var(--teal2)}
.split{
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:58px;
  align-items:center;
  padding:64px clamp(22px,6vw,96px);
}
.split-card{
  background:linear-gradient(135deg,#e8fbfc,#fff);
  border:1px solid var(--line);
  border-radius:36px;
  padding:46px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.portrait{
  width:100%!important;
  max-width:360px!important;
  max-height:360px!important;
  object-fit:contain!important;
  margin:auto!important;
}
.split p{font-size:18px;color:#42545c}
.signature{
  font-size:34px!important;
  color:var(--teal2)!important;
  font-style:italic;
  margin:20px 0 0;
}
.cta-band{
  margin:40px 0 0;
  padding:54px clamp(22px,6vw,96px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  background:linear-gradient(135deg,var(--navy),var(--teal2));
  color:white;
}
.cta-band h2{color:white;margin-bottom:8px}
.cta-band p{margin:0;font-size:19px}
.feature-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.feature{
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
}
.feature strong{display:block;color:var(--navy);font-size:20px;margin-bottom:5px}
.feature p{margin:0;color:var(--muted)}

/* Subpages */
.page-hero{
  padding:72px clamp(22px,6vw,96px);
  background:linear-gradient(135deg,#e8fbfc,#fff 64%);
  border-bottom:1px solid var(--line);
}
.page-hero .inner{max-width:900px}
.page-hero h1{font-size:clamp(38px,5vw,62px);letter-spacing:-.035em}
.page-hero p{font-size:21px;color:var(--muted)}
.service-detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
}
.detail-box{
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:32px;
  box-shadow:var(--shadow);
}
.detail-box p,.detail-box li{color:var(--muted)}
.detail-box ul{padding-left:20px}
.process{
  counter-reset:step;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.step{
  background:white;
  border:1px solid var(--line);
  border-radius:22px;
  padding:28px;
  box-shadow:var(--shadow);
}
.step:before{
  counter-increment:step;
  content:counter(step);
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--teal);
  color:white;
  font-weight:900;
  margin-bottom:16px;
}
.faq-list{max-width:980px}
details{
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:21px 24px;
  margin:14px 0;
  box-shadow:0 8px 25px rgba(0,63,85,.06);
}
summary{font-weight:900;color:var(--navy);cursor:pointer;font-size:18px}
details p{color:var(--muted)}
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:42px;
  align-items:start;
}
.contact-card,.form-card{
  background:white;
  border:1px solid var(--line);
  border-radius:24px;
  padding:34px;
  box-shadow:var(--shadow);
}
.contact-card p{color:var(--muted)}
label{display:block;font-weight:900;color:var(--navy);margin-bottom:18px}
input,textarea,select{
  width:100%;
  margin-top:8px;
  padding:15px 16px;
  border:1px solid #c9dce2;
  border-radius:10px;
  font:inherit;
  background:#fff;
}
textarea{resize:vertical}
.hint{display:block;margin-top:14px;color:var(--muted);font-size:13px}
.notice{
  background:#fff7ee;
  border:1px solid #ffd6ad;
  color:#6b3a00!important;
  padding:18px 20px;
  border-radius:16px;
}
.legal{
  max-width:980px;
  margin:0 auto;
  padding:70px clamp(22px,6vw,96px);
}
.legal h1{font-size:48px}
.legal h2{margin-top:34px}

/* Footer */
.site-footer{
  padding:44px clamp(22px,6vw,96px);
  background:var(--navy2);
  color:white;
  display:grid;
  grid-template-columns:1.1fr 1fr .8fr .8fr;
  gap:30px;
}
.footer-logo{
  width:210px!important;
  max-width:210px!important;
  max-height:70px!important;
  object-fit:contain!important;
  margin-bottom:14px;
}
.site-footer p,.site-footer a{color:#d7edf2!important}

/* Editor helper */
.wp-block-html textarea{font-family:Consolas, Monaco, monospace!important}

/* Responsive */
@media(max-width:1100px){
  .main-nav,.nav-cta{display:none}
  .menu-button{display:block;background:white;border:1px solid var(--line);border-radius:10px;font-size:24px;color:var(--navy);padding:8px 12px}
  .hero{grid-template-columns:1fr}
  .cards,.feature-list,.process{grid-template-columns:1fr 1fr}
  .hero-logo{max-width:460px!important;max-height:330px!important}
}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:760px){
  .site-header{min-height:70px;padding:10px 18px}
  .site-header .brand{width:205px;max-width:205px;height:52px}
  .site-header .brand img{width:195px!important;max-width:195px!important;max-height:50px!important}
  .hero,.split,.contact-grid,.service-detail{grid-template-columns:1fr}
  .hero{padding:46px 5vw 56px}
  .lead{font-size:18px}
  .hero-visual{min-height:auto}
  .hero-logo{max-width:360px!important;max-height:260px!important}
  .cards,.feature-list,.process,.site-footer{grid-template-columns:1fr}
  .split-card{padding:28px}
  .portrait{max-width:280px!important;max-height:280px!important}
  .cta-band{display:block}
  .cta-band .btn{margin-top:18px}
}
