/* ══════════════════════════════════════════════════════ Kopfbild Startseite
 * Wie auf den Behandlungsseiten: Motiv vollflaechig, Schleier darueber, Text
 * unten links.
 *
 * Die Hoehe folgt dem Bildschirm — aber nur bis zu einer Grenze. Das Teamfoto
 * misst 2560 x 1067 (2,40) und die sechs Personen stehen zwischen 7 % und 91 %
 * der Breite; sichtbar bleiben muessen also 84 %. Bei `cover` haengt das allein
 * am Seitenverhaeltnis des Kastens: er muss breiter als 2,05:1 sein, sonst
 * schneidet er die aeusseren beiden an. Gerechnet am 01.09.2026 —
 * 1440 x 900 ohne Deckel: 76 % sichtbar, also acht Prozentpunkte zu wenig.
 *
 * Deshalb: so hoch wie der freie Bildschirm, hoechstens aber Breite / 2,05.
 */
.hero-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;

  min-height: 420px;
  /* Kopfzeile gemessen: 152 px (Topbar + Navigation). So endet das Kopfbild
     genau an der Fensterkante und die Bewertungen stehen noch darin. */
  height: min(calc(100svh - 152px), calc(100vw / 2.05));

  background-image: url(/wp-content/themes/hamburg-dermatologie/assets/img/teamfoto_mai26.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
}

/*
 * Schleier in zwei Schichten, dieselben Werte wie im Kopfbild der
 * Behandlungsseiten: waagerecht fuer die Textspalte, senkrecht fuer den
 * unteren Rand. Ohne ihn steht weisser Text auf weissen Kitteln.
 */
/*
 * Schleier unter dem Text — lang ausschleichend.
 *
 * Die erste Fassung war 0,800 % Deckkraft je Pixel steil; die Kante war
 * sichtbar. Diese hier misst 0,169 %/px, schleicht also 4,7-mal weicher aus.
 * Beide Schichten folgen einer S-Kurve (weiches Ein- und Ausschleichen),
 * ausgeschrieben in vielen Stops — mit drei Stops rechnet der Browser linear
 * und die Kante kaeme zurueck.
 *
 * Der Preis dafuer, gemessen am 01.09.2026: der Verlauf reicht nun bis ins
 * obere Bilddrittel. Auf den Gesichtern liegen im Mittel 14 %, hoechstens
 * 27 % Schleier — sichtbar als leichte Abdunklung, nicht als Kante. Ganz
 * ohne Schleier misst weisser Text hier 1,26:1.
 *
 * Schicht 1 senkrecht ueber die ganze Breite, Schicht 2 eine sehr flache
 * Ellipse aus der linken unteren Ecke, die dort nachlegt, wo der Text steht.
 */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(140% 160% at 2% 160%,
      rgba(43, 54, 55, .340) 0%,
      rgba(43, 54, 55, .330) 10%,
      rgba(43, 54, 55, .305) 20%,
      rgba(43, 54, 55, .267) 30%,
      rgba(43, 54, 55, .220) 40%,
      rgba(43, 54, 55, .170) 50%,
      rgba(43, 54, 55, .120) 60%,
      rgba(43, 54, 55, .073) 70%,
      rgba(43, 54, 55, .035) 80%,
      rgba(43, 54, 55, .010) 90%,
      rgba(43, 54, 55, 0)    100%),
    linear-gradient(0deg,
      rgba(43, 54, 55, .660) 0%,
      rgba(43, 54, 55, .649) 8%,
      rgba(43, 54, 55, .620) 16%,
      rgba(43, 54, 55, .574) 24%,
      rgba(43, 54, 55, .517) 32%,
      rgba(43, 54, 55, .451) 40%,
      rgba(43, 54, 55, .378) 48%,
      rgba(43, 54, 55, .304) 56%,
      rgba(43, 54, 55, .231) 64%,
      rgba(43, 54, 55, .163) 72%,
      rgba(43, 54, 55, .102) 80%,
      rgba(43, 54, 55, .053) 88%,
      rgba(43, 54, 55, .018) 96%,
      rgba(43, 54, 55, 0)    100%);
}

/*
 * Der Titel ist auf der Startseite kleiner als auf den Behandlungsseiten und
 * die Abstaende sind enger. Nicht aus Geschmack: so beginnt der Textblock
 * rund 80 px tiefer und liegt vollstaendig im Bereich, den der Schleier
 * traegt — ohne dass der Schleier bis in die Gesichter reichen muss.
 */
.hero-section .hd-hero__titel {
  font-size: clamp(1.75rem, 2.9vw, 2.75rem);
  margin-bottom: 6px;
}

.hero-section .hd-hero__unterzeile {
  /* 25 px: ab 24 px gilt sie als grosse Schrift, gefordert sind dann 3,0:1. */
  font-size: clamp(1.05rem, 1.66vw, 1.5625rem);
  margin-bottom: 14px;
}

.hero-section .hd-hero__bewertung { margin-top: 18px; }

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(30px, 4vh, 54px);
}

@media (max-width: 767.98px) {
  .hero-section {
    height: auto;
    min-height: 62svh;
    background-position: center 28%;
  }
}

/*
 * Kopfbild der Startseite: teamfoto_mai26_hero.jpg ist der beschnittene
 * Ausschnitt (1900 x 1067) – links und rechts so weit gekuerzt, dass die
 * Arme der aeusseren Personen angeschnitten sind. Angelegt am 31.08.2026.
 * Das Original teamfoto_mai26.jpg bleibt unveraendert in der Mediathek.
 */
/*!
Theme Name: Hamburg Dermatologie
Theme URI: https://www.finke-praxismarketing.de
Author: Finke Praxismarketing
Author URI: https://www.finke-praxismarketing.de
Description: Hamburg Dermatologie
Version: 1.0.0
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: Hamburg Dermatologie
*/

:root {
  --header-border: #c5d1d1;
  --menu-text: #ffffff;
  --menu-line: rgb(255 255 255 / 50%);
  --menu-muted: rgb(255 255 255 / 35%);
}

html,
body {
  font-family: "Encode Sans", sans-serif;
}

.container {
  max-width: 1450px;
  padding-right: 30px;
  padding-left: 30px;
}

p.nav a {
    color: #2b3637; 
    text-decoration: none;

}

.bg-b9 { background-color: #c5d1d1; }
.logo  { width: 90%; }
.secHD { color: #65686a; font-size:2rem !important; text-transform: uppercase;}
.whyHD { color: #ffffff; font-size:2rem !important; text-transform: uppercase;}

/* NAVBAR */

.main-navbar {
  min-height: 110px;
  background: #ffffff;
  transition:
    height .35s ease,
    box-shadow .35s ease;
}


.main-navbar.scrolled {
  height: 120px;
  box-shadow: 0 4px 18px rgba(43, 54, 55, 0.094);
}

.main-navbar {
  overflow: visible !important;
}

.main-navbar .container-fluid {
  align-items: center;
}

.navbar-brand {
  margin-right: 25px;
    display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  display: block;
  width: clamp(180px, 18vw, 260px);
  height: auto;
}

.brand-logo {
  color: #65686a;
  line-height: 1;
  text-align: center;
}

.brand-top {
  font-size: 1.7rem;
  font-weight: 700;
}

.brand-main {
  margin-top: 2px;
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.brand-sub {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.navigation-right {
  min-height: 75px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.navigation-menu {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin: 0;
}

.main-navbar .nav-link {
  padding: 0 7px !important;

  color: #65686a;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;

  transition: color 0.2s ease;
}

.main-navbar .nav-link:hover {
  color: #bf969d;
}

.appointment-btn {
  /* Polsterung wie der Knopf im Kopfbild (12px/36px), damit beide gleich
     grosszuegig wirken. Die Schriftgroesse bleibt kleiner — im Kopfbereich
     waeren 17,6px zu laut. */
  padding: 12px 36px;

  color: #ffffff;
  background-color: #bf969d;
  border: 1px solid #bf969d;
  border-radius: 9px;

  font-size: 0.95rem;
  font-weight: 300;
}

.search-btn {
  width: 58px;
  /* Gleiche Hoehe wie der Termin-Knopf daneben, sonst stehen sie versetzt. */
  height: auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #bf969d;
  border: 1px solid #bf969d;
  border-radius: 9px;
  color: #ffffff;

  transition: 
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.search-btn .bi-search {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  margin: 0;
}

.search-btn:hover {
  background-color: #8a5c66;
  border-color: #8a5c66;
  transform: translateY(-1px);
}

.search-btn .bi-search {
  transition: transform 0.2s ease;
}

.search-btn:hover .bi-search {
  transform: translate(-50%, -50%) scale(1.08);
}



@media (max-width: 1199.98px) {

  .navbar-nav {
    gap: 8px;
  }

  .main-navbar .nav-link {
    font-size: 0.9rem;
  }

  .navbar-brand {
    margin-right: 25px;
  }

  .navbar-actions {
    margin-left: 15px;
    gap: 10px;
  }
}


@media (max-width: 991.98px) {

  .main-navbar {
    min-height: auto;
    padding: 20px 0;
  }

  .navbar-brand {
    margin-right: 0;
  }

  .brand-top {
    font-size: 1.25rem;
  }

  .brand-main {
    font-size: 1.65rem;
  }

  .brand-sub {
    font-size: 0.7rem;
  }

  .navbar-collapse {
    padding-top: 25px;
  }

  .navbar-nav {
    gap: 0;
    align-items: stretch !important;
  }

  .main-navbar .nav-link {
    padding: 12px 0 !important;
    border-bottom: 1px solid #edf1f0;
  }

  .navbar-actions {
    margin-bottom: 20px;
  }
}


/* SIDEBAR BUTTONS */

.floating-buttons {
  position: fixed;
  top: 50%;
  right: 10px;

  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 8px;

  transform: translateY(-50%);
}

.floating-btn {
  position: relative;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  /* background: rgba(95, 92, 90, .48); */
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease;

  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 9px;

  text-decoration: none;

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  transition:
    background .3s ease,
    transform .3s ease,
    border-color .3s ease;
}

.floating-btn.is-scrolled {
  background: rgba(138, 92, 102, 0.80);
}

.floating-icon {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.25rem;

  transition:
    transform .3s ease;
}

.floating-label {
  position: absolute;

  top: 50%;
  right: calc(100% + 10px);

  min-width: 175px;

  padding: 11px 18px;

  color: #ffffff;

  background: rgba(138, 92, 102, .95);

  border: 1px solid rgba(255, 255, 255,.8);
  border-radius: 9px;

  text-align: center;
  white-space: nowrap;

  font-size: .95rem;
  font-weight: 300;

  opacity: 0;

  pointer-events: none;

  transform:
    translate(15px, -50%);

  transition:
    opacity .3s ease,
    transform .35s cubic-bezier(.2,.7,.2,1);
}

.floating-label::after {
  content: "";

  position: absolute;

  top: 50%;
  right: -6px;

  width: 11px;
  height: 11px;

  background: rgba(138, 92, 102, .95);

  border-top: 1px solid rgba(255, 255, 255,.8);
  border-right: 1px solid rgba(255, 255, 255,.8);

  transform:
    translateY(-50%)
    rotate(45deg);
}

.floating-btn:hover {
  color: #ffffff;

  background: rgba(138, 92, 102, .80);

  border-color: #ffffff;

  transform: translateX(-3px);
}

.flag-icon {
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}


.floating-btn:hover .floating-icon {
  transform: scale(1.08);
}


.floating-btn:hover .floating-label {
  opacity: 1;

  transform:
    translate(0, -50%);
}



/* HERO */ 

@media (min-width: 992px) {
  }



.hero-btn {
  min-width: 270px;

  padding: 14px 25px;

  color: #ffffff;
  border: 1px solid rgba(255, 255, 255,0.9);
  border-radius: 9px;

  background: transparent;

  font-size: 1.25rem;
  font-weight: 300;
}

.hero-btn:hover {
  color: #65686a;
  background: #ffffff;
  border-color: #ffffff;
}

.hero-highlights {
  margin-top: 60px;
}


.hero-highlight {
  min-height: 82px;
  padding: 10px 28px;
  border-left: 1px solid rgba(255, 255, 255,0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.hero-highlight span {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.2;
}


.hero-highlight strong {
  margin-top: 3px;

  font-size: 1.2rem;
  font-weight: 300; 
}

@media (max-width: 767.98px) {
  }

/* CONTENT */ 

.hautarzt-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 80px 0;
}

.hautarzt-section .container {
  position: relative;
}

.hautarzt-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
}

.hautarzt-content h1 {
  margin-bottom: 12px;
  color: #65686a;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.1;
}

.hautarzt-content h3 {
  margin-bottom: 12px;

  color: #92a8ab;
  font-size: 1.7rem;
  font-weight: 300;
}

.hautarzt-content p {
  color: #65686a;
  font-size: 1.08rem;
  line-height: 1.5;
}

.hautarzt-content .intro {
  max-width: 1050px;
}

.leistung-box {
  min-height: 78px;
  padding: 12px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background-color: #92a8ab;
  border-radius: 9px;

  color: #ffffff;
  text-align: center;
  text-decoration: none;

  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.15;

  transition: 0.2s ease;
}

.leistung-box small {
  display: block;
  margin-top: 4px;

  font-size: 0.85rem;
  font-weight: 300;
}

.leistung-box:hover {
  background-color: #92a8ab;
  color: #ffffff;
  transform: translateY(-2px);
}

.circle {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.circle-1 {
  width: 150px;
  height: 150px;

  top: 20px;
  right: 110px;

  background: rgba(146, 168, 171, 0.55);
}

.circle-2 {
  width: 270px;
  height: 270px;

  top: 60px;
  right: -100px;

  background: rgba(146, 168, 171, 0.20);
}

.circle-3 {
  width: 365px;
  height: 365px;

  right: -25px;
  bottom: 15px;

  background: rgba(146, 168, 171, 0.22);
}

.circle-4 {
  width: 85px;
  height: 85px;

  right: 55px;
  bottom: 15px;

  background: rgba(146, 168, 171, 0.55);
}



/* TREATMENTS */

.treatments {   background-color: #edf1f0; background-image: url('/wp-content/themes/hamburg-dermatologie/assets/img/bg_treatments.webp'); }

.treatment-row {
  overflow: hidden;

  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.treatment-image,
.treatment-content {
  min-height: 550px;
}

.treatment-image {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  border-radius: 50px 0 50px 0;
}

.treatment-image img {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;
  height: 150%;

  object-fit: cover;
  object-position: center;

  will-change: transform;
}

.treatment-content {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.treatment-row:nth-child(even) .treatment-content::before {
  left: auto;
  right: -170px;
}


.treatment-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 520px;

  margin: 0 auto;

}


.treatment-inner h2, .treatment-inner-left h2 {
  margin-bottom: 16px;
word-wrap: break-word;
  color: #92a8ab;

  font-size: 2.7rem;
  font-weight: 300;
  line-height: 1.15;
}


.treatment-inner p, .treatment-inner-left p {
  margin-bottom: 32px;

  color: #65686a;

  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.55;
}

.treatment-btn {
  min-width: 255px;

  padding: 10px 28px;

  color: #bf969d;

  border: 1px solid #bf969d;
  border-radius: 9px;

  background: transparent;

  font-size: 1.2rem;
  font-weight: 300;
}


.treatment-btn:hover {
  color: #ffffff;
  background-color: #bf969d;
  border-color: #bf969d;
}


/* INFO CARDS */

.info-card {
  overflow: hidden;

  display: flex;
  flex-direction: column;

  background-color: #92a8ab;
  border-radius: 50px 0 50px 0;
}

.info-card-content {
  flex: 1;
  padding: 26px 38px 24px;

  color: #ffffff;
}

.info-number {
  margin-bottom: 10px;

  color: #e4c8cc;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
}

.info-number span {
  margin-left: 6px;
  font-weight: 400;
}

.info-card h3 {
  margin-bottom: 18px;

  color: #ffffff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
}


.info-line {
  width: 38px;
  height: 1px;

  margin-bottom: 16px;

  background-color: #e4c8cc;
}

.info-card p {
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.45;
}

.info-card-footer {
  padding: 30px 38px;

  background-color: #edf1f0;
}

.info-btn {
  width: 100%;

  padding: 9px 20px;

  color: #bf969d;
  border: 1px solid #bf969d;
  border-radius: 9px;

  background-color: transparent;

  font-size: 1.25rem;
  font-weight: 300;
}

.info-btn:hover {
  color: #ffffff;
  background-color: #bf969d;
  border-color: #bf969d;
}


/* TEAM */

.team-card {
  position: relative;
  overflow: hidden;

  height: 440px;

  border-radius: 50px 0 50px 0;
}

.team-img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

.team-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(146, 168, 171, 0.88);

  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-content {
  padding: 30px;
  text-align: center;
  color: #65686a;

  transform: translateY(15px);
  transition: transform 0.35s ease;
}

.team-card:hover .team-content {
  transform: translateY(0);
}

.team-content h3 {
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.team-content p {
  margin-bottom: 32px;

  font-size: 1.15rem;
  font-weight: 300;
}

.team-btn {
  padding: 8px 20px;

  color: #65686a;
  border: 1px solid #65686a;
  border-radius: 9px;

  font-size: 1rem;
  font-weight: 300;

  background: transparent;
} 

.team-btn:hover {
  color: #ffffff;
  background-color: #65686a;
  border-color: #65686a;
}

.team-img {
  transition: transform 0.5s ease;
}

.team-card:hover .team-img {
  transform: scale(1.04);
}

.team-card {
  position: relative;
  overflow: hidden;

  height: 440px;

  border-radius: 50px 0 50px 0;
}

.team-img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transition: transform .5s ease;
}

.team-name-bar {
  position: absolute;
  text-transform: uppercase;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 3;

  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;
  background: rgba(146, 168, 171, 0.60);

  color: #ffffff;

  text-align: center;

  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.1;
}

.team-overlay {
  position: absolute;
  inset: 0;

  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(146, 168, 171, 0.88);

  opacity: 0;

  transition: opacity .35s ease;
}


.team-content {
  padding: 30px;

  color: #ffffff;
  text-align: center;

  transform: translateY(15px);

  transition: transform .35s ease;
}


.team-content h3 {
  margin-bottom: 7px;

  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.15;
}


.team-content p {
  margin-bottom: 30px;

  font-size: 1.1rem;
  font-weight: 300;
}

.team-card:hover .team-overlay {
  opacity: 1;
}


.team-card:hover .team-content {
  transform: translateY(0);
}


.team-card:hover .team-img {
  transform: scale(1.04);
}

.team-btn {
  padding: 8px 22px;

  color: #ffffff;

  border: 1px solid #ffffff;
  border-radius: 9px;

  background: transparent;

  font-size: 1rem;
  font-weight: 300;
}


.team-btn:hover {
  color: #92a8ab;
  background-color: #ffffff;
  border-color: #ffffff;
}


/* MITGLIEDSCHAFTEN */

.mitgliedschaften-section {
  position: relative;
  overflow: hidden;

  min-height: 355px;

  background-color: #92a8ab;
}

.mitgliedschaften-section::before {
  content: "";
  position: absolute;

  width: 620px;
  height: 620px;

  top: -265px;
  left: -115px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.mitgliedschaften-section::after {
  content: "";
  position: absolute;

  width: 410px;
  height: 410px;

  top: -235px;
  right: -105px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.mitgliedschaften-section .container {
  position: relative;
  z-index: 2;
}


.mitgliedschaften-title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
}

.partner-logo {
  width: 182px;
  height: 182px;

  margin: 0 14px;

  background-color: #ffffff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.partner-logo img {
  width: 82%;
  height: 82%;

  object-fit: contain;
}

/* PRAXIS */

.praxis-section {
  min-height: 500px;
}

.praxis-text {
  color: #65686a;
}

.praxis-text h2 {
  margin-bottom: 22px;
  color: #65686a;
  font-size: 2.7rem;
  font-weight: 300;
  line-height: 1.15;
}

.praxis-text p {
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.praxis-media {
  position: relative;
  overflow: hidden;

  border-radius: 50px 0 50px 0;
}

.praxis-media img {
  display: block;
  width: 100%;
  height: 490px;

  object-fit: cover;
  object-position: center;
}

.praxis-play {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 115px;
  height: 115px;

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);

  text-decoration: none;
  transition: 0.2s ease;
}

.praxis-play:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%) scale(1.05);
}

.play-icon {
  width: 0;
  height: 0;

  margin-left: 10px;

  border-top: 25px solid transparent;
  border-bottom: 25px solid transparent;
  border-left: 40px solid #ffffff;
}

@media (min-width: 992px) {
  .praxis-text {
    position: sticky;
    top: 40px;
    align-self: flex-start;
  }
}

/* SPRECHZEITEN */

.sprechzeiten-section {
  min-height: 495px;
}

.sprechzeiten-image {
  overflow: hidden;
}

.sprechzeiten-image img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.sprechzeiten-content {
  position: relative;
  overflow: hidden;

  min-height: 495px;
  background-color: #92a8ab;

  display: flex;
  align-items: center;
  justify-content: center;
}

.sprechzeiten-content::before {
  content: "";
  position: absolute;

  width: 470px;
  height: 470px;

  top: -145px;
  right: -140px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.sprechzeiten-inner, .sprechzeiten-inner a {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 300;
  text-decoration: none;
}

.sprechzeiten-inner h2 {  margin-bottom: 18px;
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.1;
}

.sprechzeiten-time {
  font-size: 1.55rem;
  font-weight: 300;
}

.sprechzeiten-btn {
  padding: 10px 28px;

  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 9px;

  font-size: 1.25rem;
  font-weight: 300;
}

.sprechzeiten-btn:hover {
  color: #92a8ab;
  background-color: #ffffff;
  border-color: #ffffff;
}



/* SPEZ SPST SECTION */

.special-title {
  color: #65686a;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
  word-wrap: break-word;
}

.special-box {
  position: relative;
  overflow: hidden;

  height: 270px;

  background-color: #92a8ab;
  border-radius: 50px 0 50px 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.special-box::before {
  content: "";
  position: absolute;

  width: 360px;
  height: 360px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.special-text {
  position: relative;
  z-index: 2;

  color: #ffffff;
  text-align: center;

  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.4;
}

.special-box-1::before {
  top: -135px;
  left: -65px;
}

.special-box-2::before {
  top: -120px;
  right: -165px;
}

.special-box-3::before {
  bottom: -250px;
  right: -90px;
}

.hd-einblenden .special-reveal {
  opacity: 0;

  transition:
    opacity .9s ease,
    transform 1s cubic-bezier(.16, .7, .25, 1);
}

.special-box-1.special-reveal {
  transform: translateY(100px);
}

.special-box-2.special-reveal {
  transform: translateY(-130px);
}

.special-box-3.special-reveal {
  transform: translateY(150px);
}

.special-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* PE */
.pewl {max-width: 100% !important; }

/* AGE SECTION */

.age-title {
  color: #65686a;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
}

.age-col {
  padding: 0 15px;
  position: relative;
}

.age-col:first-child {
  padding-left: 0;
}

.age-col:last-child {
  padding-right: 0;
}

.age-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #bf969d;
}

.age-box {
  height: 90px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 1;
}

.age-30 {
  background: linear-gradient(
    70deg,
    #c5d1d1 0%,
    #c5d1d1 42%,
    #c5d1d1 42%,
    #c5d1d1 100%
  );
}

.age-40 {
  background: linear-gradient(
    70deg,
    #c5d1d1 0%,
    #c5d1d1 42%,
    #c5d1d1 42%,
    #c5d1d1 100%
  );
}

.age-50 {
  background: linear-gradient(
    70deg,
    #c5d1d1 0%,
    #c5d1d1 42%,
    #92a8ab 42%,
    #92a8ab 100%
  );
}

.age-60 {
  background: linear-gradient(
    70deg,
    #c5d1d1 0%,
    #c5d1d1 42%,
    #92a8ab 42%,
    #92a8ab 100%
  );
}

.hd-einblenden .age-reveal {
  opacity: 0;

  transform: translateX(-100px);

  transition:
    opacity .7s ease,
    transform .9s cubic-bezier(.16, .7, .25, 1);

  will-change: transform, opacity;
}
.age-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.age-col:nth-child(1) .age-reveal {
  transform: translateX(-140px);
}

.age-col:nth-child(2) .age-reveal {
  transform: translateX(-110px);
}

.age-col:nth-child(3) .age-reveal {
  transform: translateX(-80px);
}

.age-col:nth-child(4) .age-reveal {
  transform: translateX(-50px);
}
.age-col .age-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}


/* CARDS AKTUELLES */

.blog-card {
  background: #ffffff;
  overflow: hidden;
  border-radius: 50px 0 50px 0;
}

.blog-card-img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 18px 34px 24px;
}

.blog-card h3 {
  color: #92a8ab;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
}

.blog-card p {
  color: #65686a;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 6px;
}

.blog-card .blog-date {
  margin-bottom: 4px;
}

.blog-link {
  display: inline-block;
  margin-top: 2px;

  color: #bf969d;
  font-size: 1rem;
  text-decoration: none;
}

.blog-link:hover {
  color: #8a5c66;
}

@media (max-width: 767.98px) {
  .blog-card-img {
    height: 220px;
  }

  .blog-card-body {
    padding: 20px 24px 26px;
  }

  .blog-card h3 {
    font-size: 1.4rem;
  }
}

/* WHY */

.why {
  background-color: #bf969d;
    position: relative;
  overflow: hidden;
  min-height: 500px;
}

.why::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -80px;
  left: -205px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.why-text, .why-text h2 {
  color: #ffffff;
}

/* KARRIERE */

.jobs-box,
.faq-box {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.jobs-box {
  background-color: #bf969d;

  display: flex;
  align-items: center;
}

.jobs-box::before {
  content: "";
  position: absolute;

  width: 500px;
  height: 500px;

  top: -80px;
  left: -205px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.jobs-inner {
  position: relative;
  z-index: 2;

  max-width: 600px;
  margin: 0 auto;
  padding: 0px 30px;

  color: #ffffff;
}

.jobs-inner h2 {
  margin-bottom: 22px;

  font-size: 2.45rem;
  font-weight: 300;
  line-height: 1.28;
}

.jobs-inner p {
  margin-bottom: 48px;

  font-size: 1rem;
  font-weight: 300;
  line-height: 1.55;
}

.jobs-btn {
  padding: 10px 22px;

  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 9px;

  font-size: 1.15rem;
  font-weight: 300;
}

.jobs-btn:hover {
  color: #bf969d;
  background-color: #ffffff;
  border-color: #ffffff;
}


/* FAQ */

.faq-box {
  background-color: #edf1f0;
}

.faq-box::after {
  content: "";
  position: absolute;

  width: 390px;
  height: 390px;

  right: -140px;
  bottom: -150px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.faq-inner {
  position: relative;
  z-index: 2;

  max-width: 650px;
  margin: 0 auto;
  padding: 55px 20px;
}

.faq-inner > h2 {
  margin-bottom: 30px;

  color: #65686a;
  font-size: 2rem;
  font-weight: 300;
}

.custom-faq .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c5d1d1;
}

.custom-faq .accordion-button {
  padding: 20px 3px;

  color: #65686a;
  background: transparent;
  box-shadow: none;

  font-size: 1.25rem;
  font-weight: 300;
}

.custom-faq .accordion-button::after {
  display: none;
}

.custom-faq .accordion-button::before {
  content: "+";

  position: absolute;
  right: 20px;

  color: #92a8ab;
  font-size: 2rem;
  font-weight: 400;

  transition: transform 0.25s ease;
}

.custom-faq .accordion-button:not(.collapsed)::before {
  transform: rotate(45deg);
}

.custom-faq .accordion-button:not(.collapsed) {
  color: #65686a;
  background: transparent;
  box-shadow: none;
}

.custom-faq .accordion-body {
  padding: 0 35px 20px 3px;

  color: #65686a;
  font-size: 1rem;
  line-height: 1.5;
}

/* CTA */
.cta {background-image: url("/wp-content/themes/hamburg-dermatologie/assets/img/background-cta.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;  }

/* FOOTER */
.site-footer {
  background-color: #c5d1d1;
  color: #65686a;
  font-size: 1rem;
  line-height: 1.45;
}

.footer-heading {
  margin-bottom: 1.1rem;
  padding-bottom: 0.55rem;
  /* border-bottom: 1px solid #7b8585; */
  color: #65686a;
  font-size: 1.25rem;
  font-weight: 400;
}

.footer-content a {
  color: inherit;
  text-decoration: none;
}

.footer-content a:hover {
  color: #2b3637;
  text-decoration: underline;
}

.social-link {
  display: inline-flex;
  font-size: 2.5rem;
  line-height: 1;
}

.social-link:hover {
  text-decoration: none !important;
}

/* PROJECT TEASER TREATMENT 2 */

.project-teaser {
  position: relative;
  overflow: hidden;
}

.project-image-col,
.project-content-col {
  min-height: 100vh;
}

.project-image-col {
  position: relative;
  overflow: hidden;
}

.project-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50px 0 50px 0;
}

.project-image img {
  --parallax-y: 0px;
  width: 100%;
  height: 75%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.02);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .8s ease;
  will-change: transform;
}

.project-image:hover img {
  transform: translate3d(0, var(--parallax-y), 0) scale(1.12);
}

.project-teaser:hover .project-image img {
  transform:
    translate3d(0, var(--parallax-y), 0)
    scale(1.12);
}

.project-content-col {
  position: relative;

  display: flex;
  align-items: center;


  overflow: visible;
}

.project-content-link {
  position: relative;
  z-index: 4;

  width: 100%;

  display: flex;
  align-items: center;

  color: inherit;
  text-decoration: none;

  overflow: visible;
}

.project-content {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: 650px;

  padding: 80px 70px;

  color: #2b3637;
  background: #ece9e4;

  overflow: hidden;

  transition:
    width .8s cubic-bezier(.2,.7,.2,1),
    margin-left .8s cubic-bezier(.2,.7,.2,1),
    box-shadow .8s ease,
    transform .8s cubic-bezier(.2,.7,.2,1);

  will-change: width, margin-left;
}

.project-content::before {
  content: "";

  position: absolute;
  inset: -25%;

  z-index: 0;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(255, 255, 255,0.40) 0%,
      rgba(255, 255, 255,0.00) 34%
    ),
    linear-gradient(
      125deg,
      #ece9e4 10%,
      #ece9e4 40%,
      #e4c8cc 70%,
      #bf969d 100%
    );

  opacity: 0;

  transform:
    translate3d(18%, 8%, 0)
    scale(1.15);

  transition:
    opacity .8s ease,
    transform 1s cubic-bezier(.2,.7,.2,1);

  pointer-events: none;
}

.project-content > * {
  position: relative;
  z-index: 2;

  transform: translateX(0);

  transition:
    transform .8s cubic-bezier(.2,.7,.2,1);
}

.project-kicker {
  margin: 0 0 14px;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 400;
  line-height: 1;

  color: #2b3637;
}


.project-title {
  margin: 0 0 30px;

  font-size: clamp(1.7rem, 2vw, 2.7rem);
  font-weight: 300;
  line-height: 1.15;

  color: #2b3637;
}


.project-text {
  max-width: 560px;

  margin: 0 0 45px;

  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;

  color: #65686a;
}

.project-more {
  display: inline-flex;
  align-items: center;

  gap: 16px;

  color: #65686a;

  font-size: 1rem;
  font-weight: 300;

  transition:
    gap .35s ease,
    color .35s ease;
}


.project-arrow {
  position: relative;

  width: 22px;
  height: 22px;

  display: block;
}


.project-arrow::before {
  content: "";

  position: absolute;

  top: 50%;
  left: 0;

  width: 28px;
  height: 1px;

  background-color: #c5d1d1;

  transform:
    translateY(-50%)
    rotate(-45deg);

  transform-origin: center;

  transition:
    width .35s ease,
    background-color .35s ease;
}

.project-content-link:hover {
  color: inherit;
}

.project-content-link:hover .project-content::before {
  opacity: .78;

  transform:
    translate3d(0, 0, 0)
    scale(1);
}

.project-content-link:hover .project-content > * {
  transform: translateX(20px);
}

.project-content-link:hover .project-more {
  gap: 24px;
  color: #2b3637;
}


.project-content-link:hover .project-arrow::before {
  width: 35px;
  background-color: #2b3637;
}

@media (min-width: 992px) {

  .project-content-col {
    overflow: visible;
  }


  .project-content-link {
    overflow: visible;
  }


  .project-content {
    
    max-width: none;

    margin-left: -80px;

    padding: 80px;

    box-shadow: none;

       transition:
      padding .8s cubic-bezier(.2,.7,.2,1),
      box-shadow .8s ease;
  }

  .project-content-link:hover .project-content {
     margin-left: -80px;
    padding-top: 110px;
    padding-bottom: 110px;
  }

}

.hd-einblenden .reveal-item {
  opacity: 0;

  transform: translateY(45px);

  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2,.7,.2,1);
}


.project-teaser.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.project-teaser.is-visible .reveal-item:nth-child(1) {
  transition-delay: .05s;
}

.project-teaser.is-visible .reveal-item:nth-child(2) {
  transition-delay: .15s;
}

.project-teaser.is-visible .reveal-item:nth-child(3) {
  transition-delay: .25s;
}

.project-teaser.is-visible .reveal-item:nth-child(4) {
  transition-delay: .35s;
}

@media (max-width: 991.98px) {

  .project-image-col,
  .project-content-col {
    min-height: auto;
  }


  .project-image {
    position: relative;

    height: 65vw;
    min-height: 380px;
    max-height: 600px;
  }


  .project-image img {
    transform:
      translate3d(0, 0, 0)
      scale(1.05);
  }


  .project-teaser:hover .project-image img {
    transform:
      translate3d(0, 0, 0)
      scale(1.05);
  }


  .project-content-link {
    min-height: auto;
  }


  .project-content {
    width: 100%;
    max-width: none;

    margin-left: 0;

    padding: 60px 30px;
  }

  .project-content-link:hover .project-content {
    width: 100%;
    margin-left: 0;
  }


  .project-kicker {
    font-size: 2.8rem;
  }


  .project-title {
    font-size: 1.8rem;
  }


  .project-content-link:hover .project-content > * {
    transform: translateX(0);
  }

}

@media (max-width: 575.98px) {

  .project-image {
    height: 75vw;
    min-height: 320px;
  }


  .project-content {
    padding: 45px 22px;
  }


  .project-kicker {
    font-size: 2.3rem;
  }


  .project-title {
    font-size: 1.55rem;
  }


  .project-text {
    margin-bottom: 32px;

    font-size: 1rem;
    line-height: 1.6;
  }


  .project-more {
    font-size: .95rem;
  }

}

@media (prefers-reduced-motion: reduce) {

  .project-image img,
  .project-content,
  .project-content::before,
  .project-content > *,
  .project-more,
  .project-arrow::before,
  .reveal-item {
    transition: none !important;
  }


  .reveal-item {
    opacity: 1;
    transform: none;
  }

}

/* BUTTONS */

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding-right: 42px;

  transition:
    color .4s ease,
    border-color .4s ease,
    transform .3s ease;
}

.btn::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background: linear-gradient(
    90deg,
    #8a5c66 0%,
    #8a5c66 50%,
    #bf969d 100%
  );

  transform: translateX(-101%);

  transition:
    transform .5s cubic-bezier(.2, .7, .2, 1);
}

.btn::after {
  content: "";

  position: absolute;

  top: 50%;
  right: 18px;

  width: 8px;
  height: 8px;

  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;

  opacity: 0;

  transform:
    translate(10px, -50%)
    rotate(45deg);

  transition:
    opacity .35s ease,
    transform .35s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:hover::after {
  opacity: 1;

  transform:
    translate(0, -50%)
    rotate(45deg);
}

.btn:hover {
  color: #ffffff;
}

.btn.no-btn-effect::before,
.btn.no-btn-effect::after {
  display: none;
}

/*
 * Am 01.09.2026 ueberarbeitet: weisser Text mit Rosé-Rand stand auf der
 * hellen Fussflaeche — in Ruhe kaum lesbar, und der Hover-Verlauf des Themes
 * (`.btn::before`) uebermalte jede eigene Hover-Farbe. Jetzt gefuellt wie
 * alle Termin-Schaltflaechen, Verlauf aus.
 */
.footer-btn {
    display: inline-block;
    padding: 12px 36px;
    background-color: #bf969d;
    border: 1px solid #bf969d;
    border-radius: 9px;
    font-size: 1.1rem;
    font-weight: 300;
    /* Schiebt die Schaltflaeche an den Spaltenfuss — dadurch stehen die
       beiden Fuss-Schaltflaechen auf derselben Hoehe, obwohl die Texte
       darueber unterschiedlich lang sind (23 px Versatz, 01.09.2026). */
    margin-top: auto;
}

/*
 * `.site-footer a` (0,2,1) schlaegt `.footer-btn` (0,1,0) — der Text stand
 * deshalb grau statt weiss auf der Rosé-Flaeche (rgb(101,104,106) gemessen
 * am 01.09.2026). Mit `.btn.footer-btn` (0,2,0) plus der Fussflaeche davor
 * gewinnt die richtige Farbe.
 */
.site-footer .btn.footer-btn,
.site-footer .btn.footer-btn .btn-text { color: #ffffff; }

/*
 * Der Verlauf des Themes bleibt AN: er ist der Effekt, den alle anderen
 * Schaltflaechen zeigen. Er war hier abgeschaltet, solange der Knopf nur
 * eine Kontur hatte; auf der gefuellten Flaeche traegt er.
 */
.btn.footer-btn:hover .btn-text,
.btn.footer-btn:focus-visible .btn-text { color: #ffffff; }

/* Spalte als Saeule, damit `margin-top:auto` greifen kann. */
.site-footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}
.site-footer .row > [class*="col-"] { display: flex; flex-direction: column; }
.site-footer .footer-heading { flex: none; }


/* MASONRY GALLERY */

.praxis-masonry {
  column-count: 2;
  column-gap: 18px;
}

.praxis-item {
  position: relative;

  width: 100%;
  margin-bottom: 18px;

  break-inside: avoid;
  overflow: hidden;

  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2,.7,.2,1);
}

/* Versteckt nur unter der Sicherung – siehe Hinweis am Dateiende. */
.hd-einblenden .praxis-item {
  opacity: 0;
  transform: translateY(50px);
}

.praxis-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.praxis-item:nth-child(1) img {
  height: 340px;
}

.praxis-item:nth-child(2) img {
  height: 240px;
}

.praxis-item:nth-child(3) img {
  height: 290px;
}

.praxis-item:nth-child(4) img {
  height: 360px;
}

.praxis-item:nth-child(5) img {
  height: 250px;
}

.praxis-item:nth-child(6) img {
  height: 310px;
}

.praxis-item img {
  width: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transform: scale(1);

  transition:
    transform .8s cubic-bezier(.2,.7,.2,1),
    filter .6s ease;
}

.praxis-item:hover img {
  transform: scale(1.08);
}

.praxis-item::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(191, 150, 157,0) 30%,
      rgba(191, 150, 157,.22) 100%
    );

  opacity: 0;

  transition: opacity .5s ease;
}


.praxis-item:hover::after {
  opacity: 1;
}

/* FOOTER 2 */

/* FOOTER ALLGEMEIN */

.site-footer {
  font-weight: 300;
}

.site-footer a {
  text-decoration: none;
}

.footer-main {
  background-color: #92a8ab;
  color: #ffffff;
}

.footer-column h3 {
  margin-bottom: 18px;

  color: #ffffff;

  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
}

.footer-column p {
  margin-bottom: 16px;

  color: rgba(255, 255, 255, .88);

  font-size: 1rem;
  line-height: 1.6;
}

.footer-column a {
  color: #ffffff;
}

.footer-link {
  position: relative;

  display: inline-block;

  padding-right: 20px;

  color: #ffffff;

  transition:
    opacity .3s ease,
    padding-right .3s ease;
}

.footer-link::after {
  content: "";

  position: absolute;

  top: 50%;
  right: 2px;

  width: 7px;
  height: 7px;

  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;

  transform:
    translateY(-50%)
    rotate(45deg);

  transition: right .3s ease;
}

.footer-link:hover {
  color: #ffffff;
  padding-right: 25px;
}

.footer-link:hover::after {
  right: -2px;
}

.footer-services {
  background-color: #edf1f0;
}

.footer-service-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 10px 0;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-service-nav li {
  display: flex;
  align-items: center;
}

.footer-service-nav li:not(:last-child)::after {
  content: "";

  width: 1px;
  height: 20px;

  margin: 0 28px;

  background: #bf969d;
}

.footer-service-nav a {
  position: relative;

  color: #5b7a7e;

  font-size: 1.05rem;
  font-weight: 300;

  transition: color .3s ease;
}

.footer-service-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 100%;
  bottom: -6px;

  height: 1px;

  background: #bf969d;

  transition: right .35s ease;
}

.footer-service-nav a:hover {
  color: #bf969d;
}

.footer-service-nav a:hover::after {
  right: 0;
}

.footer-bottom {
  background-color: #5b7a7e;
  color: #ffffff;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;

  color: #ffffff;

  line-height: 1;
}

.footer-logo:hover {
  color: #ffffff;
}

.footer-logo-top {
  padding-left: 108px;

  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.footer-logo-main {
  margin-top: 3px;

  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: .08em;
}

.footer-logo-sub {
  margin-top: 5px;

  font-size: .7rem;
  font-weight: 400;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  flex-wrap: wrap;

  gap: 15px 28px;

  font-size: .9rem;
}

.footer-legal a,
.footer-legal span {
  color: rgba(255, 255, 255, .82);
}

.footer-legal a {
  transition: color .3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

@media (max-width: 991.98px) {

  .footer-service-nav { 
    justify-content: flex-start;
  }

  .footer-service-nav li:not(:last-child)::after {
    margin: 0 18px;
  }

  .footer-legal {
    justify-content: flex-start;
  }

}

@media (max-width: 575.98px) {

  .footer-column {
    padding-bottom: 10px;
  }


  .footer-service-nav {
    display: block;
  }

  .footer-service-nav li {
    display: block;

    padding: 10px 0;

    border-bottom: 1px solid
      rgba(91, 122, 126, .18);
  }

  .footer-service-nav li:last-child {
    border-bottom: 0;
  }

  .footer-service-nav li::after {
    display: none;
  }


  .footer-logo-top {
    padding-left: 82px;
  }

  .footer-logo-main {
    font-size: 1.4rem;
  }


  .footer-legal {
    gap: 10px 20px;
  }

}

.footer-services {
  position: relative;
  overflow: hidden;

  background-color: #c5d1d1;
  color: #65686a;
}

.footer-services .container-fluid {
  position: relative;
  z-index: 2;
}

.footer-service-column h3 {
  margin: 0 0 20px;

  padding-bottom: 8px;

  /* border-bottom: 1px solid rgba(101, 104, 106, .65); */

  color: #65686a;

  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.1;
}

.footer-service-column ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-service-column li {
  margin-bottom: 6px;
}


.footer-service-column a {
  position: relative;

  display: inline-block;

  color: #65686a;

  font-size: .95rem;
  font-weight: 300;
  line-height: 1.35;

  text-decoration: none;

  transition:
    color .3s ease,
    transform .3s ease;
}


.footer-service-column a:hover {
  color: #ffffff;

  transform: translateX(4px);
}

.footer-service-column a::before {
  content: "";

  position: absolute;

  top: 50%;
  left: -13px;

  width: 6px;
  height: 6px;

  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;

  opacity: 0;

  transform:
    translateY(-50%)
    rotate(45deg);

  transition:
    opacity .3s ease,
    left .3s ease;
}


.footer-service-column a:hover::before {
  left: -10px;
  opacity: 1;
}

@media (max-width: 991.98px) {

  .footer-services::before {
    width: 320px;
    height: 320px;

    top: -120px;
    left: -120px;
  }

}


@media (max-width: 575.98px) {

  .footer-service-column {
    padding-bottom: 10px;
  }

  .footer-service-column h3 {
    margin-bottom: 14px;
  }

}
 
a[href^="tel:"]:not(.floating-btn)::before {
  font-family: "bootstrap-icons";
  content: "\f5c1";
  margin-right: 0.4rem;
}

/* Responsive  Extra */

@media (max-width: 767.98px) {

  .floating-label {
display: none;
  }

  .hero-content h1 {
    font-size: 28px; 
}

}





/* ══════════════════════════════════════════ Abschnittsüberschriften ═══════
 * Schritt 1 der Angleichung an die Behandlungsseiten, 01.09.2026.
 *
 * Vorher standen die zwölf H2 der Startseite in sieben verschiedenen Formen:
 * 43 px in Salbei (5×), 45 px in Weiß, 43 px in Grau, 40 px in Grau (2×),
 * 39 px in Weiß, 32 px in Weiß, 32 px in Grau. Sieben Formen für eine Ebene.
 *
 * Jetzt eine — dieselbe wie `.hd-titel` in bloecke.css, das ist die Form,
 * die auf Botox 17 der 24 Überschriften tragen:
 *   clamp(1.9rem, 2.6vw, 2.7rem) / 300 / Versalien / 1,15 / 28 px Abstand.
 *
 * Die Farbe folgt der Fläche, nicht dem Abschnitt. Salbei auf Hellgrau maß
 * 2,19:1 — die fünf Behandlungs-Überschriften waren damit auch der einzige
 * echte Kontrastfehler in dieser Gruppe.
 */
.treatment-inner h2,
.treatment-inner-left h2,
.praxis-text h2,
.special-title,
.age-title,
.faq-inner h2,
.mitgliedschaften-title,
.sprechzeiten-inner h2,
.jobs-inner h2 {
  margin: 0 0 28px;
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  font-weight: 300;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: normal;
}

/* Auf hellen Flächen die Textfarbe des Hauses – 5,4:1 gegen #edf1f0. */
.treatment-inner h2,
.treatment-inner-left h2,
.praxis-text h2,
.special-title,
.age-title,
.faq-inner h2 { color: var(--hd-text, #65686a); }

/* Auf farbigen Flächen Weiß. */
.mitgliedschaften-title,
.sprechzeiten-inner h2,
.jobs-inner h2 { color: #ffffff; }


/* ══════════════════════════════════════════════ Luft zwischen Abschnitten ═
 * Schritt 2 der Angleichung, 01.09.2026.
 *
 * Vorher: 80 px am Hautarzt-Abschnitt, 48 px aus Bootstraps `py-5` an zwölf
 * Stellen, 0 px an dreien — und zweimal 48 + 48 = 96 px, weil ein Wrapper mit
 * `py-5` einen zweiten mit `py-5` enthielt.
 *
 * Jetzt ein Wert, derselbe wie auf den Behandlungsseiten:
 *   --hd-luft: clamp(64px, 7vw, 110px)
 *
 * `py-5` musste dafuer aus dem Markup: Bootstraps Abstandsklassen setzen
 * `!important` und haetten jede Regel hier geschlagen.
 */
.hd-luft {
  padding-top: var(--hd-luft, clamp(64px, 7vw, 110px));
  padding-bottom: var(--hd-luft, clamp(64px, 7vw, 110px));
}

/* Der Hautarzt-Abschnitt setzt seine Polsterung selbst – die faellt weg. */
.hautarzt-section.hd-luft { padding-top: var(--hd-luft); padding-bottom: var(--hd-luft); }

/*
 * Abschnitte, die ihre Flaeche randlos fuellen, bekommen keine Luft: dort
 * sitzt das Bild an der Kante. Dieselbe Regel gilt auf Botox fuer den
 * Sprechzeiten-Block und den Terminaufruf.
 */
.jobs-faq-section { padding-top: 0; padding-bottom: 0; }


/* ══════════════════════════════════════════════ Flaechen im Wechsel ═══════
 * Schritt 3 der Angleichung, 01.09.2026.
 *
 * Vorher lief die Seite ueber weite Strecken durchgehend auf Weiss: von
 * „Unsere Praxis“ bis „Instagram“ folgten sechs Abschnitte ohne einen
 * einzigen Flaechenwechsel. Jetzt wechseln sie sich ab — dieselbe Regel wie
 * auf den Behandlungsseiten, wo 23 Abschnitte durchgehend wechseln.
 *
 * Vier Abschnitte tragen die neue Klasse; die uebrigen standen schon richtig.
 * Rosé („Wofuer wir stehen“) und Salbei („Mitgliedschaften“) bleiben, wie sie
 * sind — sie sind eigene Baender, keine Zwischenflaechen.
 *
 * Ausgenommen bleiben vier Abschnitte, die ihre Flaeche selbst mitbringen:
 * Kopfbild, Sprechzeiten, Jobs/FAQ und der Terminaufruf. Auf Botox gilt
 * dieselbe Ausnahme.
 *
 * Nebenbefund: „Aktuelles“ trug seine Farbe als Inline-Stil im Markup –
 * #EFF2F1, der einzige Wert, der die Farb-Zusammenlegung vom Vormittag
 * ueberlebt hatte, weil sie nur die Stylesheets gelesen hat.
 */
.hd-flaeche--hell  { background-color: var(--hd-flaeche-hell, #edf1f0); }
.hd-flaeche--weiss { background-color: #ffffff; }


/*
 * Die letzten beiden Inline-Farben im Markup, 01.09.2026 gefunden und
 * hierher geholt: #C4979E und #EFF2F1. Die Farb-Zusammenlegung vom Vormittag
 * hat nur die Stylesheets gelesen — im `style`-Attribut standen sie weiter.
 * Jetzt: --hd-rose statt #C4979E, --hd-flaeche-hell statt #EFF2F1.
 */
.sprechzeiten-section { background-color: var(--hd-rose, #bf969d); }
.sprechzeiten-text    { background-color: var(--hd-flaeche-hell, #edf1f0); }


/* ══════════════════════════════════════════════════ Schaltflaechen ════════
 * Schritt 4 der Angleichung, 01.09.2026.
 *
 * `.btn` setzt im Theme `padding-right: 42px` — Platz fuer den Pfeil, den
 * dieser gar nicht braucht: er liegt absolut und verlangt keine Breite.
 * Zusammen mit der eigenen linken Polsterung stand die Beschriftung dadurch
 * schief. Gemessen an 16 Schaltflaechen der Startseite:
 *
 *   .info-btn          86 / 108 px   (22 px aus der Mitte)
 *   .team-btn          23 /  43 px   (20)
 *   .jobs-btn          23 /  43 px   (20)
 *   .treatment-btn     43 /  57 px   (14)
 *   .sprechzeiten-btn  29 /  43 px   (14)
 *
 * Jetzt symmetrisch, und zwar mit derselben Summe wie vorher — die Knoepfe
 * behalten ihre Breite, nur der Text rueckt in die Mitte. Beim Ueberfahren
 * schiebt er sich nach links und macht dem Pfeil Platz, wie auf Botox.
 */
.btn.info-btn         { padding-left: 31px; padding-right: 31px; }
.btn.team-btn         { padding-left: 32px; padding-right: 32px; }
.btn.jobs-btn         { padding-left: 32px; padding-right: 32px; }
.btn.treatment-btn    { padding-left: 35px; padding-right: 35px; }
.btn.sprechzeiten-btn { padding-left: 35px; padding-right: 35px; }


/*
 * Sicherung fuer die themeeigenen Einblendungen, 01.09.2026.
 *
 * `.special-reveal`, `.age-reveal`, `.reveal-item` und `.reveal-gallery`
 * starten bei `opacity: 0` und warten darauf, dass animation.js ihnen
 * `.is-visible` gibt. Faellt das Skript aus oder feuert der Beobachter nicht,
 * blieben 13 Elemente dauerhaft unsichtbar — darunter die vier Alterskaesten
 * und die sechs Praxisbilder. Genau dieser Fehler ist den Bloecken am
 * 31.08.2026 schon einmal passiert.
 *
 * Jetzt haengt auch ihr Verstecken an `.hd-einblenden`. Die Klasse setzt
 * bloecke.js, und dieselbe Bremse nimmt sie nach 1,5 s zurueck, wenn nichts
 * sichtbar geworden ist. Zwei Mechaniken, eine Sicherung.
 */


/*
 * Sprechzeiten im Fussbereich in EINER Zeile.
 *
 * „Montag bis Freitag 08–19 Uhr" braucht rund 230 px. Die Fussspalte ist auf
 * dem Telefon schmaler, deshalb faellt die Schrift dort minimal kleiner aus,
 * statt den Satz umbrechen zu lassen. Die geschuetzten Zwischenraeume im
 * Markup halten „19 Uhr" und die Spanne zusammen.
 */
.footer-zeiten { white-space: nowrap; }

@media (max-width: 420px) {
    .footer-zeiten { font-size: .94em; }
}


/*
 * Fussspalten mit Schaltflaeche: der Text bildet einen eigenen Block, damit
 * zwischen ihm und der Schaltflaeche IMMER eine Leerzeile steht. Ohne diesen
 * Mindestabstand klebte der Knopf am Text, sobald die Spalte voll war —
 * `margin-top: auto` allein laesst genau 0 uebrig.
 */
.site-footer .footer-text { display: block; margin-bottom: 1.6em; }


/* Copyright und Startseitenlink links im Fussbereich. */
.footer-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: .9rem;
}

@media (max-width: 991.98px) {
  .footer-copy { justify-content: center; text-align: center; }
}


/*
 * Versalien fuer ALLE Schaltflaechen — aus dem Stylesheet, nicht getippt.
 * So steht die Beschriftung im Editor normal lesbar („Termin buchen") und
 * die Schreibweise laesst sich an einer Stelle aendern.
 */
.btn .btn-text {
  text-transform: uppercase;
  letter-spacing: .04em;
}

/*
 * Ausnahme Terminseite: dort beantworten die Schaltflaechen eine Frage
 * („Ich bin neu hier") — Versalien wuerden sie wie Befehle klingen lassen.
 */
.hd-termine .btn .btn-text,
.hd-termine__fenster .btn .btn-text {
  text-transform: none;
  letter-spacing: normal;
}

/* Der Vita-Knopf der Team-Karten fuehrt keine .btn-text-Huelle. */
.team-btn { text-transform: uppercase; letter-spacing: .04em; }


/* Startseitenlink in der Copyright-Zeile: hell wie die uebrigen Fusstexte. */
.footer-copy a {
  color: #ffffff;
  text-decoration: none;
  transition: color .3s var(--hd-aus), text-decoration-color .3s var(--hd-aus);
}
.footer-copy a:hover,
.footer-copy a:focus-visible {
  color: var(--hd-rose-hell);
  text-decoration: underline;
}


/* ══════════════════════════════ Top-Bar ═════════════════════════════════ */
/*
 * Eine Farbe fuer die ganze Leiste: der Text erbte bisher Bootstraps
 * #212529, die Rufnummer trug die Haus-Tinte #2b3637 — nebeneinander
 * sichtbar unterschiedlich (01.09.2026 gemessen).
 */
.hd-topbar .nav,
.hd-topbar .nav a { color: var(--hd-tinte); }
/* 02.09.2026: Versalien in der Topbar entfernt (Wunsch Christian). */
.hd-topbar .nav { letter-spacing: .02em; margin-bottom: 0; }
/*
 * 02.09.2026: Die Rufnummer kam vorher mit geschuetztem Leerzeichen aus dem
 * Template. Jetzt stammt sie aus den Praxisdaten, also haelt das CSS sie
 * zusammen — sonst koennte „040 / 298138960“ umbrechen.
 */
.hd-topbar__telefon, .hd-topbar__zeiten { white-space: nowrap; }
.hd-topbar__rechts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/*
 * Auf dem Telefon war die Leiste vier Zeilen hoch, weil Erfahrungszeile,
 * Praxiszeiten und Nummer nebeneinander nicht passten (01.09.2026 bei
 * 375 px gemessen). Dort bleibt nur die Rufnummer stehen — der wichtigste
 * Inhalt, und der einzige, der dort etwas auslöst.
 */
@media (max-width: 767.98px) {
  .hd-topbar .container { justify-content: center; }
  .hd-topbar .nav.me-auto,
  .hd-topbar__zeiten,
  .hd-topbar__trenner { display: none; }
  .hd-topbar__rechts { justify-content: center; width: 100%; }
  .hd-topbar__telefon { font-size: 1rem; padding: 4px 0; }
}


/* ═══════════ Schnellwahl auf dem Telefon: Band am unteren Rand ══════════
 * Seitlich schwebend legte sie sich mobil ueber Ueberschriften und Bilder
 * (01.09.2026 auf der Startseite gemessen). Unten als Band nebeneinander
 * ist sie erreichbar, ohne Inhalt zu verdecken — und der Daumen kommt hin.
 *
 * Der Fussbereich bekommt unten Platz, damit das Band nichts verdeckt.
 */
@media (max-width: 767.98px) {

  .floating-buttons {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    gap: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -6px 22px rgba(43, 54, 55, .12);
  }

  .floating-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;          /* Klickflaeche nach Hausstandard */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: transparent;
    box-shadow: none;
  }

  /* Nur die Symbole — die Beschriftungen passen zu fuenft nicht nebeneinander. */
  .floating-label { display: none; }

  .floating-icon {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    background: var(--hd-flaeche-hell, #edf1f0);
    color: var(--hd-tinte, #2b3637);
    font-size: 1.15rem;
  }

  .floating-btn:hover .floating-icon,
  .floating-btn:focus-visible .floating-icon {
    background: var(--hd-rose-hell, #e4c8cc);
    color: var(--hd-rose-tief, #8a5c66);
  }

  /* Platz, damit das Band den Fussbereich nicht ueberdeckt. */
  .site-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important; }

  /* Der Nach-oben-Knopf wuerde sonst auf dem Band liegen. */
  .hd-nach-oben { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}


/* ═══════ Mobile Aktionsleiste, neu gestaltet (02.09.2026) ═══════════════
 *
 * Vorher: helle Kacheln (#edf1f0) auf weissem Band, alles mit 9 px Radius.
 * Jetzt: weisse Symbole auf rosé Flaeche, durch feine Linien getrennt,
 * ohne Rundungen — das Band ist Bedienleiste, keine Kachelsammlung.
 *
 * Der tiefe Ton (#8a5c66) statt des hellen (#bf969d): weiss darauf misst
 * 5,5:1 statt 2,6:1. Auf einer Leiste, die staendig sichtbar ist und aus
 * Symbolen ohne Beschriftung besteht, ist das der Unterschied zwischen
 * erkennbar und erahnbar. Ausserdem traegt der ruhigere Ton weniger auf.
 */
@media (max-width: 767.98px) {

  .floating-buttons {
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    background: var(--hd-rose-tief, #8a5c66);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: 0 -6px 22px rgba(43, 54, 55, .18);
  }

  .floating-btn {
    min-height: 54px;          /* ueber dem Hausmindestmass von 44 px */
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  /* Trenner nur ZWISCHEN den Aktionen, nicht an den Aussenkanten. */
  .floating-btn + .floating-btn {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .38);
  }

  .floating-icon {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1.3rem;
  }

  /* Beruehrung statt Hover: die Flaeche hellt kurz auf. */
  .floating-btn:hover .floating-icon,
  .floating-btn:focus-visible .floating-icon {
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
  }

  .floating-btn:active .floating-icon {
    background: rgba(255, 255, 255, .28);
  }

  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ═════════════ Kein blaues Bootstrap-Erbe (02.09.2026) ══════════════════
 *
 * Drei Quellen für das Blau, alle aus Bootstrap bzw. dem Browser:
 *
 *   1. `a { color: #0d6efd }` — jede Verknüpfung ohne eigene Farbe wird blau.
 *   2. `.btn:focus { box-shadow: rgba(13,110,253,.25) … }` — blauer Ring.
 *   3. Das Aufblitzen beim Antippen zeichnet der Browser selbst
 *      (`-webkit-tap-highlight-color`), auf dem iPhone blaugrau.
 *
 * Punkt 3 war das, was beim Tippen im Menü zu sehen war. Ersatzlos abschalten
 * wäre falsch — ohne Rückmeldung fühlt sich eine Berührung tot an. Deshalb
 * tritt eine eigene an seine Stelle.
 */
a {
  color: var(--hd-rose-tief, #8a5c66);
}

a:hover,
a:focus {
  color: var(--hd-rose-tief, #8a5c66);
}

a,
button,
summary,
label,
input,
select,
textarea,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/*
 * Fokus: der blaue Ring verschwindet, ein eigener kommt — aber nur für die
 * Tastatur (`:focus-visible`). Ohne Ersatz wäre die Seite für alle, die nicht
 * mit der Maus arbeiten, unbedienbar.
 */
.btn:focus,
.btn-check:focus + .btn {
  box-shadow: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--hd-salbei-tief, #5b7a7e);
  outline-offset: 2px;
  box-shadow: none;
}

/* Eigene Rückmeldung beim Antippen — im Menü und auf Schaltflächen. */
.hd-mobil__link:active,
.hd-mobil__unterlink:active,
.hd-untermenue a:active,
.mega-list a:active {
  color: var(--hd-rose-tief, #8a5c66);
}

.hd-mobil__link:active,
.hd-mobil__unterlink:active {
  background: rgba(146, 168, 171, .16);
}

.btn:active,
.hd-mobil__plus:active {
  transform: scale(.98);
}

/* ═══════ Ärztekacheln: Hover abgeschwächt (02.09.2026) ══════════════════
 *
 * Vorher lag beim Überfahren eine deckende Fläche über dem ganzen Bild:
 * `rgba(146, 168, 171, .88)`. Das Gesicht verschwand praktisch vollständig.
 *
 * Jetzt ein Verlauf: oben, wo der Kopf sitzt, nur ein Hauch — in der
 * Textzone in der Mitte unverändert stark, damit Name und Schaltfläche
 * gleich gut lesbar bleiben. Der Effekt ist also nicht schwächer, sondern
 * dort, wo er gebraucht wird.
 */
.team-overlay {
  background: linear-gradient(
    to bottom,
    rgba(146, 168, 171, .12) 0%,
    rgba(146, 168, 171, .30) 18%,
    rgba(146, 168, 171, .70) 38%,
    rgba(146, 168, 171, .88) 55%,
    rgba(146, 168, 171, .88) 100%
  );
}