/*-----------------------------------------------------------
    Responsive
-------------------------------------------------------------*/
.dark-bg {
  background-color: rgba(17, 21, 23, 0.95);
}

/* === Slider: Headline auf kleineren Desktops & Tablets skalieren === */
@media (max-width: 1200px) {
  .slider-box .slider-item .inner-hero .info {
    padding: 0 6vw !important;
  }
  .slider-box .slider-item .inner-hero .info h1,
  .slider-box .slider-item .inner-hero .info .h1 {
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center;
    line-height: 1.1;
    font-size: clamp(28px, 8vw, 56px) !important;
  }
  .slider-box .slider-item .inner-hero .info .veiw-c {
    width: auto !important;
  }
}

/* === Tablet & Mobile (max-width: 992px) === */
@media (max-width: 992px) {
  html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
  }

  body {
    font-size: 16px;
  }

  main.inner-wrap {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  /* Logos & Hamburger-Farben */
  body .box-logo.logo-dark,
  body.dark-theme .box-logo.logo-light,
  body.nav-active .logo-light,
  body.c-wight .logo-light {
    display: block !important;
  }

  body .box-logo.logo-light,
  body.dark-theme .box-logo.logo-dark,
  body.nav-active .logo-dark,
  body.c-wight .logo-dark {
    display: none !important;
  }

  body .sidebar #menu-toggle #cross span,
  body .sidebar #menu-toggle #hamburger span {
    background: #000 !important;
  }

  body.dark-theme .sidebar #menu-toggle #cross span,
  body.dark-theme .sidebar #menu-toggle #hamburger span,
  body.nav-active .sidebar #menu-toggle #cross span,
  body.nav-active .sidebar #menu-toggle #hamburger span,
  body.c-wight .sidebar #menu-toggle #cross span,
  body.c-wight .sidebar #menu-toggle #hamburger span {
    background: #fff !important;
  }

  /* Sidebar & Navigation */
  .sidebar.left {
    bottom: auto;
    width: 100%;
    height: 65px;
    background-color: transparent !important;
  }

  .sidebar .box-logo {
    width: 50px;
    background-color: transparent;
    margin-left: 15px;
    padding-top: 20px;
  }

  .sidebar #menu-toggle {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    background-color: transparent;
    margin-right: 14px;
    margin-top: 14px;
  }

  .sidebar.right {
    bottom: 0;
    top: auto;
    width: 100%;
    height: 55px;
    position: relative;
  }

  .sidebar.right .copyright {
    transform: rotate(0deg);
    bottom: 20px;
    left: 30px;
  }

  .sidebar.light-bg {
    background-color: transparent;
  }

  .sidebar.right .contact-btn,
  .sidebar .box-social,
  .cursor,
  .box-sticky,
  .sidebar-right {
    display: none;
  }

  /* Vollbild-Menü & Zentrierung */
  .menu-full {
    left: -1px;
  }

  .menu-full .menu-container > ul {
    padding: 0 20px !important;
    text-align: center !important;
  }

  .menu-full .menu-container ul .menu-item a {
    font-size: 37px;
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .menu-full .menu-container ul .menu-item a sup,
  .menu-full .menu-container ul .menu-item a .item-label {
    display: block;
  }

  .menu-full .menu-container ul .menu-item .sub-menu .menu-item.menu-item-back a {
    font-size: 37px;
  }

  .menu-full .menu-container ul .menu-item .sub-menu .menu-item a {
    font-size: 25px;
    text-align: center !important;
  }

  /* Hero & Startseiten-Slider */
  header.hero .inner-hero {
    width: 100%;
  }

  header.hero .inner-hero .bg {
    width: 100%;
    inset: 0;
  }

  body.dark-theme header.hero .inner-hero .bg h3 {
    -webkit-text-stroke: 2px #fff;
  }

  body.dark-theme header.hero .inner-hero .bg .line {
    background-color: #fff;
  }

  .dsn-slider-img .bg-image {
    background-attachment: scroll;
  }

  .dsn-grid-nav-box {
    position: fixed;
    top: auto;
    bottom: 8px;
    z-index: 10;
  }

  .dsn-grid-nav-box .custom-logo-overlay {
    position: fixed;
    inset: auto 0 14px 0;
    transform: none;
    max-width: none;
    display: flex;
    justify-content: center;
  }

  .dsn-grid-nav-box .custom-logo-overlay img {
    max-width: 70vw;
    height: auto;
  }

  /* Seiten-Layouts (About, Projekte, Service, Kontakt) */
  .page-body .page-section {
    padding-bottom: 0 !important;
  }

  .main-box .page-body .page-section .box-info .box-about-item:last-child {
    min-height: auto !important;
  }

  .left-large {
    width: 100%;
    left: 0;
  }

  .col-large {
    width: 100%;
    padding: 0 30px 80px;
  }

  .page-sidebar {
    display: block;
    position: relative;
    width: 100%;
  }

  .page-sidebar:before {
    content: '';
    position: absolute;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.4;
  }

  .page-project {
    padding: 0 30px !important;
  }

  .page-blog-p .header-blog {
    padding-left: 60px;
  }

  .page-blog-p .post-item {
    display: block;
  }

  .page-blog-p .post-item .post-image {
    width: 100%;
    height: 350px;
  }

  .page-blog-p .post-item .post-content {
    width: 100%;
    flex: none;
    padding: 60px 60px 0;
  }

  .page-blog-p .post-item:last-child .post-content {
    padding-bottom: 0;
  }

  .contact-modal {
    right: -1px;
  }

  .contact-w {
    padding-top: 60px;
  }

  .contact-container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* === Smartphones (max-width: 767px) === */
@media (max-width: 767px) {
  .header-box .name-title h3 {
    font-size: 30px;
  }

  .slider-box .slider-item .inner-hero .info h1,
  .slider-box .slider-item .inner-hero .info .h1 {
    font-size: 40px;
  }

  .slider-box .slider-item .inner-hero .info .veiw-c span span:before,
  .slider-box .slider-item .inner-hero .info .veiw-c span span:after {
    display: none;
  }

  .slider-box .slider-item .inner-hero .info .veiw-c:hover span {
    transform: translateX(0px) translateZ(0);
  }

  .dsn-grid-nav-box {
    right: auto;
    left: 20px;
  }

  .page-project .meta-box .meta-item:last-child {
    margin-top: 15px;
  }

  .col-large {
    padding: 65px 20px;
  }

  .page-project .box-img-row {
    flex-direction: column;
  }

  .page-project .box-img-row div {
    padding: 0;
  }

  .page-project .box-img-row div:first-child {
    margin-bottom: 50px;
  }

  .post-item .post-content {
    padding: 60px 30px;
  }

  .main-box .page-body .page-section .box-info .box-about-item.box-about-work ul .table-list-item {
    display: block;
  }

  .main-box .page-body .page-section .box-info .box-about-item.box-about-work ul .table-list-item .item-date {
    width: 100%;
    margin-bottom: 10px;
    display: block;
  }

  .page-blog-p .header-blog h3 {
    font-size: clamp(25px, 6vw, 35px);
    line-height: 1.2;
    word-break: break-word;
  }
}

/* === Kleine Smartphones (max-width: 576px) === */
@media (max-width: 576px) {
  .slider-box .slider-item .inner-hero .info h1,
  .slider-box .slider-item .inner-hero .info .h1 {
    font-size: clamp(20px, 9.5vw, 34px) !important;
  }
}