
:root{--ink:#132f42;--navy:#0e2f47;--blue:#176d96;--orange:#e97816;--muted:#657b89;--line:#d9e5eb;--soft:#f4f8fa;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{color:inherit}.wrap{width:min(1160px,calc(100% - 32px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{text-decoration:none;font-weight:900;color:var(--navy);font-size:1.2rem}.brand small{display:block;font-size:.66rem;color:var(--muted);margin-top:4px}.nav nav{display:flex;align-items:center;gap:18px}.nav nav a{text-decoration:none;font-size:.86rem;font-weight:800}.nav nav a.active{color:var(--blue)}.edit-link{padding:10px 13px;border-radius:999px;background:#edf6fa;color:var(--blue)!important}.hero{min-height:520px;background-size:cover;background-position:center;display:flex;align-items:center;color:#fff}.hero-inner{display:flex;align-items:center;min-height:520px}.hero-copy{max-width:680px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.73rem;font-weight:900;color:#2686ad}.hero .eyebrow{color:#fff}.hero h1{font-size:clamp(3rem,6vw,5.7rem);line-height:.95;letter-spacing:-.05em;margin:12px 0 18px}.hero p{font-size:1.12rem;line-height:1.6;max-width:620px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;min-height:48px;padding:0 18px;border-radius:10px;align-items:center;justify-content:center;text-decoration:none;font-weight:900;border:0}.btn.primary{background:var(--orange);color:#fff}.btn.ghost{border:1px solid rgba(255,255,255,.65);color:#fff;background:rgba(255,255,255,.08)}.benefit-strip{background:var(--navy);color:#fff}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}.benefit-grid>div{padding:22px;border-right:1px solid rgba(255,255,255,.12);text-align:center}.benefit-grid strong,.benefit-grid span{display:block}.benefit-grid span{font-size:.78rem;color:#c8d7df;margin-top:4px}.section{padding:70px 0}.section.soft{background:var(--soft)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:26px}.section h2,.page-hero h1{font-size:clamp(2.2rem,4vw,4rem);line-height:1;letter-spacing:-.04em;color:var(--navy);margin:8px 0}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.card{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff}.card .icon{font-size:1.5rem;color:var(--orange)}.card h3{margin:12px 0 7px}.card p{margin:0;color:var(--muted);line-height:1.5}.notice{display:flex;align-items:center;justify-content:space-between;gap:30px}.notice p{color:var(--muted);line-height:1.6;max-width:780px}.page-hero{padding:60px 0;background:linear-gradient(120deg,#eef6f9,#fff)}.page-hero p{color:var(--muted);max-width:760px;line-height:1.6}.services-grid{grid-template-columns:repeat(3,1fr)}.service-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;margin-bottom:12px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.large-copy{font-size:1.08rem;line-height:1.75;color:var(--muted)}.two-images{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-images img{width:100%;height:280px;object-fit:cover;border-radius:14px}.image-placeholder{grid-column:1/-1;min-height:280px;display:grid;place-items:center;background:var(--soft);border:2px dashed var(--line);border-radius:14px;color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery figure{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.gallery figcaption{padding:12px;color:var(--muted)}.empty-state{padding:35px;border:2px dashed var(--line);border-radius:14px;color:var(--muted)}.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.news-card{padding:24px;border:1px solid var(--line);border-radius:16px}.news-card p{color:var(--muted);line-height:1.6}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}.contact-card,.contact-form{border:1px solid var(--line);border-radius:16px;padding:24px}.contact-form{display:grid;gap:13px}.contact-form label{font-size:.86rem;font-weight:800}.contact-form input,.contact-form textarea{width:100%;margin-top:6px;border:1px solid #cbdbe3;border-radius:9px;padding:12px;font:inherit}.contact-form textarea{min-height:140px}.footer{background:#0c293e;color:#fff;padding:28px 0}.footer-grid{display:flex;justify-content:space-between;gap:25px}.footer span,.footer a{color:#c8d7df}
@media(max-width:900px){.cards,.services-grid{grid-template-columns:repeat(2,1fr)}.about-grid,.contact-grid{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.wrap{width:min(100% - 22px,1160px)}.hero{min-height:480px}.hero-inner{min-height:480px}.hero h1{font-size:3rem}.benefit-grid{grid-template-columns:repeat(2,1fr)}.cards,.services-grid,.gallery,.news-grid{grid-template-columns:1fr}.section{padding:50px 0}.section-head,.notice,.footer-grid{align-items:flex-start;flex-direction:column}}


/* V2 – ruhige Template-Optik: mittig, begrenzte Breite, abgerundete Ecken */
body{
  background:#edf2f4;
  padding:18px 0 30px;
}

.site-header,
body > main,
.footer{
  width:min(1360px, calc(100% - 36px));
  margin-left:auto;
  margin-right:auto;
}

.site-header{
  border-radius:22px 22px 0 0;
  overflow:hidden;
  box-shadow:0 8px 26px rgba(20,55,73,.07);
}

body > main{
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 32px rgba(20,55,73,.06);
}

.footer{
  border-radius:0 0 22px 22px;
  overflow:hidden;
  margin-bottom:18px;
}

.hero{
  min-height:480px;
}
.hero-inner{
  min-height:480px;
}
.hero-copy{
  max-width:610px;
}
.hero h1{
  font-size:clamp(2.8rem,5vw,4.8rem);
}

.section{
  padding:58px 0;
}
.page-hero{
  padding:48px 0;
}

.cards{
  gap:16px;
}
.card{
  box-shadow:none;
}
.service-card{
  overflow:hidden;
}
.service-card img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:11px;
  margin-bottom:14px;
  background:#eef3f5;
}

/* Etwas kompaktere Startseite */
.benefit-grid>div{
  padding:18px 14px;
}

@media(max-width:900px){
  body{
    padding:8px 0 16px;
  }
  .site-header,
  body > main,
  .footer{
    width:min(100% - 16px,1360px);
  }
  .site-header{border-radius:16px 16px 0 0}
  .footer{border-radius:0 0 16px 16px}
}


/* V3 – derselbe gewählte Banner auf allen Unterseiten */
.page-hero-banner{
  min-height:250px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  color:#fff;
  padding:38px 0 !important;
}
.page-hero-banner .eyebrow,
.page-hero-banner h1,
.page-hero-banner p{
  color:#fff !important;
}
.page-hero-banner h1{
  max-width:820px;
  text-shadow:0 2px 10px rgba(0,0,0,.18);
}
.page-hero-banner p{
  max-width:760px;
  text-shadow:0 1px 8px rgba(0,0,0,.16);
}
@media(max-width:600px){
  .page-hero-banner{
    min-height:210px;
    background-position:center;
  }
}


/* V5 – kompakte Referenzgalerie mit Klick-Vergrößerung */
.gallery{
  grid-template-columns:repeat(4,1fr) !important;
  gap:12px !important;
}
.gallery-item{
  border-radius:12px !important;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line) !important;
}
.gallery-thumb-btn{
  display:block;
  width:100%;
  border:0;
  padding:0;
  margin:0;
  background:#eef3f5;
  cursor:zoom-in;
}
.gallery-thumb-btn img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  transition:transform .18s ease;
}
.gallery-thumb-btn:hover img{
  transform:scale(1.025);
}
.gallery-item figcaption{
  padding:9px 10px !important;
  font-size:.78rem;
  line-height:1.35;
  min-height:0;
}
.lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(8,24,35,.88);
}
.lightbox.open{
  display:flex;
}
.lightbox-inner{
  max-width:min(1100px,92vw);
  max-height:88vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.lightbox-inner img{
  max-width:100%;
  max-height:80vh;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
}
.lightbox-caption{
  color:#fff;
  text-align:center;
  font-size:.9rem;
}
.lightbox-close{
  position:absolute;
  top:18px;
  right:24px;
  width:46px;
  height:46px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#18394c;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}
body.lightbox-open{
  overflow:hidden;
}

@media(max-width:1000px){
  .gallery{
    grid-template-columns:repeat(3,1fr) !important;
  }
}
@media(max-width:700px){
  .gallery{
    grid-template-columns:repeat(2,1fr) !important;
  }
}
@media(max-width:420px){
  .gallery{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }
  .gallery-item figcaption{
    font-size:.72rem;
  }
}


/* V9 – kleinere Galerie-Vorschauen, vollständiges Bild statt Beschnitt */
.gallery{
  grid-template-columns:repeat(5,1fr) !important;
  gap:12px !important;
}
.gallery-thumb-btn{
  background:#fff !important;
  padding:8px !important;
  border-bottom:1px solid #edf2f4 !important;
}
.gallery-thumb-btn img{
  width:100% !important;
  height:150px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  background:#fff !important;
  transform:none !important;
}
@media(max-width:1100px){.gallery{grid-template-columns:repeat(4,1fr)!important}}
@media(max-width:800px){.gallery{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:560px){.gallery{grid-template-columns:repeat(2,1fr)!important}.gallery-thumb-btn img{height:125px!important}}


/* V10 – Bannerhöhe bleibt fest, Begrüßungstext steht darunter */
.hero{
  height:480px !important;
  min-height:480px !important;
  overflow:hidden;
}
.hero-inner{
  height:480px !important;
  min-height:480px !important;
}
.hero-copy{
  max-width:650px;
}
.hero-copy h1{
  margin-bottom:24px;
}
.welcome-section{
  background:#fff;
  padding:42px 0 46px;
  border-bottom:1px solid var(--line);
}
.welcome-grid{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:42px;
  align-items:start;
}
.welcome-grid h2{
  margin:8px 0 0;
  color:var(--navy);
  font-size:clamp(1.8rem,3vw,2.7rem);
  line-height:1.05;
}
.welcome-copy{
  color:var(--muted);
  font-size:1rem;
  line-height:1.7;
  max-width:800px;
}
@media(max-width:700px){
  .hero,
  .hero-inner{
    height:410px !important;
    min-height:410px !important;
  }
  .welcome-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .welcome-section{
    padding:32px 0 36px;
  }
}


/* V11 – ruhige Startseite */
.home-images-section{padding:0 0 46px;background:#fff}.home-images-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.home-image-box{aspect-ratio:4/3;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#f4f7f8}.home-image-box img{width:100%;height:100%;object-fit:cover;display:block}.home-image-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#80939e;background:#f4f7f8;font-size:.9rem}.home-counter-section{padding:0 0 44px;background:#fff}.home-counter{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#f7fafb}.home-counter>div{text-align:center;padding:14px 10px;border-right:1px solid var(--line)}.home-counter>div:last-child{border-right:0}.home-counter strong,.home-counter span{display:block}.home-counter strong{font-size:1.15rem;color:var(--navy)}.home-counter span{font-size:.72rem;color:var(--muted);margin-top:3px}@media(max-width:700px){.home-images-grid{grid-template-columns:1fr}.home-counter{grid-template-columns:repeat(2,1fr)}.home-counter>div:nth-child(2){border-right:0}.home-counter>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}


/* V12 – kleinere Startseiten-Vorschaubilder + Klick-Vergrößerung */
.home-images-section{
  padding:10px 0 34px !important;
}
.home-images-grid{
  grid-template-columns:repeat(3,minmax(0,260px)) !important;
  justify-content:center;
  gap:18px !important;
}
.home-image-box{
  aspect-ratio:4/3 !important;
  border-radius:14px !important;
  background:#fff !important;
  overflow:hidden;
}
.home-image-btn{
  display:block;
  width:100%;
  height:100%;
  padding:8px;
  border:0;
  background:#fff;
  cursor:zoom-in;
}
.home-image-btn img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  background:#fff;
  border-radius:8px;
}
.home-image-placeholder{
  min-height:180px;
}
#homeLightbox .lightbox-inner img{
  max-width:min(1200px,92vw);
  max-height:84vh;
  object-fit:contain;
  background:#fff;
}
@media(max-width:900px){
  .home-images-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media(max-width:700px){
  .home-images-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:430px){
  .home-images-grid{
    grid-template-columns:1fr !important;
  }
}


/* V13 – Startseite auf einer gemeinsamen Mittelachse */
.welcome-section{
  padding:44px 0 30px !important;
  border-bottom:0 !important;
}
.welcome-content{
  width:min(1040px, calc(100% - 32px));
  text-align:left;
}
.welcome-content h2{
  margin:8px 0 18px;
  color:var(--navy);
  font-size:clamp(2rem,3.5vw,3.25rem);
  line-height:1.05;
  letter-spacing:-.035em;
}
.welcome-content .welcome-copy{
  max-width:none;
  width:100%;
  font-size:1rem;
  line-height:1.72;
}

.home-images-section .wrap,
.home-counter-section .wrap{
  width:min(1040px, calc(100% - 32px));
}
.home-images-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:100%;
  max-width:none;
  justify-content:stretch;
}
.home-image-box{
  width:100%;
}
.home-counter{
  width:100%;
}

@media(max-width:700px){
  .welcome-content,
  .home-images-section .wrap,
  .home-counter-section .wrap{
    width:min(100% - 22px,1040px);
  }
}


/* V14 – Kontaktbereich und Rechtliches */
.contact-grid-v14{
  grid-template-columns:.72fr 1.28fr;
  align-items:stretch;
}
.contact-info-card h2{
  margin:7px 0 20px;
  font-size:1.75rem;
  line-height:1.05;
  color:var(--navy);
}
.contact-info-list{
  display:grid;
  gap:5px;
}
.contact-info-row{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:11px;
  align-items:start;
  padding:10px 0;
  border-bottom:1px solid #e6eef2;
}
.contact-info-row:last-child{
  border-bottom:0;
}
.contact-icon{
  width:34px;
  height:34px;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:#eef6fa;
  font-size:1rem;
}
.contact-info-row strong,
.contact-info-row a,
.contact-info-row span{
  display:block;
}
.contact-info-row strong{
  font-size:.78rem;
  color:#516d7b;
  margin-bottom:3px;
}
.contact-info-row a,
.contact-info-row div>span{
  color:var(--navy);
  font-size:.92rem;
  line-height:1.4;
  text-decoration:none;
}
.legal-shortcuts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.legal-shortcuts a{
  text-align:center;
  padding:10px 8px;
  border-radius:9px;
  background:#f3f7f9;
  border:1px solid var(--line);
  color:var(--navy);
  text-decoration:none;
  font-size:.82rem;
  font-weight:700;
}
.contact-form-note{
  margin:0;
  text-align:center;
  color:var(--muted);
  font-size:.76rem;
}
.footer-grid{
  align-items:center;
}
.footer-legal{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.footer-legal a{
  text-decoration:none;
  font-size:.82rem;
}

.legal-hero{
  background:linear-gradient(120deg,#eef6f9,#fff);
}
.legal-page{
  max-width:900px;
}
.legal-page h2{
  margin:28px 0 8px;
  font-size:1.25rem;
  letter-spacing:-.01em;
}
.legal-page p{
  color:var(--muted);
  line-height:1.65;
}
.legal-notice{
  padding:16px 18px;
  border-radius:12px;
  border-left:4px solid var(--orange);
  background:#fff8ec;
  line-height:1.5;
  color:#71542f;
}

@media(max-width:850px){
  .contact-grid-v14{
    grid-template-columns:1fr;
  }
  .footer-grid{
    align-items:flex-start;
  }
}


/* V15 – einheitliche Bannerhöhe auf allen Seiten */
.hero{
  height:250px !important;
  min-height:250px !important;
}
.hero-inner{
  height:250px !important;
  min-height:250px !important;
}
.hero-copy{
  max-width:820px;
}
.hero-copy h1{
  font-size:clamp(2.2rem,4vw,4rem) !important;
  margin:8px 0 0 !important;
}
.hero .eyebrow{
  margin-bottom:0;
}
@media(max-width:600px){
  .hero,
  .hero-inner{
    height:210px !important;
    min-height:210px !important;
  }
  .hero-copy h1{
    font-size:2.25rem !important;
  }
}


/* V17 – flache Banner, Fokus etwas nach oben */
.hero,
.page-hero-banner{
  background-position:center 28% !important;
}


/* V19 Demo – kompakter Sprachumschalter */
.language-menu{
  position:relative;
}
.language-button{
  border:1px solid var(--line);
  background:#fff;
  color:var(--navy);
  min-height:38px;
  padding:0 11px;
  border-radius:999px;
  font:inherit;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
}
.language-dropdown{
  position:absolute;
  top:45px;
  right:0;
  z-index:90;
  min-width:165px;
  display:none;
  padding:7px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,47,68,.15);
}
.language-menu.open .language-dropdown{
  display:grid;
}
.language-dropdown button{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  padding:9px 10px;
  border-radius:8px;
  color:var(--navy);
  font:inherit;
  font-size:.8rem;
  cursor:pointer;
}
.language-dropdown button:hover{
  background:#eef6f9;
}

@media(max-width:1100px){
  .language-button{
    padding:0 9px;
  }
}
@media(max-width:900px){
  .language-menu{
    margin-left:auto;
  }
}

/* V21 – Referenzbilder auf der Referenzseite optisch gleich groß */
.gallery{
  grid-template-columns:repeat(5,1fr) !important;
  gap:12px !important;
  align-items:stretch;
}
.gallery-item{
  display:flex;
  flex-direction:column;
  height:100%;
}
.gallery-thumb-btn{
  display:block;
  width:100%;
  padding:0 !important;
  background:#eef3f5 !important;
  border-bottom:1px solid #edf2f4 !important;
}
.gallery-thumb-btn img{
  width:100% !important;
  height:170px !important;
  aspect-ratio:4/3 !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block;
  background:#eef3f5 !important;
}
.gallery-item figcaption{
  min-height:58px;
  display:flex;
  align-items:flex-start;
}
@media(max-width:1100px){
  .gallery{grid-template-columns:repeat(4,1fr)!important}
}
@media(max-width:800px){
  .gallery{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:560px){
  .gallery{grid-template-columns:repeat(2,1fr)!important}
  .gallery-thumb-btn img{height:130px!important}
}


/* SeitenZack Handwerk – Handy-Menü V4 */
.mobile-menu-toggle{
  display:none;
}
@media(max-width:900px){
  html,body{
    max-width:100%;
    overflow-x:hidden;
  }
  body{
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
  }
  .site-header{
    position:sticky;
    top:0;
    z-index:1000;
    overflow:visible!important;
  }
  .site-header .nav{
    position:relative;
    min-height:68px;
    display:flex;
    align-items:center;
    overflow:visible!important;
  }
  .brand{
    min-width:0;
    max-width:calc(100% - 58px);
  }
  .mobile-menu-toggle{
    display:inline-flex!important;
    width:46px;
    height:42px;
    margin-left:auto;
    align-items:center;
    justify-content:center;
    border:1px solid #d9e0e6;
    border-radius:11px;
    background:#fff;
    color:#17324a;
    font-size:1.35rem;
    font-weight:900;
    cursor:pointer;
    z-index:1002;
  }
  #main-nav{
    display:none!important;
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    top:86px!important;
    z-index:1001!important;
    max-height:calc(100vh - 105px)!important;
    overflow-y:auto!important;
    padding:12px!important;
    border:1px solid #dfe5ea!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 18px 45px rgba(20,35,50,.28)!important;
  }
  #main-nav.mobile-nav-open{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
  }
  #main-nav a,
  #main-nav a:not(.edit-link){
    display:block!important;
    width:100%!important;
    padding:13px 12px!important;
    margin:0!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#17324a!important;
    font-size:1rem!important;
    line-height:1.25!important;
    text-align:left!important;
  }
  #main-nav a.active{
    background:#edf4f7!important;
  }
  #main-nav .edit-link{
    margin-top:5px!important;
    background:#eef6fb!important;
    text-align:center!important;
  }
  body>main{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
}
