/* ============================================================
   JUNKERS KUNDENDIENST WIEN — REDESIGN
   Bold & Trust-Building Theme
   ============================================================ */

:root {
  --jk-dark:   #0d1b2a;
  --jk-navy:   #1a2744;
  --jk-orange: #e85d04;
  --jk-orange-hover: #c94d02;
  --jk-blue:   #0077b6;
  --jk-light:  #f4f6f9;
  --jk-text:   #212529;
}

/* ---- BASE ---- */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--jk-text);
  background: #fff;
}

/* ---- UNIFIED NAVBAR ---- */
.jk-navbar {
  background: var(--jk-dark) !important;
  padding: 0 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  z-index: 1030;
}

.jk-navbar .navbar-brand img {
  height: 46px;
  width: auto;
}

.jk-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.jk-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.jk-navbar .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.1rem 0.8rem !important;
  transition: color 0.15s;
}

.jk-navbar .nav-link:hover,
.jk-navbar .nav-link.active {
  color: #fff !important;
}

.jk-phone-btn {
  background: var(--jk-orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.55rem 1.2rem;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.15s;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.jk-phone-btn:hover {
  background: var(--jk-orange-hover);
  color: #fff !important;
}

/* Hide the old double-navbar (city/service pages) */
nav#nav,
nav#VAILLANT,
#willkommen {
  display: none !important;
}

/* ---- TRUST BAR ---- */
.jk-trust-bar {
  background: var(--jk-orange);
  padding: 0.65rem 0;
}

.jk-trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.jk-trust-item {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.jk-trust-item i {
  font-size: 1rem;
}

/* ---- HERO ---- */
.jk-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--jk-dark) 0%, var(--jk-navy) 100%);
  overflow: hidden;
}

.jk-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/Junkers Thermentausch.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.jk-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 700px;
}

.jk-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.jk-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.jk-btn-primary {
  background: var(--jk-orange);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, transform 0.1s;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.jk-btn-primary:hover {
  background: var(--jk-orange-hover);
  color: #fff;
  transform: translateY(-1px);
}

.jk-btn-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.55);
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 0.5rem;
}

.jk-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ---- SECTIONS ---- */
.jk-section {
  padding: 3.5rem 0;
}

.jk-section-gray {
  background: var(--jk-light);
}

.jk-section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--jk-dark);
  margin-bottom: 1rem;
  text-align: left;
  padding-top: 0;
  padding-bottom: 0;
}

.jk-section-text {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  text-align: left !important;
  margin-bottom: 1rem;
}

/* ---- SERVICE CARDS ---- */
.jk-service-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jk-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
}

.jk-service-icon {
  width: 68px;
  height: 68px;
  background: var(--jk-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.jk-service-icon i {
  font-size: 1.75rem;
  color: var(--jk-orange);
}

.jk-service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jk-dark);
  margin-bottom: 0.75rem;
  padding: 0;
}

.jk-service-card p {
  font-size: 0.9rem;
  color: #666;
  flex-grow: 1;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.jk-card-link {
  color: var(--jk-orange);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: auto;
}

.jk-card-link:hover {
  text-decoration: underline;
  color: var(--jk-orange-hover);
}

/* ---- FEATURE LIST ---- */
.jk-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jk-feature-list li {
  padding: 0.35rem 0 0.35rem 1.75rem;
  position: relative;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.jk-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--jk-orange);
  font-weight: 800;
}

/* ---- NOTICE BAR ---- */
.jk-notice {
  background: #fff3cd;
  border-left: 4px solid var(--jk-orange);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #664d03;
  border-radius: 0 4px 4px 0;
}

/* ---- CTA BANNER ---- */
.jk-cta-banner {
  background: linear-gradient(135deg, var(--jk-dark) 0%, var(--jk-navy) 100%);
  padding: 3.5rem 1rem;
  text-align: center;
}

.jk-cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  padding: 0;
}

.jk-cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.jk-phone-large {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--jk-orange);
  text-decoration: none;
  display: block;
  margin-bottom: 1.25rem;
  transition: color 0.15s;
}

.jk-phone-large:hover {
  color: #fff;
}

/* ---- FOOTER ---- */
.jk-footer {
  background: var(--jk-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 0;
}

.jk-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0;
}

.jk-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jk-footer ul li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.jk-footer ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.jk-footer ul li a:hover {
  color: #fff;
}

.jk-footer-phone {
  color: var(--jk-orange) !important;
  font-weight: 700;
  font-size: 1.2rem;
}

.jk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.jk-footer-bottom a {
  color: rgba(255,255,255,0.35);
}

.jk-footer-bottom a:hover {
  color: rgba(255,255,255,0.7);
}

/* ---- CITY/SERVICE PAGE CONTENT IMPROVEMENTS ---- */
/* Override the inline-style text walls for readability */
section#Thermenwartung,
section#Thermentausch,
section#Leistungen,
section#Gas {
  padding: 1.5rem 1.5rem !important;
  max-width: 920px;
  margin: 0 auto;
}

section#Thermenwartung p,
section#Thermentausch p,
section#Leistungen p,
section#Gas p {
  text-align: left !important;
  color: #333 !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
}

section#Thermenwartung h2,
section#Thermenwartung h3,
section#Thermenwartung h4,
section#Thermenwartung h5,
section#Thermentausch h2,
section#Thermentausch h3,
section#Thermentausch h4,
section#Thermentausch h5,
section#Leistungen h2,
section#Leistungen h3,
section#Leistungen h4,
section#Leistungen h5,
section#Gas h2,
section#Gas h3,
section#Gas h4,
section#Gas h5 {
  font-size: 1.4rem !important;
  text-align: left !important;
  color: var(--jk-dark) !important;
  font-weight: 700 !important;
  margin: 1.75rem 0 0.6rem !important;
  width: 100% !important;
  padding: 0 !important;
}

section ul.lead {
  text-align: left !important;
  padding-left: 1.25rem !important;
  color: #333 !important;
  font-size: 1rem !important;
}

section ul.lead li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* City page hero (the image+br hack) */
section.bg-white .col-md-12.col-lg-6[style*="background: url"] {
  min-height: 320px !important;
}

section.bg-white .col-md-12.col-lg-6[style*="background: url"] p {
  display: none !important;
}

/* Page H1 / H2 on city pages */
h1.display-1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
  font-weight: 800;
  color: var(--jk-dark) !important;
  text-align: left;
  padding: 1rem 1.5rem 0.5rem;
}

h2.display-5 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important;
  font-weight: 700;
  color: var(--jk-dark) !important;
  text-align: left;
  padding: 0 1.5rem 0.75rem;
}

/* CTA link at bottom of city pages */
section.text-center > a[href="kontakt.html"] {
  display: inline-block !important;
  background: var(--jk-orange) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 0.85rem 2.5rem !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  margin: 2rem auto !important;
  transition: background 0.15s !important;
}

section.text-center > a[href="kontakt.html"]:hover {
  background: var(--jk-orange-hover) !important;
}

/* Call button in hero area */
.btn.btn-light.btn-lg[href^="tel:"] {
  background: var(--jk-orange) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  padding: 0.75rem 1.75rem !important;
  border-radius: 4px !important;
}

/* Override old footer, keep jk-footer on new pages */
.footer-dark.degra-azul {
  background: var(--jk-dark) !important;
}

/* ---- PAGE HERO (mini, service pages) ---- */
.jk-page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--jk-dark) 0%, var(--jk-navy) 100%);
  overflow: hidden;
}

.jk-page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.jk-page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.jk-page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  padding: 0;
}

.jk-page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  max-width: 600px;
  line-height: 1.7;
}

.jk-page-hero .jk-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.jk-page-hero .jk-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.jk-page-hero .jk-breadcrumb a:hover {
  color: rgba(255,255,255,0.8);
}

/* ---- ORANGE ACCENT DIVIDER ---- */
.jk-divider {
  width: 52px;
  height: 4px;
  background: var(--jk-orange);
  border-radius: 2px;
  margin: 0.75rem 0 1.25rem;
}

/* ---- SERVICE FEATURE CARDS ---- */
.jk-feat-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.jk-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.11);
}

.jk-feat-card-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--jk-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jk-feat-card-icon i {
  font-size: 1.3rem;
  color: var(--jk-orange);
}

.jk-feat-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jk-dark);
  margin-bottom: 0.25rem;
  padding: 0;
}

.jk-feat-card-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ---- INLINE HIGHLIGHT BOX ---- */
.jk-highlight-box {
  background: var(--jk-light);
  border-left: 4px solid var(--jk-orange);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.jk-highlight-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.jk-highlight-box strong {
  color: var(--jk-dark);
}

/* ---- PRODUCT SPEC CARDS (thermentausch) ---- */
.jk-product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

.jk-product-card-header {
  background: var(--jk-navy);
  color: #fff;
  padding: 1.25rem 1.75rem;
}

.jk-product-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 0;
}

.jk-product-card-header span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jk-product-card-body {
  padding: 1.5rem 1.75rem;
}

.jk-spec-table {
  width: 100%;
  font-size: 0.9rem;
  border-collapse: collapse;
}

.jk-spec-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.jk-spec-table td {
  padding: 0.5rem 0;
  vertical-align: top;
}

.jk-spec-table td:first-child {
  color: #666;
  width: 55%;
  padding-right: 1rem;
}

.jk-spec-table td:last-child {
  font-weight: 600;
  color: var(--jk-dark);
}

.jk-includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.jk-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jk-includes-list li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: #444;
}

.jk-includes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 800;
}

.jk-excludes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jk-excludes-list li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: #666;
}

.jk-excludes-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #999;
  font-weight: 700;
}

.jk-includes-box {
  background: var(--jk-light);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.jk-includes-box h5 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
  padding: 0;
}

.jk-includes-box.included h5 { color: #16a34a; }
.jk-includes-box.excluded h5 { color: #9ca3af; }

/* ---- CONTACT FORM ---- */
.jk-contact-form {
  background: var(--jk-light);
  border-radius: 12px;
  padding: 2rem 2.25rem;
}

.jk-contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jk-dark);
  margin-bottom: 0.35rem;
}

.jk-contact-form .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}

.jk-contact-form .form-control:focus {
  border-color: var(--jk-orange);
  box-shadow: 0 0 0 3px rgba(232,93,4,0.15);
  outline: none;
}

.jk-contact-form .btn-submit {
  background: var(--jk-orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2.5rem;
  border: none;
  border-radius: 6px;
  transition: background 0.15s;
  cursor: pointer;
}

.jk-contact-form .btn-submit:hover {
  background: var(--jk-orange-hover);
}

.jk-contact-info-card {
  background: var(--jk-dark);
  color: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}

.jk-contact-info-card h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding: 0;
}

.jk-contact-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.jk-contact-row i {
  color: var(--jk-orange);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  min-width: 20px;
}

.jk-contact-row p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.jk-contact-row a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ---- EMERGENCY / NOTDIENST ---- */
.jk-emergency-banner {
  background: #dc2626;
  padding: 1rem;
  text-align: center;
}

.jk-emergency-banner p {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}

.jk-emergency-banner a {
  color: #fff;
  text-decoration: underline;
}

.jk-safety-step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.jk-safety-step:last-child {
  border-bottom: none;
}

.jk-safety-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--jk-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.jk-safety-step p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.jk-safety-step strong {
  display: block;
  color: var(--jk-dark);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 767px) {
  .jk-hero {
    min-height: 420px;
  }

  .jk-hero-content {
    padding: 3rem 0;
  }

  .jk-trust-bar .container {
    gap: 0.75rem;
  }

  .jk-trust-item {
    font-size: 0.78rem;
  }

  .jk-section {
    padding: 2.5rem 0;
  }

  section#Thermenwartung,
  section#Thermentausch,
  section#Leistungen,
  section#Gas {
    padding: 1rem !important;
  }
}
