/* KIT3D Design System – Basis */
:root{
  --k3d-yellow:#ffb81d;
  --k3d-yellow-hover:#e8a500;
  --k3d-yellow-soft:#fff4d3;
  --k3d-white:#fff;
  --k3d-bg:#f6f6f6;
  --k3d-text:#24272c;
  --k3d-muted:#626870;
  --k3d-border:#e7e8ea;
  --k3d-radius:20px;
  --k3d-shadow:0 16px 42px rgba(20,24,30,.07);
  --k3d-container:1180px;
}

html{scroll-behavior:smooth}
body{background:var(--k3d-white);color:var(--k3d-text)}
::selection{background:var(--k3d-yellow);color:var(--k3d-text)}

.site-header{
  background:var(--k3d-white);
  border-bottom:1px solid rgba(36,39,44,.07);
}
.site-header .inside-header{
  max-width:var(--k3d-container);
  margin-inline:auto;
  padding:24px 20px;
}
.site-logo img,.navigation-branding img{width:190px;height:auto}

.main-navigation,.main-navigation .inside-navigation{background:var(--k3d-white)}
.main-navigation .main-nav ul li a{
  color:var(--k3d-text);
  font-size:14px;
  font-weight:600;
}
.main-navigation .main-nav ul li:hover>a,
.main-navigation .main-nav ul li.current-menu-item>a,
.main-navigation .main-nav ul li.current-menu-ancestor>a{color:#a97900}

.k3d-page-main,
.k3d-page-article,
.k3d-page-content{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}
.k3d-page-main{
  display:block;
  overflow:clip;
  background:var(--k3d-white);
}
.k3d-page-article{background:transparent}
.k3d-page-content>:first-child{margin-top:0}
.k3d-page-content>:last-child{margin-bottom:0}

.k3d-container{
  width:min(var(--k3d-container),calc(100% - 40px));
  margin-inline:auto;
}
.k3d-section{padding:88px 0}
.k3d-section--white{background:var(--k3d-white)}
.k3d-section--gray{background:var(--k3d-bg)}

.k3d-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#9d7200;
  background:var(--k3d-yellow-soft);
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.k3d-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:9px;
  background:var(--k3d-yellow);
  color:var(--k3d-text)!important;
  text-decoration:none!important;
  font-weight:800;
  box-shadow:0 10px 24px rgba(255,184,29,.2);
  transition:.2s ease;
}
.k3d-button:hover{
  background:var(--k3d-yellow-hover);
  transform:translateY(-2px);
}

.k3d-card{
  background:var(--k3d-white);
  border:1px solid var(--k3d-border);
  border-radius:var(--k3d-radius);
  box-shadow:var(--k3d-shadow);
}

.site-info{
  background:var(--k3d-white);
  color:var(--k3d-muted);
  border-top:1px solid var(--k3d-border);
  font-size:13px;
}
.site-info a{color:var(--k3d-text)}

@media(max-width:900px){
  .site-header .inside-header{padding:18px 20px}
  .site-logo img,.navigation-branding img{width:170px}
  .k3d-section{padding:70px 0}
}
@media(max-width:600px){
  .k3d-container{width:min(var(--k3d-container),calc(100% - 24px))}
  .k3d-section{padding:56px 0}
}

/* ---------- KIT3D globaler Kontakt-Footer ---------- */

.k3d-global-contact-footer{
  padding:72px 0;
  background:
    linear-gradient(110deg,rgba(20,22,26,.72),rgba(20,22,26,.58)),
    url("https://kit3d.de/wp-content/uploads/2026/01/2.png");
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  border-top:1px solid rgba(255,255,255,.06);
}

.k3d-global-contact-footer__inner{
  width:100%;
  max-width:var(--k3d-container);
  margin:0 auto;
  padding-left:clamp(20px,4vw,40px);
  padding-right:clamp(20px,4vw,40px);
  box-sizing:border-box;
}

.k3d-global-contact-footer__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:stretch;
}

.k3d-global-contact-footer__panel{
  min-height:610px;
  border-radius:24px;
  overflow:hidden;
}

.k3d-global-contact-footer__panel--light{
  display:flex;
  flex-direction:column;
  padding:42px;
  background:#fff;
  border:1px solid rgba(255,255,255,.75);
  box-shadow:0 22px 52px rgba(0,0,0,.20);
}

.k3d-global-contact-footer__panel--dark{
  display:flex;
  flex-direction:column;
  padding:42px;
  background:rgba(39,42,47,.92);
  color:#fff;
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 22px 52px rgba(0,0,0,.18);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

.k3d-global-contact-footer__panel h2{
  margin:0 0 16px;
  font-size:clamp(24px,2.4vw,32px);
  line-height:1.12;
  letter-spacing:-.025em;
}

.k3d-global-contact-footer__panel--light h2{
  color:var(--k3d-text);
}

.k3d-global-contact-footer__panel--dark h2{
  color:#fff;
}

.k3d-global-contact-footer__lead{
  max-width:54ch;
  margin:0 0 24px;
  color:var(--k3d-muted);
  font-size:16px;
  line-height:1.65;
}

.k3d-global-contact-footer__contacts{
  display:grid;
  margin-top:8px;
}

.k3d-global-contact-footer__contact{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:15px 0;
  color:var(--k3d-text) !important;
  text-decoration:none !important;
  border-bottom:1px solid var(--k3d-border);
}

.k3d-global-contact-footer__contact:last-child{
  border-bottom:0;
}

.k3d-global-contact-footer__icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:13px;
  /* Die gelbe Flaeche kommt aus der Kachel, nicht aus dem SVG. Icon-Farbe
     laesst sich damit zentral ueber --k3d-yellow steuern. */
  background:var(--k3d-yellow);
  color:var(--k3d-text);
  font-size:16px;
  font-weight:900;
}

/* KIT3D Icon-SVGs aus /assets/icons/ – transparent, weisse Form, zentriert.
   Groesse hier zentral steuerbar: kleiner = mehr Luft in der Kachel. */
.k3d-global-contact-footer__icon img{
  display:block;
  width:32px;
  height:32px;
}

.k3d-global-contact-footer__contact small{
  display:block;
  margin-bottom:3px;
  color:var(--k3d-muted);
  font-size:13px;
  line-height:1.3;
}

.k3d-global-contact-footer__contact strong{
  display:block;
  color:var(--k3d-text);
  font-size:18px;
  line-height:1.35;
  word-break:break-word;
}

.k3d-global-contact-footer__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  min-height:54px;
  margin-top:auto;
  padding:0 28px;
  border-radius:10px;
  background:var(--k3d-yellow);
  color:var(--k3d-text) !important;
  text-decoration:none !important;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 12px 26px rgba(255,184,29,.20);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}

.k3d-global-contact-footer__button:hover{
  background:var(--k3d-yellow-hover);
  transform:translateY(-2px);
  box-shadow:0 15px 30px rgba(255,184,29,.28);
}

.k3d-global-contact-footer__address p{
  margin:0 0 24px;
  color:rgba(255,255,255,.88);
  font-size:17px;
  line-height:1.65;
}

.k3d-global-contact-footer__map{
  flex:1;
  min-height:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.16);
  background:#e9eaec;
}

.k3d-global-contact-footer__map iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:430px;
  border:0;
}

@media(max-width:900px){
  .k3d-global-contact-footer__grid{
    grid-template-columns:1fr;
  }

  .k3d-global-contact-footer__panel{
    min-height:0;
  }

  .k3d-global-contact-footer__map iframe{
    height:420px;
    min-height:420px;
  }
}

@media(max-width:600px){
  .k3d-global-contact-footer{
    padding:52px 0;
  }

  .k3d-global-contact-footer__panel--light,
  .k3d-global-contact-footer__panel--dark{
    padding:26px;
  }

  .k3d-global-contact-footer__button{
    width:100%;
  }

  .k3d-global-contact-footer__map iframe{
    height:340px;
    min-height:340px;
  }
}


/* ---------- Footer Typografie an KIT3D Landingpages angleichen ---------- */

.k3d-global-contact-footer,
.k3d-global-contact-footer *{
  font-family:inherit;
}

.k3d-global-contact-footer__panel h2{
  font-family:inherit;
  font-size:clamp(24px,2.4vw,32px);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.02em;
}

.k3d-global-contact-footer__lead,
.k3d-global-contact-footer__address p{
  font-family:inherit;
  font-size:clamp(1rem,.97rem + .15vw,1.075rem);
  line-height:1.72;
  font-weight:400;
}

.k3d-global-contact-footer__contact small{
  font-family:inherit;
  font-size:.82rem;
  line-height:1.35;
  font-weight:500;
}

.k3d-global-contact-footer__contact strong{
  font-family:inherit;
  font-size:1.08rem;
  line-height:1.35;
  font-weight:700;
  letter-spacing:-.005em;
}

.k3d-global-contact-footer__button{
  font-family:inherit;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.08em;
}

@media (max-width:900px){
  .k3d-global-contact-footer{
    background-attachment:scroll;
  }
}

/* ---------- Fokus-Zustände für Tastatur-Bedienung (Barrierefreiheit) ---------- */
/* Bewusst --k3d-yellow-hover statt --k3d-yellow: auf gelben Buttons selbst
   wäre ein gelber Ring kaum sichtbar. */

.k3d-button:focus-visible,
.k3d-global-contact-footer__button:focus-visible{
  outline:3px solid var(--k3d-yellow-hover);
  outline-offset:2px;
}

.k3d-global-contact-footer__contact:focus-visible{
  outline:3px solid var(--k3d-yellow-hover);
  outline-offset:-2px;
  border-radius:8px;
}

.main-navigation .main-nav > ul > li > a:focus-visible{
  outline:3px solid var(--k3d-yellow-hover);
  outline-offset:-3px;
}

.main-navigation .main-nav ul ul li a:focus-visible{
  outline:2px solid var(--k3d-yellow-hover);
  outline-offset:-2px;
}

/* ---------- Blanko-Template ---------- */
/* Seite gibt nur ihren eigenen Inhalt aus, ohne Innenabstaende des Themes. */
.kit3d-blank-page .k3d-blank-main{
  padding:0;
}

.kit3d-blank-page .k3d-page-article,
.kit3d-blank-page .k3d-page-content{
  margin:0;
  padding:0;
}

.kit3d-blank-page .site-content .content-area,
.kit3d-blank-page .site-main{
  padding:0;
  margin:0;
}

/* ---------- Passwortabfrage geschuetzter Seiten ---------- */
.k3d-pw{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:min(70vh,620px);
  padding:clamp(40px,6vw,80px) clamp(20px,4vw,40px);
  background:var(--k3d-bg);
  font-family:inherit;
}

.k3d-pw *{
  font-family:inherit;
  box-sizing:border-box;
}

.k3d-pw__card{
  width:100%;
  max-width:520px;
  padding:clamp(28px,4vw,44px);
  background:#fff;
  border:1px solid var(--k3d-border);
  border-radius:20px;
  box-shadow:0 1px 2px rgba(36,39,44,.04),0 26px 60px -34px rgba(36,39,44,.34);
  text-align:left;
}

.k3d-pw__badge{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  min-width:52px;
  min-height:52px;
  margin-bottom:22px;
  padding:0;
  overflow:hidden;
  border-radius:14px;
  background:var(--k3d-yellow);
  color:#fff;
  line-height:0;
}

.k3d-pw__lock{
  display:block;
  width:28px;
  height:28px;
  margin:0;
  padding:0;
  overflow:visible;
  fill:currentColor;
  transform:none;
}

.k3d-pw__title{
  margin:0 0 .45em;
  color:var(--k3d-text);
  font-size:clamp(1.5rem,1.25rem + 1vw,1.95rem);
  font-weight:820;
  line-height:1.12;
  letter-spacing:-.03em;
}

.k3d-pw__lead{
  margin:0 0 26px;
  color:var(--k3d-muted);
  font-size:1rem;
  line-height:1.65;
}

.k3d-pw__form{
  margin:0;
}

.k3d-pw__label{
  display:block;
  margin-bottom:8px;
  color:var(--k3d-muted);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.k3d-pw__row{
  display:flex;
  gap:10px;
  align-items:stretch;
}

.k3d-pw__input{
  flex:1 1 auto;
  min-width:0;
  height:52px;
  padding:0 16px;
  border:1px solid var(--k3d-border);
  border-radius:11px;
  background:#fff;
  color:var(--k3d-text);
  font-size:1rem;
  font-weight:600;
  letter-spacing:.02em;
  transition:border-color .18s ease,box-shadow .18s ease;
}

.k3d-pw__input:hover{
  border-color:#d3d5d8;
}

.k3d-pw__input:focus{
  outline:0;
  border-color:var(--k3d-yellow);
  box-shadow:0 0 0 3px rgba(255,184,29,.28);
}

.k3d-pw__button{
  flex:0 0 auto;
  height:52px;
  padding:0 24px;
  border:1px solid var(--k3d-yellow);
  border-radius:11px;
  background:var(--k3d-yellow);
  color:var(--k3d-text);
  font-size:.98rem;
  font-weight:800;
  letter-spacing:-.01em;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 10px 24px -14px rgba(255,184,29,.95);
  transition:background-color .18s ease,transform .18s ease;
}

.k3d-pw__button:hover{
  background:var(--k3d-yellow-hover);
  border-color:var(--k3d-yellow-hover);
  transform:translateY(-1px);
}

.k3d-pw__button:focus-visible{
  outline:3px solid var(--k3d-yellow-hover);
  outline-offset:2px;
}

.k3d-pw__note{
  margin:22px 0 0;
  padding-top:18px;
  border-top:1px solid var(--k3d-border);
  color:var(--k3d-muted);
  font-size:.9rem;
  line-height:1.6;
}

.k3d-pw__note a{
  color:var(--k3d-text);
  font-weight:700;
  text-decoration:underline;
  text-decoration-color:var(--k3d-yellow);
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

@media(max-width:520px){
  .k3d-pw__row{
    flex-direction:column;
  }
  .k3d-pw__button{
    width:100%;
  }
}

/* ---------- Eingebettete Werkzeuge ([kit3d_tool]) ---------- */
.k3d-tool{
  width:100%;
  margin:0;
  padding:0;
  font-family:inherit;
}

.k3d-tool *{
  font-family:inherit;
  box-sizing:border-box;
}

.k3d-tool__wrap{
  width:100%;
  max-width:var(--k3d-tool-maxw,1000px);
  margin:0 auto;
  padding:0 16px;
}

.k3d-tool__frame{
  display:block;
  width:100%;
  min-height:clamp(560px,80vh,1100px);
  border:0;
  background:#fff;
}

@media(max-width:680px){
  .k3d-tool__wrap{padding:0 12px;}
}

/* ---------- KIT3D Footer v2.4 – modern, kompakt, dynamisch ---------- */

/* Der GeneratePress-Standard-Copyright-Balken wird durch den eigenen KIT3D-Footer ersetzt. */
.site-info{display:none!important;}

.k3d-footer-modern{
  --k3d-footer-yellow:#ffb81d;
  --k3d-footer-yellow-dark:#e6a10d;
  --k3d-footer-dark:#1c1f23;
  --k3d-footer-dark-2:#24272c;
  --k3d-footer-text:#24272c;
  --k3d-footer-muted:#626870;
  --k3d-footer-border:#e7e8ea;
  --k3d-footer-line:rgba(255,255,255,.13);
  position:relative;
  overflow:hidden;
  margin:0;
  padding:0;
  background:
    radial-gradient(circle at 9% 2%,rgba(255,184,29,.11),transparent 24%),
    linear-gradient(135deg,var(--k3d-footer-dark) 0%,var(--k3d-footer-dark-2) 100%);
  color:#fff;
  border-top:4px solid var(--k3d-footer-yellow);
}

.k3d-footer-modern,
.k3d-footer-modern *{box-sizing:border-box;font-family:inherit;}
.k3d-footer-modern a{text-decoration:none;}

.k3d-footer-modern__wrap{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding-left:clamp(20px,4vw,40px);
  padding-right:clamp(20px,4vw,40px);
}

.k3d-footer-modern__intro{
  max-width:760px;
  padding:54px 0 30px;
}

.k3d-footer-modern__kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:16px;
  color:var(--k3d-footer-yellow);
  font-size:12px;
  font-weight:850;
  letter-spacing:.14em;
  line-height:1;
  text-transform:uppercase;
}

.k3d-footer-modern__kicker::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:2px;
  background:var(--k3d-footer-yellow);
  flex:0 0 auto;
}

.k3d-footer-modern__intro h2{
  max-width:620px;
  margin:0;
  color:#fff;
  font-size:clamp(34px,4vw,56px);
  line-height:1.02;
  font-weight:830;
  letter-spacing:-.035em;
}

.k3d-footer-modern__intro p{
  max-width:660px;
  margin:18px 0 0;
  color:rgba(255,255,255,.72);
  font-size:17px;
  line-height:1.65;
}

.k3d-footer-modern__contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);
  gap:18px;
  align-items:stretch;
  width:100%;
  padding-bottom:40px;
  border-bottom:1px solid var(--k3d-footer-line);
}

.k3d-footer-modern__project-card{
  margin:0;
  padding:clamp(24px,2.5vw,32px);
  background:#fff;
  color:var(--k3d-footer-text);
  border-radius:22px;
  box-shadow:0 34px 70px -42px rgba(0,0,0,.85);
}

.k3d-footer-modern__project-card h3{
  margin:0 0 12px;
  color:var(--k3d-footer-text);
  font-size:clamp(26px,2.3vw,36px);
  line-height:1.04;
  font-weight:820;
  letter-spacing:-.035em;
}

.k3d-footer-modern__project-card > p{
  max-width:590px;
  margin:0 0 18px;
  color:var(--k3d-footer-muted);
  font-size:14.5px;
  line-height:1.58;
}

.k3d-footer-modern__contact-list{display:grid;}

.k3d-footer-modern__contact-row{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:11px 0;
  color:var(--k3d-footer-text)!important;
  border-top:1px solid var(--k3d-footer-border);
  transition:transform .22s ease;
}

.k3d-footer-modern__contact-row:first-child{border-top:0;}

.k3d-footer-modern__contact-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--k3d-footer-yellow);
}

.k3d-footer-modern__contact-icon img{
  display:block;
  width:28px;
  height:28px;
}

.k3d-footer-modern__contact-copy{min-width:0;}

.k3d-footer-modern__contact-copy small{
  display:block;
  margin-bottom:4px;
  color:var(--k3d-footer-muted);
  font-size:11px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.02em;
}

.k3d-footer-modern__contact-copy strong{
  display:block;
  color:var(--k3d-footer-text);
  font-size:clamp(15px,1.25vw,18px);
  line-height:1.25;
  font-weight:750;
  overflow-wrap:anywhere;
}

.k3d-footer-modern__contact-arrow{
  color:var(--k3d-footer-yellow-dark);
  font-size:18px;
  font-weight:900;
  transition:transform .18s ease;
}

.k3d-footer-modern__contact-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin-top:17px;
  padding:12px 21px;
  border-radius:10px;
  background:var(--k3d-footer-yellow);
  color:var(--k3d-footer-text)!important;
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  box-shadow:0 15px 28px -18px rgba(255,184,29,.85);
  transition:background .22s ease,transform .22s ease;
}

.k3d-footer-modern__location-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.13);
  border-radius:22px;
  background:rgba(255,255,255,.045);
  box-shadow:0 28px 55px -40px rgba(0,0,0,.8);
}

.k3d-footer-modern__location-top{padding:19px 20px 16px;}

.k3d-footer-modern__location-label{
  display:block;
  margin-bottom:12px;
  color:var(--k3d-footer-yellow);
  font-size:11px;
  line-height:1;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.k3d-footer-modern__location-card h3{
  margin:0 0 10px;
  color:#fff;
  font-size:21px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.025em;
}

.k3d-footer-modern__location-card p{
  margin:0;
  color:rgba(255,255,255,.68);
  font-size:13px;
  line-height:1.52;
}

.k3d-footer-modern__location-card strong{color:#fff;}

.k3d-footer-modern__map-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:15px;
  color:var(--k3d-footer-yellow)!important;
  font-size:13px;
  line-height:1.35;
  font-weight:850;
}

.k3d-footer-modern__map{
  min-height:215px;
  flex:1;
  background:#ddd;
}

.k3d-footer-modern__map iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:215px;
  border:0;
  filter:grayscale(.18) contrast(.98);
}

/* Vier Spalten: Marke, die beiden Menue-Gruppen und "Wissen". */
.k3d-footer-modern__links-zone{
  display:grid;
  grid-template-columns:minmax(240px,1.15fr) minmax(155px,.75fr) minmax(170px,.85fr) minmax(140px,.65fr);
  gap:clamp(24px,3.2vw,46px);
  align-items:start;
  padding:42px 0 38px;
  border-bottom:1px solid var(--k3d-footer-line);
}

.k3d-footer-modern__brand-logo{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  width:max-content;
  max-width:190px;
  min-height:42px;
  margin-bottom:14px;
}

.k3d-footer-modern__brand-logo-image{
  display:block;
  width:auto;
  height:auto;
  max-width:190px;
  max-height:44px;
  object-fit:contain;
  object-position:left center;
}

.k3d-footer-modern__brand-logo--fallback{
  color:#fff!important;
}

.k3d-footer-modern__brand-title{
  display:block;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.03em;
}

.k3d-footer-modern__brand p{
  max-width:360px;
  margin:0;
  color:rgba(255,255,255,.65);
  font-size:14px;
  line-height:1.65;
}

.k3d-footer-modern__brand strong{
  display:block;
  margin-top:13px;
  color:#fff;
  font-size:13px;
  line-height:1.45;
  font-weight:700;
}


.k3d-footer-modern__socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:17px;
}

.k3d-footer-modern__social{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:12px;
  background:var(--k3d-footer-yellow);
  box-shadow:0 12px 24px -18px rgba(255,184,29,.85);
  transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease;
}

.k3d-footer-modern__social img{
  display:block;
  width:24px;
  height:24px;
  object-fit:contain;
}

.k3d-footer-modern__menu-col h4{
  margin:0 0 16px;
  font-size:12px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.k3d-footer-modern__menu-col h4 a{color:#fff!important;}

.k3d-footer-modern__menu-links{
  display:grid;
  gap:10px;
}

.k3d-footer-modern__menu-links a{
  width:max-content;
  max-width:100%;
  color:rgba(255,255,255,.7)!important;
  font-size:14px;
  line-height:1.45;
  transition:color .18s ease,transform .18s ease;
}

.k3d-footer-modern__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:22px 0 26px;
  color:rgba(255,255,255,.5);
  font-size:12px;
  line-height:1.45;
}

.k3d-footer-modern__legal{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}

.k3d-footer-modern__legal a{
  color:rgba(255,255,255,.72)!important;
  font-weight:700;
}

@media(hover:hover) and (pointer:fine){
  .k3d-footer-modern__contact-row:hover{transform:translateX(5px);}
  .k3d-footer-modern__contact-row:hover .k3d-footer-modern__contact-arrow{transform:translateX(4px);}
  .k3d-footer-modern__contact-button:hover{background:var(--k3d-footer-yellow-dark);transform:translateY(-2px);}
  .k3d-footer-modern__social:hover{background:var(--k3d-footer-yellow-dark);transform:translateY(-2px);box-shadow:0 16px 26px -17px rgba(255,184,29,.95);}
  .k3d-footer-modern__menu-links a:hover{color:var(--k3d-footer-yellow)!important;transform:translateX(3px);}
  .k3d-footer-modern__menu-col h4 a:hover,
  .k3d-footer-modern__legal a:hover,
  .k3d-footer-modern__map-link:hover{color:#fff!important;}
}

@media(max-width:960px){
  .k3d-footer-modern__contact-grid{grid-template-columns:1fr;}
  /* Marke ueber die volle Breite, darunter die drei Link-Spalten nebeneinander. */
  .k3d-footer-modern__links-zone{grid-template-columns:repeat(3,minmax(0,1fr));}
  .k3d-footer-modern__brand{grid-column:1/-1;}
}

@media(max-width:640px){
  .k3d-footer-modern__intro{padding:46px 0 28px;}
  .k3d-footer-modern__intro h2{font-size:clamp(31px,10vw,42px);}
  .k3d-footer-modern__intro p{font-size:15px;}
  .k3d-footer-modern__project-card{padding:24px 20px;border-radius:20px;}
  .k3d-footer-modern__contact-row{grid-template-columns:44px minmax(0,1fr);gap:11px;}
  .k3d-footer-modern__contact-icon{width:40px;height:40px;border-radius:11px;}
  .k3d-footer-modern__contact-icon img{width:26px;height:26px;}
  .k3d-footer-modern__contact-arrow{display:none;}
  .k3d-footer-modern__contact-copy strong{font-size:15px;}
  .k3d-footer-modern__contact-button{width:100%;}
  .k3d-footer-modern__location-card{border-radius:20px;}
  .k3d-footer-modern__map,
  .k3d-footer-modern__map iframe{min-height:220px;}
  .k3d-footer-modern__links-zone{grid-template-columns:1fr;gap:34px;}
  .k3d-footer-modern__brand{grid-column:auto;}
  .k3d-footer-modern__brand-logo{max-width:170px;min-height:38px;}
  .k3d-footer-modern__brand-logo-image{max-width:170px;max-height:40px;}
  .k3d-footer-modern__social{width:40px;height:40px;flex-basis:40px;border-radius:11px;}
  .k3d-footer-modern__social img{width:23px;height:23px;}
  .k3d-footer-modern__bottom{flex-direction:column;align-items:flex-start;}
}

@media(prefers-reduced-motion:reduce){
  .k3d-footer-modern *,
  .k3d-footer-modern *::before,
  .k3d-footer-modern *::after{transition:none!important;}
}

.k3d-legal-page .site-info{display:none!important;}

/* ---------- 404-Seite (v5 "Layers") ---------- */
/* Eigenstaendiges HTML-Dokument (404.php ruft bewusst kein get_header()/
   get_footer() auf) – daher hier zusaetzlich body-Reset, damit die Seite
   garantiert randlos das ganze Fenster fuellt, unabhaengig vom
   GeneratePress-Grundlayout. */
body.k3d-404-page{
  margin:0;
  background:#1c1f23;
}

/* Eigene box-sizing-Basis: die 404-Seite ist ein eigenstaendiges Dokument und
   soll auch dann korrekt umbrechen, wenn der Reset des Eltern-Themes einmal
   nicht greift (sonst laufen die Buttons auf dem Handy aus dem Bild). */
.k3d-404-layers,
.k3d-404-layers *{
  box-sizing:border-box;
}

/* Die "404" liegt dreifach uebereinander: die volle Ziffer plus zwei
   halbtransparente Schichten, die leicht versetzt atmen. Bildsprache =
   Schichtversatz im 3D-Druck, ohne Animation-Feuerwerk. */
.k3d-404-layers{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  min-height:100dvh;
  padding:clamp(40px,8vw,80px) clamp(20px,4vw,40px);
  background:#1c1f23;
  color:#fff;
  text-align:center;
}

.k3d-404-number{
  position:relative;
  margin-bottom:clamp(20px,3vw,40px);
  color:var(--k3d-yellow);
  font-size:clamp(6rem,20vw,12rem);
  font-weight:900;
  line-height:1;
  letter-spacing:-.05em;
}

.k3d-404-number::before,
.k3d-404-number::after{
  content:"404";
  position:absolute;
  top:0;
  left:0;
  width:100%;
}

.k3d-404-number::before{
  color:rgba(255,184,29,.5);
  animation:k3d-404-layer-1 3s ease-in-out infinite;
}

.k3d-404-number::after{
  color:rgba(255,184,29,.3);
  animation:k3d-404-layer-2 3s ease-in-out infinite;
}

@keyframes k3d-404-layer-1{
  0%,100%{transform:translate(0,0);opacity:.5}
  50%{transform:translate(4px,-4px);opacity:.7}
}

@keyframes k3d-404-layer-2{
  0%,100%{transform:translate(0,0);opacity:.3}
  50%{transform:translate(8px,-8px);opacity:.5}
}

.k3d-404-accent{
  width:clamp(80px,15vw,140px);
  height:4px;
  margin-bottom:clamp(30px,4vw,50px);
  background:var(--k3d-yellow);
}

.k3d-404-title{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(1.5rem,3vw,2.2rem);
  font-weight:700;
  letter-spacing:-.02em;
}

.k3d-404-text{
  max-width:500px;
  margin:0 0 clamp(40px,6vw,60px);
  color:rgba(255,255,255,.75);
  font-size:clamp(1rem,2vw,1.15rem);
  line-height:1.6;
}

.k3d-404-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
}

.k3d-404-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:52px;
  padding:0 clamp(22px,4vw,32px);
  border:none;
  border-radius:8px;
  font-family:inherit;
  font-size:1rem;
  font-weight:700;
  letter-spacing:-.01em;
  text-decoration:none!important;
  white-space:nowrap;
  cursor:pointer;
  transition:background-color .2s ease,transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

/* Heller statt dunkler beim Hover: auf dem dunklen Grund der 404-Seite
   waere --k3d-yellow-hover kaum als Reaktion erkennbar. */
.k3d-404-btn--primary{
  background:var(--k3d-yellow);
  color:#1c1f23!important;
  box-shadow:0 12px 32px rgba(255,184,29,.3);
}

.k3d-404-btn--primary:hover{
  background:#ffc844;
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(255,184,29,.4);
}

.k3d-404-btn--secondary{
  background:rgba(255,255,255,.12);
  color:#fff!important;
  border:1px solid rgba(255,255,255,.25);
}

.k3d-404-btn--secondary:hover{
  background:rgba(255,255,255,.2);
  border-color:rgba(255,255,255,.4);
  transform:translateY(-2px);
}

.k3d-404-btn:focus-visible{
  outline:3px solid var(--k3d-yellow);
  outline-offset:3px;
}

@media(max-width:640px){
  .k3d-404-actions{flex-direction:column;gap:12px;width:100%;max-width:360px}
  .k3d-404-btn{width:100%}
}

@media(prefers-reduced-motion:reduce){
  .k3d-404-number::before,
  .k3d-404-number::after,
  .k3d-404-btn{
    animation:none;
    transition:none;
  }
}


/* ---------- KIT3D Footer v2.7.11 – Logo optisch ausrichten ----------
   Das verwendete Logo hat im Bild selbst etwas Innenraum. Deshalb wird
   die Bildbox groesser und leicht nach links gezogen, damit die sichtbare
   Logo-Kante mit dem Footer-Text darunter buendig steht. */
.k3d-footer-modern__brand-logo{
  max-width:none!important;
  min-height:58px!important;
  margin-left:-10px!important;
  margin-bottom:14px!important;
}
.k3d-footer-modern__brand-logo-image{
  display:block!important;
  width:auto!important;
  height:58px!important;
  max-width:none!important;
  max-height:58px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
@media(max-width:640px){
  .k3d-footer-modern__brand-logo{
    min-height:48px!important;
    margin-left:-8px!important;
  }
  .k3d-footer-modern__brand-logo-image{
    height:48px!important;
    max-height:48px!important;
  }
}
