/* VELDER Bedachungen GmbH */
@font-face{font-family:"Barlow Condensed";src:url(../fonts/barlow-condensed-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url(../fonts/barlow-condensed-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Inter";src:url(../fonts/inter-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --red:#E20020; --red-dark:#B3001A; --red-soft:#FDECEE;
  --grey:#717878; --ink:#1C2122; --ink-2:#2A3133; --muted:#5B6264;
  --paper:#F6F4F0; --line:#E3DFD8; --white:#fff;
  --radius:14px; --shadow:0 10px 30px rgba(20,25,26,.10);
  --head:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --wrap:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;font-family:var(--body);font-size:1.0625rem;line-height:1.65;color:var(--ink);background:var(--white);overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--red-dark)}
a:hover{color:var(--red)}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:4px}
h1,h2,h3,h4{font-family:var(--head);font-weight:700;line-height:1.05;letter-spacing:.01em;margin:0 0 .5em;color:var(--ink)}
h1{font-size:clamp(2.6rem,7vw,5rem);text-transform:uppercase}
h2{font-size:clamp(2.1rem,4.5vw,3.3rem);text-transform:uppercase}
h3{font-size:1.6rem}
p{margin:0 0 1em}
.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.7rem 1rem;z-index:200}
.skip:focus{left:1rem;top:1rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-family:var(--head);font-weight:600;font-size:1.05rem;letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin-bottom:.8rem}
.eyebrow::before{content:"";width:28px;height:3px;background:currentColor;clip-path:polygon(0 100%,30% 0,100% 0,70% 100%)}
.lead{font-size:1.18rem;color:var(--muted);max-width:60ch}
section{padding:clamp(4rem,9vw,7.5rem) 0;scroll-margin-top:70px}
.bg-paper{background:var(--paper)}
.bg-ink{background:var(--ink);color:#E8ECEC}
.bg-ink h2,.bg-ink h3{color:#fff}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:50px;padding:.8rem 1.4rem;border-radius:999px;font-weight:600;font-size:1rem;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .15s,background .2s,color .2s,border-color .2s;font-family:var(--body);line-height:1.2}
.btn svg{width:20px;height:20px;flex:none}
.btn:hover{transform:translateY(-1px)}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-dark);color:#fff}
.btn-ghost{border-color:rgba(255,255,255,.7);color:#fff}
.btn-ghost:hover{background:#fff;color:var(--ink)}
.btn-line{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-line:hover{background:var(--ink);color:#fff}

/* Topbar + Header */
.topbar{background:var(--ink);color:#C9D0D0;font-size:.88rem}
.topbar .wrap{display:flex;gap:1.5rem;justify-content:space-between;align-items:center;min-height:40px;flex-wrap:wrap}
.topbar a{color:#fff;text-decoration:none}
.topbar .tb-left{display:flex;gap:1.4rem;flex-wrap:wrap}
.topbar svg{width:15px;height:15px;vertical-align:-2px;margin-right:.35rem;color:var(--red)}
@media (max-width:760px){.topbar{display:none}}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:74px}
.logo img{height:44px;width:auto}
.nav{display:flex;align-items:center;gap:.2rem}
.nav a{font-weight:500;font-size:.98rem;color:var(--ink);text-decoration:none;padding:.55rem .75rem;border-radius:8px}
.nav a:hover{background:var(--paper);color:var(--red-dark)}
.nav .btn{margin-left:.6rem;min-height:44px;padding:.55rem 1.1rem;color:#fff}
.menu-toggle{display:none;background:none;border:0;padding:.6rem;cursor:pointer;color:var(--ink)}
.menu-toggle svg{width:30px;height:30px}
@media (max-width:1020px){
  .menu-toggle{display:block}
  .nav{position:fixed;inset:74px 0 auto 0;background:#fff;flex-direction:column;align-items:stretch;padding:1rem 1.25rem 1.5rem;border-bottom:1px solid var(--line);box-shadow:var(--shadow);transform:translateY(-120%);visibility:hidden;transition:transform .25s,visibility .25s;max-height:calc(100vh - 74px);overflow:auto}
  .nav.open{transform:none;visibility:visible}
  .nav a{padding:.9rem .5rem;font-size:1.1rem;border-bottom:1px solid var(--line);border-radius:0}
  .nav .btn{margin:1rem 0 0;border-radius:999px;border-bottom:0}
  .logo img{height:36px}
}

/* Hero */
.hero{position:relative;color:#fff;padding:0;min-height:min(88vh,820px);display:flex;align-items:flex-end;overflow:hidden;isolation:isolate}
.hero picture,.hero>img{position:absolute;inset:0;z-index:-2}
.hero img.hero-bg{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(18,22,23,.88) 0%,rgba(18,22,23,.62) 45%,rgba(18,22,23,.10) 100%),linear-gradient(0deg,rgba(18,22,23,.75) 0%,rgba(18,22,23,0) 45%)}
.hero .wrap{padding:clamp(5rem,12vw,9rem) 0 clamp(2.5rem,6vw,4.5rem)}
.hero h1{color:#fff;max-width:14ch;margin-bottom:.35em}
.hero h1 span{color:var(--red)}
.hero .lead{color:#E2E7E7;font-size:clamp(1.1rem,2vw,1.3rem);max-width:46ch}
.hero .ctas{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}
.hero .eyebrow{color:#fff}
.hero .eyebrow::before{background:var(--red)}
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:3rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius);backdrop-filter:blur(6px);overflow:hidden}
.trust div{padding:1.1rem 1.2rem;border-right:1px solid rgba(255,255,255,.14)}
.trust div:last-child{border-right:0}
.trust strong{display:block;font-family:var(--head);font-size:1.75rem;line-height:1;color:#fff}
.trust span{font-size:.9rem;color:#D3DADA}
@media (max-width:760px){.trust{grid-template-columns:1fr 1fr}.trust div:nth-child(2){border-right:0}.trust div:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.14)}}

/* Intro / Über uns */
.split{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
@media (max-width:900px){.split{grid-template-columns:1fr}}
.photo-stack{position:relative;padding:0 2.5rem 2.5rem 0}
.photo-stack img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;aspect-ratio:16/10;object-fit:cover}
.photo-stack img+img{position:absolute;right:0;bottom:0;width:52%;border:6px solid #fff}
.ticks{list-style:none;padding:0;margin:1.5rem 0;display:grid;grid-template-columns:1fr 1fr;gap:.7rem 1.2rem}
.ticks li{position:relative;padding-left:1.9rem;font-weight:500}
.ticks li::before{content:"";position:absolute;left:0;top:.35em;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat}
@media (max-width:520px){.ticks{grid-template-columns:1fr}}
.sign{font-family:var(--head);font-size:1.3rem;font-weight:600;color:var(--grey);margin-top:1.5rem}

/* Leistungen */
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:2.8rem;flex-wrap:wrap}
.sec-head .lead{margin:0}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1.3rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.card figure{margin:0;aspect-ratio:16/10;overflow:hidden;background:var(--paper)}
.card figure img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.card:hover figure img{transform:scale(1.05)}
.card .body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;flex:1}
.card .num{font-family:var(--head);font-weight:700;color:var(--red);font-size:1rem;letter-spacing:.1em}
.card h3{margin:.15rem 0 .45rem}
.card p{color:var(--muted);font-size:.98rem;flex:1}
.more{align-self:flex-start;background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--red-dark);cursor:pointer;display:inline-flex;gap:.4rem;align-items:center}
.more:hover{color:var(--red)}
.more svg{width:18px;height:18px;transition:transform .2s}
.more:hover svg{transform:translateX(3px)}
.extra{margin-top:2.2rem;display:flex;flex-wrap:wrap;gap:.6rem}
.chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:.45rem 1rem;font-size:.92rem;font-weight:500}

/* Dialog */
dialog.detail{border:0;padding:0;border-radius:18px;width:min(860px,calc(100% - 1.5rem));max-height:calc(100vh - 3rem);box-shadow:0 30px 80px rgba(0,0,0,.35);color:var(--ink)}
dialog.detail::backdrop{background:rgba(18,22,23,.7)}
dialog.detail .d-head{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 1.5rem;border-bottom:1px solid var(--line);z-index:1}
dialog.detail .d-head h3{margin:0;font-size:2rem}
dialog.detail .d-body{padding:1.5rem 1.5rem 2rem}
dialog.detail .d-body h4{font-size:1.35rem;margin:1.5rem 0 .4rem;color:var(--red-dark)}
dialog.detail .d-body img{border-radius:10px;margin:0 0 1.2rem;width:100%;max-height:360px;object-fit:cover}
.close{background:var(--paper);border:0;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;cursor:pointer;flex:none}
.close svg{width:22px;height:22px}
.benefits{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}
.benefits div{background:var(--paper);border-radius:10px;padding:1rem}
.benefits strong{display:block;font-family:var(--head);font-size:1.2rem}
@media (max-width:620px){.benefits{grid-template-columns:1fr}}
.note{font-size:.88rem;background:#FFF7E0;border-left:4px solid #E5A800;padding:.7rem 1rem;border-radius:6px;color:#5A4500}

/* Velux band */
.band{background:linear-gradient(110deg,var(--red) 0%,var(--red-dark) 100%);color:#fff;border-radius:var(--radius);padding:clamp(1.6rem,4vw,2.6rem);display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:center;margin-top:3rem;position:relative;overflow:hidden}
.band::after{content:"";position:absolute;right:-60px;top:-40px;width:260px;height:260px;background:rgba(255,255,255,.08);clip-path:polygon(0 100%,35% 0,100% 0,65% 100%)}
.band h3{color:#fff;margin:0 0 .3rem;font-size:2rem}
.band p{margin:0;color:#FFE3E6}
.band .btn{background:#fff;color:var(--red-dark);position:relative;z-index:1}
@media (max-width:760px){.band{grid-template-columns:1fr}}
.velux-frame{margin-top:1.5rem;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#fff}
.velux-frame iframe{width:100%;height:1100px;border:0;display:block}

/* Referenzen */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.6rem}
.filters button{font:inherit;font-weight:500;font-size:.95rem;border:1px solid var(--line);background:#fff;border-radius:999px;padding:.5rem 1.1rem;cursor:pointer;min-height:42px}
.filters button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;grid-auto-flow:dense}
.gallery a{position:relative;display:block;border-radius:10px;overflow:hidden;aspect-ratio:4/3;background:#ddd}
.gallery a:nth-child(7n+1){grid-column:span 2;grid-row:span 2}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.gallery a:hover img{transform:scale(1.06)}
.gallery a::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.35),transparent 50%);opacity:0;transition:opacity .2s}
.gallery a:hover::after{opacity:1}
.gallery a.hide{display:none}
@media (max-width:900px){.gallery{grid-template-columns:repeat(3,1fr)}}
@media (max-width:560px){.gallery{grid-template-columns:repeat(2,1fr);gap:.5rem}.gallery a:nth-child(7n+1){grid-column:span 2;grid-row:auto}}
.center{text-align:center;margin-top:2rem}

/* Lightbox */
.lb{position:fixed;inset:0;z-index:300;background:rgba(10,12,13,.94);display:none;align-items:center;justify-content:center}
.lb.open{display:flex}
.lb img{max-width:min(92vw,1400px);max-height:84vh;width:auto;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lb button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;width:52px;height:52px;border-radius:50%;cursor:pointer;display:grid;place-items:center}
.lb button:hover{background:var(--red)}
.lb button svg{width:26px;height:26px}
.lb .lb-close{top:1rem;right:1rem}
.lb .lb-prev{left:1rem;top:50%;transform:translateY(-50%)}
.lb .lb-next{right:1rem;top:50%;transform:translateY(-50%)}
.lb .lb-count{position:absolute;bottom:1.1rem;left:50%;transform:translateX(-50%);color:#fff;font-size:.95rem;opacity:.8}

/* Ablauf */
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;counter-reset:s}
.steps li{position:relative;background:var(--ink-2);border-radius:var(--radius);padding:1.6rem 1.4rem;counter-increment:s}
.steps li::before{content:"0" counter(s);font-family:var(--head);font-weight:700;font-size:3.2rem;line-height:1;color:var(--red);display:block;margin-bottom:.6rem}
.steps h3{font-size:1.45rem;margin-bottom:.4rem}
.steps p{color:#B9C2C2;font-size:.97rem;margin:0}
@media (max-width:980px){.steps{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.steps{grid-template-columns:1fr}}

/* Team */
.team{display:grid;grid-template-columns:repeat(4,1fr);gap:1.3rem;margin-top:2.5rem}
.member{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.member .ph{aspect-ratio:1/1;background:repeating-linear-gradient(135deg,#ECE8E1 0 14px,#F4F1EC 14px 28px);display:grid;place-items:center;color:var(--grey);font-weight:600;font-size:.9rem;text-align:center;padding:0;overflow:hidden}
.member .ph picture{display:block;width:100%;height:100%}
.member .ph img{width:100%;height:100%;object-fit:cover;display:block}
.member .body{padding:1.1rem 1.3rem 1.3rem}
.member h3{font-size:1.4rem;margin:0}
.member p{margin:.2rem 0 0;color:var(--muted);font-size:.95rem}
@media (max-width:860px){.team{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.team{grid-template-columns:1fr}}

.ph-tag{display:inline-block;background:#FFF7E0;color:#7A5B00;border:1px dashed #E5A800;border-radius:6px;padding:.05rem .4rem;font-size:.85em;font-weight:500}

/* Karriere */
.jobs{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem}
.job{background:#fff;border-radius:var(--radius);padding:1.6rem;border:1px solid var(--line);position:relative}
.job .tag{display:inline-block;background:var(--red-soft);color:var(--red-dark);font-weight:600;font-size:.85rem;border-radius:999px;padding:.2rem .7rem;margin-bottom:.7rem}
.job h3{font-size:1.75rem;margin-bottom:.5rem}
.job dl{margin:0}
.job dt{font-weight:700;margin-top:.6rem}
.job dd{margin:0;color:var(--muted)}
@media (max-width:760px){.jobs{grid-template-columns:1fr}}
.career-cta{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.8rem;align-items:center}

/* Einzugsgebiet */
.area{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.area svg.radar{width:100%;height:auto;max-width:520px;margin-inline:auto;display:block}
@media (max-width:860px){.area{grid-template-columns:1fr}}

/* Kontakt */
.contact{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(1.5rem,4vw,3.5rem)}
@media (max-width:900px){.contact{grid-template-columns:1fr}}
.cinfo{background:var(--ink);color:#DDE3E3;border-radius:var(--radius);padding:clamp(1.5rem,3.5vw,2.4rem)}
.cinfo h3{color:#fff;font-size:1.9rem}
.cinfo ul{list-style:none;padding:0;margin:1.2rem 0 0;display:grid;gap:1rem}
.cinfo li{display:flex;gap:.9rem;align-items:flex-start}
.cinfo li svg{width:22px;height:22px;color:var(--red);flex:none;margin-top:.15rem}
.cinfo a{color:#fff;text-decoration:none;font-weight:600}
.cinfo a:hover{color:#FFB3BD}
.cinfo small{display:block;color:#9AA4A4;font-size:.85rem}
.form{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form .full{grid-column:1/-1}
.form label{display:block;font-weight:600;font-size:.92rem;margin-bottom:.35rem}
.form input,.form select,.form textarea{width:100%;font:inherit;font-size:1rem;padding:.8rem .95rem;border:1.5px solid #CFCAC1;border-radius:10px;background:#fff;color:var(--ink)}
.form input:focus,.form select:focus,.form textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(226,0,32,.15)}
.form textarea{min-height:140px;resize:vertical}
.form .check{display:flex;gap:.6rem;align-items:flex-start;font-weight:400;font-size:.9rem;color:var(--muted)}
.form .check input{width:20px;height:20px;margin-top:.2rem;flex:none}
.form-msg{grid-column:1/-1;background:#E8F5EC;border:1px solid #9BD1AC;color:#1E5B32;padding:.8rem 1rem;border-radius:10px;display:none}
.form-msg.show{display:block}
.form-msg.err{background:#FDEAEA;border-color:#E5B4B4;color:#8A1F1F}
.spam-note{grid-column:1/-1;margin:0;color:var(--muted);font-size:.85rem}
.form button[type=submit]:disabled{opacity:.65;cursor:wait}
noscript .form-msg{margin-top:.8rem}
@media (max-width:560px){.form{grid-template-columns:1fr}}

/* Footer */
.footer{background:#141819;color:#A9B2B2;padding:4rem 0 7rem;font-size:.95rem}
.footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.footer h4{color:#fff;font-size:1.25rem;letter-spacing:.06em;text-transform:uppercase}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:.45rem}
.footer a{color:#D7DDDD;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer .logo-w{background:#fff;display:inline-block;padding:.7rem .9rem;border-radius:10px;margin-bottom:1rem}
.footer .logo-w img{height:38px;width:auto}
.footer .bottom{border-top:1px solid #2A3133;margin-top:2.5rem;padding-top:1.4rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.85rem}
@media (max-width:900px){.footer .cols{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.footer .cols{grid-template-columns:1fr}}
@media (min-width:1021px){.footer{padding-bottom:3rem}}

/* Mobile Quickbar */
.quickbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;grid-template-columns:repeat(3,1fr);background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.08);padding-bottom:env(safe-area-inset-bottom)}
.quickbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-height:62px;font-size:.8rem;font-weight:600;color:var(--ink);text-decoration:none}
.quickbar a svg{width:22px;height:22px;color:var(--red)}
.quickbar a.main{background:var(--red);color:#fff}
.quickbar a.main svg{color:#fff}
@media (max-width:1020px){.quickbar{display:grid}}

/* Legal pages */
.legal-hero{background:var(--ink);color:#fff;padding:4rem 0 3rem}
.legal-hero h1{color:#fff;font-size:clamp(2.4rem,6vw,4rem)}
.legal{padding:3rem 0 5rem}
.legal .wrap{max-width:860px}
.legal h2{font-size:1.9rem;margin-top:2rem}
.legal p{overflow-wrap:anywhere}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}
.reveal.in{opacity:1;transform:none}
