:root{
  --hiren-bg: #07101d;
  --hiren-bg-soft: rgba(7, 16, 29, 0.82);
  --hiren-line: rgba(255,255,255,0.12);
  --hiren-line-strong: rgba(255,255,255,0.24);
  --hiren-text: #ffffff;
  --hiren-text-soft: rgba(255,255,255,0.86);
  --hiren-accent: #6de7ff;
  --hiren-shadow: 0 24px 60px rgba(0,0,0,0.34);
}

html,
body{
  margin:0;
  padding:0;
  overflow-x:hidden;
}

/* WordPress-/Theme-Reste auf der Startseite neutralisieren */
.home .wp-block-post-title,
.home .entry-title,
.home h1.wp-block-post-title{
  display:none !important;
}

.home .wp-site-blocks,
.home main,
.home .wp-block-post-content,
.home .entry-content,
.home .is-layout-constrained{
  max-width:100% !important;
  margin-top:0 !important;
  padding-top:0 !important;
}

.home .wp-block-post-content{
  margin:0 !important;
  padding:0 !important;
}

.home .wp-block-template-part .wp-block-navigation,
.home .wp-block-template-part .wp-block-site-title,
.home .wp-block-template-part .wp-block-site-logo{
  display:none !important;
}

/* Den oberen Template-Blockbereich auf der Startseite komplett ausblenden */
.home .wp-site-blocks > header,
.home .wp-site-blocks > .wp-block-template-part:first-child{
  display:none !important;
}

/* Leere obere Blockreste entschärfen */
.home .wp-block-spacer:first-child,
.home .wp-block-group:first-child,
.home .wp-block-cover:first-child{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* Header */
.hiren-site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:rgba(5,11,20,0.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:
    transform .36s ease,
    background .24s ease,
    border-color .24s ease,
    backdrop-filter .24s ease;
}

.admin-bar .hiren-site-header{
  top:32px;
}

.hiren-site-header.is-hidden{
  transform:translateY(-140%);
}

.hiren-site-header.is-visible{
  transform:translateY(0);
}

.hiren-site-header__inner{
  width:min(1440px, calc(100% - 40px));
  margin:0 auto;
  min-height:76px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
}

.hiren-site-brand{
  display:flex;
  flex-direction:column;
  gap:4px;
  text-decoration:none;
  color:#fff;
  line-height:1;
  white-space:nowrap;
}

.hiren-site-brand__main{
  font-size:1.24rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.hiren-site-brand__sub{
  font-size:.76rem;
  color:rgba(255,255,255,.66);
  letter-spacing:.16em;
  text-transform:uppercase;
}

/* Desktop-Navigation */
.hiren-site-nav{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  min-width:0;
}

.hiren-site-nav .hiren-menu{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  column-gap:26px;
  row-gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}

.hiren-site-nav .hiren-menu li{
  list-style:none;
  margin:0;
  padding:0;
}

.hiren-site-nav .hiren-menu a{
  position:relative;
  display:inline-block;
  color:rgba(255,255,255,.9);
  text-decoration:none;
  font-size:.96rem;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
  transition:color .2s ease;
}

.hiren-site-nav .hiren-menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--hiren-accent), transparent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .25s ease;
}

.hiren-site-nav .hiren-menu a:hover{
  color:#fff;
}

.hiren-site-nav .hiren-menu a:hover::after{
  transform:scaleX(1);
}

/* Burger */
.hiren-burger{
  width:56px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(9,15,28,0.58);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}

.hiren-burger:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,0.28);
  background:rgba(9,15,28,0.76);
}

.hiren-burger span{
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  border-radius:999px;
  transition:transform .25s ease, opacity .25s ease;
}

.hiren-burger.is-active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.hiren-burger.is-active span:nth-child(2){
  opacity:0;
}

.hiren-burger.is-active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.hiren-mobile-panel{
  position:fixed;
  inset:0;
  z-index:1200;
  pointer-events:none;
}

.hiren-mobile-panel.is-open{
  pointer-events:auto;
}

.hiren-mobile-panel__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.48);
  opacity:0;
  transition:opacity .25s ease;
}

.hiren-mobile-panel.is-open .hiren-mobile-panel__overlay{
  opacity:1;
}

.hiren-mobile-panel__drawer{
  position:absolute;
  top:0;
  right:0;
  width:min(88vw, 420px);
  height:100%;
  transform:translateX(100%);
  transition:transform .28s ease;
  background:linear-gradient(180deg, rgba(8,14,26,.97), rgba(4,9,18,.99));
  border-left:1px solid rgba(255,255,255,.08);
  box-shadow:-20px 0 60px rgba(0,0,0,.35);
  padding:24px 20px 28px;
  display:flex;
  flex-direction:column;
}

.hiren-mobile-panel.is-open .hiren-mobile-panel__drawer{
  transform:translateX(0);
}

.hiren-mobile-panel__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:26px;
}

.hiren-mobile-panel__brand{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.hiren-mobile-panel__brand span{
  color:#fff;
  font-size:1rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.hiren-mobile-panel__brand small{
  color:rgba(255,255,255,.62);
  font-size:.75rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.hiren-mobile-panel__close{
  width:48px;
  height:48px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}

/* Mobile Menü */
.hiren-mobile-nav .hiren-mobile-menu{
  display:flex;
  flex-direction:column;
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}

.hiren-mobile-nav .hiren-mobile-menu li{
  list-style:none;
  margin:0;
  padding:0;
}

.hiren-mobile-nav .hiren-mobile-menu a{
  display:block;
  padding:16px 14px;
  border-radius:16px;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  transition:background .2s ease, transform .2s ease, border-color .2s ease;
}

.hiren-mobile-nav .hiren-mobile-menu a:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.14);
  transform:translateX(2px);
}

/* Hero */
.home .hiren-hero{
  position:relative;
  width:100vw;
  max-width:100vw;
  min-height:100vh;
  margin:0 0 0 calc(50% - 50vw);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background-image:url("https://hi-ren.de/wp-content/uploads/2026/03/hirenhero.png");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  color:var(--hiren-text);
}

.home .hiren-hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(3,8,18,.60) 0%,
      rgba(3,8,18,.34) 24%,
      rgba(3,8,18,.18) 52%,
      rgba(3,8,18,.34) 76%,
      rgba(3,8,18,.56) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,.06) 45%,
      rgba(0,0,0,.48) 100%
    );
  z-index:1;
}

.home .hiren-hero__inner{
  position:relative;
  z-index:2;
  width:min(1500px, calc(100% - 72px));
  margin:0 auto;
  padding:110px 0 42px;
  display:grid;
  grid-template-columns:minmax(580px, 1.18fr) minmax(540px, .98fr);
  gap:40px;
  align-items:end;
}

.home .hiren-hero__copy{
  max-width:840px;
}

.home .hiren-hero__eyebrow{
  margin:0 0 16px;
  font-size:.9rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
}

.home .hiren-hero__copy h1{
  margin:0 0 18px;
  font-size:clamp(4rem, 6vw, 7rem);
  line-height:.92;
  letter-spacing:-.045em;
  font-weight:800;
  text-wrap:balance;
  text-shadow:0 12px 34px rgba(0,0,0,.32);
}

.home .hiren-hero__lead{
  margin:0;
  max-width:760px;
  font-size:clamp(1.05rem, 1.12vw, 1.26rem);
  line-height:1.75;
  color:rgba(255,255,255,.9);
  text-shadow:0 6px 20px rgba(0,0,0,.26);
}

.home .hiren-hero__tiles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.home .hiren-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:320px;
  padding:30px;
  text-decoration:none;
  border-radius:30px;
  overflow:hidden;
  color:#fff;
  border:1px solid var(--hiren-line);
  background:rgba(7,12,24,.28);
  box-shadow:var(--hiren-shadow);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.home .hiren-tile::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
}

.home .hiren-tile--left::before{
  background:
    radial-gradient(circle at 18% 25%, rgba(109,231,255,.12), transparent 36%),
    linear-gradient(180deg, rgba(22,31,58,.14), rgba(4,8,18,.58));
}

.home .hiren-tile--right::before{
  background:
    radial-gradient(circle at 82% 22%, rgba(109,231,255,.12), transparent 34%),
    linear-gradient(180deg, rgba(11,41,66,.10), rgba(4,8,18,.58));
}

.home .hiren-tile > *{
  position:relative;
  z-index:1;
}

.home .hiren-tile:hover{
  transform:translateY(-5px);
  border-color:var(--hiren-line-strong);
  background:rgba(7,12,24,.42);
  box-shadow:0 26px 72px rgba(0,0,0,.36);
}

.home .hiren-tile__label{
  display:block;
  margin-bottom:14px;
  font-size:.85rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(255,255,255,.65);
}

.home .hiren-tile__title{
  display:block;
  margin-bottom:12px;
  font-size:clamp(1.8rem, 1.8vw, 2.35rem);
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.03em;
}

.home .hiren-tile__text{
  display:block;
  font-size:1rem;
  line-height:1.7;
  color:rgba(255,255,255,.86);
}

/* bestehender Startseiteninhalt darunter */
.home .wp-block-post-content{
  margin-top:0 !important;
  padding-top:0 !important;
}

.home .wp-block-post-content > *{
  width:min(860px, calc(100% - 28px));
  margin-left:auto;
  margin-right:auto;
}

.home .wp-block-post-content > *:first-child{
  margin-top:56px !important;
}

body.hiren-menu-open{
  overflow:hidden;
}

/* Responsive */
@media (max-width:1100px){
  .hiren-site-nav--desktop{
    display:none;
  }

  .hiren-burger{
    display:flex;
    position:relative;
    z-index:1002;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
  }

  .hiren-site-header{
    top:0 !important;
  }

  .admin-bar .hiren-site-header{
    top:46px !important;
  }

  .hiren-site-header__inner{
    width:calc(100% - 18px);
    min-height:64px;
    grid-template-columns:auto 1fr auto;
    gap:12px;
  }

  .hiren-site-brand__main{
    font-size:1rem;
  }

  .hiren-site-brand__sub{
    font-size:.7rem;
  }

  .home .hiren-hero{
    min-height:auto;
    margin-top:0 !important;
    background-position:42% center;
  }

  .home .hiren-hero__inner{
    width:calc(100% - 22px);
    grid-template-columns:1fr;
    gap:24px;
    padding:92px 0 24px;
  }

  .home .hiren-hero__copy h1{
    font-size:2.5rem;
    line-height:1;
    max-width:none;
  }

  .home .hiren-hero__lead{
    font-size:1rem;
    line-height:1.6;
    max-width:none;
  }

  .home .hiren-hero__tiles{
    grid-template-columns:1fr;
    gap:14px;
  }

  .home .hiren-tile{
    min-height:220px;
    padding:22px;
    border-radius:22px;
  }
}

@media (max-width:782px){
  .admin-bar .hiren-site-header{
    top:46px;
  }
}

@media (max-width:600px){
  .home .hiren-hero{
    background-position:36% center;
  }

  .home .hiren-hero__copy h1{
    font-size:2.15rem;
  }

  .home .hiren-tile__title{
    font-size:1.6rem;
  }

  .home .hiren-tile__text{
    font-size:.97rem;
  }
}