/* Tailwind migration layer (phase 1): global full-width layout and modern surfaces. */

:root {
  --brand-700: #1f38dd;
  --brand-800: #1f34b3;
  --brand-dark: #081a36;
  --surface: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --content-max: 1640px;
}

.site-shell .band-full {
  margin-left: 0;
  margin-right: 0;
}

html,
body {
  overflow-x: hidden;
}

html {
  font-size: 16px;
}

body {
  color: var(--text);
  background: #f1f5f9;
  font-family: "Open Sans", "Segoe UI", Tahoma, sans-serif;
}

.site-shell {
  font-size: 1rem;
}

.site-shell p {
  line-height: 1.58;
}

.site-shell input,
.site-shell select,
.site-shell textarea,
.site-shell .dpolg-control {
  font-size: 16px;
}

.site-shell.container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.site-shell a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-shell a:hover,
.site-shell a:focus {
  color: inherit;
  text-decoration: inherit;
  opacity: 1;
}

.site-shell img {
  max-width: 100%;
  height: auto;
}

.site-header-desktop-nav {
  display: none !important;
  gap: 1rem;
  white-space: nowrap;
  font-size: 0.95rem;
}

.site-header-mobile-nav {
  display: block;
}

.site-header-nav-link {
  gap: 0.45rem;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .site-header-desktop-nav {
    display: flex !important;
  }

  .site-header-mobile-nav {
    display: none !important;
  }
}

@media (min-width: 1536px) {
  .site-header-desktop-nav {
    gap: 1.25rem;
    font-size: 1rem;
  }

  .site-header-nav-link {
    gap: 0.55rem;
  }
}

@media (min-width: 1800px) {
  .site-header-desktop-nav {
    gap: 1.75rem;
    font-size: 1.075rem;
  }

  .site-header-nav-link {
    gap: 0.625rem;
  }
}

/* Floating labels (Sparhandy-like behavior in checkout/forms) */
.o2-floating-group,
.floating-group,
.sh-field {
  position: relative;
  padding-top: 0.8rem;
}

.o2-floating-group .o2-floating-control,
.floating-group .floating-control,
.sh-field .floating-control,
.o2-floating-group .dpolg-control,
.floating-group .dpolg-control,
.sh-field .dpolg-control {
  display: block;
  width: 100%;
  min-height: 3.3rem;
  border: 1px solid #bfdbfe;
  border-radius: 1rem;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.4;
  padding-top: 0.9rem !important;
  padding-bottom: 0.45rem !important;
  padding-left: 1rem;
  padding-right: 1rem;
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.o2-floating-group .o2-floating-label,
.floating-group .floating-label,
.sh-field .floating-label {
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  transform: translateY(-50%);
  margin: 0;
  padding: 0 0.45rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 500;
  color: #1f4f9a;
  pointer-events: none;
  transition: top 0.16s ease, transform 0.16s ease, font-size 0.16s ease, color 0.16s ease, background-color 0.16s ease;
  background: #ffffff;
  z-index: 2;
}

.o2-floating-group:focus-within .o2-floating-label,
.o2-floating-group.is-filled .o2-floating-label,
.floating-group:focus-within .floating-label,
.floating-group.is-filled .floating-label,
.sh-field:focus-within .floating-label,
.sh-field.has-value .floating-label {
  top: 0.8rem;
  transform: translateY(-50%);
  font-size: 0.82rem;
  font-weight: 500;
  color: #1f4f9a;
  background: #ffffff;
}

.o2-floating-group .o2-floating-control:focus,
.floating-group .floating-control:focus,
.sh-field .floating-control:focus {
  outline: none;
  border-color: #1f4f9a;
  box-shadow: 0 0 0 3px rgba(31, 79, 154, 0.12);
}

.o2-floating-group select.o2-floating-control,
.floating-group select.floating-control,
.sh-field select.floating-control,
.o2-floating-group select.dpolg-control,
.floating-group select.dpolg-control,
.sh-field select.dpolg-control {
  padding-top: 0.7rem !important;
  padding-bottom: 0.45rem !important;
}

.o2-floating-group input::placeholder,
.floating-group input::placeholder,
.sh-field input::placeholder,
.o2-floating-group textarea::placeholder,
.floating-group textarea::placeholder,
.sh-field textarea::placeholder {
  color: transparent;
}

.o2-floating-group textarea.o2-floating-control,
.floating-group textarea.floating-control,
.sh-field textarea.floating-control,
.o2-floating-group textarea.dpolg-control,
.floating-group textarea.dpolg-control,
.sh-field textarea.dpolg-control {
  min-height: 8rem;
  resize: vertical;
}

/* Top feature bar */
.site-shell #header_information {
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  justify-content: center;
  background: #02050c;
}

.site-shell #header_information > .col-md-12 {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 6px 20px;
}

.site-shell #header_information ul {
  margin: 0 auto;
  padding: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  list-style: none;
}

.site-shell #header_information li {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.site-shell #header_information .icon {
  width: auto;
  height: auto;
  margin-right: 6px;
  border-radius: 0;
  background: transparent;
}

.site-shell #header_information .icon .glyphicon {
  top: 0;
  color: #22c55e;
  font-size: 15px;
}

/* Hotline */
.site-shell section.hotline {
  margin-bottom: 0;
  background: linear-gradient(90deg, #0f172a, #1e293b);
}

.site-shell section.hotline > .col-md-12 {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 12px 22px;
}

.site-shell section.hotline .hotline {
  margin: 0;
  color: #e2e8f0;
}

.site-shell section.hotline .hotline strong,
.site-shell section.hotline .hotline a {
  color: #ffffff;
}

.site-shell section.hotline .small {
  color: #cbd5e1;
}

/* Hero */
.site-shell .head-background {
  position: relative;
  overflow: hidden;
  min-height: clamp(240px, 34vw, 470px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.site-shell .head-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 26, 54, 0.75) 0%, rgba(8, 26, 54, 0.2) 65%, rgba(8, 26, 54, 0.02) 100%);
}

.site-shell .head-background > a {
  position: relative;
  z-index: 1;
  display: block;
}

.site-shell .header-logo {
  max-width: 560px;
  padding: clamp(20px, 3vw, 42px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 60%, rgba(255, 255, 255, 0) 100%);
}

.site-shell .header-logo svg {
  width: auto;
  height: clamp(92px, 12vw, 146px);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

/* Main nav */
.site-shell .dpolg-main-nav {
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.site-shell .navbar-dpolg {
  position: sticky;
  top: 0;
  z-index: 1200;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #dbe3f0;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
  overflow: visible;
}

.site-shell .navbar-dpolg .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px 20px;
  overflow: visible;
}

.site-shell .navbar-dpolg .navbar-header {
  display: flex;
  align-items: center;
  float: left;
  flex-shrink: 0;
}

.site-shell .navbar-dpolg .navbar-brand {
  padding: 0;
  margin-right: 56px;
}

.site-shell .navbar-dpolg .nav-logo svg,
.site-shell .navbar-dpolg .nav-logo-image {
  display: block;
  width: auto;
  height: 62px;
}

.site-shell .navbar-dpolg .nav > li {
  border: 0;
}

.site-shell .navbar-dpolg .dropdown {
  position: relative;
}

.site-shell .navbar-dpolg .dropdown-native details {
  position: relative;
}

.site-shell .navbar-dpolg .dropdown-native summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.site-shell .navbar-dpolg .dropdown-native summary::-webkit-details-marker {
  display: none;
}

.site-shell .navbar-dpolg .dropdown-native .dropdown-summary {
  margin: 0 3px;
  padding: 11px 11px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.site-shell .navbar-dpolg .dropdown-native details[open] > .dropdown-summary {
  color: var(--brand-700);
  background: #eaf2ff;
}

.site-shell .navbar-dpolg .navbar-collapse {
  flex: 1 1 auto;
  margin-left: 10px;
  overflow: visible;
}

.site-shell .navbar-dpolg .navbar-collapse--force {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  padding-bottom: 0;
}

.site-shell .navbar-dpolg .nav.navbar-nav {
  float: none;
  margin: 0 auto;
  margin-top: 5px;
}

.site-shell .navbar-dpolg .nav > li > a {
  margin: 0 3px;
  padding: 11px 11px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.site-shell .navbar-dpolg .nav > li > a .glyphicon {
  display: none;
}

.site-shell .navbar-dpolg .nav > li > a .caret {
  margin-left: 4px;
}

.site-shell .navbar-dpolg .nav > li > a:hover,
.site-shell .navbar-dpolg .nav > li > a:focus,
.site-shell .navbar-dpolg .nav > li.active > a,
.site-shell .navbar-dpolg .nav > li.active > a:hover,
.site-shell .navbar-dpolg .nav > li.active > a:focus {
  color: var(--brand-700);
  background: #eaf2ff;
}

.site-shell .navbar-dpolg .dropdown-menu--var {
  min-width: 260px;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  margin-top: 0;
  padding: 9px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
  z-index: 1301;
}

/* Hover bridge: prevents menu from closing while moving cursor from nav item to dropdown */
.site-shell .navbar-dpolg .dropdown-menu--var::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.site-shell .navbar-dpolg .dropdown.open > .dropdown-menu--var {
  display: block !important;
}

.site-shell .navbar-dpolg .dropdown-native details[open] > .dropdown-menu--var {
  display: block !important;
}

.site-shell .navbar-dpolg .dropdown:hover > .dropdown-menu--var,
.site-shell .navbar-dpolg .dropdown:focus-within > .dropdown-menu--var,
.site-shell .navbar-dpolg .dropdown > a:focus + .dropdown-menu--var {
  display: block !important;
}

.site-shell .navbar-dpolg .dropdown-menu--var > li {
  border: 0;
}

.site-shell .navbar-dpolg .dropdown-menu--var > li > a {
  border-radius: 10px;
  padding: 6px 8px;
}

.site-shell .navbar-dpolg .dropdown-menu--var > li > a:hover,
.site-shell .navbar-dpolg .dropdown-menu--var > li > a:focus,
.site-shell .navbar-dpolg .li_head--active > a {
  background: #f8fbff;
}

.site-shell .sub-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-shell .sub-nav-list__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 4px;
}

.site-shell .sub-nav-list__text {
  color: #0f172a;
  font-weight: 700;
}

/* Bootstrap sets root font-size to 10px; scale up the Tailwind-based deals section text */
.is-home .site-shell .home-modern > div > h2 {
  font-size: 42px !important;
  line-height: 1.14 !important;
}

.is-home .site-shell .home-modern article h3 {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

.is-home .site-shell .home-modern article p {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.is-home .site-shell .home-modern article a,
.is-home .site-shell .home-modern article span {
  font-size: 13px !important;
}

/* Content wrapper */
.site-shell .site-content {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 26px) 30px;
}

.site-shell .site-content .max-w-7xl,
.site-shell .site-content .max-w-\[1280px\],
.site-shell .site-content .max-w-\[1440px\] {
  max-width: var(--content-max);
}

body:not(.is-home) .site-shell .navbar-dpolg {
  box-shadow: none;
}

body:not(.is-home) .site-shell .site-content {
  padding-top: 25px;
  padding-bottom: 42px;
}

.site-shell .breadcrumb {
  display: none;
}

/* Modern cards for legacy blocks */
.site-shell .site-content .panel,
.site-shell .site-content .question,
.site-shell .site-content .hardware,
.site-shell .site-content .vf_highlights,
.site-shell .site-content .o2_highlights,
.site-shell .site-content [class*="contract_box"],
.site-shell .site-content [class*="highlight-box"] {
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

/* Buttons */
.site-shell .btn {
  border-radius: 12px;
  border-width: 1px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.2s ease;
}

.site-shell .btn:hover,
.site-shell .btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.15);
}

.site-shell .btn-default {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.site-shell .btn-primary {
  background-color: var(--brand-700);
  border-color: var(--brand-700);
  color: #ffffff;
}

.site-shell .btn-info {
  background-color: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.site-shell .btn-warning {
  background-color: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}

/* Impressum page refresh */
.site-shell .impressum-page {
  padding-top: 25px;
  padding-bottom: 12px;
}

.site-shell .impressum-header-row {
  margin-bottom: 18px;
}

.site-shell .impressum-page h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 2.3vw, 44px);
  font-weight: 800;
  color: #0f2347;
}

.site-shell .impressum-lead {
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.65;
}

.site-shell .impressum-layout {
  display: flex;
  flex-wrap: wrap;
}

.site-shell .impressum-sidebar,
.site-shell .impressum-main {
  margin-bottom: 18px;
}

.site-shell .impressum-logo-wrap,
.site-shell .impressum-contact-card,
.site-shell .impressum-links-card,
.site-shell .impressum-section {
  background: #ffffff;
  border: 1px solid #dbe4f1;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.site-shell .impressum-logo-wrap {
  margin-bottom: 14px;
  padding: 20px 16px;
  text-align: center;
}

.site-shell .impressum-logo-wrap img {
  max-width: 140px;
  margin: 0 auto;
}

.site-shell .impressum-contact-card,
.site-shell .impressum-links-card,
.site-shell .impressum-section {
  padding: clamp(16px, 2vw, 24px);
}

.site-shell .impressum-contact-card p:last-child,
.site-shell .impressum-section p:last-child {
  margin-bottom: 0;
}

.site-shell .impressum-subline {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #475569;
}

.site-shell .impressum-contact-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.site-shell .impressum-contact-details a {
  font-weight: 700;
}

.site-shell .impressum-links-card {
  margin-top: 14px;
}

.site-shell .impressum-links-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #0f2347;
}

.site-shell .impressum-links li {
  margin-bottom: 8px;
}

.site-shell .impressum-links li:last-child {
  margin-top: 10px;
  margin-bottom: 0;
}

.site-shell .impressum-links a:not(.btn) {
  color: #1f4f9a;
  font-weight: 700;
}

.site-shell .impressum-contact-btn {
  width: 100%;
  padding: 11px 14px;
}

.site-shell .impressum-main {
  display: grid;
  gap: 14px;
}

.site-shell .impressum-section h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: #0f2347;
}

.site-shell .impressum-section p,
.site-shell .impressum-section address {
  color: #334155;
  font-size: 16px;
  line-height: 1.65;
}

.site-shell .impressum-section address {
  margin-bottom: 0;
}

.site-shell .impressum-section a {
  color: #1f4f9a;
  text-decoration: underline;
}

.site-shell .impressum-authority {
  margin-top: 8px;
}

/* About page refresh */
.site-shell .about-page {
  padding-top: 25px;
  padding-bottom: 12px;
}

.site-shell .about-header-row {
  margin-bottom: 16px;
}

.site-shell .about-page h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 2.3vw, 44px);
  font-weight: 800;
  color: #0f2347;
}

.site-shell .about-page h1 small {
  font-size: 0.55em;
  font-weight: 700;
  color: #1f4f9a;
}

.site-shell .about-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #334155;
}

.site-shell .about-layout {
  display: flex;
  flex-wrap: wrap;
}

.site-shell .about-side-card,
.site-shell .about-card,
.site-shell .about-visual-card,
.site-shell .about-facts-card {
  background: #ffffff;
  border: 1px solid #dbe4f1;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.site-shell .about-card {
  padding: 16px 18px;
  margin-bottom: 16px;
}

.site-shell .about-card h2 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 800;
  color: #0f2347;
}

.site-shell .about-card p:last-child {
  margin-bottom: 0;
}

.site-shell .about-side-card {
  padding: 0;
  overflow: hidden;
}

.site-shell .about-visual-card {
  padding: 20px;
  margin-bottom: 0;
  text-align: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-shell .about-visual-card img {
  width: 100%;
  max-width: 360px;
}

.site-shell .about-facts-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 1px solid #e2e8f0;
  padding: 16px 18px;
}

.site-shell .about-facts-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: #1f4f9a;
}

.site-shell .about-facts-card ul {
  margin: 0;
  padding-left: 20px;
}

.site-shell .about-facts-card li {
  margin-bottom: 8px;
  color: #334155;
  line-height: 1.6;
}

.site-shell .about-facts-card li:last-child {
  margin-bottom: 0;
}

/* Privacy page refresh */
.site-shell .privacy-page {
  padding-top: 25px;
  padding-bottom: 12px;
}

.site-shell .privacy-header-row {
  margin-bottom: 16px;
}

.site-shell .privacy-page h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 2.3vw, 44px);
  font-weight: 800;
  color: #0f2347;
}

.site-shell .privacy-page h1 small {
  font-size: 0.55em;
  font-weight: 700;
  color: #1f4f9a;
}

.site-shell .privacy-lead {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.65;
  color: #334155;
}

.site-shell .privacy-intro-card,
.site-shell .privacy-page .datenschutz {
  background: #ffffff;
  border: 1px solid #dbe4f1;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.site-shell .privacy-intro-card {
  padding: 16px 18px;
}

.site-shell .privacy-intro-card p:last-child {
  margin-bottom: 0;
}

.site-shell .privacy-page .row + .row {
  margin-top: 14px;
}

.site-shell .privacy-page .datenschutz {
  padding: 16px 18px;
}

.site-shell .privacy-page .datenschutz h3,
.site-shell .privacy-page .datenschutz h4 {
  margin: 0 0 10px;
  font-weight: 800;
  color: #0f2347;
}

.site-shell .privacy-page .datenschutz h3 {
  font-size: 23px;
}

.site-shell .privacy-page .datenschutz h4 {
  font-size: 20px;
}

.site-shell .privacy-page .datenschutz .seperator_small {
  display: none;
}

.site-shell .privacy-page .datenschutz p:last-child,
.site-shell .privacy-page .datenschutz ul:last-child {
  margin-bottom: 0;
}

.site-shell .privacy-page .datenschutz ul {
  padding-left: 22px;
}

.site-shell .privacy-page .datenschutz ul[style*="list-style:none"] {
  list-style: none;
  padding-left: 0;
}

.site-shell .privacy-page .datenschutz li {
  margin-bottom: 10px;
  color: #334155;
  line-height: 1.65;
}

.site-shell .privacy-page .datenschutz a {
  color: #1f4f9a;
  text-decoration: underline;
}

.site-shell #passwort-anfordern .subpage-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 3vw, 50px);
  line-height: 1.12;
  color: #0f2347;
}

.site-shell #passwort-anfordern .subpage-intro p {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.3;
  color: #1f2937;
}

.site-shell #passwort-anfordern .subpage-copy p {
  font-size: 18px;
  line-height: 1.68;
  color: #1f2937;
}

/* O2 offers page refresh */
.site-shell .o2-page {
  padding-top: 25px;
  padding-bottom: 12px;
}

.site-shell .o2-page .o2-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.site-shell .o2-page .o2-logo-col,
.site-shell .o2-page .o2-hero-copy {
  margin-bottom: 0;
}

.site-shell .o2-page .o2-hero-copy h1 {
  margin: 16px 0 8px;
  font-size: clamp(30px, 2.2vw, 42px);
  font-weight: 800;
  color: #0f2347;
  line-height: 1.25;
}

.site-shell .o2-page .notification {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.site-shell .o2-page .o2-netcheck-col .btn {
  margin-top: 16px !important;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.site-shell .o2-page .o2-intro-box {
  border: 1px solid #dbe4f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 10px 10px 14px;
}

.site-shell .o2-page .o2-benefits-list ul {
  margin: 0;
  padding-left: 22px;
}

.site-shell .o2-page .o2-benefits-list li {
  margin-bottom: 8px;
  color: #334155;
}

.site-shell .o2-page .o2-top-offers-head .content-description {
  max-width: 980px;
  margin: 0 auto;
}

.site-shell .o2-page .o2-offers-wrap {
  margin-top: 6px;
}

.site-shell .o2-page .o2-tariff-intro {
  padding-bottom: 14px !important;
}

.site-shell .o2-page .o2-tariff-intro-title {
  display: inline-block;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.15;
  color: #010b9b;
  font-weight: 900;
}

.site-shell .o2-page .o2-tariff-intro-copy {
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 1.5vw, 28px);
  line-height: 1.45;
  color: #475569;
}

.site-shell .o2-page .cards-row {
  margin-left: -12px !important;
  margin-right: -12px !important;
  padding: 16px 10px !important;
}

.site-shell .o2-page .cards-row > [class*="col-"] {
  padding-left: 12px !important;
  padding-right: 12px !important;
  padding-bottom: 16px !important;
}

.site-shell .o2-page .card-flex {
  border-radius: 18px !important;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2) !important;
}

.site-shell .o2-page .card-flex h2:first-of-type {
  font-size: clamp(30px, 2.2vw, 40px) !important;
  line-height: 1.2 !important;
}

.site-shell .o2-page .card-flex h2:nth-of-type(2) {
  font-size: clamp(74px, 6.2vw, 128px) !important;
  line-height: 0.98 !important;
}

.site-shell .o2-page .card-flex button {
  border-radius: 14px !important;
}

.site-shell .o2-page .card-flex a[href*="produkt-infoblatt"] {
  font-weight: 700;
  text-decoration: underline;
}

/* Service page refresh */
.site-shell .service-page {
  padding-bottom: 12px;
  padding-top: 25px;
}

.site-shell .service-page .breadcrumb {
  margin-bottom: 12px;
}

.site-shell .service-page h1 {
  margin: 0 0 6px;
  font-size: clamp(30px, 2.3vw, 44px);
  font-weight: 800;
  color: #0f2347;
}

.site-shell .service-page .content-description {
  max-width: none;
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
}

.site-shell .service-page hr {
  border-top: 1px solid #dbe4f1;
  margin: 18px 0;
}

.site-shell .service-page .top-mobile-offers-standard {
  margin-bottom: 14px;
  color: #0f2347;
}

.site-shell .service-page .nav.nav-tabs {
  margin-top: 10px;
  border-bottom: 0;
  display: flex;
  gap: 10px;
}

.site-shell .service-page .nav.nav-tabs > li {
  float: none;
}

.site-shell .service-page .nav.nav-tabs > li > a {
  border: 1px solid #d5deec;
  border-radius: 10px;
  background: #f8fbff;
  color: #1e293b;
  font-weight: 700;
  padding: 10px 18px;
}

.site-shell .service-page .nav.nav-tabs > li.active > a,
.site-shell .service-page .nav.nav-tabs > li.active > a:hover,
.site-shell .service-page .nav.nav-tabs > li.active > a:focus {
  border-color: #1f4f9a;
  background: #1f4f9a;
  color: #ffffff;
}

.site-shell .service-page .tab-content {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #dbe4f1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.site-shell .service-page .tab-content h3 {
  margin-top: 0;
  color: #0f2347;
  font-weight: 800;
}

.site-shell .service-page .tab-content .panel {
  border: 1px solid #dbe4f1;
  border-radius: 14px;
  box-shadow: none;
}

.site-shell .service-page .tab-content .panel-heading {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  font-weight: 800;
}

.site-shell .service-page .tab-content .panel-body {
  padding: 18px;
}

.site-shell .service-page .dpolg-control {
  height: auto;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  background: #f8fbff;
}

.site-shell .service-page .dpolg-control:focus {
  border-color: #3f67ff;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(63, 103, 255, 0.14);
}

.site-shell .service-page .btn {
  border-radius: 12px;
}

.site-shell .service-page button[name="kuendigung"] {
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f4f9a 0%, #1f38dd 100%);
  border: 0;
}

.site-shell .service-page .nc-site-body .btn.btn-default {
  margin-top: 16px !important;
  border: 1px solid #c8d6ee;
  background: #ffffff;
  color: #0f2347;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  min-height: 114px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-shell .service-page .nc-site-body .btn.btn-default:hover,
.site-shell .service-page .nc-site-body .btn.btn-default:focus {
  background: #eef4ff;
  border-color: #8fb0e5;
}

.site-shell .service-page .panel-body[style*="font-size:12px"] {
  border-left: 4px solid #ef4444;
  background: #fff7f7;
  color: #7f1d1d !important;
  border-radius: 10px;
}

.site-shell .service-page.service-page-modern .service-hero-card {
  border: 1px solid #dbe4f1;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 22px 22px 16px;
  margin-bottom: 14px;
}

.site-shell .service-page.service-page-modern .service-hero-lead {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.72;
  color: #1f2937;
}

.site-shell .service-page.service-page-modern .service-hero-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: #475569;
}

.site-shell .service-page.service-page-modern .service-action-grid {
  margin-top: 4px;
  margin-bottom: 8px;
}

.site-shell .service-page.service-page-modern .service-action-card {
  border: 1px solid #dbe4f1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 18px 18px 12px;
  min-height: 100%;
}

.site-shell .service-page.service-page-modern .service-action-card h2 {
  margin: 0 0 10px;
  color: #0f2347;
  font-size: clamp(23px, 1.9vw, 31px);
  font-weight: 800;
}

.site-shell .service-page.service-page-modern .service-action-card p {
  margin-bottom: 14px;
  color: #334155;
}

.site-shell .service-page.service-page-modern .service-link-btn {
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #c8d6ee;
  background: #f8fbff;
  color: #163364;
  font-weight: 700;
  padding: 11px 12px;
}

.site-shell .service-page.service-page-modern .service-link-btn:hover,
.site-shell .service-page.service-page-modern .service-link-btn:focus {
  border-color: #8fb0e5;
  background: #eef4ff;
  color: #143c78;
}

.site-shell .service-page.service-page-modern .service-net-btn {
  margin-top: 8px !important;
  min-height: 112px;
  border-radius: 12px;
  border: 1px solid #c8d6ee;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.site-shell .service-page.service-page-modern .service-net-title {
  display: block;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-shell .service-page.service-page-modern .service-net-vf {
  color: #eb0b0b;
}

.site-shell .service-page.service-page-modern .service-net-o2 {
  color: #1d2673;
}

.site-shell .service-page.service-page-modern .service-form-shell {
  margin-top: 10px;
  border: 1px solid #dbe4f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  padding: 20px;
}

.site-shell .service-page.service-page-modern .service-form-shell h2 {
  margin: 0 0 8px;
  color: #0f2347;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 800;
}

.site-shell .service-page.service-page-modern .service-form-lead {
  margin: 0 0 14px;
  color: #334155;
}

.site-shell .service-page.service-page-modern .service-panel {
  margin-bottom: 14px;
  border: 1px solid #dbe4f1;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
}

.site-shell .service-page.service-page-modern .service-panel .panel-heading {
  font-size: 16px;
}

.site-shell .service-page.service-page-modern .service-form-note {
  margin: 0 0 10px;
  color: #64748b;
}

.site-shell .service-page.service-page-modern .req {
  color: #dc2626;
}

.site-shell .service-page.service-page-modern .service-legal-note {
  margin-top: 14px;
  border-left: 4px solid #ef4444;
  background: #fff7f7;
  color: #7f1d1d;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
}

/* Service page sizing now relies on Tailwind text-* classes from template markup. */

/* FAQ page refresh */
/* Footer blocks */
.site-shell .info_bottom {
  margin-top: 24px;
  padding: 36px clamp(12px, 2vw, 26px);
  border-radius: 24px;
  background: linear-gradient(135deg, #0f274a 0%, #173b73 52%, #1f4f9a 100%);
  color: #dbeafe;
}

.site-shell .info_bottom a {
  color: #bfdbfe;
}

.site-shell .info_bottom h2,
.site-shell .info_bottom h3,
.site-shell .info_bottom strong {
  color: #ffffff;
}

.site-shell .footer_first {
  margin-left: 0;
  margin-right: 0;
  margin-top: 18px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: max(12px, calc((100vw - var(--content-max)) / 2));
  padding-right: max(12px, calc((100vw - var(--content-max)) / 2));
  background: #0b2346;
  color: #dbeafe;
}

.site-shell .footer_second {
  margin-left: 0;
  margin-right: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: max(12px, calc((100vw - var(--content-max)) / 2));
  padding-right: max(12px, calc((100vw - var(--content-max)) / 2));
  background: #081a36;
  color: #dbeafe;
}

.site-shell .footer_second .col-md-3 {
  margin-bottom: 16px;
}

.site-shell .footer_second a {
  color: #bfdbfe;
}

.site-shell .footer_second a:hover {
  color: #ffffff;
}

.site-shell .footer_third {
  margin-left: 0;
  margin-right: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: max(12px, calc((100vw - var(--content-max)) / 2));
  padding-right: max(12px, calc((100vw - var(--content-max)) / 2));
  background: #061427;
  color: #93c5fd;
}

.site-shell .footer_first > .col-md-12,
.site-shell .footer_third > .col-md-12 {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.site-shell #consent-in,
.site-shell #consent-out {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(191, 219, 254, 0.2);
}

/* Modal polish */
.site-shell .modal-content {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.24);
}

.site-shell .modal-header {
  border-bottom: 1px solid var(--line);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: #f8fafc;
}

.site-shell .modal-footer {
  border-top: 1px solid var(--line);
}

.site-shell .modal-body {
  background: #ffffff;
}

/* Homepage consent modal is outside legacy .site-shell wrapper */
#angebotsinfo .modal-content,
#angebotsinfo .modal-body {
  background: #ffffff !important;
  opacity: 1;
}

#angebotsinfo .modal-content {
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}

#angebotsinfo .modal-header,
#angebotsinfo .modal-footer {
  flex: 0 0 auto;
}

#angebotsinfo .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
  #angebotsinfo .modal-header {
    padding: 0.75rem 2.75rem 0.75rem 1rem;
  }

  #angebotsinfo .modal-title {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  #angebotsinfo .modal-body {
    padding: 1rem;
  }

  #angebotsinfo .modal-body .grid {
    gap: 1rem;
  }

  #angebotsinfo .modal-body img {
    max-height: 34vh;
  }

  #angebotsinfo .modal-footer {
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 768px) {
  .site-shell .navbar-dpolg .navbar-collapse {
    display: flex !important;
    justify-content: center;
    border-top: 0;
    box-shadow: none;
  }

  .site-shell .navbar-dpolg .nav.navbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    float: none;
    margin: 0 auto;
  }

  .site-shell .navbar-dpolg .nav.navbar-nav > li {
    float: none;
  }
}

@media (max-width: 991px) {
  .site-shell .head-background {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .site-shell .info_bottom,
  .site-shell .footer_first,
  .site-shell .footer_second,
  .site-shell .footer_third {
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  .site-shell .navbar-dpolg .container-fluid {
    padding: 6px 12px 7px;
  }

  .site-shell .navbar-dpolg .navbar-brand {
    margin-right: 0;
  }

  .site-shell .navbar-dpolg .nav-logo-image {
    height: 46px;
  }

  .is-home .site-shell #header_information {
    margin-top: 0;
  }

  .is-home .site-shell #header_information > .col-md-12 {
    padding: 8px 12px;
  }

  .is-home .site-shell #header_information li {
    width: 100%;
    text-align: center;
    white-space: normal;
    font-size: 12px;
  }

  .is-home .site-shell .home-hero > .col-md-12 {
    padding: 20px 12px 0;
  }

  .is-home .site-shell .home-hero__inner {
    display: block;
  }

  .is-home .site-shell .home-hero__content {
    padding-bottom: 0;
  }

  .is-home .site-shell .home-hero__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .is-home .site-shell .home-hero__visual {
    margin-top: 14px;
    text-align: center;
  }

  .is-home .site-shell .home-modern > div > h2 {
    font-size: 34px !important;
  }

  .site-shell #header_information li {
    width: 100%;
    text-align: center;
    white-space: normal;
    font-size: 12px;
  }

  .site-shell .navbar-dpolg .navbar-header {
    float: none;
  }

  .site-shell .navbar-dpolg .navbar-toggle {
    margin-top: 8px;
    margin-bottom: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
  }

  .site-shell .navbar-dpolg .navbar-collapse {
    border-top: 0;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }

  .site-shell .navbar-dpolg .nav > li > a {
    margin: 2px 0;
  }

  .site-shell .navbar-dpolg .dropdown-menu--var {
    position: static;
    float: none;
    width: 100%;
    box-shadow: none;
  }

  .site-shell .impressum-logo-wrap,
  .site-shell .impressum-contact-card,
  .site-shell .impressum-links-card,
  .site-shell .impressum-section {
    border-radius: 14px;
    padding: 16px;
  }

  .site-shell .impressum-links-title {
    font-size: 18px;
  }

  .site-shell .impressum-section h2 {
    font-size: 21px;
  }

  .site-shell .about-side-card,
  .site-shell .about-card,
  .site-shell .about-visual-card,
  .site-shell .about-facts-card {
    border-radius: 12px;
  }

  .site-shell .about-side-card {
    border-radius: 12px;
  }

  .site-shell .about-card,
  .site-shell .about-facts-card {
    padding: 14px;
  }

  .site-shell .about-card h2 {
    font-size: 22px;
  }

  .site-shell .service-page.service-page-modern .service-hero-card,
  .site-shell .service-page.service-page-modern .service-action-card,
  .site-shell .service-page.service-page-modern .service-form-shell {
    border-radius: 12px;
    padding: 14px;
  }

  .site-shell .service-page.service-page-modern .service-action-card h2 {
    font-size: 22px;
  }

  .site-shell .service-page.service-page-modern .service-link-btn {
    margin-bottom: 8px;
  }

  .site-shell .service-page.service-page-modern .service-net-btn {
    min-height: 96px;
  }

  .site-shell .privacy-intro-card,
  .site-shell .privacy-page .datenschutz {
    border-radius: 12px;
    padding: 14px;
  }

  .site-shell .privacy-page .datenschutz h3 {
    font-size: 20px;
  }

  .site-shell .privacy-page .datenschutz h4 {
    font-size: 18px;
  }

  .site-shell .o2-page .o2-intro-box {
    border-radius: 14px;
    padding: 10px 6px 12px;
  }

  .site-shell .o2-page .o2-hero-copy h1 {
    font-size: clamp(25px, 7.2vw, 34px);
    margin-top: 10px;
  }

  .site-shell .o2-page .o2-tariff-intro-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .site-shell .o2-page .o2-tariff-intro-copy {
    font-size: clamp(16px, 4.7vw, 22px);
  }

  .site-shell .o2-page .cards-row {
    padding: 12px 2px !important;
  }

  .site-shell .o2-page .card-flex {
    border-radius: 14px !important;
  }

  .site-shell .service-page .nav.nav-tabs {
    flex-wrap: wrap;
  }

  .site-shell .service-page .nav.nav-tabs > li {
    width: 100%;
  }

  .site-shell .service-page .nav.nav-tabs > li > a {
    text-align: center;
    margin-right: 0;
  }

  .site-shell .service-page .tab-content {
    padding: 14px;
    border-radius: 12px;
  }

  .site-shell .service-page .nc-site-body .btn.btn-default {
    min-height: 96px;
  }

}
