@font-face {
  font-family: "Bernier";
  src: url("../Bernier/Commercial/TTF/BERNIERRegular-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

:root {
  --turquoise-light: #5de0e6;
  --turquoise-dark: #325962;
  --yellow-light: #f5edc7;
  --pink: #ff66c4;
  --magenta: #d94ba2;
  --text-primary: #183038;
  --text-muted: #4c6973;
  --bg: #f9fbfc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
}

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

@keyframes floatPulse {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 237, 199, 0.5));
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../bilder/pfote1.jpg"), url("../bilder/pfote2.jpg"), url("../bilder/pfote1.jpg"),
    url("../bilder/pfote2.jpg"), url("../bilder/pfote1.jpg");
  background-repeat: no-repeat;
  background-size: 180px auto, 140px auto, 120px auto, 160px auto, 110px auto;
  background-position: 8% 12%, 78% 18%, 60% 65%, 25% 78%, 85% 82%;
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--magenta);
  margin-bottom: 0.5rem;
  animation: fadeUp 0.65s ease both;
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
  font-family: "Bernier", "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

h2,
h3 {
  animation: fadeUp 0.7s ease both;
}

section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

section::before,
section::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.08;
  filter: grayscale(0.1);
  pointer-events: none;
  transition: opacity 0.3s;
}

section::before {
  top: -20px;
  right: 4%;
  background-image: url("../bilder/pfote1.jpg");
  transform: rotate(-12deg);
}

section::after {
  bottom: -30px;
  left: 6%;
  background-image: url("../bilder/pfote2.jpg");
  transform: rotate(18deg);
}

section:nth-of-type(even)::before {
  right: auto;
  left: 8%;
  top: 10%;
  transform: rotate(22deg);
}

section:nth-of-type(even)::after {
  left: auto;
  right: 10%;
  bottom: 5%;
  transform: rotate(-18deg);
}

.site-header {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 75px ;
  height: 72px;
  object-fit: initial;
  background: transparent;
  box-shadow: none;

}

.logo:hover img {
  transform: scale(1.12);
}

.logo-title {
  font-family: "Bernier", "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  margin: 0;
}

.logo-subtitle {
  font-family: "Bernier", "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(93, 224, 230, 0.18);
  background: rgba(93, 224, 230, 0.08);
  box-shadow: 0 6px 16px rgba(24, 48, 56, 0.08);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

nav a:hover {
  background: linear-gradient(120deg, rgba(93, 224, 230, 0.22), rgba(217, 75, 162, 0.18));
  border-color: rgba(217, 75, 162, 0.25);
  box-shadow: 0 10px 20px rgba(24, 48, 56, 0.14);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(50, 89, 98, 0.16);
  background: white;
  box-shadow: 0 10px 18px rgba(24, 48, 56, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.menu-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(93, 224, 230, 0.25), rgba(93, 224, 230, 0));
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(24, 48, 56, 0.15);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--turquoise-dark);
  border-radius: 99px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.55, 0.06, 0.18, 0.99), opacity 0.2s ease, width 0.25s ease,
    background 0.2s ease;
}

.menu-toggle:active {
  transform: translateY(0) scale(0.97);
}

.menu-toggle.menu-toggle-pulse::after {
  opacity: 1;
  transform: scale(1.08);
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.cta {
  background: linear-gradient(120deg, #325962, #4e7d88);
  color: white;
  padding: 0.78rem 1.65rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 24px rgba(50, 89, 98, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(50, 89, 98, 0.3);
  filter: brightness(1.05);
}

.floating-insta {
  position: fixed;
  bottom: 20px;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9ed32, #ee2a7b, #6228d7);
  color: white;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(98, 40, 215, 0.22);
  z-index: 20;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: floatPulse 5s ease-in-out infinite;
}

.floating-insta::after {
  content: "";
  position: absolute;
  inset: 6px 8px auto auto;
  width: 22px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%);
  transform: rotate(-18deg);
  opacity: 0.7;
  pointer-events: none;
}

.floating-insta::before {
  content: "";
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3.75H17C19.2091 3.75 21 5.54086 21 7.75V16.25C21 18.4591 19.2091 20.25 17 20.25H7C4.79086 20.25 3 18.4591 3 16.25V7.75C3 5.54086 4.79086 3.75 7 3.75Z' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3Cpath d='M16.25 7.25C16.6642 7.25 17 7.58579 17 8C17 8.41421 16.6642 8.75 16.25 8.75C15.8358 8.75 15.5 8.41421 15.5 8C15.5 7.58579 15.8358 7.25 16.25 7.25Z' fill='%23FFFFFF'/%3E%3Cpath d='M8.75 12C8.75 10.2051 10.2051 8.75 12 8.75C13.7949 8.75 15.25 10.2051 15.25 12C15.25 13.7949 13.7949 15.25 12 15.25C10.2051 15.25 8.75 13.7949 8.75 12Z' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

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

.floating-insta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 28px rgba(98, 40, 215, 0.28);
}

.floating-insta:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 640px) {
  .floating-insta {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 14px;
  }
}

.ghost {
  border: 1px solid var(--turquoise-dark);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--turquoise-dark);
  font-weight: 600;
  cursor: pointer;
}

.hero {
  padding: 6rem 0 4rem;
  animation: fadeUp 0.7s ease both;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-visuals {
  display: grid;
  gap: 1.5rem;
}

.hero-copy {
  display: grid;
  gap: 1rem;
  animation: fadeUp 0.8s ease both;
}

.photo-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.75rem;
}

.photo-stack img {
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(50, 89, 98, 0.18);
}

.photo-stack img:nth-child(odd) {
  transform: translateY(12px);
}

.photo-stack img:nth-child(even) {
  transform: translateY(-12px);
}

.hero-card {
  background: var(--turquoise-dark);
  color: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(50, 89, 98, 0.3);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.hero-card li::before {
  content: "•";
  color: var(--turquoise-light);
  margin-right: 0.5rem;
}

.hero-card li {
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.08s;
}

.price {
  font-size: 1.5rem;
  font-weight: 600;
}

.services {
  background: white;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card-grid article {
  background: var(--yellow-light);
  border-radius: 20px;
  padding: 1.5rem;
  min-height: 180px;
  box-shadow: 0 10px 20px rgba(249, 154, 200, 0.2);
  animation: fadeUp 0.75s ease both;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section-cta .ghost {
  border-color: rgba(50, 89, 98, 0.3);
}

.welcome {
  background: rgba(255, 255, 255, 0.85);
}

.welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.welcome-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 30px rgba(50, 89, 98, 0.12);
  border: 1px solid rgba(50, 89, 98, 0.1);
  animation: fadeUp 0.75s ease both;
}

.welcome-card .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--magenta);
  margin-bottom: 0.25rem;
}

.value-note {
  margin-top: 2rem;
  background: var(--yellow-light);
  border-radius: 24px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: center;
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--turquoise-dark);
}

.value-list li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: var(--magenta);
}

.services-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.services-gallery img {
  height: 180px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 35px rgba(82, 144, 154, 0.25);
  animation: fadeUp 0.8s ease both;
}

.studio {
  background: var(--turquoise-light);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

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

.studio-photo {
  background: url("../bilder/galerie/20250722_135520.jpg") center/cover no-repeat, rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  min-height: 360px;
  position: relative;
  border: 3px dashed var(--pink);
  overflow: hidden;
  animation: fadeUp 0.8s ease both;
}

.studio-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(50, 89, 98, 0.15), rgba(217, 75, 162, 0.15));
}

.studio-gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.studio-gallery article {
  background: white;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 20px 35px rgba(24, 48, 56, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: fadeUp 0.8s ease both;
}

.studio-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.studio-icon {
  width: 100%;
  height: 180px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(93, 224, 230, 0.18), rgba(50, 89, 98, 0.08)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(249, 237, 199, 0.2));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(50, 89, 98, 0.08);
  box-shadow: 0 16px 30px rgba(24, 48, 56, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.studio-icon svg {
  width: 72%;
  height: 72%;
  filter: drop-shadow(0 6px 12px rgba(24, 48, 56, 0.18));
}

.studio-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  border: 1px dashed rgba(217, 75, 162, 0.4);
  opacity: 0.6;
}

.studio-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(24, 48, 56, 0.15);
}

.studio-gallery h3 {
  margin: 0;
  font-size: 1.1rem;
}

.studio-gallery p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bubble {
  position: absolute;
  background: var(--pink);
  color: white;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.bubble-top {
  top: 18%;
  left: 15%;
}

.bubble-bottom {
  bottom: 18%;
  right: 12%;
  background: var(--magenta);
}

.team {
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team article {
  background: var(--bg);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(50, 89, 98, 0.1);
  display: grid;
  gap: 0.75rem;
  animation: fadeUp 0.8s ease both;
}

.team article img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
  margin: 0 auto;
  box-shadow: 0 18px 35px rgba(50, 89, 98, 0.12);
}

.quote {
  color: var(--text-muted);
  font-style: italic;
}

.contact {
  background: var(--yellow-light);
}

.contact-info a {
  color: var(--magenta);
  font-weight: 600;
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(50, 89, 98, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.8s ease both;
}

.preset-buttons {
  display: grid;
  gap: 0.5rem;
}

.preset-buttons .ghost {
  display: block;
  text-align: center;
}

.contact-form label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(50, 89, 98, 0.2);
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
}

.contact-visual {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.contact-visual img {
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(50, 89, 98, 0.18);
}

.gallery {
  background: white;
}

.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(24, 48, 56, 0.12);
  border: 1px solid rgba(50, 89, 98, 0.08);
  animation: fadeUp 0.8s ease both;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.equip-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.equip-card {
  background: white;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(50, 89, 98, 0.08);
  box-shadow: 0 14px 30px rgba(24, 48, 56, 0.12);
}

.equip-label {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--magenta);
}

.equip-card h3 {
  margin: 0 0 0.35rem;
}

.equip-card p {
  margin: 0;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.before-after {
  background: white;
}

.ba-cta {
  margin-top: 1.25rem;
}

.ba-comparison {
  position: relative;
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(24, 48, 56, 0.12);
  border: 1px solid rgba(50, 89, 98, 0.08);
  aspect-ratio: 4 / 3;
  --pos: 50%;
  animation: fadeUp 0.85s ease both;
}

.ba-image {
  position: absolute;
  inset: 0;
}

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

.ba-image-after {
  width: var(--pos);
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 6px 0 24px rgba(24, 48, 56, 0.15);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: col-resize;
  touch-action: pan-y;
}

.ba-range::-webkit-slider-thumb {
  appearance: none;
  width: 1px;
  height: 300px;
  background: transparent;
}

.ba-range::-moz-range-thumb {
  width: 1px;
  height: 300px;
  background: transparent;
  border: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 25px rgba(24, 48, 56, 0.18);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ba-handle span {
  width: 18px;
  height: 18px;
  border-left: 3px solid var(--turquoise-dark);
  border-right: 3px solid var(--turquoise-dark);
  display: block;
}

.legal {
  background: white;
}

.legal-hero {
  padding-bottom: 3rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.legal-grid article {
  background: var(--bg);
  border: 1px solid rgba(50, 89, 98, 0.12);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 24px rgba(24, 48, 56, 0.08);
}

.legal-grid h3 {
  margin-top: 0;
}

.legal-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.login-section {
  background: var(--turquoise-light);
}

.login-layout {
  align-items: center;
}

.login-card {
  width: min(420px, 90%);
  margin-left: auto;
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(50, 89, 98, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-card .form-message {
  min-height: 1.5rem;
  font-weight: 600;
}

.form-message[data-state="error"] {
  color: #d94b4b;
}

.form-message[data-state="success"] {
  color: #2f8f70;
}

.admin-hero {
  background: var(--yellow-light);
}

.admin-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.admin-widgets article {
  background: white;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 15px 30px rgba(50, 89, 98, 0.15);
}

.customer-section {
  background: white;
}

.customer-copy {
  max-width: 640px;
  color: var(--text-muted);
}

.customer-table {
  margin-top: 2rem;
  background: var(--bg);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 24px rgba(50, 89, 98, 0.12);
  overflow-x: auto;
}

.customer-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.customer-table th,
.customer-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.customer-table th {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.customer-table tbody tr:nth-child(odd) {
  background: rgba(93, 224, 230, 0.12);
}

.table-message {
  font-style: italic;
  color: var(--text-muted);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  animation: fadeUp 0.75s ease both;
}

.care-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.care-grid article,
.price-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 35px rgba(50, 89, 98, 0.12);
  border: 1px solid rgba(50, 89, 98, 0.08);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.price-card li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.price-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--magenta);
}

.price-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px dashed rgba(50, 89, 98, 0.15);
  padding-bottom: 0.5rem;
}

.price-card .label {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.price-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--turquoise-dark);
  margin: 0;
}

.extra-note {
  margin-top: 2rem;
  background: rgba(249, 237, 199, 0.6);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  border: 1px dashed rgba(217, 75, 162, 0.4);
  color: var(--text-muted);
}

.site-footer {
  background: var(--turquoise-dark);
  color: white;
  padding: 1.5rem 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  animation: fadeUp 0.8s ease both;
}

.footer-links {
  display: flex;
  gap: 1rem;
  animation: fadeUp 0.9s ease both;
}

@media (max-width: 820px) {
  .header-content {
    justify-content: space-between;
    gap: 0.55rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.45rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .site-header .container {
    width: min(1100px, 94vw);
  }

  .site-header nav {
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(50, 89, 98, 0.08);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(24, 48, 56, 0.12);
    padding: 0;
    margin-top: 0.25rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.35, 1), opacity 0.3s ease, transform 0.35s ease;
  }

  .site-header .cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.35, 1), opacity 0.3s ease, transform 0.35s ease, margin 0.2s ease;
  }

  .nav-open .site-header nav {
    padding: 0.5rem 0.75rem;
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
  }

  .nav-open .site-header .cta {
    max-height: 320px;
    margin-top: 0.75rem;
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
  }

  .site-header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0;
  }

  .site-header nav li {
    width: 100%;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-header nav a {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(93, 224, 230, 0.08);
    border: 1px solid rgba(50, 89, 98, 0.08);
    box-shadow: none;
  }

  .nav-open .site-header nav li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-open .site-header nav li:nth-child(1) {
    transition-delay: 0.05s;
  }

  .nav-open .site-header nav li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .nav-open .site-header nav li:nth-child(3) {
    transition-delay: 0.15s;
  }

  .nav-open .site-header nav li:nth-child(4) {
    transition-delay: 0.2s;
  }

  .nav-open .site-header nav li:nth-child(5) {
    transition-delay: 0.25s;
  }

  .site-header nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0;
  }

  .site-header nav a {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: rgba(93, 224, 230, 0.08);
    border: 1px solid rgba(50, 89, 98, 0.08);
  }
}

@media (max-width: 640px) {
  body::after {
    background-size: 120px auto, 90px auto, 90px auto, 110px auto, 80px auto;
    background-position: 8% 8%, 78% 12%, 60% 70%, 22% 78%, 84% 86%;
    opacity: 0.12;
  }

  section {
    padding: 3rem 0;
  }

  .logo img {
    width: 75px;
    height: 75px;
  }

  .cta {
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .studio-photo {
    min-height: 260px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .ba-comparison {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
  }

  .ba-handle {
    width: 40px;
    height: 40px;
  }

  .team-grid {
    gap: 1.25rem;
  }

  .team article {
    text-align: center;
  }

  .section-cta {
    justify-content: center;
  }

  .footer-grid {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(520px, 92vw);
  }

  section {
    padding: 2.5rem 0;
  }

  section::before,
  section::after {
    display: none;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .header-content {
    padding: 0.4rem 0;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo img {
    width: 54px;
    height: 54px;
  }

  .lead {
    font-size: 1rem;
  }

  .team article {
    padding: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
  }

  .gallery-grid img {
    height: 170px;
  }

  .ba-comparison {
    border-radius: 14px;
  }

  .ba-handle {
    width: 36px;
    height: 36px;
  }
}
