:root {
  --bg: #f1f1f1;
  --surface: #ffffff;
  --surface-soft: #e9fbfa;
  --text: #24313a;
  --muted: #5f6d75;
  --primary: #34cfcf;
  --primary-dark: #0ea5a8;
  --accent: #2dd4bf;
  --line: #d3ecea;
  --radius: 18px;
  --shadow: 0 16px 45px rgba(24, 39, 51, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 680px at 12% 0%, #d6d6d6 0%,
     rgb(244, 244, 244) 55%), 
     radial-gradient(900px 540px at 88% 8%, #ddd 0%,
    rgb(203, 203, 203) 50%), 
    linear-gradient(180deg, #c1c1c1 0%, #d7d7d7 35%, #ddd 100%);
  line-height: 1.55;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.top-strip {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #f4fffe;
  padding: 16px 20px;
  font-size: 16px;
  text-align: center;
}
.top-strip p { margin: 0; }
.top-strip a { color: inherit; font-weight: 700; text-decoration: none; }
.top-strip a:hover { color: inherit; text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px clamp(16px, 4vw, 48px) 14px;
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: padding .25s ease, gap .25s ease, background .25s ease;
}

.brand-row {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  transition: justify-content .25s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 100px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  align-items: center;
  text-align: center;
}

.brand-kicker {
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 20px;
  color: rgba(36, 49, 58, 0.68);
}

.brand-title {
  font-weight: 600;
  font-size: 18px;
  color: #38cfcd;
}

.brand-divider {
  width: 100%;
  max-width: 220px;
  height: 1px;
  background: rgba(36, 49, 58, 0.18);
  margin-top: 2px;
}

.brand-tagline {
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(36, 49, 58, 0.62);
  text-transform: none;
}


.site-header.is-scrolled {
  padding: 8px clamp(16px, 4vw, 48px) 8px;
  gap: 2px;
  background: rgba(255, 253, 249, 0.95);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled .brand-row {
  width: auto;
  justify-content: flex-start;
}

.site-header.is-scrolled .brand-logo {
  height: 80px;
}

.site-header.is-scrolled .brand-kicker {
  font-size: 14px;
}

.site-header.is-scrolled .brand-title {
  font-size: 14px;
}

.site-header.is-scrolled .brand-tagline {
  font-size: 12px;
}

.site-header.is-scrolled .main-nav {
  width: auto;
  padding-top: 0;
  gap: 10px;
  justify-content: flex-end;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  width: 100%;
  padding-top: 4px;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
}
.main-nav a.is-active,
.main-nav a:hover { background: var(--surface-soft); color: var(--primary-dark); }

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary-dark);
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  line-height: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle svg { display: block; }
.menu-toggle:hover { border-color: rgba(14, 165, 168, 0.35); background: var(--surface-soft); }
.menu-toggle[aria-expanded="true"] { background: var(--surface-soft); }

.hero {
  position: relative;
  min-height: min(76vh, 760px);
  display: flex;
  align-items: end;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.67) 40%, rgba(255, 255, 255, 0) 72%);
}
.hero-content {
  position: relative;
  color: #38cfcd;
  max-width: 760px;
  padding: clamp(28px, 7vw, 64px);
  animation: rise 640ms ease;
}
.hero-content h1 {
  margin: 12px 0;
  font-size: clamp(32px, 7vw, 62px);
  line-height: 1.05;
  color: #38cfcd;
}
.hero-content p { max-width: 58ch; color: inherit; }

.eyebrow {
  margin: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .78rem;
  color: var(--primary);
}

.hero .eyebrow {
  color: #38cfcd;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
}
.btn-primary {
  background: linear-gradient(140deg, var(--primary), var(--accent));
  color: #ffffff;
}
.btn-ghost {
  border: 1px solid rgb(53, 208, 206);
  color: #35d0ce;
}

.btn-ghost-dark {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.call-fab {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 60;
}

.call-fab-btn {
  display: inline-flex;
  align-items: center;
  column-gap: 0;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(21, 63, 68, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.call-fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(21, 63, 68, 0.22);
}

.call-fab-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
}

.call-fab-label {
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .35s ease, opacity .2s ease;
}

.call-fab.is-hint .call-fab-label,
.call-fab:hover .call-fab-label,
.call-fab:focus-within .call-fab-label {
  max-width: 170px;
  opacity: 1;
}

.call-fab.is-hint .call-fab-btn,
.call-fab:hover .call-fab-btn,
.call-fab:focus-within .call-fab-btn {
  column-gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .call-fab-btn,
  .call-fab-label {
    transition: none;
  }
}

.section {
  width: min(1360px, calc(100% - 32px));
  margin: clamp(42px, 7vw, 80px) auto;
}

.statement {
  margin-top: clamp(26px, 4vw, 44px);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.statement-card {
  background: linear-gradient(140deg, #f2fffe, #eafaf9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.8vw, 34px);
  text-align: center;
}

.statement-card p {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
  color: #153f44;
  white-space: nowrap;
}

.statement-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
  line-height: 1.2;
  color: #38cfcd;
  font-weight: 600;
}

.statement-subtitle {
  margin: 10px auto 0;
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  color: rgba(36, 49, 58, 0.68);
  max-width: 62ch;
}

.about-origin {
  margin-top: clamp(10px, 2vw, 18px);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-item {
  padding-top: 20px;
  background: var(--surface);
  border-top: 4px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.about-item:hover {
  transform: translateY(-3px);
}

.about-grid .about-item:nth-child(1) {
  background: var(--surface);
  border-top-color: var(--line);
}

.about-grid .about-item:nth-child(2) {
  background: var(--surface);
  border-top-color: var(--line);
}

.about-grid .about-item:nth-child(3) {
  background: var(--surface);
  border-top-color: var(--line);
}

.about-icon-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  padding: 10px;
  border-radius: 16px;
  background: #e9f4f2;
  border: 1px solid var(--line);
  display: block;
  margin-bottom: 14px;
}

.about-icon {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  background: #e9f4f2;
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.about-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-icon .about-icon-line {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-icon .about-icon-solid {
  fill: currentColor;
  stroke: none;
}

.about-item:nth-child(2) .about-icon {
  color: var(--primary-dark);
  background: #e9f4f2;
}

.about-item:nth-child(3) .about-icon {
  color: var(--primary-dark);
  background: #e9f4f2;
}

.about-item p {
  margin: 0 0 12px;
  color: var(--muted);
}

.about-item p:last-child {
  margin-bottom: 0;
}

.section-head h2 { font-size: clamp(24px, 3.2vw, 38px); margin: 8px 0 0; color: #38cfcd; font-weight: 600; }
.section-head h3 { margin: 8px 0 0; color: #38cfcd; font-weight: 600; }
.section-subline { color: var(--muted); margin: 8px 0 18px; }

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  padding: 18px 20px;
}

.service-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.service-head h3 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--muted);
}

.service-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef8f7;
  color: #124f54;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform .2s ease, background .2s ease;
}

.service-toggle span {
  display: inline-block;
  transform: translateY(-1px);
}

.service-toggle:hover {
  background: #ddf0ed;
}

.service-content {
  margin-top: 12px;
  color: var(--muted);
}

.service-content p {
  margin: 0;
}

.service-content ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.service-content li {
  margin: 6px 0;
}

.service-content.is-collapsed {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
}

.service-item.is-open .service-toggle {
  transform: rotate(180deg);
}

.about-me-card {
  padding: clamp(20px, 3vw, 34px);
}

.about-me-photo-wrap {
  margin: 0 0 14px;
}

.about-me-photo {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.team-bio--short {
  --team-bio-clamp: 3;
}

.team-bio--xshort {
  --team-bio-clamp: 2;
}

.team-bio--four {
  --team-bio-clamp: 4;
}

.team-bio--tight .career-list {
  margin: 6px 0 0;
}

.team-bio--tight .career-list li {
  margin: 2px 0;
}

.team-bio.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--team-bio-clamp, 5);
  overflow: hidden;
}

.team-bio-toggle {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-weight: 800;
  cursor: pointer;
  align-self: flex-start;
}

.team-bio-toggle:hover {
  text-decoration: underline;
}

.about-me-grid {
  display: grid;
  /* 6-spaltiges Grid, damit 3 Karten/Zeile (je 2 Spalten) möglich sind
     und die letzte Zeile bei 5 Karten optisch mittig sitzt. */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.about-me-grid .about-me-card {
  grid-column: span 2;
}

/* Bei genau 4 Teamkarten: 2 Spalten für ein 2x2 Layout */
.about-me-grid.about-me-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.about-me-grid.about-me-grid--four .about-me-card {
  grid-column: auto;
}

/* Bei genau 5 Teamkarten: letzte Zeile (2 Karten) mittig ausrichten */
.about-me-grid.about-me-grid--five .about-me-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}
.about-me-grid.about-me-grid--five .about-me-card:last-child {
  grid-column: 4 / span 2;
}

@media (max-width: 1240px) {
  .about-me-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-me-grid .about-me-card {
    grid-column: auto;
  }
}

.about-me-grid .about-me-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.job-call {
  margin-top: 20px;
}

.job-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.career-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

.career-main {
  display: grid;
  gap: 16px;
}

.career-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.career-list li {
  margin: 6px 0;
}

.career-contact-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.career-contact-list li {
  margin: 8px 0;
}

.about-me-role {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: .02em;
}

.about-me-role-soft {
  margin-top: -6px;
  color: #2f666a;
  font-weight: 600;
}

.about-me-card .qualification-lines p {
  margin: 0;
  line-height: 1.25;
}

.qualification-lines {
  margin-bottom: 12px;
}

.about-me-name {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.about-me-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.about-me-card p:last-child {
  margin-bottom: 0;
}

.patient-info ul {
  margin: 8px 0 14px;
  padding-left: 20px;
  color: var(--muted);
}
.patient-info .card + .card { margin-top: 16px; }

.patient-info .patient-info-heading {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
}

.patient-info .about-me-role {
  color: var(--muted);
}

.patient-info .patient-info-subhead {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.patient-info .about-me-name {
  color: var(--muted);
}

.patient-info li {
  margin: 6px 0;
}

.about-me-services {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.team-intro {
  min-height: 0;
}

.about-me-services .service-head h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary-dark);
}

.podologie-info {
  margin-top: 22px;
}

.podologie-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.podologie-media {
  margin: 0;
  min-height: 420px;
  position: relative;
}

.podologie-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.podologie-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.podologie-content {
  padding: clamp(22px, 3.6vw, 36px);
  background: linear-gradient(145deg, #f2fffe, #ffffff);
}

.podologie-content .about-me-name {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.podologie-content .about-me-role {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 600;
}

.podologie-content p:not(.eyebrow) {
  margin: 0 0 12px;
  color: var(--muted);
}

.reviews-card {
  background: linear-gradient(155deg, #f2fffe, #ffffff);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-item {
  display: block;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff, #f6fffe);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.review-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(21, 63, 68, 0.12);
  border-color: rgba(53, 208, 206, 0.55);
}

.review-name {
  margin: 0;
  font-weight: 800;
  color: #153f44;
}

.review-meta {
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.review-stars {
  letter-spacing: 0.1em;
  color: #f6b11a;
}

.review-time {
  display: none;
}

.review-text {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.reviews-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 840px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.grid { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.section.gallery {
  margin-top: 32px;
  margin-bottom: 32px;
}

.gallery .section-head {
  margin-bottom: 10px;
}

.gallery-card.card {
  padding: 10px;
}

.gallery-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.gallery-grid--page {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.admin-accordion {
  padding: 0;
}

.admin-accordion > summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 800;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-accordion > summary::-webkit-details-marker {
  display: none;
}

.admin-accordion > summary::after {
  content: "⌄";
  display: inline-block;
  transform: translateY(-1px);
  transition: transform .2s ease;
  color: var(--primary-dark);
  font-weight: 900;
}

.admin-accordion[open] > summary {
  border-bottom: 1px solid var(--line);
}

.admin-accordion[open] > summary::after {
  transform: rotate(180deg);
}

.admin-accordion-body {
  padding: 18px 24px 24px;
}

.admin-accordion-title {
  margin: 0;
  color: var(--primary-dark);
}

.admin-accordion-sep {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 18px 0;
}

.admin-row {
  display: grid;
  grid-template-columns: 86px 1fr 74px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}

.admin-thumb {
  width: 86px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

.admin-dropzone {
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(145deg, #f2fffe, #ffffff);
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  user-select: none;
}

.admin-dropzone:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(52, 207, 207, 0.22);
  border-color: rgba(14, 165, 168, 0.7);
}

.admin-dropzone.is-dragover {
  border-color: var(--primary-dark);
  background: linear-gradient(145deg, #e6fffc, #ffffff);
  transform: translateY(-1px);
}

.admin-dropzone-title {
  font-weight: 800;
  color: var(--text);
}

.admin-dropzone-sub {
  margin-top: 4px;
  font-size: 14px;
}

.admin-dropzone-count {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.admin-dropzone-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-upload-status {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  font-weight: 600;
}

.admin-upload-status.is-error {
  border-color: rgba(239, 68, 68, 0.45);
}

.admin-upload-status.is-ok {
  border-color: rgba(45, 212, 191, 0.55);
}

.admin-meta {
  min-width: 0;
}

.admin-file {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions .btn {
  padding: 8px 10px;
}

.admin-order {
  width: 74px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
  text-align: center;
}

.admin-order-wrap {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.admin-delete.btn {
  padding: 8px 10px;
  width: 74px;
  justify-content: center;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3, .card h2 { margin-top: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.check-list li {
  margin: 8px 0;
  padding-left: 24px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.image-stack {
  display: grid;
  gap: 14px;
}
.image-stack img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, #f2fffe, var(--surface-soft));
}

.contact-intro h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #38cfcd;
  font-weight: 600;
}

.contact-intro .eyebrow {
  color: #38cfcd;
}

.contact-intro p {
  margin: 0;
  color: var(--muted);
}

.contact-quick-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-highlights {
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.contact-highlights li {
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
  color: #3f5862;
}

.contact-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-card {
  background: linear-gradient(160deg, #f4fbfa, #ffffff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.contact-card p {
  margin: 0;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-muted {
  color: var(--muted);
}

.contact-hours {
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-muted a {
  color: inherit;
  font-weight: 600;
}

.contact-muted a:hover {
  color: var(--primary-dark);
}

.contact-download {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-download-btn {
  box-shadow: 0 10px 24px rgba(23, 145, 149, 0.18);
}

@media (max-width: 520px) {
  .contact-download .btn {
    width: 100%;
    text-align: center;
  }
}

.page-hero {
  width: min(1360px, calc(100% - 32px));
  margin: 48px auto 0;
  background: linear-gradient(145deg, #e3fbf8, #ffffff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.page-hero h1 { margin: 10px 0 0; font-size: clamp(30px, 5vw, 50px); }

.legal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.site-footer {
  margin-top: 56px;
  padding: 30px clamp(16px, 4vw, 48px);
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #eefdfc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.site-footer p { margin: 6px 0 0; color: rgba(238, 253, 252, 0.82); }
.site-footer a { color: #ffffff; font-weight: 600; }
.site-footer .footer-links a { margin: 0 10px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  place-items: center;
  padding: 18px;
  z-index: 100;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  background: #fff;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

body.is-lightbox-open {
  overflow: hidden;
}

.footer-membership {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 6px;
}

.footer-membership-title {
  margin: 0;
  font-weight: 700;
  color: rgba(238, 253, 252, 0.92);
}

.footer-membership-logo {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.18));
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .statement-card p {
    white-space: normal;
  }

  .about-me-grid,
  .cards-3,
  .about-grid,
  .podologie-panel,
  .career-layout,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid--page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-me-grid.about-me-grid--four {
    grid-template-columns: 1fr;
  }

  .about-me-grid.about-me-grid--five {
    grid-template-columns: 1fr;
  }

  .about-me-grid.about-me-grid--five .about-me-card:nth-last-child(2),
  .about-me-grid.about-me-grid--five .about-me-card:last-child {
    grid-column: auto;
  }

  .team-intro {
    min-height: 0;
  }

  .podologie-media {
    min-height: 260px;
  }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  main { padding-top: calc(var(--header-fixed-height, 0px) + var(--top-strip-height, 0px) + var(--vv-offset, 0px)); }
  .top-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 41;
    transform: translate3d(0, var(--vv-offset, 0px), 0);
    padding: 6px 12px;
  }
  html.is-mobile-scrolled .top-strip { display: none; }
  .site-header {
    position: fixed;
    top: var(--top-strip-height, 0px);
    left: 0;
    right: 0;
    width: 100%;
    transform: translate3d(0, var(--vv-offset, 0px), 0);
    will-change: transform;
    transition: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }
  .site-header.is-scrolled {
    flex-direction: column;
    justify-content: center;
    padding: 12px clamp(16px, 4vw, 48px) 14px;
    gap: 6px;
  }
  .site-header.is-scrolled .brand-row {
    width: 100%;
    justify-content: center;
  }
  .brand {
    gap: 12px;
  }
  .brand-logo {
    height: 56px;
  }
  .brand-kicker {
    font-size: 14px;
    letter-spacing: 0.16em;
  }
  .brand-title {
    font-size: 19px;
  }
  .brand-tagline {
    font-size: 13px;
  }
  .site-header.is-scrolled .brand-logo {
    height: 48px;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0 2px;
    background: transparent;
    border-bottom: 0;
  }
  .main-nav.is-open { display: flex; }
}

@media (max-width: 560px) {
  .section.gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section.gallery .gallery-grid .gallery-item:nth-child(n+3) {
    display: none;
  }

  .gallery-grid--page {
    grid-template-columns: 1fr;
  }
}
