/* =====================================================
   3Dprint-infinitely — Carbon + Premium Glass (Clean)
   Joomla 6 + Helix Ultimate — Custom CSS
   ===================================================== */

/* =====================================================
   1) VARIABLES
   ===================================================== */
:root{
  --bg:#0c0d10;
  --header:#0f1115;

  --glass: rgba(22,26,32,.38);          /* Glass background */
  --glassBorder: rgba(255,255,255,.12);
  --glassShadow: 0 30px 90px rgba(0,0,0,.55);

  --panel: #16191f;
  --panelBorder: rgba(255,255,255,.06);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.76);

  --accent:#ff7a00;
  --accentSoft: rgba(255,122,0,.10);
}

/* =====================================================
   2) BASE / GLOBAL
   ===================================================== */
body{
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 2px,
      transparent 2px,
      transparent 6px
    ),
    repeating-linear-gradient(-45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 2px,
      transparent 2px,
      transparent 6px
    );
  color: var(--text);
}

body, p, li{
  font-size: 16.5px;
  line-height: 1.8;
  letter-spacing: .15px;
}

p{
  color: var(--muted);
  margin-bottom: 16px;
}

a{
  color: var(--accent);
  text-decoration: none;
  transition: .2s ease;
}
a:hover{
  color: #fff;
  text-shadow: 0 0 10px rgba(255,122,0,.18);
}

::selection{
  background: rgba(255,122,0,.25);
  color:#fff;
}

/* =====================================================
   3) HEADER
   ===================================================== */
#sp-header{
  background: var(--header);
  padding: 14px 0;
  border: none;
  position: relative;
}

/* Premium center line */
#sp-header::after{
  content:"";
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:60%;
  height:2px;
  background: radial-gradient(ellipse at center,
    rgba(255,122,0,.92) 0%,
    rgba(255,122,0,.55) 30%,
    rgba(255,122,0,.18) 60%,
    transparent 100%
  );
  border-radius: 50px;
}

/* Logo sizes */
#sp-header .logo img{
  width: 250px !important;
  height: auto !important;
  max-height: none !important;
  display:block;
}
#sp-header.header-sticky .logo img{
  width: 220px !important;
}

/* =====================================================
   4) MENU
   ===================================================== */
.sp-megamenu-parent > li > a{
  color: rgba(255,255,255,.72);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  background: transparent !important;
  transition: .25s ease;
}
.sp-megamenu-parent > li:hover > a{ color: var(--accent); }
.sp-megamenu-parent > li.active > a{ color: var(--accent); }

/* Dropdown */
.sp-dropdown{
  background: #15181d;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}
.sp-dropdown li > a{
  color: rgba(255,255,255,.74);
  padding: 10px 14px !important;
}
.sp-dropdown li > a:hover{
  color: var(--accent);
  background: rgba(255,122,0,.08);
}

/* =====================================================
   5) PAGE TITLE
   ===================================================== */
.sp-page-title{
  background: transparent;
  padding: 56px 0 34px;
}
.sp-page-title h1{
  color: rgba(255,255,255,.96);
  font-weight: 600;
}

/* =====================================================
   6) MAIN BODY / COMPONENT GLASS PANEL
   ===================================================== */
#sp-main-body{
  padding-top: 26px;
  padding-bottom: 70px;
}

#sp-component{
  background: var(--glass) !important;
  border: 1px solid var(--glassBorder) !important;
  border-radius: 24px !important;
  box-shadow: var(--glassShadow) !important;
  padding: 54px !important;
  position: relative;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Light reflection */
#sp-component::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 24px;
  pointer-events:none;
  background:
    radial-gradient(800px 260px at 20% 10%, rgba(255,122,0,0.08), transparent 65%),
    radial-gradient(600px 200px at 80% 0%, rgba(255,255,255,0.05), transparent 60%);
  opacity: .8;
}

/* Typography inside component */
#sp-component h1,
#sp-component h2,
#sp-component h3{
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
  margin: 18px 0 12px;
}

#sp-component p{
  color: rgba(255,255,255,.94);
  font-size: 17px;
  line-height: 1.9;
}

#sp-component ul,
#sp-component ol{
  color: rgba(255,255,255,.88);
  padding-left: 20px;
}
#sp-component li{ margin: 6px 0; }

#sp-component hr{
  border:none !important;
  height: 1px !important;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,122,0,.25),
    transparent
  ) !important;
  margin: 28px 0 !important;
}

#sp-component img{
  border-radius: 14px;
  max-width: 100%;
  height: auto;
}

/* Article meta */
.article-info,
.article-info dd,
.article-info a{
  color: rgba(255,255,255,.55) !important;
  font-size: 13px !important;
}
.article-info a:hover{ color: var(--accent) !important; }

/* Blockquote */
#sp-component blockquote{
  margin: 18px 0;
  padding: 14px 16px;
  background: rgba(255,122,0,.06);
  border-left: 3px solid rgba(255,122,0,.55);
  border-radius: 12px;
  color: rgba(255,255,255,.90);
}

/* Code */
#sp-component pre{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 14px;
  overflow:auto;
}
#sp-component code{
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  padding: 2px 6px;
}

/* Tables */
#sp-component table{
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
#sp-component th,
#sp-component td{
  border: 1px solid rgba(255,255,255,.10);
  padding: 10px 12px;
  color: rgba(255,255,255,.88);
}
#sp-component th{
  background: rgba(255,122,0,.08);
  color: rgba(255,255,255,.95);
}

/* =====================================================
   7) PORTFOLIO CATEGORY GRID
   ===================================================== */
.com-content-category-blog .blog{
  max-width: 1250px;
  margin: 0 auto;
}

.com-content-category-blog .items-row{
  display:flex;
  gap: 22px;
  margin-bottom: 22px;
}

.com-content-category-blog .item{
  flex:1;
  background: rgba(22,26,32,.70);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
  transition: .25s ease;
}

.com-content-category-blog .item:hover{
  border-color: rgba(255,122,0,.22);
  box-shadow: 0 16px 45px rgba(0,0,0,.55);
  transform: translateY(-3px);
}

.com-content-category-blog .item-image{
  border-radius: 14px;
  overflow:hidden;
  margin-bottom: 12px;
}
.com-content-category-blog .item-image img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.com-content-category-blog .item:hover .item-image img{
  transform: scale(1.06);
}

.com-content-category-blog .item-title a{
  color: rgba(255,255,255,.95);
  font-weight: 850;
  font-size: 18px;
}
.com-content-category-blog .item-title a:hover{ color: var(--accent); }

.com-content-category-blog .item-content p{
  color: rgba(255,255,255,.84);
  font-size: 15.5px;
  line-height: 1.75;
}

/* Readmore chip */
.readmore a{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,122,0,.08);
  border: 1px solid rgba(255,122,0,.18);
  color: var(--accent);
  font-weight: 800;
}
.readmore a:hover{ background: rgba(255,122,0,.12); }

/* =====================================================
   8) BUTTONS
   ===================================================== */
.btn,
button,
input[type="submit"]{
  background: linear-gradient(90deg, #ff7a00, #ff9c2a);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 650;
  color: #fff;
  transition: .25s ease;
}
.btn:hover,
button:hover,
input[type="submit"]:hover{
  box-shadow: 0 0 12px rgba(255,122,0,.45);
  transform: translateY(-1px);
}

/* =====================================================
   9) FORMS
   ===================================================== */
input,
textarea,
select{
  background: rgba(10,11,13,.92) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.92) !important;
  border-radius: 10px !important;
}
input:focus,
textarea:focus,
select:focus{
  border-color: rgba(255,122,0,.45) !important;
  box-shadow: 0 0 0 3px rgba(255,122,0,.12) !important;
  outline:none !important;
}

/* =====================================================
   10) FOOTER
   ===================================================== */
#sp-footer{
  background: var(--header);
  position: relative;
  border: none;
}
#sp-footer::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:60%;
  height:2px;
  background: radial-gradient(ellipse at center,
    rgba(255,122,0,.82) 0%,
    rgba(255,122,0,.50) 30%,
    rgba(255,122,0,.18) 60%,
    transparent 100%
  );
  border-radius: 50px;
}

/* =====================================================
   11) HERO SPLIT (A)
   ===================================================== */
.hero-split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  margin: 10px 0 28px;
}

.hero-split__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.08);
}

.hero-split__content{
  background: rgba(22,26,32,.34);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 26px 26px 22px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 18px 55px rgba(0,0,0,.40);
}

.hero-split__content h1{
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: .2px;
  color: rgba(255,255,255,.97);
}

.hero-split__content h1 span{
  color: #ff7a00;
  text-shadow: 0 0 14px rgba(255,122,0,.18);
}

.hero-split__content p{
  margin: 0 0 14px;
  max-width: 60ch;
  color: rgba(255,255,255,.90);
  font-size: 16.8px;
  line-height: 1.85;
}
.hero-split__content p:last-child{ margin-bottom: 0; }

/* =====================================================
   12) ABOUT SECTION (SCOPED: no global .container/.card)
   ===================================================== */
.about-section{
  margin-top: 20px;
}

/* IMPORTANT: scoped container (do NOT override Bootstrap .container globally) */
.about-section .container{
  max-width: 1100px;
  margin: 0 auto;
}

.about-grid{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2{
  font-size: 2.5rem;
  margin-bottom: 25px;
  position: relative;
}

.about-text h2::after{
  content: "";
  width: 60px;
  height: 4px;
  background: #FA8708;
  display: block;
  margin-top: 10px;
}

.about-text p{
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* IMPORTANT: scoped card (do NOT override Bootstrap .card globally) */
.about-section .card{
  background: #1e293b;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.about-section .card h3{
  margin-bottom: 20px;
  color: #FA8708;
}

.about-section .card ul{
  list-style: none;
  padding: 0;
}

.about-section .card li{
  margin-bottom: 12px;
  padding-left: 15px;
  position: relative;
}

.about-section .card li::before{
  content: "▹";
  position: absolute;
  left: 0;
  color: #FA8708;
}

/* =====================================================
   13) CTA
   ===================================================== */
.cta-wrapper{
  text-align: center;
  margin: 70px 0;
}

.cta-button{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 42px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  color: #ffffff;

  background: linear-gradient(90deg, #FA8708, #FED015);
  position: relative;
  overflow: hidden;

  box-shadow:
    0 10px 30px rgba(250,135,8,0.35),
    0 0 0 rgba(250,135,8,0.4);

  transition: all 0.25s ease;
}

@keyframes pulseGlow{
  0% {
    box-shadow:
      0 10px 30px rgba(250,135,8,0.35),
      0 0 0 0 rgba(250,135,8,0.6);
  }
  70% {
    box-shadow:
      0 10px 30px rgba(250,135,8,0.35),
      0 0 0 18px rgba(250,135,8,0);
  }
  100% {
    box-shadow:
      0 10px 30px rgba(250,135,8,0.35),
      0 0 0 0 rgba(250,135,8,0);
  }
}

.cta-button{
  animation: pulseGlow 2.5s infinite;
}

.cta-button:hover{
  transform: translateY(-4px);
  animation: none;
  box-shadow:
    0 15px 40px rgba(250,135,8,0.5),
    0 0 25px rgba(254,208,21,0.5);
}

.cta-icon{
  transition: transform 0.25s ease;
}
.cta-button:hover .cta-icon{
  transform: translateX(6px);
}

/* =====================================================
   14) HOME – STARTSEITE
   ===================================================== */
.about-header{
  text-align: center;
  margin-bottom: 60px;
}

.about h1{
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.brand-white{
  color: #ffffff;
  font-weight: 700;
}

.brand-gradient{
  background: linear-gradient(
    90deg,
    #ff6a00 0%,
    #ff8c00 30%,
    #ffa500 60%,
    #ffd27a 85%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.about article{
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 17px;
  color: rgba(255,255,255,0.92);
}

.about article p{
  margin-bottom: 22px;
}

.about .cta{
  margin-top: 35px;
  font-weight: 600;
  color: #ff7a00;
  letter-spacing: 0.3px;
}

/* =====================================================
   15) LEGAL PAGES – Glass / Carbon (Helix)
   ===================================================== */
.legal-wrap{
  max-width: 980px;
  margin: 0 auto;
}

.legal-head{
  margin: 0 0 22px;
  text-align: left;
}

.legal-head h1{
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 850;
  color: rgba(255,255,255,.96);
}

.legal-sub{
  margin: 0;
  color: rgba(255,255,255,.70);
  font-size: 15.5px;
}

.legal-grid{
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  margin: 18px 0 26px;
}

.legal-card{
  background: rgba(22,26,32,.34);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 20px 20px 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.40);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.legal-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(800px 260px at 20% 10%, rgba(255,122,0,0.10), transparent 65%),
    radial-gradient(600px 200px at 80% 0%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events:none;
  opacity:.9;
}

.legal-card__title{
  position: relative;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 850;
  color: rgba(255,255,255,.95);
}

.legal-dl{
  position: relative;
  margin: 0;
}

.legal-dl__row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.legal-dl__row:last-child{ border-bottom: none; }

.legal-dl dt{
  margin: 0;
  color: rgba(255,255,255,.70);
  font-weight: 650;
  font-size: 14px;
}

.legal-dl dd{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 15.5px;
}

.legal-card--note .legal-note{
  position: relative;
  margin: 0 0 12px;
  color: rgba(255,255,255,.86);
  line-height: 1.75;
}
.legal-card--note .legal-note:last-child{ margin-bottom: 0; }

.legal-section{
  margin-top: 10px;
}

.legal-section__title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 850;
  color: rgba(255,255,255,.96);
}

.legal-acc{
  background: rgba(22,26,32,.28);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 0;
  margin: 12px 0;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.legal-acc__sum{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 850;
  color: rgba(255,255,255,.92);
}
.legal-acc__sum::-webkit-details-marker{ display:none; }

.legal-acc__chev{
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255,122,0,.9);
  border-bottom: 2px solid rgba(255,122,0,.9);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: 0 0 auto;
}
details[open] .legal-acc__chev{
  transform: rotate(-135deg);
}

.legal-acc__body{
  padding: 0 16px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.legal-acc__body p{
  margin: 12px 0 0;
  color: rgba(255,255,255,.88);
  line-height: 1.85;
  font-size: 16px;
}

.legal-wrap a{
  color: rgba(255,122,0,.95);
  text-decoration: none;
}
.legal-wrap a:hover{
  color: #fff;
  text-shadow: 0 0 10px rgba(255,122,0,.18);
}

/* =====================================================
   ABOUT – Premium Glass Version
   Optisch identisch zum Haupt-Content Panel
   ===================================================== */

/* (keine Design-Änderung) */
/* Optimierung: keine doppelten Selektoren / klare Reihenfolge */

.about-section{
  margin-top: 20px;
}

.about-section .about-container{
  max-width: 1100px;
  margin: 0 auto;
}

/* Layout */
.about-section .about-grid{
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 26px;
  align-items: start;
}

/* ===============================
   TEXT GLASS PANEL
================================= */
.about-section .about-text{
  background: rgba(22,26,32,.38);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  position: relative;
  overflow: hidden;
}

/* Light reflex */
.about-section .about-text::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 24px;
  pointer-events:none;
  background:
    radial-gradient(800px 260px at 20% 10%, rgba(255,122,0,0.08), transparent 65%),
    radial-gradient(600px 200px at 80% 0%, rgba(255,255,255,0.05), transparent 60%);
  opacity:.8;
}

/* Headings */
.about-section .about-text h2{
  font-size: 2.3rem;
  margin-bottom: 18px;
  font-weight: 800;
  position: relative;
}

.about-section .about-text h2::after{
  content:"";
  width: 60px;
  height: 4px;
  background: #ff7a00;
  display: block;
  margin-top: 10px;
}

.about-section .about-text h3{
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 750;
  color: rgba(255,255,255,.95);
}

.about-section .about-text p{
  color: rgba(255,255,255,.88);
  line-height: 1.85;
  margin-bottom: 18px;
}

/* ===============================
   HIGHLIGHT GLASS CARD
================================= */
.about-section .about-card{
  background: rgba(22,26,32,.50);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  position: relative;
  overflow: hidden;
}

.about-section .about-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(255,122,0,.10), transparent 70%);
  pointer-events:none;
}

/* Card Title */
.about-section .about-card h3{
  margin-bottom: 20px;
  color: #ff7a00;
  font-weight: 800;
}

/* List */
.about-section .about-card ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-section .about-card li{
  margin-bottom: 14px;
  padding-left: 18px;
  position: relative;
  color: rgba(255,255,255,.88);
}

.about-section .about-card li::before{
  content:"▹";
  position:absolute;
  left:0;
  color:#ff7a00;
}

/* =====================================================
   TIMELAPSE PAGE — Clean Premium (3x Grid + Modal)
   ===================================================== */

/* Page wrapper */
.timelapse-page{
  max-width: 1200px;
  margin: 0 auto;
}

/* Head */
.timelapse-head{
  margin: 0 0 18px;
}
.timelapse-head h1{
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 850;
  color: rgba(255,255,255,.96);
}
.timelapse-head p{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.8;
}

/* Grid: always 3 on desktop */
.timelapse-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Card */
.timelapse-card{
  background: rgba(22,26,32,.34);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 14px;
  position: relative;
  overflow: hidden;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 55px rgba(0,0,0,.40);

  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.timelapse-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,122,0,.22);
  box-shadow: 0 22px 65px rgba(0,0,0,.55);
}

/* Thumb: fixed 16:9 */
.timelapse-thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

.timelapse-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.timelapse-card:hover .timelapse-thumb img{
  transform: scale(1.06);
}

/* Play badge */
.timelapse-play{
  position: absolute;
  inset: auto auto 12px 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  box-shadow: 0 12px 35px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.timelapse-play::before{
  content:"";
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-left: 11px solid rgba(255,122,0,.95);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  filter: drop-shadow(0 0 10px rgba(255,122,0,.18));
}

/* Title */
.timelapse-card h3{
  margin: 12px 4px 2px;
  font-size: 15.5px;
  font-weight: 800;
  color: rgba(255,255,255,.94);
}

/* Responsive */
@media (max-width: 1200px){
  .timelapse-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .timelapse-head h1{ font-size: 30px; }
  .timelapse-grid{ grid-template-columns: 1fr; }
}

/* =====================================================
   MODAL — YouTube
   ===================================================== */

.video-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* toggled via .is-open */
}

.video-modal.is-open{
  display: block;
}

.video-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.video-modal__panel{
  position: relative;
  width: min(1000px, calc(100% - 32px));
  margin: 8vh auto 0;
  background: rgba(22,26,32,.45);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.70);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  padding: 16px;
}

.video-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
}
.video-close:hover{
  border-color: rgba(255,122,0,.28);
  box-shadow: 0 0 12px rgba(255,122,0,.25);
}

/* 16:9 player */
.video-container{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35);
}

.video-container iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =====================================================
   16) RESPONSIVE (ALL 3 VIEWS)
   ===================================================== */

/* Tablet + Mobile: header logo + component padding + blog stack */
@media (max-width: 991px){
  #sp-header .logo img{ width: 180px !important; }
  #sp-component{ padding: 26px !important; border-radius: 18px !important; }
  .com-content-category-blog .items-row{ flex-direction: column; }
  .com-content-category-blog .item-image img{ height: 180px; }

  .hero-split{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-split__content{
    padding: 18px;
    border-radius: 18px;
  }
  .hero-split__content h1{ font-size: 28px; }
  .hero-split__media img{ border-radius: 18px; }

  .about h1{ font-size: 34px; }
  .about article{
    font-size: 16px;
    padding: 0 15px;
  }

  .legal-grid{ grid-template-columns: 1fr; }
  .legal-dl__row{ grid-template-columns: 1fr; gap: 6px; }
  .legal-head h1{ font-size: 28px; }

  .about-section .about-grid{ grid-template-columns: 1fr; }
  .about-section .about-text{ padding: 24px; border-radius: 18px; }
  .about-section .about-card{ border-radius: 18px; }
}

/* Smaller tablet width: legacy about-grid (old block) */
@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; }
}
/* =====================================================
   HELIX ULTIMATE — OFFCANVAS / MOBILE MENU
   passend zu deinem Carbon + Premium Glass Style
   ===================================================== */

/* Offcanvas Panel (der Slide-In Bereich) */
.offcanvas-menu,
.offcanvas-inner,
.offcanvas {
  background: var(--glass) !important;
  border-left: 1px solid var(--glassBorder) !important;
  box-shadow: var(--glassShadow) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text) !important;
}

/* Optional: leichte “Reflexion” wie bei #sp-component */
.offcanvas-inner::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(800px 260px at 20% 10%, rgba(255,122,0,0.08), transparent 65%),
    radial-gradient(600px 200px at 80% 0%, rgba(255,255,255,0.05), transparent 60%);
  opacity:.8;
}

/* Links im Offcanvas Menü */
.offcanvas-menu a,
.offcanvas-inner a,
.offcanvas .nav a {
  color: rgba(255,255,255,.88) !important;
  font-weight: 650;
  letter-spacing: .15px;
  text-decoration: none !important;
}

/* Hover / Active */
.offcanvas-menu a:hover,
.offcanvas-inner a:hover,
.offcanvas .nav a:hover{
  color: var(--accent) !important;
  background: rgba(255,122,0,.10) !important;
  border-radius: 12px;
}

.offcanvas-menu .active > a,
.offcanvas .nav .current > a,
.offcanvas .nav .active > a{
  color: var(--accent) !important;
  background: rgba(255,122,0,.12) !important;
  border-radius: 12px;
}

/* Menü-Items spacing (mobile) */
.offcanvas-menu .nav > li > a,
.offcanvas .nav > li > a{
  padding: 12px 14px !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.offcanvas-menu .nav > li:last-child > a,
.offcanvas .nav > li:last-child > a{
  border-bottom: none;
}

/* Dropdown/Submenu im Offcanvas */
.offcanvas-menu .nav .nav-child,
.offcanvas .nav .nav-child{
  margin: 6px 0 10px;
  padding: 8px 10px;
  background: rgba(0,0,0,.18) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 14px;
}

.offcanvas-menu .nav .nav-child a,
.offcanvas .nav .nav-child a{
  padding: 10px 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.82) !important;
}
.offcanvas-menu .nav .nav-child li:last-child a,
.offcanvas .nav .nav-child li:last-child a{
  border-bottom: none;
}

/* Close Button (X) im Offcanvas */
.close-offcanvas,
.offcanvas .close-offcanvas{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(0,0,0,.28) !important;
  color: rgba(255,255,255,.92) !important;
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  transition: .2s ease;
}
.close-offcanvas:hover{
  border-color: rgba(255,122,0,.28) !important;
  box-shadow: 0 0 12px rgba(255,122,0,.25);
}

/* Burger Icon im Header (heller, passend zum Style) */
#offcanvas-toggler > i,
#offcanvas-toggler,
.burger-icon,
.burger-icon > span{
  color: rgba(255,255,255,.90) !important;
}
.burger-icon > span{
  background: rgba(255,255,255,.88) !important;
}

/* Optional: Offcanvas Overlay etwas “premium” */
.offcanvas-overlay{
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* =====================================================
   PHOCA GALLERY – PREMIUM DARK THEME
   Helix Ultimate + Joomla 6
   Logo Farben: Orange #FA8708 / Gold #FED015
===================================================== */

/* ---------- GRID SPACING + CENTER ---------- */

body.hu.com_phocagallery #phocagallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;

  /* Zentrierung */
  justify-content: center;

  /* Optional: Galerie nicht zu breit auf großen Screens */
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- CATEGORY CARD ---------- */

body.hu.com_phocagallery #phocagallery .pg-category-box {
  position: relative !important;

  /* Desktop: 3 pro Reihe */
  width: calc((1200px - (24px * 2)) / 3);
  max-width: 360px;
  min-width: 260px;

  overflow: hidden !important;
  background: #1e293b;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 34px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

/* Hover Effekt */
body.hu.com_phocagallery #phocagallery .pg-category-box:hover {
  transform: translateY(-6px);
  border-color: rgba(250,135,8,.55);
  box-shadow:
    0 18px 55px rgba(0,0,0,.60),
    0 0 28px rgba(250,135,8,.25);
}

/* ---------- IMAGE ---------- */

body.hu.com_phocagallery #phocagallery .pg-category-box img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block;
  transition: transform .3s ease;
}

body.hu.com_phocagallery #phocagallery .pg-category-box:hover img {
  transform: scale(1.05);
}

/* ---------- OVERLAY TITLE ---------- */

body.hu.com_phocagallery #phocagallery .pg-category-box > div:nth-child(2) {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 18px;
  margin: 0 !important;

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.45) 40%,
    rgba(0,0,0,.90) 100%
  ) !important;

  backdrop-filter: blur(6px);
  z-index: 5;
}

/* Akzentlinie oben im Overlay */
body.hu.com_phocagallery #phocagallery .pg-category-box > div:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FA8708, #FED015);
}

/* Titel */
body.hu.com_phocagallery #phocagallery .pg-category-box > div:nth-child(2) a {
  color: #ffffff !important;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: .3px;
  text-decoration: none !important;
  display: block;

  /* Lange Titel sauber */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover Farbe */
body.hu.com_phocagallery #phocagallery .pg-category-box:hover > div:nth-child(2) a {
  color: #FED015 !important;
  text-shadow: 0 0 12px rgba(254,208,21,.30);
}

/* ---------- COUNT / SMALL TEXT ---------- */

body.hu.com_phocagallery #phocagallery small {
  color: rgba(255,255,255,.75) !important;
}

/* ---------- OPTIONAL: Powered by entfernen ---------- */

body.hu.com_phocagallery #phocagallery .pg-poweredby,
body.hu.com_phocagallery #phocagallery .phocagallery-footer,
body.hu.com_phocagallery #phocagallery .phocagallery-copyright {
  display: none !important;
}

/* ---------- Feed / RSS Link ausblenden ---------- */

body.hu.com_phocagallery a[href*="format=feed"] {
  display: none !important;
}

/* ---------- RESPONSIVE (3 Ansichten) ---------- */

/* Tablet: 2 pro Reihe */
@media (max-width: 1024px) {
  body.hu.com_phocagallery #phocagallery {
    max-width: 900px;
    gap: 20px;
  }

  body.hu.com_phocagallery #phocagallery .pg-category-box {
    width: calc((900px - 20px) / 2);
    max-width: 420px;
    min-width: 260px;
  }
}

/* Mobile: 1 pro Reihe */
@media (max-width: 600px) {
  body.hu.com_phocagallery #phocagallery {
    max-width: 520px;
    gap: 16px;
    padding: 0 8px;
  }

  body.hu.com_phocagallery #phocagallery .pg-category-box {
    width: 100%;
    max-width: 520px;
    min-width: 0;
  }

  body.hu.com_phocagallery #phocagallery .pg-category-box img {
    height: 180px !important;
  }
}