/*
Theme Name: EKP Klassisch
Theme URI: https://www.ekp-gmbh.de/
Author: EKP GmbH
Description: WordPress-Übertragung der bisherigen EKP-Website – inhaltlich und visuell bewahrt, technisch responsive erneuert.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ekp-klassisch
*/

:root{--ekp-blue:#498fc8;--ekp-navy:#16234e;--ekp-grey:#626262;--ekp-white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ekp-grey);font-family:Helvetica,Arial,sans-serif;font-size:14px;line-height:1.45}
a{color:var(--ekp-blue);text-decoration:none}
a:hover,a:focus-visible{text-decoration:underline}
img{max-width:100%;height:auto}
.site-shell{min-height:100vh;display:flex;flex-direction:column}
.legacy-frame{width:min(900px,calc(100% - 40px));margin:0 auto;flex:1;padding-bottom:80px}
.legacy-header{width:min(900px,calc(100% - 40px));margin:0 auto}
.legacy-logo-row{height:77px;display:grid;grid-template-columns:300px 1fr;align-items:end}
.legacy-logo{display:block;width:300px;height:77px}
.legacy-logo img{display:block;width:300px;height:77px;object-fit:cover}
.top-navigation{padding-bottom:3px;display:flex;justify-content:flex-end;gap:50px;font-size:14px;line-height:19px}
.top-navigation a{color:var(--ekp-blue)}
.top-navigation a.is-active{color:var(--ekp-navy)}
.legacy-hero{margin-top:18px;width:100%;height:358px;overflow:hidden}
.legacy-hero img{display:block;width:100%;height:100%;object-fit:cover}
.legacy-content{padding-top:50px}
.legacy-content .einleitung,.legacy-content .einleitung_leistungen,.legacy-content .einleitung_stellenangebote{font-size:18px;line-height:25px;margin-bottom:38px}
.legacy-content .text{width:100%}
.legacy-content .header{margin-bottom:20px;font-size:22px;line-height:1.1;color:var(--ekp-blue)}
.legacy-content .header_2zeilig{margin-bottom:20px;font-size:22px;line-height:30px;color:var(--ekp-blue)}
.legacy-content .titel_hellblau{margin-top:2px;margin-bottom:14px;font-size:17px;color:var(--ekp-blue)}
.legacy-content .abstand,.legacy-content .abstand2,.legacy-content .abstand_header,.legacy-content .abstand_inhalt,.legacy-content .abstand_hellblau,.legacy-content .abstand_grau,.legacy-content .abstand_impressum{display:none}
.legacy-content .icons{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.legacy-content .icons img{display:block;width:100%}
.legacy-content p{margin:0 0 1.25em}
.legacy-footer{margin-top:auto;background:var(--ekp-blue);color:#fff}
.legacy-footer-inner{min-height:80px;padding:24px 20px;width:min(1100px,100%);margin:0 auto;display:flex;align-items:center;justify-content:center;gap:44px;flex-wrap:wrap;font-size:11px;line-height:1.2}
.legacy-footer a{color:#fff}
.mobile-menu-label{display:none}
@media(max-width:760px){
  .legacy-frame,.legacy-header{width:min(100% - 32px,900px)}
  .legacy-logo-row{height:auto;display:block;padding-top:18px}
  .legacy-logo{width:210px;height:54px}
  .legacy-logo img{width:210px;height:54px}
  .top-navigation{margin-top:22px;padding:12px 0;border-top:1px solid #d8d8d8;justify-content:flex-start;gap:24px;flex-wrap:wrap}
  .legacy-hero{margin-top:0;height:auto;aspect-ratio:900/358}
  .legacy-content{padding-top:34px}
  .legacy-content br{display:none}
  .legacy-content .einleitung,.legacy-content .einleitung_leistungen,.legacy-content .einleitung_stellenangebote{height:auto;font-size:18px;line-height:1.45}
  .legacy-content .header,.legacy-content .header_2zeilig{height:auto;font-size:23px;line-height:1.2}
  .legacy-content .icons{grid-template-columns:1fr 1fr;gap:1px}
  .legacy-footer-inner{justify-content:flex-start;gap:15px 24px}
}
@media(max-width:440px){
  body{font-size:15px;line-height:1.55}
  .legacy-frame,.legacy-header{width:calc(100% - 28px)}
  .top-navigation{gap:18px;font-size:13px}
  .legacy-hero{aspect-ratio:16/8}
  .legacy-content .icons{grid-template-columns:1fr}
  .legacy-footer-inner{display:grid;grid-template-columns:1fr 1fr;align-items:start}
  .legacy-footer-inner .copyright{grid-column:1/-1}
}

