/*
Theme Name: Grid Forge 3D Click
Theme URI: https://grid-forge-3d.de
Author: Grid Forge 3D
Description: Startseite mit originalem Grid Forge Layout und anklickbarer oberer Navigation.
Version: 1.2
*/

*{box-sizing:border-box}

html,body{
  margin:0!important;
  padding:0!important;
  background:#000!important;
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
  overflow-x:hidden;
}

.gf-hero{
  position:relative;
  width:100%;
  min-height:100vh;
  background:#000 url("hero.jpg") center top / cover no-repeat;
}

/* Unsichtbare Klickflächen über der oberen Leiste */
.gf-hotspot{
  position:absolute;
  display:block;
  z-index:20;
  text-indent:-9999px;
  overflow:hidden;
}

/* Obere Navigation passend zum Bild */
.gf-start{left:37.5%;top:4.3%;width:9%;height:5%}
.gf-3d{left:48.3%;top:4.3%;width:9%;height:5%}
.gf-materialien{left:59.4%;top:4.3%;width:12%;height:5%}
.gf-anfrage{left:72.2%;top:4.3%;width:10%;height:5%}

/* Button-Flächen im Hero */
.gf-cta{left:10%;top:64%;width:17%;height:7%}
.gf-whatsapp{left:27.5%;top:64%;width:17%;height:7%}
.gf-qr{right:7%;top:40%;width:13%;height:21%}

.gf-section{
  padding:70px 6%;
  background:#05070c;
}

.gf-section.alt{background:#0b111d}

.gf-wrap{max-width:1180px;margin:0 auto}

.gf-title{
  margin:0 0 24px;
  font-size:clamp(30px,4vw,48px);
  line-height:1.1;
  color:#fff;
}

.gf-title span{color:#ff7a18}

.gf-text{
  margin:0;
  color:#d9e3ef;
  font-size:19px;
  line-height:1.65;
}

.gf-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(180px,1fr));
  gap:22px;
  margin-top:34px;
}

.gf-card{
  background:#0f1725;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:28px;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}

.gf-card h3{
  margin:0 0 14px;
  color:#ff7a18;
  font-size:21px;
}

.gf-card p{
  margin:0;
  color:#d6e0ed;
  line-height:1.55;
}

.gf-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:26px;
}

.gf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:10px;
  color:#fff;
  text-decoration:none;
  font-weight:900;
}

.gf-btn.orange{background:#ff7a18}
.gf-btn.blue{background:#1267c9}

.gf-contact{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
}

.gf-box{
  background:#0f1725;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:30px;
}

.gf-box a{color:#ff8a1f;font-weight:800;text-decoration:none}

.gf-footer{
  padding:26px 6%;
  text-align:center;
  background:#02050a;
  color:#cbd5e1;
  font-size:14px;
}

.gf-footer a{
  color:#ff8a1f;
  text-decoration:none;
  margin:0 8px;
}

@media(max-width:900px){
  .gf-hero{
    min-height:62vh;
    background-size:contain;
    background-position:top center;
  }
  .gf-hotspot{display:none}
  .gf-grid,.gf-contact{grid-template-columns:1fr}
}

/* Readable controls and responsive navigation */
.gf-box .gf-btn.orange,.gf-btn.orange{color:#111827!important;background:#ff8a24}
.gf-box .gf-btn.blue,.gf-btn.blue{color:#fff!important;background:#145fb8}
.gf-btn:hover{filter:brightness(1.08);text-decoration:none}
a:focus-visible{outline:3px solid #fff;outline-offset:5px}
.gf-hero{min-height:0;aspect-ratio:3/2;background-size:100% 100%}
.gf-site-header{background:#05070c;border-bottom:1px solid #263347;padding:18px 6%}
.gf-header-inner{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.gf-brand{font-size:24px;font-weight:900;color:#fff;text-decoration:none;letter-spacing:.02em}
.gf-brand span{color:#ff8a24}
.gf-site-nav{display:flex;gap:8px 20px;flex-wrap:wrap}
.gf-site-nav a{color:#e6edf5;font-weight:700;text-decoration:none;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}
.gf-site-nav a:hover{color:#ff8a24}
.gf-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.gf-material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gf-tag{color:#85b9ff;font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 16px}
.gf-text + .gf-text{margin-top:16px}
.gf-text h2{color:#fff;margin-top:32px}
.gf-text a{color:#ff9a45}
.gf-footer{line-height:2}
section[id]{scroll-margin-top:24px}
@media(max-width:900px){.gf-grid.three,.gf-material-grid{grid-template-columns:1fr}.gf-hero{min-height:0;aspect-ratio:3/2;background-size:100% 100%}.gf-section{padding:48px 6%}.gf-text{font-size:17px}.gf-box,.gf-card{padding:24px}.gf-title{line-height:1.2}.gf-site-nav{gap:4px 16px}.gf-brand{font-size:22px}.gf-site-header{padding:16px 6%}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Keep the original artwork below the real navigation */
.gf-hero{aspect-ratio:1.7;background-size:100% auto;background-position:center bottom}
.gf-hotspot.gf-start,.gf-hotspot.gf-3d,.gf-hotspot.gf-materialien,.gf-hotspot.gf-anfrage{display:none}
.gf-cta,.gf-whatsapp{top:59.2%;height:8%}
.gf-qr{top:32%;height:24%}
body.admin-bar .gf-site-header{margin-top:32px}
@media(max-width:900px){.gf-hero{display:none}}
@media(max-width:782px){body.admin-bar .gf-site-header{margin-top:46px}}

/* Real QR code covers the nonfunctional QR in the artwork */
.gf-qr-panel{position:absolute;z-index:25;right:4.6%;top:30%;width:14%;padding:.8%;background:#070b10;border:1px solid #29303a;border-radius:6px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:#fff;text-decoration:none;line-height:1.25;font-size:clamp(10px,1vw,15px)}
.gf-qr-panel img{width:100%;height:auto;display:block;background:#fff;border-radius:0}
.gf-qr-panel span{padding:0 2px 4px}
.gf-qr-panel strong{color:#ff8a24}
.gf-order-note{margin-top:24px;border-top:1px solid #334155;padding-top:22px}
.gf-order-note a{color:#ff9a45;text-decoration:underline}
