:root {
      --bg:#080b09; --bg-soft:#0d120f; --panel:#111814; --panel-2:#171f19;
      --lime:#a3e635; --lime-2:#b8f34a; --text:#f5f7f4; --muted:#aab5ad;
      --line:rgba(225,245,229,.13); --max:1180px; --radius:16px;
      --shadow:0 20px 70px rgba(0,0,0,.32);
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth;scroll-padding-top:90px}
    body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.6}
    body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 80% 0%,rgba(100,160,37,.12),transparent 36%),radial-gradient(ellipse at 0% 55%,rgba(41,87,49,.08),transparent 35%)}
    a{color:inherit;text-decoration:none}
    img{display:block;max-width:100%}
    button,input,select,textarea{font:inherit}
    .container{width:min(var(--max),calc(100% - 44px));margin-inline:auto}
    .section{padding:94px 0;border-top:1px solid var(--line)}
    .eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--lime);font-size:.76rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
    .eyebrow:before{content:"";display:inline-block;width:23px;height:2px;background:var(--lime)}
    h1,h2,h3,p{margin-top:0}
    h1{font-size:clamp(2.7rem,6.2vw,5.6rem);line-height:.99;letter-spacing:-.065em;margin:22px 0 22px;max-width:760px}
    h1 span,.lime{color:var(--lime)}
    h2{font-size:clamp(2rem,4vw,3.3rem);line-height:1.06;letter-spacing:-.045em;margin:13px 0 18px}
    h3{letter-spacing:-.025em}
    .lead{font-size:clamp(1rem,1.5vw,1.17rem);color:#c2cbc4;max-width:620px}
    .muted{color:var(--muted)}
    .button{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:50px;padding:0 23px;border:1px solid var(--lime);border-radius:8px;background:var(--lime);color:#11170c;font-weight:900;font-size:.84rem;letter-spacing:.035em;transition:transform .2s,background .2s,box-shadow .2s;cursor:pointer}
    .button:hover{transform:translateY(-2px);background:var(--lime-2);box-shadow:0 10px 28px rgba(163,230,53,.18)}
    .button .arrow{font-size:1.15rem}
    .button-outline{background:transparent;color:var(--text);border-color:var(--line)}
    .button-outline:hover{border-color:var(--lime);color:var(--lime);background:rgba(163,230,53,.06)}
    :focus-visible{outline:2px solid var(--lime);outline-offset:4px}
    /* Header */
    .site-header{position:sticky;top:0;z-index:20;background:rgba(8,11,9,.88);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
    .nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:26px}
    .brand{display:flex;align-items:center;gap:12px;min-width:max-content}
    .brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--lime);color:#10160b;font-size:1.65rem;font-weight:950;box-shadow:0 0 28px rgba(163,230,53,.12)}
    .brand-name{display:block;font-size:1.04rem;line-height:1.15;font-weight:950;letter-spacing:-.025em}
    .brand-tag{display:block;margin-top:5px;color:var(--lime);font-size:.64rem;letter-spacing:.1em;font-weight:850}
    .nav-links{display:flex;align-items:center;gap:clamp(16px,2.5vw,32px)}
    .nav-links a{font-size:.78rem;color:#d7ded8;font-weight:750;transition:color .2s}
    .nav-links a:hover,.nav-links a.active{color:var(--lime)}
    .nav-cta{min-height:43px;padding-inline:17px;font-size:.75rem}
    .menu-toggle{display:none;border:1px solid var(--line);background:var(--panel);color:var(--text);border-radius:8px;width:44px;height:44px;font-size:1.35rem}
    /* Hero */
    .hero{position:relative;min-height:570px;display:flex;align-items:center;overflow:hidden;border-bottom:1px solid var(--line)}
    .hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%;opacity:0.99}
    .hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,8,6,.98) 0%,rgba(5,8,6,.89) 31%,rgba(5,8,6,.43) 61%,rgba(5,8,6,.12) 100%),linear-gradient(0deg,rgba(5,8,6,.78),transparent 45%)}
    .hero-content{position:relative;z-index:1;padding:82px 0 76px}
    .hero h1{max-width:710px}
    .hero .lead{max-width:570px;margin-bottom:28px}
    .hero-actions{display:flex;gap:12px;flex-wrap:wrap}
    .hero-note{display:flex;align-items:center;gap:12px;margin-top:36px;color:#d1d8d2;font-size:.8rem}
    .live-dot{width:8px;height:8px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 5px rgba(163,230,53,.12)}
    .hero-corner{position:absolute;right:4.5%;bottom:45px;z-index:2;border:1px solid rgba(255,255,255,.22);background:rgba(7,12,8,.58);backdrop-filter:blur(12px);padding:17px 20px;border-radius:12px;max-width:240px}
    .hero-corner strong{display:block;color:var(--lime);font-size:1.4rem;line-height:1.2}
    .hero-corner span{font-size:.76rem;color:#d8dfd9}
    /* Quick services */
    .values-strip{background:#050605;border-bottom:1px solid var(--line);padding:34px 0 38px}
    .values-brand{text-align:center;margin:0 auto 24px}
    .values-brand-name{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,24px);font-size:clamp(3.5rem,10vw,7.8rem);font-weight:950;line-height:.9;letter-spacing:.08em;color:#f4f5f3;text-shadow:0 3px 0 #777,0 8px 22px rgba(0,0,0,.65)}
    .values-brand-name .dot{color:var(--lime);text-shadow:0 0 18px rgba(163,230,53,.35)}
    .values-brand-sub{margin:12px 0 0;font-size:clamp(.75rem,2vw,1.35rem);font-weight:850;letter-spacing:.22em;color:#e7e9e6}
    .values-tagline{display:flex;align-items:center;justify-content:center;gap:20px;margin:14px 0 24px;color:var(--lime);font-size:clamp(1rem,2.3vw,1.55rem);font-weight:800;font-style:italic;text-align:center}
    .values-tagline:before,.values-tagline:after{content:"";height:2px;width:min(16vw,180px);background:var(--lime);flex:0 1 180px}
    .values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
    .value-card{min-height:190px;border:1px solid rgba(163,230,53,.65);border-radius:8px;background:linear-gradient(145deg,#090b09,#111510);padding:22px 20px;text-align:center;box-shadow:inset 0 0 22px rgba(163,230,53,.025)}
    .value-card-icon{height:48px;display:flex;align-items:center;justify-content:center;color:var(--lime);margin-bottom:8px}
    .value-card-icon svg{width:46px;height:46px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
    .value-card h3{font-size:clamp(1rem,1.7vw,1.25rem);font-weight:850;margin:0 0 8px;text-transform:uppercase}
    .value-card p{font-size:clamp(.82rem,1.25vw,.98rem);line-height:1.45;color:#d7dcd7;margin:0 auto;max-width:330px}
    /* Section headings and service cards */
    .section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:34px}
    .section-head>p{max-width:450px;color:var(--muted);margin:0}
    .services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
    .service-card{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,rgba(25,34,27,.92),rgba(12,17,14,.95));transition:transform .22s,border-color .22s}
    .service-card:hover{transform:translateY(-5px);border-color:rgba(163,230,53,.55)}
    .service-image{width:100%;height:174px;object-fit:cover;filter:saturate(.8);transition:filter .2s}
    .service-card:hover .service-image{filter:saturate(1.05)}
    .service-body{padding:21px}
    .service-icon{display:grid;place-items:center;width:38px;height:38px;margin-top:-41px;position:relative;border:1px solid rgba(163,230,53,.55);border-radius:10px;background:#0b100d;color:var(--lime);font-size:1.2rem}
    .service-body h3{font-size:1.06rem;margin:15px 0 8px}
    .service-body p{font-size:.85rem;color:var(--muted);min-height:67px;margin-bottom:16px}
    .text-link{color:var(--lime);font-size:.78rem;font-weight:850}
    .text-link span{display:inline-block;transition:transform .2s}
    .text-link:hover span{transform:translateX(4px)}
    /* Service details dialog */
    .service-card{cursor:pointer}
    .service-card:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
    .service-dialog{width:min(620px,calc(100% - 32px));max-height:min(82vh,760px);overflow:auto;padding:0;border:1px solid rgba(163,230,53,.35);border-radius:20px;background:#0c120e;color:var(--text);box-shadow:0 28px 100px rgba(0,0,0,.65)}
    .service-dialog::backdrop{background:rgba(0,0,0,.76);backdrop-filter:blur(7px)}
    .dialog-top-image{width:100%;height:210px;object-fit:cover;filter:saturate(.85)}
    .dialog-content{padding:clamp(22px,4vw,34px)}
    .dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
    .dialog-kicker{color:var(--lime);font-size:.72rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-bottom:7px}
    .dialog-title{font-size:clamp(1.65rem,4vw,2.2rem);line-height:1.08;letter-spacing:-.045em;margin:0}
    .dialog-close{flex:0 0 42px;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#151d17;color:var(--text);font-size:1.55rem;line-height:1;cursor:pointer}
    .dialog-close:hover{border-color:var(--lime);color:var(--lime)}
    .dialog-description{color:#c1cbc3;margin:0 0 20px}
    .dialog-subtitle{font-size:.95rem;margin:20px 0 10px}
    .dialog-list{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:10px}
    .dialog-list li{display:flex;gap:10px;color:#dce4dd;font-size:.9rem}
    .dialog-list li::before{content:"✓";color:var(--lime);font-weight:900}
    .dialog-actions{display:flex;gap:12px;flex-wrap:wrap}
    @media(max-width:720px){.dialog-top-image{height:165px}.dialog-content{padding:22px}.dialog-actions .button{width:100%}}
    /* Hero buttons */
    .hero-buttons {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    /* About */
    .about{background:linear-gradient(110deg,rgba(18,28,20,.72),rgba(8,11,9,.3))}
    .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
    .about-photo-wrap{position:relative;padding:0 22px 22px 0}
    .about-photo-wrap:after{content:"";position:absolute;right:0;bottom:0;width:55%;height:70%;border-right:4px solid var(--lime);border-bottom:4px solid var(--lime);z-index:0;border-radius:0 0 13px 0}
    .about-photo {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
      object-position: center;
      border-radius: 8px;
    }
    .about-copy .lead{font-size:1rem}
    .value-list{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin:30px 0}
    .value {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }

    .value-symbol {
      width: 9px;
      height: 9px;
      min-width: 9px;
      margin-top: 7px;
      border-radius: 50%;
      background-color: #a3e635;
      display: block;
      box-shadow: 0 0 8px rgba(163, 230, 53, 0.25);
    } 
    .value strong{display:block;font-size:.88rem;margin-bottom:3px}
    .value span{display:block;font-size:.78rem;color:var(--muted);line-height:1.5}
    /* Projekte – panoramische Bildleiste wie Referenz */
    .projects-grid{display:flex;gap:0;width:100%;height:clamp(280px,30vw,430px);margin-top:30px;overflow:hidden;background:#080609}
    .project-card{position:relative;flex:1 1 0;min-width:0;height:100%;overflow:hidden;border:0;border-right:1px solid rgba(255,255,255,.12);border-radius:0;background:#100b16;isolation:isolate;transition:flex .55s cubic-bezier(.2,.7,.2,1)}
    .project-card:last-child{border-right:0}
    .project-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.88);transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .5s ease}
    .project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,3,8,.24),transparent 45%);pointer-events:none}
    .project-card:hover{flex:1.65 1 0}
    .project-card:hover img{transform:scale(1.08);filter:saturate(1.08)}
    .project-info{display:none}
    /* CTA band */
    .cta-band{padding:46px 0;background:var(--lime);color:#10170b}
    .cta-band-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
    .cta-band h2{font-size:clamp(1.7rem,3vw,2.5rem);margin:0 0 8px}
    .cta-band p{margin:0;color:#29351e}
    .cta-band .button{background:#0b1009;border-color:#0b1009;color:#f7f9f5;white-space:nowrap}
    /*Loggo*/
        .brand-logo {
      width: 65px;
      height: 65px;
      object-fit: contain;
      display: block;
      flex-shrink: 0;
    }

    .honeypot-field {
        position: absolute !important;
        left: -10000px !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
    }



/* AMN Status Popup */
dialog.status-popup {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: calc(100% - 40px);
  padding: 0;
  overflow: auto;

  border: 1px solid rgba(163,230,53,.35);
  border-radius: 16px;

  background: #101713;
  color: #f5f7f4;
  text-align: center;

  box-shadow: 0 25px 80px rgba(0,0,0,.65);
  -webkit-appearance: none;
  appearance: none;
}

dialog.status-popup:not([open]) {
  display: none;
}

dialog.status-popup[open] {
  display: block;
}

dialog.status-popup::backdrop {
  background: rgba(0,0,0,.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.status-popup-content {
  padding: 32px 26px;
}

.status-popup-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(64,180,110,.15);
  color: #55d68b;
  font-size: 30px;
  font-weight: bold;
}

.status-popup.error .status-popup-icon {
  background: rgba(230,70,70,.15);
  color: #ff6868;
}

.status-popup h2 {
  margin: 0 0 12px;
  color: #f5f7f4;
  font-size: 23px;
  line-height: 1.3;
}

.status-popup p {
  margin: 0 0 24px;
  color: #c5cec8;
  line-height: 1.6;
}

.status-popup button {
  min-width: 120px;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background: #a3e635;
  color: #10170b;
  font-weight: 700;
  cursor: pointer;
}

.status-popup button:hover {
  background: #b8f34a;
}

@media(max-width:480px) {
  .status-popup-content {
    padding: 26px 20px;
  }

  .status-popup h2 {
    font-size: 21px;
  }

  .status-popup p {
    font-size: 14px;
  }
}



/* Contact */
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:65px;align-items:start}
.contact-details{margin-top:30px;display:grid;gap:20px}
.contact-detail{display:flex;align-items:center;gap:14px}
.contact-detail .value-symbol{background:rgba(163,230,53,.06)}
.contact-detail strong{display:block;font-size:.83rem}
.contact-detail span,.contact-detail a{display:block;color:var(--muted);font-size:.85rem;overflow-wrap:anywhere}
.contact-card{padding:29px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,#121a14,#0c110e);box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.field{margin-bottom:17px}
label{display:block;font-size:.77rem;font-weight:800;margin-bottom:7px;color:#e1e8e2}
input,select,textarea{width:100%;border:1px solid #303b32;border-radius:8px;background:#090e0b;color:var(--text);padding:13px 14px;min-height:48px;outline:none;transition:border-color .2s,box-shadow .2s}
input:focus,select:focus,textarea:focus{border-color:var(--lime);box-shadow:0 0 0 3px rgba(163,230,53,.09)}
input::placeholder,textarea::placeholder{color:#748078}
textarea{min-height:140px;resize:vertical}
.privacy{display:flex;gap:10px;align-items:flex-start;margin:5px 0 19px}
.privacy input{width:17px;height:17px;min-height:17px;flex:0 0 17px;margin-top:3px;accent-color:var(--lime)}
.privacy label{font-weight:500;color:var(--muted);font-size:.73rem;line-height:1.5;margin:0}
.privacy a{color:var(--lime);text-decoration:underline;text-underline-offset:3px}
.submit{width:100%}
.status{font-size:.82rem;color:var(--muted);margin:14px 0 0;overflow-wrap:anywhere}
/* Footer */
footer{border-top:1px solid var(--line);padding:28px 0 32px;background:#060806}
.footer-main{display:flex;justify-content:space-between;align-items:center;gap:25px}
.footer-links{display:flex;gap:22px;flex-wrap:wrap}
.footer-links a,.copyright{font-size:.75rem;color:var(--muted)}
.footer-links a:hover{color:var(--lime)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}
.socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text);
  font-size: 17px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.socials a:hover {
  color: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}
@media(max-width:1000px){
  .nav-links{gap:14px}.nav-links a{font-size:.72rem}.nav-cta{display:none}
  .values-grid{gap:12px}.value-card{padding:20px 14px;min-height:205px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid{gap:38px}.contact-grid{gap:35px}
}
@media(max-width:720px){
  .container{width:min(var(--max),calc(100% - 32px))}
  .section{padding:68px 0}
  .nav{height:72px}.brand-mark{width:40px;height:40px}.brand-name{font-size:.92rem}.brand-tag{font-size:.57rem}
  .menu-toggle{display:block}
  .nav-links{display:none;position:absolute;top:72px;left:0;right:0;padding:18px 22px 22px;background:#090d0a;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0}
  .nav-links.open{display:flex}.nav-links a{padding:13px 0;font-size:.88rem;border-bottom:1px solid var(--line)}
  .nav-links a:last-child{border-bottom:0}
  .hero{min-height:590px}.hero-image{object-position:60% center;opacity:.52}.hero:after{background:linear-gradient(90deg,rgba(5,8,6,.96),rgba(5,8,6,.57)),linear-gradient(0deg,rgba(5,8,6,.85),transparent 60%)}
  .hero-content{padding:72px 0 110px}.hero h1{font-size:clamp(2.75rem,13vw,4.5rem)}
  .hero-corner{right:16px;bottom:18px;padding:12px 15px}.hero-corner strong{font-size:1.12rem}
  .values-grid{grid-template-columns:1fr;gap:12px}.value-card{min-height:unset;padding:22px 18px}.values-tagline{gap:10px}.values-tagline:before,.values-tagline:after{width:8vw}
  .section-head{display:block}.section-head>p{margin-top:14px}
  .services-grid{gap:12px}.service-image{height:140px}.service-body{padding:16px}.service-body p{min-height:unset;font-size:.8rem}
  .about-grid{grid-template-columns:1fr;gap:35px}.about-photo{height:330px}.about-photo-wrap{order:2}
  .value-list{gap:18px 12px}.value{gap:9px}.value-symbol{width:34px;height:34px;flex-basis:34px}
  .projects-grid{height:300px}
  .cta-band-inner{align-items:flex-start;flex-direction:column}.cta-band .button{white-space:normal}
  .contact-grid{grid-template-columns:1fr;gap:35px}.contact-card{padding:20px}
  .footer-main{align-items:flex-start;flex-direction:column}.footer-bottom{margin-top:20px}
}
@media(max-width:420px){
  .services-grid,.form-grid{grid-template-columns:1fr}
  .service-image{height:190px}.projects-grid{height:240px;overflow-x:auto}.project-card{flex:0 0 72vw}.project-card:hover{flex:0 0 82vw}
  .hero-actions .button{width:100%}.value-list{grid-template-columns:1fr}
  .values-brand-sub{letter-spacing:.12em}.values-brand-name{gap:8px}.value-card p{font-size:.9rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
