/* ------------------------------------------------
   Refresh 2026 — redesign on top of the existing
   theme. Same brand colors (#ff9900 / #1b1b1b /
   #202125 / white), same pages, same structure —
   refreshed shapes, spacing, type and hierarchy.
------------------------------------------------ */

:root{
  --brand: #ff9900;
  --brand-dark: #e67e00;
  --ink: #202125;
  --ink-soft: #565857;
  --surface: #ffffff;
  --surface-soft: #f9f9f9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 34px 0 rgba(31, 35, 37, 0.08);
  --shadow-hover: 0 18px 44px 0 rgba(31, 35, 37, 0.14);
}

/* ---------- Typography ---------- */
h1 { font-size: 56px; line-height: 1.1; letter-spacing: -1px; }
h2 { font-size: 36px; letter-spacing: -0.5px; }
h3, h4, h5 { letter-spacing: 0.3px; }
h4, h5 { font-weight: 600; }
.section-title { margin-bottom: 44px; }
.lead { font-size: 17px; }

/* ---------- Top bar: calm, light instead of a solid orange block ---------- */
.top-bar.theme-bg {
  background-color: var(--surface) !important;
  border-bottom: 1px solid #eee;
}
.top-bar .topbar-link ul.list-inline {
  display: flex;
  flex-wrap: wrap;
  row-gap: 4px;
}
.header-2 .topbar-link li a,
.header-2 .topbar-link li a i {
  color: var(--ink-soft) !important;
  font-size: 13px;
  white-space: nowrap;
}
.header-2 .topbar-link li a i {
  color: var(--brand) !important;
}
.header-2 .topbar-link li a:hover,
.header-2 .topbar-link li a:hover i {
  color: var(--brand) !important;
}

/* ---------- Header ---------- */
#header-wrap {
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
#header-wrap.fixed-header {
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.fullscreen-banner h1 { text-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.fullscreen-banner .lead { margin-top: 6px; opacity: 0.95; }
.btn-hero {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 34px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(255, 153, 0, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-hero:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 153, 0, 0.4);
  color: #fff !important;
}

/* ---------- Info panel (Alle Kassen / Öffnungszeiten / Kontakt) ---------- */
.info-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  align-items: stretch;
}
.info-panel > div {
  position: relative;
  padding: 44px 40px;
}
.info-panel > div + div::before {
  content: "";
  position: absolute;
  left: 0; top: 15%;
  width: 1px; height: 70%;
  background: rgba(0,0,0,0.06);
}
.info-panel .theme-bg::before { display: none; }
.info-panel .working-hours li { border-top-color: rgba(0,0,0,0.08); }

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 153, 0, 0.12);
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 18px;
}
.info-panel .theme-bg .info-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.kassen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.kassen-list span {
  background: var(--surface-soft);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed rgba(255,255,255,0.25);
  padding: 11px 0 12px;
}
.contact-list li:first-child { border-top: none; padding-top: 0; }
.contact-list li:last-child { padding-bottom: 0; }
.contact-list i {
  width: 18px;
  flex: 0 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.contact-list a {
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.contact-list a:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .info-panel > div + div::before { display: none; }
  .info-panel > div { padding: 36px 32px; }
}

/* ---------- Soft, consistent shadows + rounded corners ---------- */
.box-shadow, .team-member, .post, .blog-details, .contact-main,
.navbar .dropdown-menu {
  box-shadow: var(--shadow);
}

.img-fluid, .team-images img, .post-image img, .gallery-item img,
#home-photo, .contact-main iframe {
  border-radius: var(--radius);
}

.team-member, .post, .gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.team-member .team-images img { border-radius: 0; }

/* A little more air in the photo gallery grid */
.popup-gallery.no-gutters { margin: -6px; }
.popup-gallery.no-gutters > [class*="col-"] { padding: 6px; }

/* ---------- Buttons & form controls ---------- */
.btn, button, input[type="submit"] { border-radius: var(--radius-sm); }
.navbar-toggler { border-radius: 8px; }
.btn-simple { font-weight: 500; }
.btn-simple:hover { text-decoration: none; }

/* ---------- Motion ---------- */
a, .btn, .team-member, .post, .gallery-item, img {
  transition: box-shadow .25s ease, transform .25s ease, color .2s ease, background .2s ease;
}
.team-member:hover, .post:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* ---------- Service cards (Leistungen grid, homepage teaser) ---------- */
.svc-grid { display: flex; flex-wrap: wrap; }
.svc-grid > [class*="col-"] { display: flex; }
.svc-card {
  background: var(--surface);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  width: 100%;
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.svc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
  border-left-color: var(--brand);
}
.svc-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.svc-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 153, 0, 0.12);
  color: var(--brand);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, color .25s ease;
}
.svc-card:hover .svc-icon {
  background: var(--brand);
  color: #fff;
}
.svc-card h5 {
  text-transform: none;
  font-size: 16px;
  margin-bottom: 0;
  color: var(--ink);
}
.svc-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 12px 0 0;
  line-height: 1.6;
}
.svc-card a { color: var(--brand); }
a.svc-card, a.svc-card:hover { text-decoration: none; }

.svc-intro {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- External link cards (Links page) ---------- */
.link-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  margin: -30px 0 40px;
}
.link-note i { color: var(--brand); margin-right: 6px; }

.link-grid { display: flex; flex-wrap: wrap; }
.link-grid > [class*="col-"] { display: flex; margin-bottom: 20px; }
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: var(--surface);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.link-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(4px);
  border-left-color: var(--brand);
  color: var(--ink);
  text-decoration: none;
}
.link-card .svc-icon { flex: 0 0 auto; margin-bottom: 0; }
.link-card:hover .svc-icon {
  background: var(--brand);
  color: #fff;
}
.link-card .link-title {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}
.link-card .link-external {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 13px;
  transition: color .25s ease, transform .25s ease;
}
.link-card:hover .link-external {
  color: var(--brand);
  transform: translate(2px, -2px);
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 34px;
}
.contact-info-row + .contact-info-row {
  border-top: 1px solid rgba(0,0,0,0.06);
}
.contact-info-row .svc-icon { margin-top: 2px; }
.contact-info-row h5 {
  text-transform: none;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink);
}
.contact-info-row p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0;
}
.contact-info-notice .svc-icon {
  background: rgba(226, 59, 59, 0.1);
  color: #e23b3b;
}
.contact-info-notice strong { color: var(--ink); }

@media (max-width: 575px) {
  .contact-info-row { flex-direction: column; gap: 12px; }
}

/* ---------- Contact page: info left, map right ---------- */
.contact-split { align-items: stretch; }
.contact-split > [class*="col-"] { display: flex; flex-direction: column; margin-bottom: 30px; }
.contact-split .contact-main {
  flex: 1 1 auto;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-split .contact-main iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

@media (max-width: 991px) {
  .contact-split .contact-main { min-height: 350px; }
  .contact-split .contact-main iframe { min-height: 350px; }
}

/* ---------- Gallery: whole photo is clickable, just zooms in on hover ---------- */
.gallery-item { cursor: pointer; }
.gallery-item a.popup-img { display: block; }
.gallery-item img {
  transform: scale(1) !important;
  transition: transform .6s cubic-bezier(.2,.7,.3,1) !important;
}
.gallery-item:hover img {
  transform: scale(1.08) !important;
}

.svc-teaser { text-align: center; }

/* ---------- Footer (single, merged block) ---------- */
.main-footer { padding: 60px 0 0; }
.footer-logo { height: 54px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-text { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-heading { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 12px; line-height: 1.6; }
.footer-links li i { color: var(--brand); width: 18px; margin-right: 6px; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.footer-legal a { color: rgba(255,255,255,0.75); text-decoration: none; margin-left: 18px; }
.footer-legal a:first-child { margin-left: 0; }
.footer-legal a:hover { color: var(--brand); }

@media (max-width: 575px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal a:first-child { margin-left: 0; }
}

/* ---------- Page-title band ---------- */
.page-title.grey-bg { border-bottom: 3px solid var(--brand); padding-bottom: 60px; }
.page-title .title { margin-bottom: 0; }

/* ---------- Rhythm ---------- */
section { padding: 90px 0; }

@media (max-width: 767px) {
  section { padding: 60px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
}

/* ---------- Cookie consent banner ---------- */
#cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: -220px;
  z-index: 10000;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 26px 30px;
  transition: bottom .4s ease;
}
#cookie-consent.is-visible { bottom: 20px; }
.cookie-consent-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 18px;
}
.cookie-consent-text a { color: var(--brand); font-weight: 600; }
.cookie-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-consent-decline,
.cookie-consent-accept {
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cookie-consent-decline {
  background: transparent;
  border-color: rgba(0,0,0,0.14);
  color: var(--ink-soft);
}
.cookie-consent-decline:hover { border-color: var(--ink-soft); color: var(--ink); }
.cookie-consent-accept {
  background: var(--brand);
  color: #fff;
}
.cookie-consent-accept:hover { background: var(--brand-dark); }

@media (max-width: 575px) {
  #cookie-consent { left: 12px; right: 12px; padding: 22px; }
  .cookie-consent-actions { flex-direction: column-reverse; }
  .cookie-consent-decline, .cookie-consent-accept { width: 100%; text-align: center; }
}

/* ---------- 404 page ---------- */
.error-page { padding: 110px 0; }
.error-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 60px 48px;
  text-align: center;
}
.error-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: rgba(255, 153, 0, 0.12);
  color: var(--brand);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-code {
  font-size: 72px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 10px;
}
.error-card h2 { font-size: 24px; color: var(--ink); margin-bottom: 14px; }
.error-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-bottom: 0; }
.error-card .btn-hero { margin-top: 32px; }
.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.error-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.error-links a:hover { color: var(--brand); }
@media (max-width: 575px) {
  .error-page { padding: 70px 0; }
  .error-card { padding: 44px 26px; }
  .error-code { font-size: 56px; }
}
