/* === Local Fonts === */
@font-face{
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face{
  font-family: "Rajdhani";
  src: url("../fonts/rajdhani-light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Rajdhani";
  src: url("../fonts/rajdhani-regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Rajdhani";
  src: url("../fonts/rajdhani-medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Rajdhani";
  src: url("../fonts/rajdhani-semibold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "Rajdhani";
  src: url("../fonts/rajdhani-bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}


/* === Design Tokens === */
:root{
  --nav-h:           92px;
  --hero-h:          70vh;
  --nav-right:       max(64px, calc((100vw - 1400px) / 2 + 64px));
  --clr:             123, 161, 159;
  --clr-solid:       rgb(var(--clr));
  --nav-bg:          rgba(var(--clr), .6);
  --line-bg:         rgba(112, 112, 112, .20);
  --content-line-bg: rgba(220, 220, 220, .5);
  --bg:              #EDEDED;
  --text:            #1b1b1b;

  /* === Typografie – Schriftarten === */
  --font-body: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-nav:  "Rajdhani", sans-serif;

  /* === Typografie – Stile (font: weight size/line-height family) === */
  /* Ein Stil ändern → alle Elemente die es nutzen updaten sich       */
  --t-body:       500 17px/1.65                     "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --t-small:      400 14px/1.6                      "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --t-subheading: 700 18px/1.3                      "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --t-badge:      700 22px/1.2                      "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --t-heading:    600 37px/1.3                      "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --t-section:    400 clamp(19px, 2.4vw, 25px)/1.2 "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --t-name:       700 23px/1.3                      "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --t-nav:        500 clamp(13px, 1.2vw, 17px)/1    "Rajdhani", sans-serif;
  --t-nav-sm:     400 11px/1                        "Rajdhani", sans-serif;
  --t-ui:         700 13px/1                        "Rajdhani", sans-serif;
  --t-more:       600 18px/1                        "Rajdhani", sans-serif;
  --t-contact:    700 20px/1.4                      "Rajdhani", sans-serif;

}


/* === Reset & Base === */
/* Montserrat for all content; Rajdhani only in .nav-inner */
*{ box-sizing: border-box; }
html, body{
  margin: 0; padding: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font: var(--t-body);
}
a{ color: inherit; text-decoration: none; }
strong{ font-weight: 600; }
p{ text-align: justify; margin-top: 25px; margin-bottom: 25px; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 4 2 2; -webkit-hyphenate-limit-before: 2; -webkit-hyphenate-limit-after: 2; }
.blend-multiply{ background: var(--line-bg); mix-blend-mode: multiply; }

/* Generic page (Impressum, Datenschutz via default.php + main.php) */
.default-title{ margin: 0 0 10px; letter-spacing: .02em; }
.default-intro{ margin: 0 0 22px; opacity: .85; }
.default-body { line-height: 1.65;}

/* Legal pages (Impressum, Datenschutz) */
.legal-content{ max-width: 800px; }
.legal-title{
  margin: 0 0 36px;
  font-size: 35px;
  font-weight: 700;
  color: var(--clr-solid);
  letter-spacing: .02em;
}
.legal-text{ line-height: 1.75; }
.legal-text p  { margin: 0 0 .6em; }
.legal-text h2 { margin: 3.2em 0 .6em; font-size: 22px; font-weight: 700; }
.legal-text h3 { margin: 2.4em 0 .4em; font-size: 18px; font-weight: 700; }
@media(max-width:700px){
  .legal-title{ font-size: 25px; }
}


/* ===================================================
   SHARED: Zweifarbige Überschrift (label + title)
   Beide gleich groß – Unterschied nur Farbe und Gewicht.
   .page-label  = teal, Regular (400)
   .page-title  = dunkel, Bold (700)
   =================================================== */
.page-label {
  margin: 0;
  font: var(--t-heading);
  color: var(--clr-solid);
  text-align: center;
}

.page-title {
  margin: 0;
  font: var(--t-heading);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}
.page-title  + * { margin-top: 32px; }
.page-header + * { margin-top: 32px; }

.page-header{
  text-align: center;
}

@media (max-width: 680px){
.page-label { font-size: 29px;}
.page-title { font-size: 29px; }
.service-card-title { font-size: 29px; }
}
@media (max-width: 400px){
.page-label { font-size: 23px;}
.page-title { font-size: 23px; }
.service-card-title { font-size: 23px; }
html, body{ font-size: 16px; line-height: 1.6; }
}

/* ===================================================
   SHARED: Page subtitle (muted line below H1)
   =================================================== */
.page-subtitle {
  margin: 0 0 24px;
  font: var(--t-small);
  opacity: .8;
}


/* Body-Textbereiche – font-size/line-height via body vererbt */
.page-intro       { margin-top: 40px; }
.page-intro ul    { padding-left: 20px; margin: 16px 0; }
.page-intro li    { margin-bottom: 8px; }



/* ===================================================
   SHARED: "MEHR >>" / back links – 11 px spaced
   Each element keeps its own display, margin, color.
   =================================================== */
.news-more,
.service-card-more,
.leistung-back,
.aktuell-more,
.route-link {
  font: var(--t-more);
  letter-spacing: .12em;
  color: #707070FF;
  display: inline-block; margin-top: 14px;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
}


/* ===================================================
   NAV (fixed, overlays hero) – Rajdhani uppercase
   =================================================== */
.site-nav{
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--nav-bg);
  overflow: visible;
  z-index: 1000;
  transition: background 300ms ease;
}
.site-nav.is-scrolled{ background: rgba(var(--clr), .80); }
.site-nav.nav--light{ background: rgba(255,255,255, .6); }
.site-nav.nav--light.is-scrolled{ background: rgba(255,255,255, .80); }
.site-nav.nav--light .nav-inner{ color: var(--clr-solid); }
.site-nav.nav--light .nav-links a,
.site-nav.nav--light .nav-meta a{ color: var(--clr-solid); }
.site-nav.nav--light .burger span{ background: var(--clr-solid); }
.nav-inner{
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 160px) 1fr;
  grid-template-rows: auto 1fr;
  height: calc(var(--nav-h) - 14px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
  text-transform: uppercase;
  font: var(--t-nav);
  color: white;
}
.nav-badge{
  display: block;
  transform: translateY(24px);
  grid-row: 1 / 3;
  z-index: 2;
  flex-shrink: 0;
  margin-left: -54px;
}
.nav-badge-icon{
  width: clamp(80px, 12vw, 160px); height: clamp(80px, 12vw, 160px);
  display: block;
  transition: opacity 300ms ease, transform 250ms ease;
}
.nav-badge:hover .nav-badge-icon{ transform: scale(1.15); }
.nav-badge-icon--light{ display: none; }
.site-nav.nav--light .nav-badge-icon--default{ display: none; }
.site-nav.nav--light .nav-badge-icon--light{ display: block; }
.nav-meta{
  grid-column: 2; grid-row: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  font: var(--t-nav-sm);
  letter-spacing: .18em;
  padding-top: 8px;
}
.nav-links{
  grid-column: 2; grid-row: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: .14em;
}
.nav-links a{
  opacity: .9;
  transition: opacity .25s ease, text-shadow .25s ease;
}
.nav-links a:hover{
  opacity: 1;
  text-shadow: 0 0 .6px currentColor, 0 0 .6px currentColor;
}
.nav-links a.is-active{ opacity: 1; font-weight: 700; }
.nav-bottomline{
  position: absolute;
  left: 0; right: 0; bottom: -30px;
  height: 30px;
}


/* === Burger (hidden on desktop) === */
.burger{
  display: none;
  background: none; border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1010;
}
.burger span{
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}
.burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-meta-mobile  { display: none; }
.nav-contact-mobile { display: none; }
.footer-contact-mobile { display: none; }


/* ===================================================
   HERO (fixed behind content)
   =================================================== */
.hero{
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--hero-h);
  overflow: hidden;
  z-index: 0;
}
.hero-media{ position: absolute; inset: 0; }
.hero-slide{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 800ms ease-in-out;
}
.hero-slide.is-active{ opacity: 1; }
.hero-overlay{ position: absolute; inset: 0; pointer-events: none; }
.hero-logo{
  position: absolute;
  right: var(--nav-right); top: 18%;
  width: clamp(420px, 32vw, 480px);
  opacity: 1;
  transition: opacity 400ms ease;
}
.hero-logo.is-hidden{ opacity: 0; }

/* Legal pages: compact logo header */
.legal-header{
  background: var(--bg);
  display: flex;
  justify-content: center;
  padding: 56px 20px;
}
.legal-header img{ width: min(320px, 60vw); }


/* ===================================================
   CONTENT SURFACE
   =================================================== */
.site-content{
  position: relative;
  z-index: 1;
  padding-top: var(--hero-h);
}
.site-content--no-hero{ padding-top: var(--nav-h); }
.content-surface{
  width: 100%;
  background: var(--bg);
  position: relative;
  padding-bottom: 130px;
  display: flow-root;
}
.content-surface > *:last-child,
.content-surface > *:last-child > *:last-child,
.content-surface > *:last-child > *:last-child > *:last-child,
.content-surface > *:last-child > *:last-child > *:last-child > *:last-child,
.content-surface > *:last-child > *:last-child > *:last-child > *:last-child > *:last-child{ margin-bottom: 0; padding-bottom: 0; }
.content-topline,
.footer-topline{
  height: 30px;
  width: 100%;
  background: var(--content-line-bg);
  mix-blend-mode: multiply;
  position: relative;
  top: -30px;
  z-index: 1;
}
.content-inner{
  max-width: 920px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
}
.content-separator{ height: 18px; }

@media (max-width: 680px){
.content-surface{ padding-bottom: 80px; }
.kontakt-route{ padding-bottom: 80px; }
.content-inner{ padding: 40px 22px 80px; }
.footer-topline{ top: 0;}
}
@media (max-width: 400px){
.content-inner{ padding: 30px 22px 50px; }
}

/* Intro block directly above a section — removes bottom gap */
.content-inner--intro{ padding-bottom: 0; }
/* White variant */
.content-surface--white{ background: #fff; }
/* Gray top / white bottom (home page) */
.content-surface--grey-white{ background: linear-gradient(to bottom, var(--bg) 70%, #fff 70%); }
/* No footer gap (e.g. Praxis) */
.content-surface--flush{ padding-bottom: 0; }

/* Teal variant (Leistungen overview, Leistung detail, Kontakt-Info) */
.content-surface--teal{
  background: var(--clr-solid);
  color: #fff;
}
.content-surface--teal a.service-card{ opacity: 1; }


/* === Contact Buttons (fixed sidebar) === */
.contact-buttons{
  position: fixed; right: var(--nav-right); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  z-index: 1100;
}
.contact-btn{
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.contact-btn--tel{ background: none; border: none; cursor: pointer; padding: 0; }
.contact-icon{ width: 40px; height: 40px; display: block; transition: transform 250ms ease; }
.contact-buttons--light .contact-icon{ filter: brightness(0) invert(1); }
.contact-btn:hover .contact-icon{ transform: scale(1.15); }

.contact-btn-wrap{ position: relative; }
.tel-popup{
  position: absolute;
  right: calc(100% + 14px);
  top: 50%; transform: translateY(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  padding: 16px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  white-space: nowrap;
  z-index: 1200;
}
.tel-popup[hidden]{ display: none; }
.tel-popup-label{
  font: var(--t-ui);
  letter-spacing: .12em;
  color: var(--clr-solid);
}
.tel-popup-icon{ width: 36px; height: 36px; display: block; }
.tel-popup-number{
  font-family: var(--font-nav);
  font-size: 18px; font-weight: 700;
  letter-spacing: .08em;
  color: var(--clr-solid);
  text-decoration: none;
}
.tel-popup-number:hover{ text-decoration: underline; }


/* ===================================================
   SECTION TITLES
   =================================================== */
/* Teal centered heading (news "Aktuelles", team sub-headings) */
.section-title{
  text-align: center;
  font: var(--t-section);
  letter-spacing: .08em;
  margin: 0 0 26px;
  color: var(--clr-solid);
}
/* Dark centered heading (Öffnungszeiten "Kommen Sie vorbei!") */
.section-title-dark{
  text-align: center;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}


/* ===================================================
   NEWS (home page snippet)
   =================================================== */
.news{ background: #fff; padding: 64px 22px 0; }
.news-inner{ max-width: 920px; margin: 0 auto; }
.news-heading{ margin-bottom: 32px; }
.news-slides{ overflow: hidden; }
.news-track{
  display: flex; align-items: flex-start;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.news-slide{ flex: 0 0 100%; min-width: 100%; text-align: center; }
.news-img-row{ display: flex; align-items: center; gap: 16px; margin-bottom: 0; }
.news-img-wrap{ flex: 1; min-width: 0; padding: 0 5%; }
.news-img-wrap img{ width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.news-text{ padding: 0 calc(44px + 16px + 5%); margin-top: 24px; text-align: center; }
.news-arrow{
  flex-shrink: 0; background: none; border: none; cursor: pointer;
  padding: 0; transition: opacity .2s;
}
.news-arrow:hover{ opacity: .7; }
.news-arrow img{ width: 40px; height: 40px; display: block; }


/* ===================================================
   FOOTER
   =================================================== */
.site-footer{ 
  text-transform: uppercase;
  font: var(--t-ui);
  background: var(--clr-solid); 
  color: #fff; 
}
.footer-inner{
  max-width: 1400px; margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 64px;
  letter-spacing: .1em;
  line-height: 1.7;
}
.footer-inner a{
  color: #fff; opacity: .95;
  transition: opacity .25s ease, text-shadow .25s ease;
}
.footer-inner a:hover{
  opacity: 1;
  text-shadow: 0 0 .6px #fff, 0 0 .6px #fff;
}
.footer-col{ display: flex; gap: 14px; align-items: flex-start; }
.footer-icon{ width: 32px; height: 32px; flex-shrink: 0; margin-top: -5px; }
.footer-col-rows{ display: flex; flex-direction: column; gap: 24px; }
.footer-row{ display: flex; gap: 14px; align-items: top; }
.footer-text {display: flex; flex-direction: column; }



/* ===================================================
   LEISTUNGEN – overview (teal surface)
   =================================================== */
/* page-label / page-title auf teal: Farbe auf weiß überschreiben */
.content-surface--teal .page-label { color: #fff; }
.content-surface--teal .page-title { color: #fff; }


.leistungen-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 60px;
  margin-top: 80px;
}
.service-card{
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  color: #fff; gap: 14px;
  min-width: 0;
}
.service-card-icon{
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-card-icon img{ width: 100%; height: 100%; object-fit: contain; transition: transform 250ms ease; }
.service-card:hover .service-card-icon img{ transform: scale(1.10); }
.service-card-title{ margin: 0; font: var(--t-heading); color: #fff; overflow-wrap: break-word; hyphens: auto; }
.service-card-text{ text-align: center; margin: 0; font-weight: 300; color: #fff; line-height: 1.8; text-wrap: balance; }
.service-card-more{ margin-top: 0; }
.service-card:hover .service-card-more{ font-weight: 700; }
.news-more:hover{ font-weight: 700; }


/* ===================================================
   LEISTUNG – detail page (teal surface)
   =================================================== */
.leistung-icon-wrap{
  display: flex; justify-content: center;
  margin-top: -113px;
  position: relative; z-index: 2;
  padding-bottom: 10px;
}
.leistung-icon{
  width: 165px; height: 165px;
  display: flex; align-items: center; justify-content: center;
}
.leistung-icon--empty{ border: 2px solid rgba(255,255,255,.3); border-radius: 50%; }
.leistung-icon img{ width: 100%; height: 100%; object-fit: contain; }
@media(max-width: 960px){
  .leistung-icon-wrap{ margin-top: -60px; }
  .leistung-icon{ width: 90px; height: 90px; }
}

.leistung-content .page-header{ text-align: center; }

.leistung-list-label {
  font: var(--t-subheading);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  margin: 60px 0 30px;
}

.leistung-list-wrap ul,
.karriere-text ul {
  list-style: none;
  padding: 0;
}
.leistung-list-wrap li,
.karriere-text li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}
.leistung-list-wrap li::before,
.karriere-text li::before {
  content: '';
  position: absolute;
  left: 0px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
}
.content-surface:not(.content-surface--teal) .leistung-list-wrap li::before,
.content-surface:not(.content-surface--teal) .karriere-text li::before {
  background: var(--nav-bg);
}
.leistung-list-wrap li p,
.karriere-text li p{
  font-weight: 300;
}
.leistung-list-wrap li p strong,
.karriere-text li p strong{
  font-weight: 600;
}



/* ===================================================
   MOBILE (≤ 860 px)
   =================================================== */
@media (max-width: 960px){
  :root{ --nav-h: 56px; --hero-h: 55vh; }
  .content-inner{ padding-left: 22px; padding-right: 22px; }

  /* Nav */
  .nav-bottomline{ display: none; }
  .nav-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    padding: 0 16px;
  }
  .nav-badge{ transform: translateY(16px); z-index: 1200; margin-left: 0; }
  .nav-badge-icon{ width: 80px; height: 80px; }
  .nav-meta{ display: none; }
  .burger{ display: block; }

  /* Contact sidebar hidden */
  .contact-buttons{ display: none; }

  /* Mobile overlay menu */
  .nav-links{
    display: flex !important;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    padding: 50px 20px 30px;
    background: rgba(var(--clr), .97);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 1100;
  }
  .nav-links a{ color: #fff; opacity: .9; font-size: 26px; letter-spacing: .1em; }
  .nav-links a.is-active{ opacity: 1; font-weight: 700; }
  .nav-links.is-open{ transform: translateX(0); }
  .site-nav.nav--light .nav-links{ background: rgba(255,255,255,.97); }
  .site-nav.nav--light .nav-links a,
  .site-nav.nav--light .nav-meta-mobile a{ color: var(--clr-solid); }

  .nav-meta-mobile{
    display: flex;
    gap: 16px; margin-top: 10px;
    font: var(--t-nav-sm); letter-spacing: .12em; opacity: .7;
  }
  .nav-meta-mobile a{ color: #fff; }

  .nav-contact-mobile{
    display: flex;
    gap: 32px; align-items: center;
    margin-top: auto; padding-bottom: 10px;
  }
  .nav-contact-mobile a{ width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
  .nav-contact-mobile img{ width: 50px; height: 50px; }

  body.nav-open{ overflow: hidden; }

  /* Hero: gestapeltes Layout auf Mobile */
  .hero{
    position: relative;
    height: auto;
    margin-top: var(--nav-h);
    display: flex;
    flex-direction: column;
  }
  .hero-overlay{
    order: -1;
    position: relative;
    inset: auto;
    pointer-events: auto;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px 8px;
    overflow: visible;
  }
  .hero-overlay::after{
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -30px;
    height: 30px;
    background: var(--line-bg);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
  }
  .hero-logo{
    position: relative;
    right: auto; top: auto;
    width: min(220px, 60vw);
    opacity: 1 !important;
  }
  .hero-media{
    position: relative;
    height: 40vh;
  }
  .hero-slide{ background-size: cover; background-position: left bottom; }
  .site-content{ padding-top: 0; }

  /* Footer – icons only */
  .footer-inner{ display: none; }
  .footer-contact-mobile{
    display: flex;
    justify-content: center; align-items: center;
    gap: 44px; padding: 28px;
  }
  .footer-contact-mobile a{ display: flex; align-items: center; justify-content: center; }
  .footer-contact-mobile img{ width: 56px; height: 56px; }

  /* Page-specific mobile adjustments */
  .leistungen-grid{ grid-template-columns: 1fr; gap: 32px; }
  .leistung-list-wrap li p,
  .karriere-text li p { text-align: left; hyphens: none; }
  .service-card-icon{ width: 130px; height: 130px; }

  .kontakt-map{ height: 260px; }
}
@media (max-width: 960px) and (orientation: landscape){
  .hero-media{ height: 45vw; }
}

/* ===================================================
   KONTAKT
   =================================================== */
.kontakt-info{ text-align: center; padding-bottom: 0;}
.kontakt-info .page-intro p{ text-align: center; }
.desk-br{ display: inline; }
@media(max-width: 680px){ .desk-br{ display: none; } }
.mob-br{ display: none; }
@media(max-width: 680px){ .mob-br{ display: inline; } }
.kontakt-intro{
  color: #fff; opacity: .9;
  max-width: 560px; margin-right: auto; margin-left: auto; margin-bottom: 36px;
  line-height: 1.7; font-size: 15px;
}
.kontakt-list{
  list-style: none; margin-right: auto; margin-left: auto; padding: 0;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 460px; text-align: left;
  margin-top: 60px;
}
/* Shared: nav-font 20 bold (Kontakt + Öffnungszeiten) */
.kontakt-item,
.oeffnungszeiten-grid {
  font: var(--t-contact);
  letter-spacing: .1em; text-transform: uppercase;
}

.kontakt-item{
  display: flex; gap: 14px; align-items: center;
  color: #fff;
}
.kontakt-icon{ width: 32px; height: 32px; flex-shrink: 0; }
.kontakt-item:first-child{ align-items: flex-start; }
.kontakt-item:first-child .kontakt-icon{ margin-top: calc((1em * 1.4 - 28px) / 2); }
.kontakt-item a{ color: #fff; }
.kontakt-item a:hover{ opacity: .8; }

/* Öffnungszeiten */
.oeffnungszeiten{ padding-bottom: 0; }
.oeffnungszeiten .page-header{ margin-bottom: 36px; }
.oeffnungszeiten-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media(max-width: 960px){
  .oeffnungszeiten-grid{
    display: block;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .oz-col{
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .oz-col:last-child{ border-bottom: none; }
  .oz-day{ margin-bottom: 6px; }
}
.oz-day{
  margin-bottom: 16px;
  color: var(--clr-solid);
  text-align: center;
}
.oz-time{
  line-height: 1.6; text-align: center;
  font-size: 16px; font-weight: 500;}

/* Map */
.kontakt-map-wrap{ position: relative; background: #e8ecec; }
.kontakt-map{
  width: 100%; height: 360px;
  display: block;
}

/* Consent overlay */
.map-overlay{
  position: absolute; inset: 0;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232, 236, 236, .92);
}
.map-overlay-inner{
  max-width: 480px;
  padding: 36px 32px;
  text-align: center;
}
.map-overlay-text{
  font-family: var(--font-nav);
  font-size: 18px; font-weight: 400;
  color: var(--clr-solid);
  margin: 0 0 20px;
}
.map-consent-btn{
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 18px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  background: var(--clr-solid);
  border: none; cursor: pointer;
  padding: 12px 28px;
  margin-bottom: 16px;
}
.map-consent-btn:hover{ background: var(--clr-dark); }
.map-consent-hint{
  font-family: var(--font-nav);
  font-size: 14px; font-weight: 400;
  color: var(--clr-solid);
  margin: 0;
}
.map-consent-hint a{ color: var(--clr-solid); text-decoration: underline; }

/* Route bar */
.kontakt-route{
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  padding: 18px 18px 130px; background: #fff;
}
.route-desktop{ display: flex; flex-direction: column; align-items: center; gap: 10px; }
.route-mobile{ display: none; }
.route-input{
  width: 960px;
  padding: 10px 16px;
  border: none;
  background: #e8e8e8;
  font-family: var(--font-nav);
  font-size: 18px; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center;
}
.route-input::placeholder{ color: inherit; opacity: .6; }
.route-link{ color: var(--clr-solid); background: none; border: none; cursor: pointer; padding: 0; }


/* ===================================================
   TEAM
   =================================================== */
/* Staff grid */
/* padding-top:0 removes gap between doctor bios and staff grid */
.team-part--white{ background: #fff; }
.team-part--gray{ background: var(--bg); }
.team-part .content-inner{ padding-bottom: 60px; margin-bottom: 0; }
.team-part .page-label{ color: inherit; }
.team-part .page-title{ color: var(--clr-solid); }
.team-part .page-intro{ text-align: left; }
.team-part--intro .page-intro p{ text-align: center; }

.team-tiles{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 60px;
  margin-top: 60px;
  min-width: 0;
}
.team-tile{
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 12px; min-width: 0;
}
.team-photo{
  width: 180px; height: 180px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.team-photo--empty{ background: rgba(var(--clr), .2); }
.team-name{
  margin: 0; font: var(--t-name); letter-spacing: .04em;
  line-height: 22px; hyphens: none;
}
.team-role{
  margin: 0; font: var(--t-body); opacity: .7;
  line-height: 1.5; text-align: center;
  color: var(--clr-solid); hyphens: none;
}

@media (max-width: 960px){
  .team-tiles{ grid-template-columns: 1fr; gap: 32px; }
  .team-role br{ display: none; }
}

/* ===================================================
   PRAXIS – magazine layout
   =================================================== */
/* .page-label / .page-title / .page-subtitle: shared blocks above */
/* .praxis-body / .praxis-intro-text: shared body-text block above */

.praxis-magazine{ max-width: 1200px; margin: 0 auto; width: 100%; }
.praxis-section{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--bg);
}
.praxis-section:nth-child(even){ background: #fff; }
.praxis-section--reverse .praxis-section-img{ order: 2; }
.praxis-section--reverse .praxis-section-text{ order: 1; }
.praxis-section-img{ position: relative; overflow: hidden; min-width: 0; }
.praxis-section-img::before{ content: ''; display: block; padding-top: 100%; }
.praxis-section-img img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.praxis-section-text{
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 64px; min-width: 0;
}
@media (max-width: 1100px) and (min-width: 801px){
  .praxis-section-text{ padding: 40px 36px; }
}
/* Magazine section label: small uppercase teal (distinct from page-level labels) */
.praxis-section-title{
  margin: 0 0 8px;
  font: var(--t-badge);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--clr-solid);
  text-align: center;
}

@media (max-width: 800px){
  .praxis-section{ grid-template-columns: 1fr; }
  .praxis-section-img{ aspect-ratio: 1 / 1; height: auto; }
  .praxis-section--reverse .praxis-section-img{ order: 0; }
  .praxis-section--reverse .praxis-section-text{ order: 1; }
  .praxis-section-text{ padding: 32px 24px; }
}



/* ===================================================
   TECHNIK
   =================================================== */
/* Layout shared with leistung detail (.leistung-content, .leistung-list-wrap) */
.technik-content .leistung-list-wrap li { margin-bottom: 50px; }


/* ===================================================
   KARRIERE
   =================================================== */
/* .page-label / .page-title / .page-intro: shared blocks above */
.karriere-list{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.karriere-card-title{
  margin: 0;
  font: var(--t-subheading);
  color: var(--clr-solid);
  text-align: center;
}
.karriere-text{ margin-top: 0; }
.karriere-text p, .karriere-closing p{ margin-top: 50px; margin-bottom: 50px; }
.karriere-closing{ margin-top: 20px; }


/* ===================================================
   HOME
   =================================================== */
/* .page-label / .page-title: shared blocks above */
.home-circles-wrap{ text-align: center; padding-top: 20px; }
.home-circles{ width:100%; height: auto; display: inline-block; }


/* ===================================================
   AKTUELL PAGE
   =================================================== */
/* .page-label / .page-title: shared blocks above */
.aktuell-part--white{ background: #fff; }
.aktuell-part--gray{ background: var(--bg); }
.aktuell-part .content-inner{ max-width: 700px; }
.aktuell-post-img{ margin-bottom: 28px; }
.aktuell-post-img img{ width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.aktuell-date{
  font: var(--t-badge);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clr-solid);
  text-align: center;
  margin-bottom: 15px;
}
.aktuell-card-title{
  margin: 0 0 14px; font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700; text-align: center; line-height: 1.5;
}
.aktuell-card-text{  }
