/* =========================================================
   Cremer MalerMeisterBetrieb – statische Website
   Masterlayout: FireShot 106 (Startseite) / 108 (Impressum), Breite 1440 px
   Schriften & Icons lokal eingebunden (keine Google-/CDN-Anfragen)
   ========================================================= */
@font-face{font-family:"Montserrat";src:url(../fonts/montserrat-var.woff) format("woff");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Quicksand";src:url(../fonts/quicksand-var.woff) format("woff");font-weight:300 700;font-style:normal;font-display:swap}
@font-face{font-family:"Fredoka";src:url(../fonts/fredoka-var.woff) format("woff");font-weight:300 700;font-style:normal;font-display:swap}
@font-face{font-family:"Open Sans";src:url(../fonts/opensans-var.woff) format("woff");font-weight:300 800;font-style:normal;font-display:swap}
@font-face{font-family:"FA5Solid";src:url(../fonts/fa-solid-900.woff2) format("woff2");font-weight:900;font-display:block}
@font-face{font-family:"FA5Brands";src:url(../fonts/fa-brands-400.woff2) format("woff2");font-weight:400;font-display:block}

:root{
  --blue:#12469a;      /* Buttons, Infobox 1 */
  --blue-icon:#024898; /* Icons, Punkte, aktive Navigation */
  --teal:#066f6b;
  --lime:#707b07;      /* Mail-Button, Infobox 3 – abgedunkelt: weiß 4,6:1 (vorher #b1c30b, 2,0:1) */
  --lime-hero:#687d1a; /* Slider-Buttons – abgedunkelt: weiß 4,6:1 (vorher #aed12c, 1,8:1) */
  --lime-accent:#afd22d; /* nur Deko ohne Text: Punkt Philosophie, Footer-Linie */
  --green:#647e01;     /* Verlaufsende / Pinselkante – leicht abgedunkelt (vorher #728f01) */
  --navy:#002650;      /* Verlaufsanfang */
  --dark:#323232;
  --text:#333;
  --line:#c9c9c9;
  --head:"Montserrat",Arial,sans-serif;
  --body:"Quicksand",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
section[id]{scroll-margin-top:76px}
body{margin:0;background:#fff;color:var(--text);font-family:var(--body);font-weight:400;font-size:11px;line-height:1.85;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:0;background:#fff;padding:8px 12px;z-index:999}
.skip:focus{left:8px}

/* ---------- Icons (Font Awesome 5.15.4, nur genutzte Glyphen) ---------- */
.ic{display:inline-block;font-family:"FA5Solid";font-weight:900;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased}
.ic.brand{font-family:"FA5Brands";font-weight:400}
.i-paint-roller::before{content:"\f5aa"}.i-home::before{content:"\f015"}.i-scroll::before{content:"\f70e"}
.i-brush::before{content:"\f55d"}.i-stream::before{content:"\f550"}.i-temperature-low::before{content:"\f76b"}
.i-head-side-mask::before{content:"\e063"}.i-spray-can::before{content:"\f5bd"}.i-soap::before{content:"\e06e"}
.i-comments::before{content:"\f086"}.i-house-user::before{content:"\e065"}.i-map-marker-alt::before{content:"\f3c5"}
.i-clock::before{content:"\f017"}.i-mobile-alt::before{content:"\f3cd"}.i-envelope::before{content:"\f0e0"}
.i-facebook-square::before{content:"\f082"}

/* ---------- Überschrift + Trennlinie mit Punkt ---------- */
.h-sec{font-family:var(--head);font-weight:400;text-transform:uppercase;letter-spacing:2.8px;font-size:17px;line-height:28px}
.divider{position:relative;height:13px;display:flex;align-items:center}
.divider::before{content:"";height:1px;background:var(--line);flex:0 0 var(--len,300px)}
.divider::after{content:"";width:13px;height:13px;border-radius:50%;background:var(--dot,var(--blue-icon));margin-left:var(--gap,14px)}
.divider.dot-left{flex-direction:row-reverse;justify-content:flex-end}
.divider.dot-left::after{margin:0 var(--gap,14px) 0 0}

/* ---------- Pinselkanten (Elementor „wave-brush“) ---------- */
.brush{position:absolute;left:0;width:100%;overflow:hidden;line-height:0;pointer-events:none;z-index:2}
.brush path{fill:#fff}
.brush svg{display:block;width:calc(100% + 1.3px);position:relative;left:50%;transform:translateX(-50%)}
.brush-bottom{bottom:-1px;transform:rotate(180deg)}
.hero .brush-bottom{height:55px}
.brush.flip svg{transform:translateX(-50%) rotateY(180deg)}
.brush-top{top:-1px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:#fff;height:76px}
.site-header .inner{width:1040px;max-width:100%;margin:0 auto;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 0 0 0}
.logo img{width:128px;height:auto;margin:0 0 0 -3px}
.main-nav{align-self:flex-start;margin-top:27px;border-bottom:1px solid #9a9a9a;width:358px;margin-right:-4px;display:flex;justify-content:flex-end;padding-right:13px}
.main-nav a{font-family:var(--head);font-weight:500;font-size:9.25px;letter-spacing:1.15px;text-transform:uppercase;color:#262626;padding:3px 0 6px;margin-left:27px;line-height:18px;transition:color .2s}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:var(--blue-icon)}
.nav-toggle{display:none}

/* ---------- Hero / Slides ---------- */
.hero{position:relative}
.slide{position:relative;height:530px;overflow:hidden;color:#fff;display:flex;align-items:center}
.slide-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.slide-inner{position:relative;z-index:1;padding:0 0 0 53px;margin-top:2px}
.slide h2{max-width:800px;font-family:var(--head);font-weight:300;font-size:35px;line-height:53.5px;letter-spacing:1.55px;text-transform:uppercase}
.slide p{font-family:var(--body);font-weight:500;font-size:15.75px;line-height:22px;margin:21px 0 35px}
.btn-hero{display:inline-block;background:var(--lime-hero);color:#fff;font-family:"Fredoka",var(--body);font-weight:500;font-size:9.4px;line-height:30px;height:30px;padding:0 22px;border-radius:3px;transition:filter .2s}
.btn-hero:hover{filter:brightness(1.07)}
/* Slider: Überblendung + leichter Zoom (Ken Burns) */
.hero{height:530px;overflow:hidden}
.hero .slide{position:absolute;inset:0;height:auto;opacity:0;visibility:hidden;transition:opacity 1.2s ease,visibility 0s 1.2s}
.hero .slide.is-active{opacity:1;visibility:visible;transition:opacity 1.2s ease;z-index:1}
.slide-bg{transform-origin:30% 50%;will-change:transform}
.slide-bg::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,var(--shade,0))}
.hero .slide.is-active .slide-bg{animation:kenburns 7s ease-out forwards}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.06)}}
.slider-dots{position:absolute;left:0;right:0;bottom:66px;z-index:3;display:flex;justify-content:center;gap:10px}
.slider-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:background .2s,transform .2s}
.slider-dots button[aria-current="true"]{background:#fff;transform:scale(1.2)}
.slider-dots button:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* ---------- Intro ---------- */
.intro{padding:97px 0 60px;min-height:439px}
.intro .inner{width:1040px;margin:0 auto;display:flex;justify-content:space-between;padding:0 10px 0 11px}
.intro .text{width:650px}
.intro h1{color:var(--blue-icon);font-family:var(--head);font-weight:400;font-size:17.3px;line-height:27.5px;letter-spacing:2.65px;text-transform:uppercase;width:560px}
.intro .divider{--len:297px;--gap:14px;margin:24px 0 23px}
.intro p{font-size:13px;line-height:22px;color:#2b2b2b}
.intro p+p{margin-top:9.5px}
.intro p strong{font-weight:600}
.intro .pic{width:335px;margin-top:-42px}

/* ---------- Philosophie (Verlauf) ---------- */
.philo{background:linear-gradient(180deg,var(--navy) 0%,var(--green) 100%);padding:93px 0 65px;color:#fff;min-height:447px}
.philo .inner{width:1040px;margin:0 auto;display:flex;align-items:center;padding-left:10px}
.philo .pic{width:386px;flex:none}
.philo .pic img{width:386px;height:289px;object-fit:cover}
.philo .text{margin-left:39px;width:590px}
.philo h2{font-size:17px;line-height:27.5px;letter-spacing:2.8px}
.philo .divider{--len:271px;--dot:var(--lime-accent);--gap:13px;margin:25px 0 21px 0}
.philo p{font-size:13px;line-height:22px}

/* ---------- Leistungen ---------- */
.services{position:relative;background:#f2f2f2 url(../img/papier-textur.jpg) repeat;background-size:1380px auto;padding:114px 0 46px}
.services .brush-top{height:82px}
.services .brush-top path{fill:var(--green)}
.services .head{width:1044px;margin:0 auto;padding-left:0}
.services h2{color:var(--text);font-size:17px;letter-spacing:2.2px;line-height:30px}
.services .divider{--len:497px;--gap:13px;margin:21px 0 52px}
.svc-grid{width:1044px;margin:0 auto;display:grid;grid-template-columns:repeat(4,262px);row-gap:40px;padding-left:12px}
.svc{display:flex;align-items:center;gap:17px;font-size:13px;font-weight:500;line-height:18.5px;color:#262626;min-height:40px}
.svc span{max-width:200px}
.svc .ic{flex:none;width:40px;height:40px;border-radius:50%;background:var(--blue-icon);color:#fff;font-size:17px;display:flex;align-items:center;justify-content:center}
.gallery{width:1297px;margin:93px auto 0;display:grid;grid-template-columns:repeat(4,304px);gap:27px 27.3px}
.gallery a{display:block;height:231px;overflow:hidden;box-shadow:0 0 6px rgba(0,0,0,.08)}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.gallery a:hover img{transform:scale(1.06)}

/* ---------- Warum ---------- */
.why{background:var(--dark);color:#fff;padding:66px 0 60px}
.why .inner{width:1040px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 9px 0 11px}
.why .text{width:600px;margin-top:-11px}
.why h1{font-family:var(--head);font-weight:400;font-size:17px;line-height:28px;letter-spacing:3.4px;text-transform:uppercase}
.why .divider{--len:271px;--dot:var(--teal);--gap:13px;margin:23px 0 23px}
.why p{font-size:13px;line-height:22px}
.why .pic{width:386px}
.why .pic img{width:386px;height:253px;object-fit:cover}

/* ---------- Kontakt ---------- */
.contact{position:relative;color:#fff;height:518px;background:#4a5562 url(../img/kontakt-bg.jpg) center top/cover no-repeat}
.contact .brush-bottom{height:48px;bottom:34px}
.contact::after{content:"";position:absolute;left:0;right:0;bottom:0;height:35px;background:#fff;z-index:2}
.contact .brush-bottom path{fill:#fff}
.contact .inner{position:relative;z-index:3;width:1040px;margin:0 auto;padding:81px 0 0 4px;display:flex;justify-content:space-between}
.contact h2{font-size:19px;line-height:30px;letter-spacing:3.3px}
.contact .divider{--len:330px;--dot:#fff;--gap:13px;margin:23px 0 40px}
.contact .divider::before{background:rgba(255,255,255,.8)}
.contact p{font-size:13px;line-height:22px;font-weight:500}
.contact p strong{font-family:"Fredoka",var(--body);font-weight:700}
.cbtns{display:flex;gap:48px;margin-top:28px}
.cbtn{display:inline-flex;align-items:center;gap:4px;height:36px;padding:0 13px;color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:10px;transition:transform .2s}
.cbtn:hover{transform:scale(.94)}
.cbtn.blue{background:var(--blue)}.cbtn.lime{background:var(--lime)}
.cbtn .ic{font-size:9px}
.contact h3{font-family:var(--head);font-weight:500;font-size:13px;letter-spacing:3px;text-transform:uppercase;margin-top:27px;line-height:20px;letter-spacing:2.7px}
.fb{display:inline-block;margin-top:14px;font-size:32px;line-height:1;color:#fff;padding-left:2px}
.logo-card{width:274px;height:168px;background:#fff;box-shadow:6px 6px 8px rgba(0,0,0,.45);margin:71px 15px 0 0;display:flex;align-items:flex-start;justify-content:flex-start;padding:14px 0 0 28px}
.logo-card img{width:212px}

/* ---------- Infoboxen + Karte ---------- */
.infos{padding:34px 0 0;background:#fff}
.info-row{display:flex;justify-content:center;gap:13px;margin-left:-1px}
.info{position:relative;width:238px;height:145px;color:#fff;text-align:center;padding-top:63px;font-size:12.4px;font-weight:500;line-height:17px}
.info.c1{background:var(--blue)}.info.c2{background:var(--teal)}.info.c3{background:var(--lime)}
.info .badge{position:absolute;left:50%;top:-12px;transform:translateX(-50%);width:68px;height:68px;border-radius:50%;border:5px solid #fff;margin-top:-6px;background:inherit;display:flex;align-items:center;justify-content:center;font-size:24px}
.info .t{font-family:var(--head);font-weight:600;text-transform:uppercase;font-size:11.7px;letter-spacing:.1px;margin-bottom:9px}
.info .hours{display:flex;justify-content:center;gap:22px;font-size:11.6px;line-height:15px}
.info .hours span{display:block}
.info a:hover{text-decoration:underline}
.map{display:block;width:1085px;margin:0 auto;margin-left:178px;margin-right:auto}
.map img{width:1085px;height:498px;object-fit:cover}

/* ---------- Footer ---------- */
.site-footer{background:var(--dark);color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:11.15px}
.site-footer .row{width:1052px;margin:0 auto;height:43px;padding-bottom:2px;display:flex;justify-content:space-between;align-items:center;padding-left:0}
.site-footer nav{display:flex;align-items:center;margin-right:205px}
.site-footer nav a{padding:12px 13px;position:relative}
.site-footer nav a+a::before{content:"";position:absolute;left:-1px;top:14px;height:13px;width:2px;background:#aaa}
.site-footer nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:var(--lime-accent)}
.site-footer nav a:hover{color:#dfe86a}
.callbar-wrap{height:43px;display:flex;justify-content:center}
.callbar{pointer-events:auto;display:flex;align-items:center;height:43px;width:211px;margin-left:1px;border-radius:9px 9px 0 0;background:linear-gradient(90deg,#13479a 0%,#6a7a0c 90%,#707b07 100%);color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:11.4px;padding-left:13px}
.callbar a{display:flex;align-items:center;gap:14px}
.callbar a+a{gap:8px}
.callbar .ic{font-size:19px}
.callbar a+a{margin-left:10px}
.callbar .ic.i-envelope{font-size:17px}
.to-top{position:fixed;right:20px;bottom:60px;width:40px;height:40px;opacity:0;visibility:hidden;transition:opacity .3s;z-index:60}
.to-top.show{opacity:.8;visibility:visible}
.to-top img{width:40px;height:40px}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal{padding:63px 0 75px}
.legal .inner{width:740px;margin:0 auto;padding-left:0;transform:translateX(-0px)}
.legal .h-sec{font-size:20.5px;letter-spacing:2.3px;line-height:30px;color:var(--text);font-weight:400}
.legal .divider{--len:344px;--gap:13px;margin:22px 0 30px}
.legal-body{font-family:"Open Sans","Segoe UI","Helvetica Neue",Arial,sans-serif;color:#444}
.legal-body h2{font-family:inherit;font-weight:400;font-size:20.75px;line-height:28px;color:#222;margin:8px 0 6px}
.legal-body h2:first-child{margin-top:2px}
.legal-body h3{font-weight:600;font-size:14px;line-height:22px;color:#222;margin:16px 0 4px}
.legal-body p,.legal-body li{font-weight:400;font-size:13px;line-height:21px}
.legal-body p{margin-bottom:5px}
.legal-body ul{margin:4px 0 8px;padding-left:18px}
.legal-body a{text-decoration:underline}
.legal.ds .legal-body h2{margin-top:22px}

/* =========================================================
   Responsiv (das PDF definiert nur Desktop 1440 px)
   ========================================================= */
@media (max-width:1340px){
  .gallery{width:calc(100% - 40px);grid-template-columns:repeat(4,1fr)}
  .map{margin-left:auto}
}
@media (max-width:1100px){
  .site-header .inner,.intro .inner,.philo .inner,.why .inner,.contact .inner,.services .head,.svc-grid,.legal .inner,.site-footer .row{width:auto;margin-left:24px;margin-right:24px}
  .intro .inner,.why .inner{gap:32px}
  .intro .text,.why .text{width:auto;flex:1}
  .intro h1{width:auto}
  .svc-grid{grid-template-columns:repeat(2,1fr);padding-left:0}
  .philo{height:auto}
  .philo .text{width:auto;flex:1}
  .map,.map img{width:100%}
  .services .divider{--len:min(497px,60vw)}
}
@media (max-width:760px){
  .intro{height:auto}
  .site-header{height:64px}
  .site-header .inner{height:64px;margin:0 16px}
  .logo img{width:100px}
  .nav-toggle{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:0;background:none;font-size:22px;color:var(--text);cursor:pointer}
  .nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{display:block;width:22px;height:2px;background:#333;position:relative;content:""}
  .nav-toggle span::before{position:absolute;top:-7px}.nav-toggle span::after{position:absolute;top:7px}
  .main-nav{display:none;position:absolute;top:64px;left:0;right:0;width:auto;margin:0;flex-direction:column;background:#fff;border-bottom:1px solid #ddd;padding:6px 16px 12px}
  .main-nav.open{display:flex}
  .main-nav a{margin:0;padding:12px 0;font-size:12px}
  .hero{height:420px}
  .slider-dots{bottom:52px}
  .slide-inner{padding:0 16px}
  .slide h2{font-size:24px;line-height:36px;letter-spacing:2.5px}
  .slide p{font-size:15px}
  .intro{padding:56px 0 40px}
  .intro .inner,.philo .inner,.why .inner,.contact .inner{flex-direction:column;margin:0 16px;padding:0}
  .intro .pic{width:240px;margin:24px auto 0}
  .philo{padding:56px 0}
  .philo .pic,.philo .pic img,.why .pic,.why .pic img{width:100%;height:auto}
  .philo .text{margin:28px 0 0}
  .why .text{margin:0 0 28px}
  .h-sec,.intro h1{font-size:15px;letter-spacing:2.6px;line-height:24px}
  .intro p,.philo p,.why p,.svc{font-size:13px;line-height:22px}
  .services{padding-top:96px}
  .services .head,.svc-grid{margin:0 16px}
  .services .divider,.intro .divider,.philo .divider,.why .divider,.contact .divider,.legal .divider{--len:min(260px,55vw)}
  .svc-grid{grid-template-columns:1fr;row-gap:18px}
  .gallery{grid-template-columns:repeat(2,1fr);gap:12px;width:calc(100% - 32px);margin-top:48px}
  .gallery a{height:auto;aspect-ratio:4/3}
  .contact{height:auto;padding-bottom:110px}
  .contact .inner{padding-top:56px}
  .cbtns{flex-wrap:wrap;gap:12px}
  .logo-card{margin:36px 0 0;width:100%;max-width:274px}
  .info-row{flex-direction:column;align-items:center;gap:52px;margin:0 16px}
  .infos{padding-top:44px}
  .info{width:100%;max-width:360px}
  .site-footer .row{height:auto;flex-direction:column;gap:4px;padding:14px 0;margin:0 16px;text-align:center}
  .legal .inner{margin:0 16px}
  .legal-body p,.legal-body li{font-size:13px;line-height:20px}
  .site-footer nav{margin:0}
  .callbar-wrap{position:fixed;left:0;right:0;bottom:0;z-index:70;height:43px}
  .site-footer{padding-bottom:43px}
  .to-top{bottom:56px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
