/* =========================================================
   Berghofer Balkone – style.css (sauber & konsistent)
   Stand: 2026-03-03
========================================================= */

/* =========================================================
   1) ROOT & BASE
========================================================= */
:root{
  --bg:#ffffff;
  --text:#585555;
  --muted:#666666;
  --line:#e6e6e6;

  --card:#f7f7f7;
  --soft:#f7f7f7;

  --accent:#ff0000;
  --accent-strong:#e00000;

  --NUWI-light:#466282;
  --NUWI-dark:#243A5E;

  --radius:16px;
  --max:2300px;
}

*{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  scroll-padding-top:160px;
}

body{
  margin:0;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }

.container{
  width:min(100%, var(--max));
  margin-inline:auto;
  padding-inline:clamp(10px, 2vw, 64px);
}

section{ padding:72px 0; }
section[id]{ scroll-margin-top:160px; }

@media (max-width:560px){
  html{ scroll-padding-top:140px; }
  section[id]{ scroll-margin-top:140px; }
}

/* Typo helpers */
.section-title{ font-weight:200; font-size:40px; margin:0 0 14px; }
.section-title01{ font-weight:400; font-size:40px; }
.section-sub{ margin:0 0 24px; color:var(--muted); max-width:72ch; }
.section-dub{ margin:0; color:var(--muted); max-width:72ch; }
.section-dub1{ margin:0; color:var(--muted); max-width:72ch; }
.section-dub01{ margin:20px 0 0; color:var(--muted); max-width:50ch; }
.section-dub02{ margin:-400px 0 0; color:var(--muted); max-width:55ch; }

.accent{ color:var(--accent); font-weight:800; }
.muted{ color:var(--muted); }
.accent-nuwi{ color:var(--NUWI-dark); font-weight:800; }

/* Brand words */
.brand-emph,
.brand-text{
  font-family:"bank-gothic-bt", system-ui, sans-serif;
  font-weight:100;
  text-transform:uppercase;
}
.brand-emph{ font-size:1.4em; letter-spacing:-5px; }
.brand-text{ font-size:1.4em; letter-spacing:-0.9px; }

/* =========================================================
   2) LAYOUT HELPERS
========================================================= */
.card{
  border-radius:calc(var(--radius) + 4px);
  border:1px solid var(--line);
  background:#fff;
  padding:24px;
}

.section-soft{
  background:linear-gradient(135deg, #ffffff, #f7f7f7);
}

.section-divider{
  width:1100px;
  height:1px;
  background:var(--text);
  position:relative;
  left:50%;
  transform:translateX(-50%);
  margin:22px 0;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:700;
  white-space:nowrap;
}
.btn:hover{ background:var(--card); }

.btn.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.btn-map{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:700;
  white-space:nowrap;

  width:auto;        /* wichtig */
  max-width:300px;
}
.btn-map:hover{ background:var(--card); }

/* NUWI button */
.konfigurator{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 10px;
  cursor:pointer;
  font-weight:700;
  background:var(--NUWI-dark);
  color:#fff;
  font-size:18px;
}

/* =========================================================
   3) HEADER + NAV
========================================================= */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:#DFDEE0;
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:5px 20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
}

.logo-img{
  height: clamp(70px, 8vw, 120px);
  width:auto;
  display:block;
  transition: height .3s ease;
}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}
.nav > li{ list-style:none; position:relative; }

.nav a,
.nav button{
  font:inherit;
  border:0;
  background:transparent;
  padding:10px 10px;
  border-radius:12px;
  cursor:pointer;
  color:var(--text);
  font-weight:600;
}
.nav a:hover,
.nav button:hover{ background:var(--card); }

.dropdown{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:240px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:8px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  display:none;
}
.dropdown a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:var(--text);
  font-weight:600;
}
.dropdown a:hover{ background:var(--card); }
.nav > li:hover .dropdown,
.nav > li:focus-within .dropdown{ display:block; }

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.nuwi-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:100px;
}
.nuwi-badge img{ height:50px; width:auto; display:block; }

@media (max-width:1100px){
  .logo-img{ height: clamp(60px, 10vw, 90px); }
}
@media (max-width:600px){
  .logo-img{ height:55px; }
}

/* =========================================================
   MOBILE NAV (Burger + Dropdown Tap) – SAUBER
========================================================= */

/* Desktop Defaults */
.header-row{
  flex-wrap:nowrap;
}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Burger base */
.burger{
  display:none;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  position:relative;
  padding:0;
}
.burger:hover{ background:var(--card); }

.burger span{
  position:absolute;
  left:12px;
  right:12px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition:transform .2s ease, top .2s ease, opacity .2s ease;
}
.burger span:nth-child(1){ top:16px; }
.burger span:nth-child(2){ top:22px; }
.burger span:nth-child(3){ top:28px; }

.header.is-open .burger span:nth-child(1){ top:22px; transform:rotate(45deg); }
.header.is-open .burger span:nth-child(2){ opacity:0; }
.header.is-open .burger span:nth-child(3){ top:22px; transform:rotate(-45deg); }

/* Mobile Layout */
@media (max-width:900px){

  /* Header darf umbrechen */
  .header-row{
    flex-wrap:wrap;
    align-items:center;
  }

  /* Logo links, Burger rechts */
  .brand{
    flex:1 1 auto;
    min-width:0;
  }

  .burger{
    display:inline-grid;
    place-items:center;
    margin-left:auto;
  }

  /* Nav unter den Header */
  .nav{
    display:none;            /* zu, bis geöffnet */
    flex:0 0 100%;
    width:100%;
    order:10;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:10px 0 6px;
    margin-top:10px;
  }

  .header.is-open .nav{
    display:flex;
  }

  .nav > li{ width:100%; }

  .nav a,
  .nav button{
    width:100%;
    justify-content:space-between;
    padding:12px 12px;
    border-radius:14px;
    text-align:left;
  }

  /* Dropdown per Tap */
  .dropdown{
    position:static;
    min-width:0;
    box-shadow:none;
    border-radius:14px;
    margin:6px 0 0;
    display:none;
  }

  .nav > li.dd-open .dropdown{ display:block; }

  .dropdown a{
    padding:12px 12px;
  }

  /* Actions unter Menü (nur wenn offen) */
  .header-actions{
    flex:0 0 100%;
    width:100%;
    order:11;
    margin-top:8px;
    justify-content:flex-start;
    display:none;
  }

  .header.is-open .header-actions{
    display:flex;
  }
}
/* =========================================================
   4) HOME – HERO (Full-Bleed)
========================================================= */
.hero{ padding:40px 40px 4px; }

.hero-full{
  width:100vw;
  margin-left:calc(50% - 50vw);
}

.hero-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 16px;
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap:20px;
  align-items:stretch;
}

/* Slider */
.slider{
  border:none;
  border-radius:0;
  overflow:hidden;
  position:relative;
  background:transparent;

  /* Höhe passt sich flexibel an die Bildschirmbreite an */
  height:clamp(200px, 38vw, 700px);

  width:100%;
  order:2;
}

.slides{
  display:flex;
  height:100%;
  transition:transform .6s ease;
  will-change:transform;
}

.slide{
  flex:0 0 100%;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#f3f3f3;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}


/* Tablet */
@media (max-width:1100px){
  .hero-inner{
    grid-template-columns:1fr;
  }

  .slider{
    height:clamp(280px, 55vw, 420px);
    order:1;
  }

  .hero-copy{
    order:2;
  }
}


/* Handy */
@media (max-width:560px){
  .slider{
    height:clamp(240px, 65vw, 340px);
  }
}
/* Controls */
.slider-controls{ position:absolute; inset:0; pointer-events:none; }

.slider-btn{
  pointer-events:auto;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.25);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter:blur(8px);
}
.slider-btn:hover{ background:rgba(0,0,0,.35); }
.slider-btn.prev{ left:14px; }
.slider-btn.next{ right:14px; }

.dots{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(8px);
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.45);
  border:0;
  cursor:pointer;
}
.dot.active{ background:#fff; }

/* Hero Copy */
.hero-copy{
  background:transparent;
  border:none;
  padding:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:16px;
  max-width:620px;
  order:1;
}

.hero-eyebrow{
  color:var(--muted);
  font-weight:700;
  letter-spacing:3px;
  font-size:15px;
  text-transform:uppercase;
}

.hero-headline{
  margin:0;
  color:#111;
  font-weight:300;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:60px;
  line-height:1.1;
}

.hero-kicker{
  margin-top:8px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:18px;
}
.hero-text{
  margin:0;
  color:#111;
  font-size:15px;
  line-height:1.8;
  letter-spacing:.2px;
}

.hero-corner-img img{
  margin-left:30px;
	margin-top: 70px;
  width:300px;
  height:auto;
}

@media (max-width:1100px){
  .hero-inner{ grid-template-columns:1fr; }
  .slider{ height:380px; order:1; }
  .hero-copy{ order:2; }
}

/* =========================================================
   5) HOME – WELCOME
========================================================= */
.welcome-center{ display:flex; justify-content:center; }
.welcome-content{ max-width:1200px; text-align:center; }

.welcome-content .section-sub{
  margin:0 auto 24px;
  font-weight:600;
}

.welcome-eyebrow{
  margin:18px 0 10px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.welcome-text{
  margin:0;
  color:var(--muted);
  line-height:1.5;
  max-width:80ch;
  margin-inline:auto;
}

/* =========================================================
   6) UNIQUE SECTION
========================================================= */
.unique{ padding:80px 0 0; }

.unique .container{
  max-width:1600px;
  margin:0 auto;
}

.unique-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:flex-start;
}

.unique-copy{ max-width:78ch; }
.feature-copy{ max-width:78ch; }

.unique-eyebrow{
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:10px;
}

.unique-points{
  display:grid;
  gap:10px;
  margin:40px 0 40px;
  color:var(--muted);
  font-weight:600;
}
.unique-point{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

.unique-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  clear:both;
  margin:0 0 100px;
}

.unique-actions-btn{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  clear:both;
  margin:70px 0 100px;
}

.unique-media{ display:grid; grid-template-rows:1fr; gap:14px; }

.unique-img{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  max-width:800px;
  margin-left:auto;
}
.unique-img img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
  opacity:.92;
}
.unique-media-small{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:14px;
}

.unique-small-img{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}

.unique-small-img img{
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
  opacity:.92;
}
.unique-mini{
  float:left;
  width:220px;
  margin:6px 15px 0 6px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}
.unique-mini img{ width:100%; height:auto; display:block; object-fit:cover; }

.unique-thumbs{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
  margin-top:22px;
  align-items:end;
}
.unique-thumb{ margin:0; border-radius:14px; overflow:hidden; }
.unique-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

@media (max-width:1100px){
  .unique-wrap{ grid-template-columns:1fr; }
  .unique-mini{
    float:none;
    width:min(260px, 100%);
    margin:12px 0 16px;
  }
  .unique-media{ margin-top:20px; }
}
@media (max-width:900px){
  .unique-thumbs{ grid-template-columns:repeat(2, 1fr); }
  .unique-thumb img{ height:140px; }
}
@media (max-width:560px){
  .unique-copy{ max-width:100%; }
}
@media (max-width:600px){
  .unique-media-small{
    grid-template-columns:1fr;
  }
}
/* =========================================================
   7) HOME – MINI GALERIE (mg)
========================================================= */
.home-mini-gallery{ padding:0 0 80px; }

.home-mini-gallery .mg{
  display:grid;
  grid-template-columns:44px 1fr 44px;
  gap:12px;
  align-items:center;
}

.home-mini-gallery .mg-viewport{
  overflow:hidden;
  border-radius:18px;
  min-width:0;
}

.home-mini-gallery .mg-track{
  display:flex;
  transition:transform .55s ease;
  will-change:transform;
}

.home-mini-gallery .mg-page{
  flex:0 0 100%;
  display:grid;
  gap:12px;
  padding:2px;
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.home-mini-gallery .mg-tile{
  position:relative;
  margin:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  min-height:0;
  aspect-ratio:16 / 10;
}

.home-mini-gallery .mg-tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}
.mg-tile:hover img{ transform:scale(1.03); }

.mg-corner{
  position:absolute;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.90);
  border:1px solid var(--line);
  color:var(--text);
  font-weight:800;
  font-size:12px;
  letter-spacing:.3px;
  text-transform:uppercase;
}
.mg-corner:hover{
  background:#fff;
  border-color:rgba(255,0,0,.25);
}
.mg-corner.tl{ top:12px; left:12px; }
.mg-corner.tr{ top:12px; right:12px; }
.mg-corner.bl{ bottom:12px; left:12px; }
.mg-corner.br{ bottom:12px; right:12px; }

.mg-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:900;
  display:grid;
  place-items:center;
}
.mg-btn:hover{ background:var(--card); }

.mg-dots{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:8px;
}
.mg-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background:rgba(0,0,0,.18);
}
.mg-dot.active{ background:rgba(0,0,0,.55); }

@media (max-width:1100px){
  .home-mini-gallery .mg-page{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-mini-gallery .mg-tile{ aspect-ratio:4 / 3; }
}
@media (max-width:560px){
  .home-mini-gallery .mg-tile{ aspect-ratio:1 / 1; }
}

/* =========================================================
   8) NUWI BLOCK + CTA BAND
========================================================= */
.nuwi{
  border-radius:calc(var(--radius) + 6px);
  border:1px solid var(--line);
  background:linear-gradient(135deg, #ffffff, #f6f6f6);
  padding:26px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.nuwi .left{ max-width:200ch; }
.nuwi .right{ display:flex; gap:10px; flex-wrap:wrap; }

.cta-band{
  border-radius:calc(var(--radius) + 6px);
  border:1px solid var(--line);
  background:linear-gradient(135deg, #ffffff, #f5f5f5);
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cta-band p{ margin:0; color:var(--muted); }
.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* =========================================================
   9) HOME – USP
========================================================= */
.usp{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:12px;
}
.usp .item{
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  padding:14px;
  text-align:center;
  color:var(--muted);
  font-weight:800;
}
@media (max-width:1100px){
  .usp{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:560px){
  .usp{ grid-template-columns:repeat(2, 1fr); }
}

/* =========================================================
   10) KONFIGURATOR SYNC
========================================================= */
.kfg-sync{ padding:72px 0; }

.kfg-sync-wrap{
  display:grid;
  grid-template-columns: 1.1fr 2fr;
  gap:26px;
  align-items:stretch;
}

.kfg-left{
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  padding:26px;
  overflow:hidden;
}

.kfg-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 0;
}

.konfi{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 20px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--NUWI-dark);
  cursor:pointer;
  font-weight:700;
  white-space:nowrap;
  color:#fff;
}

.konfi-mockup{
  position:relative;
  width:100%;
  margin:18px 0 0;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}

.konfi-screen{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  z-index:1;
}

.konfi-overlay{
  position:relative;
  width:100%;
  height:auto;
  display:block;
  z-index:2;
  pointer-events:none;
}

.kfg-right{ display:flex; }

.kfg-big{
  position:relative;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  aspect-ratio:16 / 9;
  min-height:420px;
}

.kfg-big img{ width:100%; height:100%; object-fit:cover; display:block; }

.kfg-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(0,0,0,.25);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  backdrop-filter:blur(8px);
}
.kfg-btn:hover{ background:rgba(0,0,0,.35); }
.kfg-btn.prev{ left:14px; }
.kfg-btn.next{ right:14px; }

.kfg-dots{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(8px);
}

.kfg-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background:rgba(255,255,255,.45);
}
.kfg-dot.active{ background:#fff; }

.kfg-lead{
  margin:14px 0 0;
  color:var(--muted);
  font-weight:600;
  line-height:1.7;
  max-width:60ch;
}

.kfg-sync-note{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:flex-start;
}
.kfg-sync-note p{
  margin:0;
  color:var(--muted);
  font-weight:600;
  line-height:1.7;
  max-width:90ch;
}

@media (max-width:1100px){
  .kfg-sync-wrap{ grid-template-columns:1fr; }
  .kfg-big{ min-height:360px; }
}
@media (max-width:560px){
  .kfg-lead{ max-width:100%; }
  .kfg-sync-note{ margin-top:10px; padding-top:10px; }
}

/* =========================================================
   11) HOME – NUWI Vorteile (Cards)
========================================================= */
.nuwi-benefits{ padding:72px 0; }

.nb-head{ max-width:80ch; margin-bottom:18px; }
.nb-eyebrow{
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:10px;
}

.nb-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
  margin-top:18px;
}

.nb-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:18px 18px 16px;
  display:flex;
  flex-direction:column;
  min-height:320px;
}

.nb-top{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }

.nb-icon{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  background:#fff;
  font-size:18px;
}

.nb-title{
  margin:0;
  font-size:18px;
  font-weight:900;
  color:#111;
  letter-spacing:.2px;
}

.nb-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-weight:600;
  line-height:1.85;
}
.nb-list li{ margin:6px 0; }

.nb-note{
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-weight:700;
  line-height:1.6;
}

.nb-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width:1100px){
  .nb-grid{ grid-template-columns:repeat(2, 1fr); }
  .nb-card{ min-height:auto; }
}
@media (max-width:560px){
  .nb-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   12) SUBPAGES – PAGE HERO + SUBNAV
========================================================= */
.page-hero{ padding:48px 0 18px; }

.page-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:center;
}

.page-hero-copy .hero-eyebrow{ margin-bottom:10px; }

.page-title{
  margin:0 0 14px;
  font-weight:300;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#111;
  font-size:56px;
  line-height:1.05;
}

.page-kicker{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-weight:800;
  letter-spacing:.6px;
  text-transform:uppercase;
  margin-bottom:10px;
}

.page-lead{
  margin:0 0 16px;
  color:#111;
  line-height:1.8;
  max-width:100ch;
}

.page-hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.page-hero-media{
  border:none;
  background:transparent;
  height:420px;
  overflow:hidden;
}
.page-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Subnav Chips */
.subnav{
  padding:14px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.subnav-row{ display:flex; gap:10px; flex-wrap:wrap; }

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  color:var(--muted);
}
.chip:hover{ background:var(--card); color:var(--text); }

/* Worker image block (dein Spezialfall) */
.worker{
  border:none;
  background:transparent;
  height:420px;
  overflow:hidden;
  margin:0 0 0 410px;
}
.worker img{ width:300px; height:100%; object-fit:cover; display:block; }

@media (max-width:1100px){
  .page-hero-grid{ grid-template-columns:1fr; }
  .page-title{ font-size:44px; }
  .page-hero-media{ height:320px; }
  .worker{ margin:0; height:auto; }
  .worker img{ width:240px; height:auto; }
  .section-dub02{ margin:0; max-width:72ch; }
}

/* =========================================================
   13) SUBPAGES – FEATURE BLOCKS + ACCORDION
========================================================= */
.feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:start;
}

.feature-tag{
  font-weight:900;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}

.feature-title{
  margin:0 0 10px;
  font-size:34px;
  color:#111;
}

.feature-text{
  margin:0 0 16px;
  color:var(--text);
  line-height:1.8;
  max-width:75ch;
}

.feature-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.feature-media{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:stretch;
}

.tile{
  border-radius:18px;
  border:1px dashed #cfcfcf;
  background:repeating-linear-gradient(135deg, #eaeaea 0 14px, #f5f5f5 14px 28px);
  min-height:220px;
  display:grid;
  place-items:center;
  color:var(--muted);
  font-weight:900;
}

.feature-media.one{ display:block; }

.feature-img{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  min-height:320px;
}
.feature-img img{
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:cover;
  display:block;
}

.feature-list{
  margin:10px 0 16px;
  padding-left:18px;
  color:var(--muted);
  font-weight:600;
  line-height:1.9;
}
.feature-list li{ margin:6px 0; }

@media (max-width:1100px){
  .feature{ grid-template-columns:1fr; }
  .feature-img, .feature-img img{ min-height:260px; }
}

/* Accordion */
.accordion{ margin:12px 0; }

.acc-toggle{
  width:100%;
  max-width:520px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  cursor:pointer;
  color:var(--text);
}
.acc-toggle:hover{ background:var(--card); }

.acc-icon{
  font-size:18px;
  font-weight:900;
  transition:transform .25s ease;
}

.acc-content{
  overflow:hidden;
  max-height:0;
  transition:max-height .35s ease;
}
.acc-content p{
  margin:12px 2px 0;
  color:var(--muted);
  line-height:1.8;
  font-weight:600;
}

.accordion.open .acc-content{ max-height:800px; }
.accordion.open .acc-icon{ transform:rotate(45deg); }

/* =========================================================
   14) GALERIE – Kategorien + Grid
========================================================= */
.cat-preview-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.cat-card{
  position:relative;
  display:block;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
  text-decoration:none;
}

.cat-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.10));
  pointer-events:none;
}

.cat-img{
  width:100%;
  height:170px;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
  transition:transform .25s ease;
}

.cat-label{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  z-index:2;
  color:#fff;
  font-weight:800;
  text-align:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  backdrop-filter:blur(6px);
}

.cat-card:hover .cat-img{ transform:scale(1.06); }
.cat-card.active{
  outline:3px solid rgba(226, 12, 19, .9);
  outline-offset:2px;
}

.cat-panel{ margin-top:18px; }

/* Thumbnail grid in Galerie */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}

.g-thumb{
  border-radius:18px;
  border:1px solid var(--line);
  overflow:hidden;
  background:#fff;
  cursor:pointer;
  position:relative;
  min-height:220px;
  display:block;
}

.g-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.g-thumb .cap{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:800;
  font-size:12px;
}

@media (max-width:1100px){
  .cat-preview-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .gallery-grid{ grid-template-columns:repeat(3, 1fr); }
  .g-thumb{ min-height:190px; }
}
@media (max-width:560px){
  .cat-preview-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2, 1fr); }
  .g-thumb{ min-height:160px; }
}

/* =========================================================
   15) PROJEKTE – LISTE (galerie_projekte.html)
========================================================= */
.projects-wrap{ display:grid; gap:18px; }

.project-card{
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.06);
}

.project-row{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  padding:16px;
  align-items:stretch;
}

.project-media{
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  min-height:260px;
}
.project-media img{ width:100%; height:100%; object-fit:cover; display:block; }

.project-details{ padding:0 16px 16px; }
.project-title{ font-size:22px; line-height:1.15; margin:2px 0 6px; }

.project-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-weight:700;
  color:var(--muted);
  font-size:14px;
}

.meta-pill{
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
  background:var(--soft);
}

.project-text{ color:var(--muted); font-weight:600; margin:10px 0 0; }

.project-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.project-sep{ border-top:1px solid var(--line); margin:0 16px; }

.mini-gallery{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
}
.mini-gallery .g-thumb img{ height:120px; object-fit:cover; }

@media (max-width:1100px){
  .project-row{ grid-template-columns:1fr; }
  .project-media{ min-height:220px; }
  .mini-gallery{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .mini-gallery .g-thumb img{ height:140px; }
}

/* =========================================================
   16) LEISTUNGEN / SERVICE
========================================================= */
.service-hero{ padding:56px 0 30px; }

.service-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:stretch;
}

.service-hero-copy{ padding:6px 0; }

.service-hero-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.service-card{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:16px;
}

.service-card-title{ font-weight:900; letter-spacing:.4px; }

.service-card-text{
  margin-top:6px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  line-height:1.6;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

.service-box{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:18px;
}

.service-box-title{
  margin:0 0 8px;
  font-size:18px;
  font-weight:900;
}

.service-box-text{
  margin:0;
  color:var(--muted);
  font-weight:600;
  line-height:1.7;
  font-size:14px;
}

/* Steps */
.steps{ display:grid; gap:12px; max-width:950px; }

.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:16px;
}

.step-num{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#fff;
  background:var(--accent);
  flex:0 0 auto;
}

.step-title{ font-weight:900; }

.step-text{
  margin-top:4px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  line-height:1.7;
}

@media (max-width:1100px){
  .service-hero-grid{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .service-hero-cards{ grid-template-columns:1fr; }
}

/* =========================================================
   17) KONTAKT + FORMULAR
========================================================= */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:stretch;
}

.map{
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;
  background:#fff;
}

.map-frame{
  width:100%;
  height:420px;
  border:0;
  display:block;
}

.map-bar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  padding:14px;
  border-top:1px solid var(--line);
  background:#fff;
}

.contact-lines{
  display:grid;
  gap:10px;
  margin-top:12px;
  color:var(--muted);
  font-weight:600;
}
.contact-lines a:hover{ text-decoration:underline; }

@media (max-width:1100px){
  .contact-grid{ grid-template-columns:1fr; }
  .map-frame{ height:360px; }
}

/* Formular */
.contact-form{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:18px;
}

.contact-form .form-grid{
  display:grid;
  grid-template-columns:repeat(12, minmax(0, 1fr));
  gap:14px;
}

.contact-form .form-field{ display:grid; gap:6px; grid-column:span 6; }
.contact-form .form-field label{ font-weight:800; color:#111; }

.contact-form .form-field--full{ grid-column:1 / -1; }
.contact-form .form-field--street{ grid-column:span 6; }
.contact-form .form-field--zip{ grid-column:span 2; }
.contact-form .form-field--city{ grid-column:span 4; }

.contact-form input,
.contact-form textarea{
  width:100%;
  border-radius:12px;
  border:1px solid var(--line);
  padding:10px 12px;
  font:inherit;
  color:var(--text);
  background:#fff;
  outline:none;
}
.contact-form input{ height:42px; }
.contact-form textarea{ min-height:160px; resize:vertical; }

.contact-form .checkline{
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.35;
  margin-top:10px;
  color:var(--muted);
  font-weight:600;
}

@media (max-width:720px){
  .contact-form .form-field,
  .contact-form .form-field--street,
  .contact-form .form-field--zip,
  .contact-form .form-field--city{
    grid-column:1 / -1;
  }
}

/* =========================================================
   18) TEAM / BETRIEB + JOBS
========================================================= */
.company-hero{ padding:70px 0 40px; }

.company-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:center;
}

.company-kicker{
  font-weight:800;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--muted);
  font-size:14px;
}

.company-title{
  margin:10px 0 0;
  font-size:56px;
  line-height:1.05;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:300;
  color:#111;
}

.company-lead{
  margin:14px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.9;
  max-width:70ch;
}

.company-actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.company-hero-media{
  border-radius:18px;
  border:1px dashed #cfcfcf;
  background:repeating-linear-gradient(135deg, #eaeaea 0 14px, #f5f5f5 14px 28px);
  min-height:380px;
  display:grid;
  place-items:center;
  color:var(--muted);
  font-weight:900;
  text-align:center;
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.team-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}

.team-photo{
  min-height:240px;
  background:repeating-linear-gradient(135deg, #eaeaea 0 14px, #f5f5f5 14px 28px);
  display:grid;
  place-items:center;
  color:var(--muted);
  font-weight:900;
  text-align:center;
}

.team-meta{ padding:14px 16px 16px; }
.team-name{ font-weight:900; color:#111; }

.team-role{
  margin-top:4px;
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}

.team-tag{
  margin-top:10px;
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-weight:800;
  font-size:12px;
}

/* Jobs */
.job-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.job-card{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:18px;
}

.job-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.job-title{ font-weight:900; color:#111; }

.job-badge{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-weight:900;
  font-size:12px;
  white-space:nowrap;
}

.job-text{
  margin:10px 0 0;
  color:var(--muted);
  font-weight:600;
  line-height:1.8;
}

.job-list{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
  font-weight:600;
  line-height:1.9;
}

@media (max-width:1100px){
  .company-hero-grid{ grid-template-columns:1fr; }
  .company-title{ font-size:44px; }
  .team-grid{ grid-template-columns:1fr; }
  .job-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   19) LIGHTBOX (Galerie + Projekte)
========================================================= */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
.lightbox.open{ display:flex; }

.lb-figure{
  max-width:min(1100px, 96vw);
  max-height:86vh;
  margin:0;
  display:grid;
  gap:10px;
  align-items:center;
  justify-items:center;
}

.lb-figure img{
  max-width:100%;
  max-height:76vh;
  border-radius:14px;
  display:block;
}

#lbTitle{
  color:#fff;
  font-weight:700;
  text-align:center;
  opacity:.9;
}

.lb-close{
  position:absolute;
  top:14px;
  right:14px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:26px;
  line-height:44px;
}

/* Pfeil-Buttons (statt Konflikt mit .lb-nav) */
.lb-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:30px;
  line-height:44px;
}
.lb-btn.prev{ left:14px; }
.lb-btn.next{ right:14px; }

/* =========================================================
   FAQ (QA.html)
========================================================= */
.faq-hero{
  padding:56px 0 24px;
  background:linear-gradient(135deg, #ffffff, #f7f7f7);
  border-bottom:1px solid var(--line);
}

.faq-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.faq-search{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  min-width:min(420px, 100%);
}

.faq-search input{
  border:0;
  outline:none;
  font:inherit;
  width:100%;
  color:var(--text);
}

.faq-tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  color:var(--muted);
  cursor:pointer;
  user-select:none;
}
.tag:hover{ background:var(--card); color:var(--text); }
.tag.active{
  background:rgba(255,0,0,.08);
  border-color:rgba(255,0,0,.25);
  color:var(--text);
}

.faq-wrap{
  display:grid;
  gap:12px;
  margin-top:10px;
}

.faq-item{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}

.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 16px;
  background:#fff;
  border:0;
  cursor:pointer;
  font:inherit;
  font-weight:900;
  color:#111;
  text-align:left;
}

.faq-q:hover{ background:var(--card); }

.faq-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  font-weight:900;
  color:var(--muted);
  flex:0 0 auto;
}

.faq-a{
  color:var(--muted);
  font-weight:600;
  line-height:1.8;
  padding:0 16px 0;
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease, padding .25s ease;
}

.faq-item.open .faq-a{
  padding:0 16px 16px;
  max-height:500px;
}

.faq-help{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(135deg, #ffffff, #f7f7f7);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.faq-small{
  margin:0;
  color:var(--muted);
  font-weight:700;
  max-width:70ch;
}
/* =========================================================
   20) FOOTER
========================================================= */
.footer{
  border-top:1px solid var(--line);
  padding:40px 0;
  background:#DFDEE0;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr 1fr;
  gap:18px;
}

.footer-title{
  font-weight:900;
  margin:0 0 10px;
}

/* Logo Block */
.footer-title-logo{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 0 20px;
  margin:-18px 0 0 -15px;
}

.footer-title-logo img{
  height:80px;
  width:auto;
  display:block;
  opacity:.95;
  transition:opacity .2s ease, transform .2s ease;
}

.footer a{
  display:block;
  padding:6px 0;
  color:var(--muted);
  font-weight:600;
}
.footer a:hover{ color:var(--text); }

.tiny{
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
  border-top:1px solid var(--line);
  padding-top:14px;
}

/* Map */
.footer-map{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  height:180px;
  width:100%;
  max-width:420px;
}

.footer-map-frame{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.footer-map-link{
  margin-top:12px;
  text-align:center;
}

/* NUWI */
.footer-nuwi{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  margin-top:10px;
  padding:10px 0;
}

.footer-nuwi img{
  height:40px;
  width:auto;
  display:block;
  opacity:.95;
  transition:opacity .2s ease, transform .2s ease;
}

.footer-nuwi:hover img{
  opacity:1;
  transform:translateY(-1px);
}

@media (max-width:1100px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-map{ max-width:100%; }
}

@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
}
/* =========================================================
   FINAL RESPONSIVE FIXES
   Tablet + Smartphone
   Desktop bleibt unverändert
========================================================= */


/* =========================================================
   TABLET / KLEINERE DISPLAYS
========================================================= */

@media (max-width:1100px){

  /* Allgemeine Abstände */
  section{
    padding:56px 0;
  }

  .container{
    padding-inline:24px;
  }


  /* ---------- TYPOGRAFIE ---------- */

  .section-title,
  .section-title01{
    font-size:34px;
    line-height:1.2;
  }

  .hero-headline{
    font-size:clamp(38px, 7vw, 52px);
  }

  .page-title,
  .company-title{
    font-size:44px;
  }


  /* ---------- HERO ---------- */

  .hero{
    padding:28px 20px 4px;
  }

  .hero-inner{
    grid-template-columns:1fr;
    padding:0;
  }

  .slider{
    order:1;

    /* überschreibt die ältere fixe 380px-Regel */
    height:clamp(300px, 55vw, 440px);
  }

  .hero-copy{
    order:2;
    max-width:100%;
    padding-top:20px;
  }

  .hero-corner-img img{
    margin-left:0;
    margin-top:35px;
    width:min(300px, 60vw);
  }


  /* ---------- WILLKOMMEN ---------- */

  .section-divider{
    width:100%;
    max-width:1100px;
  }


  /* ---------- UNIQUE / NUWI ---------- */

  .unique{
    padding-top:60px;
  }

  .unique-wrap{
    grid-template-columns:1fr;
  }

  .unique-copy,
  .feature-copy{
    max-width:100%;
  }

  .unique-img{
    margin-left:0;
    max-width:100%;
  }

  .unique-actions{
    margin-bottom:60px;
  }

  .unique-actions-btn{
    margin:50px 0 60px;
  }


  /* ---------- MINI GALERIE ---------- */

  .home-mini-gallery .mg-page{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }


  /* ---------- KONFIGURATOR ---------- */

  .kfg-sync{
    padding:56px 0;
  }

  .kfg-sync-wrap{
    grid-template-columns:1fr;
  }

  .kfg-right{
    width:100%;
  }

  .kfg-big{
    width:100%;
    min-height:0;
    aspect-ratio:16 / 9;
  }

  .konfi-mockup{
    width:100%;
  }


  /* ---------- NUWI VORTEILE ---------- */

  .nb-grid{
    grid-template-columns:repeat(2, 1fr);
  }


  /* ---------- FOOTER ---------- */

  .footer-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:32px 24px;
  }

  .footer-map{
    max-width:100%;
  }
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width:600px){

  /* ---------- BASIS ---------- */

  section{
    padding:42px 0;
  }

  .container{
    padding-inline:16px;
  }


  /* ---------- TYPOGRAFIE ---------- */

  .section-title,
  .section-title01{
    font-size:28px;
    line-height:1.2;
    overflow-wrap:break-word;
  }

  .section-title02{
    font-size:14px;
    line-height:1.5;
  }

  .section-sub,
  .section-dub,
  .section-dub01,
  .section-dub02{
    max-width:100%;
  }

  .hero-headline{
    font-size:clamp(30px, 10vw, 40px);
    line-height:1.08;
  }

  .hero-eyebrow{
    font-size:12px;
    letter-spacing:2px;
  }

  .hero-kicker{
    font-size:15px;
  }

  .hero-text{
    font-size:14px;
    line-height:1.7;
  }

  .page-title,
  .company-title{
    font-size:34px;
    overflow-wrap:break-word;
  }


  /* ---------- HEADER ---------- */

  .header-row{
    padding:5px 12px;
    gap:10px;
  }

  .logo-img{
    height:55px;
    max-width:220px;
    object-fit:contain;
  }

  .burger{
    width:42px;
    height:42px;
  }

  .header-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .header-actions .konfigurator{
    width:100%;
  }

  .nuwi-badge{
    height:auto;
    padding:10px 0;
    justify-content:flex-start;
  }


  /* ---------- HERO ---------- */

  .hero{
    padding:18px 10px 4px;
  }

  .hero-inner{
    gap:18px;
  }

  .slider{
    height:clamp(240px, 65vw, 340px);
  }

  .slider-btn{
    width:38px;
    height:38px;
  }

  .slider-btn.prev{
    left:8px;
  }

  .slider-btn.next{
    right:8px;
  }

  .dots{
    bottom:8px;
    padding:6px 8px;
  }

  .hero-copy{
    gap:12px;
    padding-top:8px;
  }

  .hero-corner-img img{
    margin-left:0;
    margin-top:25px;
    width:min(260px, 75vw);
  }


  /* ---------- WILLKOMMEN ---------- */

  .section-divider{
    width:100%;
  }

  .welcome-content{
    width:100%;
  }


  /* ---------- UNIQUE ---------- */

  .unique{
    padding-top:45px;
  }

  .unique-wrap{
    gap:22px;
  }

  .unique-points{
    margin:28px 0;
  }

  .unique-point{
    padding:10px;
  }

  .unique-thumbs{
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
  }

  .unique-thumb img{
    height:120px;
  }

  .unique-media-small{
    grid-template-columns:1fr;
  }

  .unique-actions{
    margin-bottom:45px;
  }

  .unique-actions-btn{
    margin:35px 0 45px;
  }


  /* ---------- BUTTONS ---------- */

  .btn,
  .konfi{
    white-space:normal;
    text-align:center;
  }

  .kfg-actions,
  .nb-actions{
    align-items:stretch;
  }


  /* ---------- MINI GALERIE ---------- */

  .home-mini-gallery{
    padding-bottom:55px;
  }

  .home-mini-gallery .mg{
    grid-template-columns:36px 1fr 36px;
    gap:6px;
  }

  .mg-btn{
    width:36px;
    height:36px;
  }

  .home-mini-gallery .mg-page{
    /*
      Weiterhin 2 Bilder nebeneinander.
      Desktop-Verhältnis wird nicht verändert.
    */
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
  }

  .home-mini-gallery .mg-tile{
    aspect-ratio:1 / 1;
    border-radius:12px;
  }

  .mg-corner{
    left:6px;
    bottom:6px;
    padding:6px 8px;
    font-size:10px;
  }


  /* ---------- NUWI BLOCK ---------- */

  .nuwi{
    padding:18px;
  }

  .nuwi .right{
    width:100%;
  }


  /* ---------- KONFIGURATOR ---------- */

  .kfg-sync{
    padding:45px 0;
  }

  .kfg-left{
    padding:18px;
  }

  .kfg-big{
    min-height:0;
    aspect-ratio:16 / 9;
  }

  .kfg-btn{
    width:38px;
    height:38px;
  }

  .kfg-btn.prev{
    left:8px;
  }

  .kfg-btn.next{
    right:8px;
  }

  .kfg-dots{
    bottom:8px;
    padding:6px 8px;
  }

  .kfg-sync-note{
    margin-top:10px;
    padding-top:10px;
  }


  /* ---------- FIX & FERTIG / WORKER ---------- */

  .worker{
    margin:0;
    height:auto;
  }

  .worker img{
    width:min(240px, 75vw);
    height:auto;
  }

  .section-dub02{
    margin:0;
  }


  /* ---------- NUWI VORTEILE ---------- */

  .nuwi-benefits{
    padding:45px 0;
  }

  .nb-grid{
    grid-template-columns:1fr;
  }

  .nb-card{
    min-height:auto;
  }


  /* ---------- SUBPAGES ---------- */

  .page-hero{
    padding:36px 0 18px;
  }

  .page-hero-media{
    height:260px;
  }

  .feature{
    grid-template-columns:1fr;
  }

  .feature-media{
    grid-template-columns:1fr;
  }

  .feature-img,
  .feature-img img{
    min-height:220px;
  }


  /* ---------- GALERIE ---------- */

  .cat-preview-grid{
    grid-template-columns:1fr;
  }

  .gallery-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
  }

  .g-thumb{
    min-height:140px;
  }


  /* ---------- PROJEKTE ---------- */

  .project-row{
    grid-template-columns:1fr;
    padding:12px;
  }

  .project-media{
    min-height:200px;
  }

  .mini-gallery{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }


  /* ---------- KONTAKT ---------- */

  .contact-grid{
    grid-template-columns:1fr;
  }

  .map-frame{
    height:300px;
  }

  .contact-form{
    padding:14px;
  }


  /* ---------- FOOTER ---------- */

  .footer{
    padding:32px 0;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer-title-logo{
    margin:0 0 0 -10px;
  }

  .footer-title-logo img{
    height:70px;
  }

  .footer-map{
    height:200px;
  }

  .footer-map-link{
    text-align:left;
  }
}


/* =========================================================
   SEHR KLEINE HANDYS
========================================================= */

@media (max-width:380px){

  .container{
    padding-inline:12px;
  }

  .hero{
    padding-inline:6px;
  }

  .hero-headline{
    font-size:28px;
  }

  .section-title,
  .section-title01{
    font-size:25px;
  }

  .logo-img{
    height:48px;
    max-width:190px;
  }

  .home-mini-gallery .mg{
    grid-template-columns:32px 1fr 32px;
    gap:4px;
  }

  .mg-btn{
    width:32px;
    height:32px;
  }

  .gallery-grid{
    grid-template-columns:1fr;
  }
}