/* RHN mobile refinement: desktop styles remain untouched. */
@media (min-width: 992px) {
  .header-style-1 .sticky-header,
  .header-style-1 .sticky-wrapper {
    height: 100px !important;
    min-height: 100px;
  }

  .header-style-1 .sticky-header,
  .header-style-1 .header-middle,
  .header-style-1 .main-bar {
    transition: none !important;
  }

  .header-style-1 .is-fixed .header-middle {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    min-height: 100px;
    padding: 0 !important;
  }
}

@media (max-width: 991px) {
  html { overflow-x: hidden; }
  body { overflow-x: hidden; font-size: 16px; }
  img, iframe, video { max-width: 100%; }

  .container,
  .city-page-wrap { width: 100%; padding-left: 20px; padding-right: 20px; }

  .header-style-1 .header-middle,
  .header-style-1 .header-middle .main-bar { min-height: 76px; }
  .header-style-1 .sticky-header,
  .header-style-1 .sticky-wrapper { height: 76px !important; min-height: 76px; }
  .header-style-1 .sticky-header,
  .header-style-1 .header-middle,
  .header-style-1 .main-bar { transition: none !important; }
  .header-style-1 .is-fixed .header-middle {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    min-height: 76px;
    padding: 0 !important;
  }
  .header-style-1 .header-middle .main-bar { display: flex; width: 100%; align-items: center; }
  .header-style-1 .logo-header { width: 190px; height: 76px; }
  .header-style-1 .logo-header .logo-header-inner { padding: 0 16px; }
  .header-style-1 .logo-header .logo-header-inner img { width: 164px; height: auto; }
  .header-style-1 .extra-nav { display: none !important; }
  .header-style-1 .header-info-wraper { display: block; flex: 1 1 auto; min-width: 60px; margin-left: auto; }
  .header-style-1 .main-bar-wraper,
  .header-style-1 .header-bottom,
  .header-style-1 .container-block,
  .header-style-1 .navigation-bar { width: 100%; }
  .header-style-1 .navbar-toggler { display: block !important; float: right; margin: 0 18px 0 auto; }
  .header-style-1 .navigation-left { display: flex; width: 100%; justify-content: flex-end; }
  .header-style-1 .header-nav {
    position: fixed !important;
    z-index: 1000;
    top: 76px !important;
    right: 0 !important;
    left: auto !important;
    display: block !important;
    width: min(320px, 88vw) !important;
    height: calc(100dvh - 76px) !important;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,.14);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s !important;
  }
  .header-style-1.mobile-sider-drawer-menu.active .header-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform .25s ease, visibility 0s !important;
  }
  body.rhn-mobile-menu-open { overflow: hidden; }
  .header-style-1 .header-nav .nav { display: block; width: 100%; padding: 8px 20px 18px; }
  .header-style-1 .header-nav .nav > li { display: block; width: 100%; border-bottom: 1px solid #eceeec; }
  .header-style-1 .header-nav .nav > li > a { display: block; min-height: 48px; padding: 14px 4px; line-height: 20px; }

  .twm-home2-bnr .twm-banner-left-content-section { padding: 80px 20px 55px !important; }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content { width: 100%; max-width: 620px; }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title {
    font-size: clamp(42px, 8vw, 62px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em;
  }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title em {
    font-size: clamp(34px, 7vw, 50px) !important;
    line-height: 1.08 !important;
  }
  .twm-home2-bnr .twm-banner-product-price { display: none; }

  .section-full { background-position: center; }
  .section-head { margin-bottom: 30px; }
  .twm-large-title { font-size: clamp(30px, 6vw, 43px) !important; line-height: 1.12 !important; }
  .site-button, .site-button-secondry { min-height: 46px; }

  .city-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; padding-bottom: 60px; }
  .city-hero h1 { font-size: clamp(36px, 7.5vw, 54px); }
  .city-layout { gap: 36px; padding-top: 58px; padding-bottom: 65px; }
  .city-content { min-width: 0; }
  .city-content h2 { font-size: clamp(27px, 5vw, 35px); }
  .city-content h3 { font-size: 23px; }
  .city-sidebar { position: static; }

  .city-hub-hero { padding: 72px 0 68px; }
  .city-hub-hero h1 { font-size: clamp(38px, 8vw, 58px); }
  .city-hub-section { padding: 65px 0 75px; }
  .city-hub-grid { gap: 20px; }
  .city-hub-card { min-height: 0; }

  .rhn-price-hero { padding: 70px 0 58px; }
  .rhn-price-hero h1 { font-size: clamp(38px, 8vw, 58px); }
  .rhn-price-section { padding: 55px 0 70px; }
  .rhn-price-content .container { box-sizing: border-box; width: 100%; max-width: 100%; margin-right: auto; margin-left: auto; }
  .rhn-price-board { box-sizing: border-box; width: 100%; max-width: 100%; padding: 0; }
  .rhn-price-board-head { align-items: flex-start; gap: 18px; }
  .rhn-price-groups { grid-template-columns: 1fr !important; }
  .rhn-price-actions { flex-wrap: wrap; }

  .rhn-unified-footer .footer-top { padding: 28px 0 35px; }
  .rhn-unified-footer .logo-footer { padding: 20px 24px 17px; }
  .rhn-unified-footer .ftr-right-section { padding-top: 35px; }
  .rhn-unified-footer .footer-top .widget.widget_about { margin-right: 0; }
  .rhn-footer-bottom-inner { padding: 20px; }
}

@media (max-width: 575px) {
  .container,
  .city-page-wrap { padding-left: 16px; padding-right: 16px; }

  .header-style-1 .header-middle,
  .header-style-1 .header-middle .main-bar,
  .header-style-1 .logo-header { min-height: 68px; height: 68px; }
  .header-style-1 .sticky-header,
  .header-style-1 .sticky-wrapper { height: 68px !important; min-height: 68px; }
  .header-style-1 .is-fixed .header-middle { min-height: 68px; height: 68px; }
  .header-style-1 .logo-header { width: 168px; }
  .header-style-1 .logo-header .logo-header-inner { padding: 0 12px; }
  .header-style-1 .logo-header .logo-header-inner img { width: 148px; }
  .header-style-1 .rhn-logo-lockup { width: 146px; }
  .header-style-1 .rhn-logo-lockup .rhn-logo-word { left: 41px; top: 21px; font-size: 9px; line-height: 1; }
  .header-style-1 .navbar-toggler { margin-right: 12px; }
  .header-style-1 .header-info-wraper { position: static !important; width: 60px !important; flex: 0 0 60px; }
  .header-style-1 .header-nav { top: 68px !important; height: calc(100dvh - 68px) !important; max-height: calc(100vh - 68px); }

  .twm-home2-bnr .twm-banner-left-content-section { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 0; padding: 64px 0 45px !important; }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content { width: 100%; max-width: 100%; padding: 0 !important; }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title {
    font-size: 34px !important;
    line-height: 1.08 !important;
  }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title em {
    font-size: 27px !important;
    white-space: normal;
  }
  .twm-home2-bnr .twm-banner-left-content-section .twm-banner-left-content .twm-banner-title > span {
    display: inline-block;
    padding-right: 8px;
  }
  .twm-home2-bnr .twm-banner-left-content p,
  .twm-home2-bnr .twm-bnr-discription { max-width: 100%; font-size: 15px !important; line-height: 1.6; }
  .twm-home2-bnr .twm-bnr-buttons { display: grid !important; grid-template-columns: 1fr; gap: 10px; }
  .twm-home2-bnr .twm-bnr-buttons a { width: 100%; margin: 0 !important; text-align: center; }

  .p-t120, .p-t100, .p-t90 { padding-top: 65px; }
  .p-b120, .p-b100, .p-b90 { padding-bottom: 65px; }
  .section-head { margin-bottom: 26px; }
  .twm-large-title { font-size: 31px !important; overflow-wrap: anywhere; }
  .twm-w-range-section-wrap .twm-large-title { font-size: 29px !important; }
  .twm-w-range-section .twm-cntr-with-icon .icon-media {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
  }
  .twm-w-range-section .twm-cntr-with-icon .icon-media img {
    width: auto !important;
    max-width: 50px !important;
    height: 50px !important;
    object-fit: contain;
  }

  .city-hero { gap: 24px; padding-top: 45px; padding-bottom: 52px; }
  .city-hero h1 { font-size: 35px; overflow-wrap: anywhere; }
  .city-hero img { width: 100%; box-shadow: 7px 7px 0 #2DBE60; }
  .city-layout { padding-top: 45px; padding-bottom: 52px; }
  .city-content h2 { font-size: 27px; overflow-wrap: anywhere; }
  .city-content h3 { font-size: 21px; }
  .city-card-grid, .city-links { grid-template-columns: 1fr; }
  .city-card { padding: 23px 20px; }
  .faq-item { padding: 0 16px; }
  .faq-question { gap: 12px; padding: 17px 0; font-size: 16px; }

  .city-hub-hero { padding: 54px 0; }
  .city-hub-hero h1 { font-size: 38px; }
  .city-hub-hero p { font-size: 16px; line-height: 1.6; }
  .city-hub-section { padding: 48px 0 58px; }
  .city-hub-intro h2 { font-size: 31px; }
  .city-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .city-filter button { width: 100%; padding: 11px 10px; }
  .city-filter button:first-child,
  .city-filter button:last-child { grid-column: 1 / -1; }
  .city-hub-grid { grid-template-columns: 1fr; }
  .city-hub-card img { height: 190px; }
  .city-hub-card-body { padding: 22px 20px 24px; }
  .city-hub-card-title { font-size: 22px; }
  .city-hub-cta { padding: 45px 0; }

  .rhn-price-hero { padding: 50px 0 42px; }
  .rhn-price-hero h1 { font-size: 38px; }
  .rhn-price-section { padding: 38px 0 52px; }
  .rhn-price-content .container { padding-right: 20px; padding-left: 20px; }
  .rhn-price-hero .rhn-price-kicker { max-width: 100%; font-size: 11px; letter-spacing: .14em; overflow-wrap: anywhere; }
  .rhn-price-hero p { max-width: 100%; }
  .rhn-price-board { margin: 0; padding: 0; border-radius: 10px; }
  .rhn-price-board-head { display: block; }
  .rhn-price-badge { display: inline-flex; margin-top: 14px; }
  .rhn-price-group { min-width: 0; }
  .rhn-price-row { grid-template-columns: minmax(0, 1fr) auto !important; align-items: center; gap: 12px; padding: 14px 15px; }
  .rhn-price-row > div { min-width: 0; }
  .rhn-price-row b { max-width: none; margin-left: auto; text-align: right !important; white-space: nowrap; }
  .rhn-price-actions { display: grid; }
  .rhn-price-actions a { width: 100%; text-align: center; }

  input.form-control,
  textarea.form-control,
  select.form-control { font-size: 16px; }

  .rhn-unified-footer .footer-top { padding: 20px 0 28px; }
  .rhn-unified-footer .logo-footer { padding: 17px 20px 14px; }
  .rhn-unified-footer .f-about-info { max-width: none; }
  .rhn-unified-footer .ftr-right-section { padding-top: 24px; }
  .rhn-unified-footer .ftr-right-section .row > div { width: 100%; }
  .rhn-unified-footer .widget { margin-bottom: 24px; }
  .rhn-unified-footer .widget-title { margin-bottom: 12px; }
  .rhn-footer-bottom-inner { gap: 14px; padding: 18px 14px; }
  .rhn-footer-credit { display: block; margin: 5px 0 0; }
  .rhn-footer-actions { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .rhn-footer-button { width: 100%; min-height: 46px; padding: 10px 8px; }
  .rhn-footer-button.rhn-cookie-reopen { grid-column: 1 / -1; }

  .rhn-cookie-banner { right: 10px !important; left: 10px !important; box-sizing: border-box; width: calc(100% - 20px) !important; max-width: none; max-height: calc(100vh - 20px); margin: 0 !important; overflow-x: hidden; overflow-y: auto; border-left-width: 4px; }
  .rhn-cookie-title { font-size: 21px; }
  .rhn-cookie-option { gap: 12px; }
  .rhn-cookie-btn { width: 100%; min-height: 46px; }

  .loading-area {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
  }
  .loading-area .loading-box { position: absolute; inset: 0; width: 100%; height: 100%; }
  .loading-area .loading-pic {
    position: absolute !important;
    inset: 0 !important;
    display: grid !important;
    width: 100vw !important;
    height: 100dvh !important;
    place-items: center !important;
    transform: none !important;
    text-align: center;
  }
  .loading-area .loading-pic .rhn-loader {
    margin: 0 auto !important;
    width: min(86vw, 300px) !important;
    padding: 28px 20px !important;
    border-radius: 18px !important;
  }
  .rhn-loader-icon { width: 58px !important; height: 58px !important; font-size: 25px !important; }
  .rhn-loader-brand { gap: 7px !important; }
  .rhn-loader-brand strong,
  .rhn-loader-brand span { font-size: 21px !important; }
  .rhn-loader-tagline { font-size: 8px !important; letter-spacing: .22em !important; }
  .rhn-loader-bar { width: min(190px, 70vw) !important; margin-top: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .rhn-loader-icon,
  .rhn-loader-bar span { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Desktop-Header: eine saubere Zeile ohne abgeschnittene Navigation */
@media (min-width: 992px) {
  .header-style-1 .logo-header {
    height: 100px;
    display: flex;
    align-items: center;
    flex: 0 0 260px;
  }

  .header-style-1 .logo-header .logo-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header-style-1 .header-info-wraper {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-style-1 .extra-nav {
    height: 100px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 18px;
  }

  .header-style-1 .extra-nav .extra-cell {
    display: block;
    padding: 0;
  }

  .header-style-1 .wt-topbar-left-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .header-style-1 .wt-topbar-left-info li,
  .header-style-1 .wt-topbar-left-info li:last-child {
    display: block;
    margin: 0;
    padding: 0;
  }

  .header-style-1 .wt-topbar-left-info li a {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
  }

  .header-style-1 .wt-topbar-left-info li a span {
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin-right: 10px;
    border-radius: 8px 8px 0 8px;
    font-size: 18px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-style-1 .logo-header {
    flex-basis: 190px;
  }

  .header-style-1 .extra-nav {
    display: none;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .header-style-1 .logo-header {
    flex-basis: 220px;
    width: 220px;
  }

  .header-style-1 .logo-header .logo-header-inner img,
  .header-style-1 .rhn-logo-lockup {
    width: 180px;
  }

  .header-style-1 .rhn-logo-lockup .rhn-logo-word {
    left: 59px;
    top: 17px;
    font-size: 14px;
  }

  .header-style-1 .header-nav .nav > li > a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 14px;
  }

  .header-style-1 .extra-nav {
    margin-left: 10px;
  }

  .header-style-1 .wt-topbar-left-info li a {
    font-size: 14px;
  }

  .header-style-1 .wt-topbar-left-info li a span {
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin-right: 7px;
    font-size: 16px;
  }
}
