/* ==========================================================================
   KliniKhadra – Footer Styles
   Erwartet: CSS-Variablen aus common.css (--gold, --petrol, --font-display, etc.)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import (falls nicht bereits in common.css)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500&display=swap');


/* --------------------------------------------------------------------------
   Grundstruktur
   -------------------------------------------------------------------------- */
.kk-footer {
  position: relative;
  background-color: var(--off-black);
  color: rgba(250, 250, 248, 0.65);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.8;
  overflow: hidden;
}

.kk-footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* --------------------------------------------------------------------------
   Oberer Footer
   -------------------------------------------------------------------------- */
.kk-footer__top {
  padding: 5rem 0 4rem;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent) 1;
}

.kk-footer__top .kk-footer__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
}


/* --------------------------------------------------------------------------
   Logo & Brand
   -------------------------------------------------------------------------- */
.kk-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Logo */
.kk-logo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
}

.kk-logo-main {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.kk-logo-main em {
  font-style: italic;
  color: var(--gold);
}

.kk-logo-sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.4);
}

/* Claim */
.kk-footer__claim {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(250, 250, 248, 0.5);
  line-height: 1.7;
  margin: 0;
}

.kk-footer__claim em {
  font-style: italic;
  color: rgba(201, 168, 76, 0.7);
}

/* Trennlinie Brand */
.kk-footer__separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.25), transparent);
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.kk-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kk-footer__nav-label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.6);
  margin-bottom: 0.5rem;
}

.kk-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.kk-footer__nav ul li a {
  color: rgba(250, 250, 248, 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.kk-footer__nav ul li a:hover {
  color: var(--gold);
  padding-left: 0.4rem;
}


/* --------------------------------------------------------------------------
   Praxis-Spalten
   -------------------------------------------------------------------------- */
.kk-footer__praxis {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Header jeder Praxis */
.kk-footer__praxis-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kk-footer__praxis-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.35);
}

.kk-footer__praxis-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.kk-footer__praxis-name--serif {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Petrol-Akzent */
.kk-footer__praxis--petrol .kk-footer__praxis-name {
  color: var(--petrol-mid);
}

.kk-footer__praxis--petrol .kk-footer__praxis-label {
  color: rgba(42, 103, 120, 0.7);
}

/* Gold-Akzent */
.kk-footer__praxis--gold .kk-footer__praxis-name {
  color: var(--gold);
}

.kk-footer__praxis--gold .kk-footer__praxis-label {
  color: rgba(201, 168, 76, 0.6);
}


/* --------------------------------------------------------------------------
   Adresse
   -------------------------------------------------------------------------- */
.kk-footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.kk-footer__address p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(250, 250, 248, 0.55);
  font-size: 0.875rem;
  line-height: 1.65;
}

.kk-footer__address-name {
  font-weight: 400;
  color: rgba(250, 250, 248, 0.75) !important;
  font-size: 0.875rem !important;
}

.kk-footer__address a {
  color: rgba(250, 250, 248, 0.55);
  text-decoration: none;
  transition: color 0.25s ease;
}

.kk-footer__address a:hover {
  color: var(--gold);
}

/* Icon (SVG) */
.kk-footer__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.45;
}

.kk-footer__praxis--petrol .kk-footer__icon {
  color: var(--petrol-mid);
  opacity: 0.7;
}

.kk-footer__praxis--gold .kk-footer__icon {
  color: var(--gold);
  opacity: 0.7;
}


/* --------------------------------------------------------------------------
   Sprechzeiten
   -------------------------------------------------------------------------- */
.kk-footer__hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kk-footer__hours-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(42, 103, 120, 0.7);
}

.kk-footer__hours-table {
  border-collapse: collapse;
  width: 100%;
}

.kk-footer__hours-table td {
  padding: 0.15rem 0;
  font-size: 0.8rem;
  color: rgba(250, 250, 248, 0.5);
  vertical-align: top;
}

.kk-footer__hours-table td:first-child {
  width: 6rem;
  color: rgba(250, 250, 248, 0.7);
  font-weight: 400;
}


/* --------------------------------------------------------------------------
   ISO-Badge
   -------------------------------------------------------------------------- */
.kk-footer__iso {
  display: flex;
}

.kk-footer__iso-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(201, 168, 76, 0.04);
}

.kk-footer__iso-icon {
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
}

.kk-footer__iso-title {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.kk-footer__iso-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.35);
  margin-top: 0.15rem;
}


/* --------------------------------------------------------------------------
   CTA Button
   -------------------------------------------------------------------------- */
.kk-footer__cta {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.kk-footer__cta:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.35);
}


/* --------------------------------------------------------------------------
   Social Icons
   -------------------------------------------------------------------------- */
.kk-footer__social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.kk-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(250, 250, 248, 0.45);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.kk-footer__social-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Petrol-Hover */
.kk-footer__social-link:hover {
  border-color: var(--petrol-mid);
  color: var(--petrol-mid);
  background: rgba(42, 103, 120, 0.08);
  transform: translateY(-2px);
}

/* Gold-Hover */
.kk-footer__social-link--gold:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}


/* --------------------------------------------------------------------------
   Trennlinie
   -------------------------------------------------------------------------- */
.kk-footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
  margin: 0;
}


/* --------------------------------------------------------------------------
   Bewertungsportale
   -------------------------------------------------------------------------- */
.kk-footer__ratings {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.kk-footer__ratings-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.kk-footer__ratings-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.3);
}

.kk-footer__rating-link {
  font-size: 0.8rem;
  color: rgba(250, 250, 248, 0.45);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.kk-footer__rating-link:hover {
  color: var(--gold);
}

.kk-footer__ratings-dot {
  color: rgba(250, 250, 248, 0.2);
}


/* --------------------------------------------------------------------------
   Bottom Bar
   -------------------------------------------------------------------------- */
.kk-footer__bottom {
  padding: 1.5rem 0;
}

.kk-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.kk-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(250, 250, 248, 0.3);
  letter-spacing: 0.03em;
}

.kk-footer__legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kk-footer__legal a {
  font-size: 0.8rem;
  color: rgba(250, 250, 248, 0.35);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.kk-footer__legal a:hover {
  color: var(--gold);
}

.kk-footer__legal span {
  color: rgba(250, 250, 248, 0.15);
  font-size: 0.7rem;
}


/* --------------------------------------------------------------------------
   Scroll-to-Top Button
   -------------------------------------------------------------------------- */
.kk-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--off-black);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease,
              background 0.25s ease, border-color 0.25s ease;
  z-index: 999;
}

.kk-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.kk-scroll-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.kk-scroll-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .kk-footer__top .kk-footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }

  .kk-footer__brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    align-items: flex-start;
  }

  .kk-footer__separator {
    display: none;
  }

  .kk-footer__claim {
    flex: 1;
    min-width: 200px;
  }

  .kk-footer__nav {
    flex: 1;
    min-width: 160px;
  }
}

@media (max-width: 640px) {
  .kk-footer__top {
    padding: 3.5rem 0 3rem;
  }

  .kk-footer__top .kk-footer__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .kk-footer__brand {
    flex-direction: column;
  }

  .kk-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .kk-footer__ratings-inner {
    gap: 0.75rem;
  }

  .kk-scroll-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}