/*
Theme Name: SK Automation Editierbar
Theme URI: https://sk-automation.at
Author: SK Automation
Description: Editierbares WordPress-Theme für SK Automation mit automatisch angelegten Seiten und editierbarer Startseite.
Version: 1.0.0
Text Domain: sk-automation
*/

:root{
  --bg:#0d1114;
  --surface:#141b1f;
  --surface2:#182126;
  --text:#f4f6f6;
  --muted:#9aa6ad;
  --accent:#0f8f85;
  --line:#263137;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{width:min(var(--max),calc(100% - 44px));margin:auto}
.site-header{border-bottom:1px solid var(--line);background:var(--bg)}
.nav{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo img{width:290px;max-width:62vw}
.menu{display:flex;gap:24px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.menu a:hover{color:var(--text)}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:var(--accent);font-weight:700;margin-bottom:12px}
h1,h2,h3{margin-top:0;color:var(--text)}
h1{font-size:clamp(34px,5vw,56px);line-height:1.05;letter-spacing:-.035em;margin-bottom:16px}
h2{font-size:clamp(25px,3vw,34px);letter-spacing:-.02em}
p{color:var(--muted)}
.section{padding:58px 0}
.alt{background:var(--surface)}
.hero{display:grid;grid-template-columns:1.12fr .88fr;min-height:500px}
.hero-left{padding:72px max(5vw,30px);display:flex;justify-content:center;flex-direction:column}
.hero-left p{max-width:550px;font-size:18px}
.hero-right{background:var(--surface);padding:34px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.hero-image-card{width:100%;max-width:390px;min-height:360px;max-height:390px;overflow:hidden;position:relative;border:1px solid var(--line);background:var(--surface2)}
.hero-image-card img{width:100%;height:100%;object-fit:cover}
.hero-image-tag{position:absolute;left:16px;top:16px;background:rgba(13,17,20,.78);color:#dfe6e8;border:1px solid rgba(255,255,255,.12);padding:7px 10px;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.hero-image-note{position:absolute;left:16px;bottom:16px;background:rgba(13,17,20,.78);color:var(--muted);border:1px solid rgba(255,255,255,.10);padding:10px 12px;font-size:12px;max-width:250px;line-height:1.4}
.image-source{margin-top:8px;font-size:10px;color:var(--muted);text-align:left;width:100%;max-width:390px;opacity:.8}
.image-source a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card{border:1px solid var(--line);padding:22px;background:var(--surface2);min-height:150px}
.card p{margin-bottom:0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}
.contact-mail{font-size:18px;font-weight:700;line-height:1.3}
.map-section{background:var(--bg);border-top:1px solid var(--line)}
.map-image-wrap{position:relative;display:block;overflow:hidden}
.map-image-wrap img{width:100%;height:390px;object-fit:cover;display:block;filter:brightness(.90) saturate(.88) contrast(1.02)}
.map-image-wrap::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(8,14,18,.08),rgba(8,14,18,.08));pointer-events:none}
.map-overlay{position:absolute;left:26px;bottom:24px;z-index:2;background:rgba(13,17,20,.92);border:1px solid var(--line);padding:14px 16px;min-width:245px;box-shadow:0 12px 24px rgba(0,0,0,.22)}
.map-overlay strong{display:block;margin-bottom:4px;font-size:13px;color:var(--text)}
.map-overlay span{display:block;color:var(--muted);font-size:12px;line-height:1.45}
.route-btn{display:inline-block;margin-top:10px;background:var(--accent);padding:8px 12px;color:white;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.map-source{padding:7px 22px 9px;color:#6f7a80;font-size:10px;text-align:right;background:var(--bg)}
.site-footer{border-top:1px solid var(--line);padding:18px 0 24px;font-size:12px;color:var(--muted)}
.footer-row{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.legal-hero{padding:54px 0 36px;border-bottom:1px solid var(--line)}
.legal-content{max-width:860px;padding:46px 0 76px}
.legal-content h2{margin-top:34px;padding-top:18px;border-top:1px solid var(--line)}
.legal-content p,.legal-content li{color:var(--muted)}
.wp-block-image img{height:auto}
@media(max-width:800px){
  .nav{padding:16px 0;align-items:flex-start;flex-direction:column}
  .logo img{width:240px}
  .hero,.contact-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .hero-right{padding:0 22px 22px}
  .hero-left{padding:48px 22px}
  .map-image-wrap img{height:320px}
}

@media(max-width:560px){
  .cards{grid-template-columns:1fr}
  .map-overlay{left:16px;right:16px;min-width:0}
}
