
:root {
  --pink: #ed0b63;
  --pink-dark: #c90750;
  --lime: #eaff00;
  --white: #ffffff;
  --ink: #171717;
  --soft: rgba(255,255,255,.10);
  --soft-border: rgba(255,255,255,.18);
  --shadow: 0 22px 55px rgba(0,0,0,.16);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--pink);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.legal {
  background: var(--pink);
  color: var(--white);
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(237, 11, 99, .82);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

body.legal .site-header {
  background: rgba(237, 11, 99, .88);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav {
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: fit-content;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.brand-logo:hover {
  transform: rotate(-7deg) scale(1.06);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  position: relative;
  opacity: .9;
  white-space: nowrap;
}

body.legal .nav-links a { color: #fff; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--lime);
  transition: right .25s ease;
}

body.legal .nav-links a::after { background: var(--lime); }

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--lime);
}

body.legal .nav-links a:hover,
body.legal .nav-links a.active {
  color: var(--lime);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.menu-button {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
}

body.legal .menu-button {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-logo {
  width: min(430px, 90%);
  height: auto;
  display: block;
  object-fit: contain;
  animation: logoFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  background: rgba(234,255,0,.10);
  right: -90px;
  top: 14%;
}

.hero::after {
  width: 270px;
  height: 270px;
  background: rgba(255,255,255,.08);
  left: -80px;
  bottom: 9%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 90px;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 7.2rem);
  color: var(--lime);
  margin-bottom: 22px;
}

.page-title {
  font-size: clamp(3rem, 7vw, 5.6rem);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--lime);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.55rem;
  color: var(--lime);
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 720px;
  color: rgba(255,255,255,.95);
}

.hero-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 36px;
  padding: 28px;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.logo-placeholder,
.image-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px dashed rgba(255,255,255,.45);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  padding: 24px;
}

.logo-placeholder {
  min-height: 430px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.image-placeholder {
  min-height: 320px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid var(--lime);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--lime);
  color: #111;
}

.btn-ghost {
  color: #fff;
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

.section {
  padding: 88px 0;
}

.section-tight { padding: 56px 0; }

.content {
  max-width: 820px;
}

.center { text-align: center; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--soft);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 38px rgba(0,0,0,.08);
}

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

.quote {
  margin: 70px auto 0;
  max-width: 920px;
  text-align: center;
  color: var(--lime);
  font: 700 clamp(1.9rem, 4vw, 3.1rem)/1.2 Georgia, serif;
}

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

.gallery-item {
  min-height: 280px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--lime);
  margin-top: 6px;
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.map-placeholder {
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(234,255,0,.11), rgba(255,255,255,.05)),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,.03) 22px 44px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

.notice {
  border-left: 5px solid var(--lime);
  background: rgba(255,255,255,.10);
  border-radius: 0 18px 18px 0;
  padding: 18px 20px;
}

.form-card {
  background: #fff;
  color: #222;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-card h2,
.form-card h3 { color: #222; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-weight: 800;
  font-size: .95rem;
}

input, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

body.legal main {
  background: var(--pink);
  color: #fff;
}

body.legal .section {
  max-width: 940px;
}

body.legal h1,
body.legal h2,
body.legal h3 { color: var(--lime); }

body.legal .page-title { color: var(--lime); }

body.legal p,
body.legal li { color: #fff; }

body.legal .notice {
  background: rgba(255,255,255,.10);
  border-left-color: var(--lime);
}

.legal-block {
  margin: 34px 0;
}

.footer {
  margin-top: 40px;
  padding: 34px 0 48px;
  border-top: 1px solid rgba(255,255,255,.16);
}

body.legal .footer {
  background: var(--pink);
  color: #fff;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 14px 24px;
  flex-wrap: wrap;
}

.footer a { color: #fff; }
.footer-copy {
  margin-left: auto;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
}

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  font-size: .86rem;
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: .84rem;
  }
}

@media (max-width: 920px) {
  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .menu-button { display: inline-grid; place-items: center; }

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--pink);
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,.14);
  }

  body.legal .nav-links {
    background: var(--pink);
    border-top-color: rgba(255,255,255,.14);
  }

  .nav-links.open { display: flex; }

  .hero-grid,
  .grid-2,
  .grid-3,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card { transform: none; }

  .logo-placeholder { min-height: 300px; }

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

@media (max-width: 600px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section { padding: 62px 0; }
  .hero-grid { padding: 54px 0 70px; }
  .gallery-grid,
  .form-grid { grid-template-columns: 1fr; }

  h1 { font-size: clamp(3rem, 18vw, 4.5rem); }
  .page-title { font-size: clamp(2.8rem, 16vw, 4.2rem); }

  .footer-copy {
    width: 100%;
    margin-left: 0;
  }
}


/* ===== Fancy / clean polish ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(234,255,0,.055), transparent 24%),
    radial-gradient(circle at 90% 35%, rgba(255,255,255,.05), transparent 22%),
    radial-gradient(circle at 40% 85%, rgba(234,255,0,.04), transparent 20%);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  z-index: 2000;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(234,255,0,.55);
  transition: width .08s linear;
}

.site-header {
  transition: min-height .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(214, 8, 87, .94);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.site-header.scrolled .nav {
  min-height: 82px;
}

.site-header.scrolled .brand-logo {
  width: 62px;
  height: 62px;
}

.card,
.gallery-item,
.map-placeholder,
.form-card {
  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s ease,
    border-color .35s ease,
    background .35s ease;
}

.card:hover,
.gallery-item:hover {
  transform: translateY(-7px);
  border-color: rgba(234,255,0,.42);
  box-shadow: 0 24px 58px rgba(0,0,0,.15);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: transform .55s ease;
}

.btn:hover::before {
  transform: translateX(120%) skewX(-18deg);
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  filter: blur(7px);
  transition:
    opacity .8s cubic-bezier(.2,.75,.25,1),
    transform .8s cubic-bezier(.2,.75,.25,1),
    filter .8s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-card {
  animation: none;
}

@keyframes gentle-float {
  0%, 100% { transform: rotate(1.4deg) translateY(0); }
  50% { transform: rotate(.3deg) translateY(-10px); }
}

.page-title {
  position: relative;
  width: fit-content;
}

.page-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 5px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--lime);
  transform-origin: left;
  animation: title-line 1s .15s both cubic-bezier(.2,.8,.2,1);
}

@keyframes title-line {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.section + .section {
  position: relative;
}

.section + .section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(92%, 1180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ===== PORTRAIT ÜBER MICH ===== */

.portrait-wrap {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.portrait-image {
  width: 100%;
  height: 620px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.portrait-wrap:hover .portrait-image {
  transform: scale(1.025);
}

@media (max-width: 920px) {
  .portrait-wrap {
    margin: 30px auto 0;
    max-width: 600px;
  }

  .portrait-image {
    height: auto;
    max-height: 650px;
  }
}

/* ===== METHODENBILD ===== */

.method-image-wrap {
  width: 100%;
  max-width: 560px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.method-image {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.method-image-wrap:hover .method-image {
  transform: scale(1.025);
}

@media (max-width: 920px) {
  .method-image-wrap {
    max-width: 620px;
    margin: 0 auto 30px;
  }

  .method-image {
    height: auto;
    max-height: 650px;
  }
}

/* =========================================
   MODERNE GALERIE
========================================= */

.gallery-intro {
  margin-bottom: 42px;
}

.gallery-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.gallery-photo {
  margin: 0;
  position: relative;
  overflow: hidden;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.08);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.12);

  border:
    1px solid rgba(255, 255, 255, 0.14);

  min-height: 420px;
}

.gallery-photo img {
  width: 100%;
  height: 100%;

  display: block;

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

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

.gallery-photo:hover img {
  transform: scale(1.045);
}

.gallery-photo::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.12),
      transparent 35%
    );

  opacity: 0;

  transition: opacity 0.4s ease;

  pointer-events: none;
}

.gallery-photo:hover::after {
  opacity: 1;
}


/* unterschiedliche Formate */

.gallery-photo-tall {
  min-height: 560px;
}

.gallery-photo-wide {
  min-height: 420px;
}

.gallery-photo-portrait {
  min-height: 560px;
}


/* kleine Bewegung beim Hover */

.gallery-photo {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.gallery-photo:hover {
  transform: translateY(-6px);

  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.18);
}


/* Tablet */

@media (max-width: 920px) {

  .gallery-modern {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .gallery-photo,
  .gallery-photo-tall,
  .gallery-photo-wide,
  .gallery-photo-portrait {
    min-height: 400px;
  }
}


/* Handy */

@media (max-width: 650px) {

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

  .gallery-photo,
  .gallery-photo-tall,
  .gallery-photo-wide,
  .gallery-photo-portrait {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-photo-portrait {
    aspect-ratio: 3 / 4;
  }
}

/* ===== ANFAHRT / KARTE ===== */

.map-card {
  min-height: 420px;
  margin-top: 36px;

  display: flex;
  align-items: flex-end;

  padding: 34px;

  border-radius: 28px;

  background:
    linear-gradient(
      rgba(237, 11, 99, 0.18),
      rgba(237, 11, 99, 0.68)
    ),
    url("../img/praxis-map.jpg") center / cover no-repeat;

  border: 1px solid rgba(255,255,255,.18);

  box-shadow:
    0 24px 55px rgba(0,0,0,.16);

  overflow: hidden;
}

.map-card-content {
  max-width: 520px;

  padding: 26px;

  border-radius: 22px;

  background: rgba(237, 11, 99, .88);

  backdrop-filter: blur(10px);
}

.map-card-content h2 {
  margin-bottom: 12px;
}

.map-card-content p {
  margin-bottom: 22px;
}

.highlight-yellow {
  color: var(--lime);
}