/* Website-Muster – Komponenten auf Tailwind-Basis */

/* Logo-Platzhalter im runden Rahmen */
.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #fdf6f8 0%, #e8bcc6 100%);
  color: #7a4f5c;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(0.45rem, 22%, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
}

/* Logo im runden Rahmen (dezent, zum Rosé-Design) */
.logo-frame {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  padding: 4px;
  background: #fff;
  box-shadow:
    0 0 0 2px #d4a5b0,
    0 8px 24px rgb(122 79 92 / 0.12);
  line-height: 0;
}

.logo-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.logo-frame--sm {
  width: 2.75rem;
  height: 2.75rem;
}

.logo-frame--md {
  width: 10rem;
  height: 10rem;
}

.logo-frame--lg {
  width: 12rem;
  height: 12rem;
}

.logo-frame--xl {
  width: min(16rem, 70vw);
  height: min(16rem, 70vw);
  box-shadow:
    0 0 0 2px #d4a5b0,
    0 20px 48px rgb(122 79 92 / 0.28),
    0 8px 24px rgb(74 44 53 / 0.18);
}

@media (min-width: 1024px) {
  .logo-frame--xl {
    width: 18rem;
    height: 18rem;
  }
}

/* Header: Platz für Logo (Fly-Modus: leer, Text bleibt eingerückt) */
.site-logo-slot {
  display: inline-block;
  width: 2.75rem;
  height: 2.75rem;
}

/* Fliegendes Logo Hero ↔ Header (Bewegung/Größe per logo-scroll-fly.js) */
.site-logo-fly {
  position: fixed;
  z-index: 60;
  margin: 0;
  aspect-ratio: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.site-logo-fly.is-ready {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-logo-fly__frame {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
}

.site-logo-fly.is-scrolled .site-logo-fly__frame {
  box-shadow:
    0 0 0 2px #d4a5b0,
    0 8px 24px rgb(122 79 92 / 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .site-logo-fly.is-animating {
    transition: none;
  }
}

.brand-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #1877f2;
  transition: transform 180ms ease, background 180ms ease;
}

.btn-facebook:hover {
  transform: translateY(-1px);
  background: #166fe5;
}

.btn-facebook__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.btn-social-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #7a4f5c;
  background: #fff;
  border: 2px solid #d4a5b0;
}

.btn-social-outline:hover {
  background: #fdf6f8;
}

/* Admin: Toast (angelehnt an Physio / seifried.media) */
.admin-flash-toast {
  pointer-events: auto;
}

.admin-flash-toast[data-toast-leaving],
.admin-flash-toast.opacity-0 {
  pointer-events: none;
}

.studio-card {
  border-radius: 1.25rem;
  border: 1px solid rgb(243 221 227);
  background: #fff;
  box-shadow: 0 10px 30px rgb(122 79 92 / 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.studio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgb(122 79 92 / 0.12);
}

.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #b87d8a 0%, #7a4f5c 100%);
  box-shadow: 0 8px 24px rgb(122 79 92 / 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(122 79 92 / 0.32);
}

.btn-outline {
  color: #7a4f5c;
  border: 2px solid #d4a5b0;
  background: #fff;
}

.btn-outline:hover {
  background: #fdf6f8;
}

.btn-muted {
  color: #475569;
  background: #f1f5f9;
}

.btn-danger {
  color: #fff;
  background: #be123c;
}

.btn-icon {
  padding: 0.5rem 0.875rem;
}

.form-control {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: #1e293b;
}

.form-control:focus {
  outline: none;
  border-color: #b87d8a;
  box-shadow: 0 0 0 3px rgb(184 125 138 / 0.2);
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.price-table th,
.price-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3dde3;
  font-size: 0.9375rem;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

.mid-cta-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.admin-kachel-form--dirty .js-save-btn {
  box-shadow: 0 0 0 2px rgb(184 125 138 / 0.45);
}

.admin-kachel-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .admin-kachel-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-subform {
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.star-rating {
  color: #b87d8a;
  letter-spacing: 0.12em;
}

/* Hero: immer zwei Spalten (Text | Logo), skaliert auf kleinen Viewports */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: clamp(0.65rem, 3vw, 2.5rem);
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 4vw, 1.5rem);
}

.hero-grid__content {
  min-width: 0;
}

.hero-grid__logo {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hero-grid__eyebrow {
  font-size: clamp(0.5625rem, 1.65vw, 0.875rem);
  letter-spacing: clamp(0.08em, 0.35vw, 0.2em);
  line-height: 1.35;
}

.hero-grid__title {
  font-size: clamp(1.2rem, 5.2vw, 3.25rem);
  line-height: 1.12;
}

.hero-grid__lead {
  font-size: clamp(0.75rem, 2.1vw, 1.125rem);
}

.hero-grid__actions {
  gap: clamp(0.4rem, 1.5vw, 1rem);
}

.hero-grid__actions .btn-base {
  font-size: clamp(0.6875rem, 1.85vw, 1rem);
  padding: clamp(0.45rem, 1.2vw, 0.75rem) clamp(0.65rem, 2vw, 1.5rem);
}

.logo-frame--hero {
  width: clamp(4.25rem, 26vw, 18rem);
  height: clamp(4.25rem, 26vw, 18rem);
  box-shadow:
    0 0 0 2px #d4a5b0,
    0 20px 48px rgb(122 79 92 / 0.28),
    0 8px 24px rgb(74 44 53 / 0.18);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 4rem;
  pointer-events: none;
}

.gallery-tile img {
  aspect-ratio: 1;
  object-fit: cover;
}
