/* ==========================================================================
   Pfotensport – Hundeschule & Hundefitness Aadorf
   Design: warm, editorial, handgemacht
   ========================================================================== */

:root {
  --ink: #371e49;
  --ink-soft: #65536f;
  --ink-faint: #8a7a93;
  --purple: #7c2f91;
  --purple-deep: #45164f;
  --purple-dark: #2f0e38;
  --orange: #ee5b1d;
  --orange-dark: #d2480e;
  --orange-soft: #fff0e5;
  --cream: #faf4ec;
  --paper: #fffdf8;
  --sand: #f1e4d0;
  --sand-deep: #e7d5ba;
  --green: #2e7d4f;
  --yellow: #ffd94a;
  --line: rgba(55, 30, 73, 0.14);
  --line-strong: rgba(55, 30, 73, 0.22);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 34px 70px -38px rgba(55, 30, 73, 0.45);
  --shadow-md: 0 22px 44px -30px rgba(55, 30, 73, 0.4);
  --shadow-sm: 0 12px 26px -18px rgba(55, 30, 73, 0.4);
  --container: min(1180px, calc(100vw - 44px));
}

/* ---------- Reset / Basis ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 217, 74, 0.35), transparent 60%),
    radial-gradient(900px 520px at -10% 30%, rgba(238, 91, 29, 0.09), transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
}

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

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

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.15;
}

strong {
  font-weight: 800;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: clamp(60px, 9vw, 110px);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 70px);
}

.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

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

.hl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C 60 4, 140 4, 196 9' stroke='%23ee5b1d' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 92%;
  padding-bottom: 0.06em;
}

.hl--yellow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C 60 4, 140 4, 196 9' stroke='%23ffd94a' stroke-width='9' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.88em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease,
    color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(238, 91, 29, 0.75);
}

.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(238, 91, 29, 0.85);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.btn--ink:hover {
  background: var(--purple-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--paper);
  color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  transform: translateY(-2px);
  background: #fff;
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */

.topbar {
  background: var(--purple-dark);
  color: rgba(255, 253, 248, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  padding-block: 6px;
}

.topbar p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.topbar p::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 217, 74, 0.25);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: color 0.2s ease;
}

.topbar__links a:hover {
  color: var(--yellow);
}

.topbar__links svg {
  width: 0.95em;
  height: 0.95em;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 244, 236, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 18px 34px -26px rgba(55, 30, 73, 0.45);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(132px, 14vw, 168px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__list a {
  display: block;
  padding: 0.55em 0.75em;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__list a:hover {
  background: var(--sand);
}

.nav__list a.is-active {
  background: var(--ink);
  color: var(--cream);
}

.nav__cta {
  padding: 0.72em 1.4em;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 30px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    padding: 110px 26px 40px;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    overflow-y: auto;
    z-index: 90;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .nav__list a {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    padding: 0.45em 0.3em;
    border-radius: 14px;
  }

  .nav__cta {
    margin-top: 1rem;
    align-self: flex-start;
    font-size: 1.05rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 95;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 74px) clamp(20px, 3vw, 40px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 1.05em;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}

.hero__badge svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--orange);
}

.hero h1 {
  margin-bottom: 0.6em;
}

.hero__lead {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  list-style: none;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero__facts svg {
  width: 1.35em;
  height: 1.35em;
  color: var(--purple);
  flex: none;
}

.hero__media {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
}

.hero__photo-frame {
  position: absolute;
  inset: 18px -14px -16px 22px;
  background: var(--sand);
  border-radius: 34px;
  transform: rotate(2.4deg);
}

.hero__photo {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.5;
}

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

.hero__polaroid {
  position: absolute;
  left: -34px;
  bottom: -46px;
  width: clamp(120px, 30%, 172px);
  background: #fff;
  padding: 9px 9px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transform: rotate(-7deg);
  transition: transform 0.3s ease;
}

.hero__polaroid:hover {
  transform: rotate(-3deg) scale(1.03);
}

.hero__polaroid img {
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero__polaroid figcaption {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding-top: 7px;
  color: var(--ink-soft);
}

.sticker {
  position: absolute;
  top: -30px;
  right: -26px;
  width: clamp(96px, 24%, 128px);
  aspect-ratio: 1;
  animation: spin 26s linear infinite;
  filter: drop-shadow(0 10px 18px rgba(55, 30, 73, 0.28));
  pointer-events: none;
}

.sticker svg {
  width: 100%;
  height: 100%;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .hero__media {
    width: min(100%, 440px);
    margin-top: 12px;
  }

  .hero__polaroid {
    left: -12px;
    bottom: -34px;
  }

  .sticker {
    right: -8px;
    top: -22px;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--purple);
  color: var(--cream);
  padding: 15px 0;
  transform: rotate(-1.4deg) scale(1.02);
  margin-block: clamp(46px, 7vw, 80px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 600;
  font-style: italic;
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.marquee__star {
  color: var(--yellow);
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .sticker {
    animation: none;
  }
}

/* ---------- Zwei-Spalten-Layouts ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.arch-photo {
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--paper);
}

.arch-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.quote {
  position: relative;
  margin: 1.8rem 0;
  padding: 1.3rem 1.6rem 1.3rem 3.4rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: italic;
  line-height: 1.3;
  box-shadow: var(--shadow-sm);
}

.quote::before {
  content: "„";
  position: absolute;
  left: 1.1rem;
  top: 0.4rem;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--orange);
  font-family: var(--font-display);
}

.quote footer {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Weiterbildungen ---------- */

.cv {
  margin-top: 2rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
}

.cv summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.4rem;
  font-weight: 800;
  font-size: 0.98rem;
}

.cv summary::-webkit-details-marker {
  display: none;
}

.cv summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex: none;
  margin-top: -4px;
}

.cv[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.cv__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.15rem 2.2rem;
  padding: 0.4rem 1.4rem 1.3rem;
  list-style: none;
}

.cv__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42em 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
  font-weight: 700;
}

.cv__list li span {
  color: var(--ink-faint);
  font-weight: 600;
  text-align: right;
}

/* ---------- Karten ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  box-shadow: 0 8px 16px -8px rgba(55, 30, 73, 0.5);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.7rem;
}

.card__body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--orange);
}

.card__link svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s ease;
}

.card:hover .card__link svg {
  transform: translateX(5px);
}

/* ---------- Werte ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}

.value {
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.value:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  margin-bottom: 1rem;
}

.value__icon svg {
  width: 26px;
  height: 26px;
}

.value h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3em;
}

.value p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Galerie / Masonry ---------- */

.masonry {
  columns: 4 220px;
  column-gap: 16px;
}

.masonry__item {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry__item:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--shadow-md);
}

.masonry__item img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.masonry__item:hover img {
  transform: scale(1.05);
}

@media (max-width: 760px) {
  .masonry {
    columns: 2 150px;
    column-gap: 12px;
  }

  .masonry__item {
    margin-bottom: 12px;
    border-radius: 12px;
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 48px);
  background: rgba(35, 12, 45, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.7);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 253, 248, 0.35);
  background: rgba(255, 253, 248, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.06);
}

.lightbox__close {
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox__prev {
  left: clamp(10px, 2.5vw, 30px);
}

.lightbox__next {
  right: clamp(10px, 2.5vw, 30px);
}

.lightbox svg {
  width: 22px;
  height: 22px;
}

.lightbox__caption {
  position: absolute;
  bottom: clamp(12px, 3vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 253, 248, 0.8);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- Feature-Band (Stundenplan-Teaser / CTA) ---------- */

.band {
  position: relative;
  background: var(--purple-deep);
  color: var(--cream);
  border-radius: 36px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  box-shadow: var(--shadow-lg);
}

.band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 91, 29, 0.5), transparent 65%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}

.band::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 74, 0.22), transparent 65%);
  bottom: -190px;
  left: -110px;
  pointer-events: none;
}

.band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.band h2 {
  color: var(--cream);
}

.band p {
  color: rgba(255, 253, 248, 0.82);
}

.band .eyebrow {
  color: var(--yellow);
}

.band .eyebrow::before {
  background: var(--yellow);
}

.band__figure {
  position: relative;
  background: #fff;
  padding: 12px;
  border-radius: 20px;
  transform: rotate(1.6deg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.band__figure:hover {
  transform: rotate(0.4deg) translateY(-4px);
}

.band__figure img {
  border-radius: 12px;
}

.band__figure figcaption {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-faint);
  padding-top: 9px;
}

.band--orange {
  background: var(--orange);
}

.band--orange::before {
  background: radial-gradient(circle, rgba(255, 217, 74, 0.5), transparent 65%);
}

.band--orange h2,
.band--orange p {
  color: #fff;
}

.band--orange .eyebrow,
.band--orange .eyebrow::before {
  color: var(--yellow);
  background-color: var(--yellow);
}

.band--orange .eyebrow {
  background: transparent;
}

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

/* ---------- Preisliste ---------- */

.price-list {
  list-style: none;
  border-top: 1.5px solid var(--line);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0.2rem;
  border-bottom: 1.5px solid var(--line);
}

.price-row__label {
  font-weight: 800;
  font-size: 1.02rem;
}

.price-row__label small {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.price-row__dots {
  flex: 1;
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(-4px);
}

.price-row__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
}

.price-row--feature {
  background: linear-gradient(90deg, rgba(255, 217, 74, 0.28), rgba(255, 217, 74, 0.08));
  border-radius: 14px;
  border-bottom-color: transparent;
  padding-inline: 1rem;
  margin-bottom: 0.4rem;
}

/* ---------- Hinweise ---------- */

.note {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-size: 0.95rem;
}

.note svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--purple);
}

.note--warn {
  background: #fff3ea;
  border-color: rgba(238, 91, 29, 0.35);
}

.note--warn svg {
  color: var(--orange);
}

.note p {
  margin: 0;
}

.note strong {
  display: block;
  margin-bottom: 0.15em;
}

/* ---------- Adress-Karten ---------- */

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.address-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.address-card__map {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: var(--sand);
}

.address-card__map img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.address-card__map:hover img {
  transform: scale(1.03);
}

.address-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.address-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25em;
}

.address-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.address-card .text-link {
  font-weight: 800;
  color: var(--orange);
  font-size: 0.93rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 800;
  color: var(--orange);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link svg {
  width: 1em;
  height: 1em;
}

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

/* ---------- Regeln-Liste ---------- */

.rules {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.rules li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.05rem 1.2rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.97rem;
}

.rules svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--purple);
}

.rules strong {
  display: block;
  margin-bottom: 0.1em;
}

/* ---------- Videos ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--purple-dark);
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.video-card:hover img {
  transform: scale(1.05);
}

.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.video-card:hover .video-card__play span {
  transform: scale(1.12);
  background: var(--orange-dark);
}

.video-card__play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.video-card__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(47, 14, 56, 0.72);
  padding: 0.32em 0.8em;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

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

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

/* ---------- Flyer / Workshop ---------- */

.flyer {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease;
  max-width: 520px;
}

.flyer:hover {
  transform: rotate(0deg) translateY(-4px);
}

.flyer img {
  border-radius: 16px;
}

.flyer figcaption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-faint);
  padding: 10px 6px 2px;
}

/* ---------- Kontaktformular ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}

.form-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.45em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-top: 0.9rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  flex: none;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.1em;
}

.contact-card p,
.contact-card address {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-style: normal;
}

.contact-card a {
  font-weight: 800;
  color: var(--ink);
}

.contact-card a:hover {
  color: var(--orange);
}

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

  .field--row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */

.page-hero {
  padding-block: clamp(40px, 6vw, 76px) clamp(20px, 3vw, 36px);
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 0.4rem;
}

.breadcrumbs {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 1.1rem;
  display: flex;
  gap: 0.5em;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs li + li::before {
  content: "→";
  margin-right: 0.5em;
  color: var(--orange);
}

/* ---------- AGB / Prosa ---------- */

.prose {
  max-width: 76ch;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-top: 2.2em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--ink-soft);
}

.prose strong {
  color: var(--ink);
}

.prose ul {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}

.prose ul li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.35em;
  color: var(--ink-soft);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.prose .note {
  margin-block: 1.4rem;
}

/* ---------- CTA-Zeile ---------- */

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: clamp(60px, 9vw, 110px);
  background: var(--purple-dark);
  color: rgba(255, 253, 248, 0.78);
  padding-top: clamp(48px, 7vw, 80px);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.footer__logo {
  display: inline-block;
  background: var(--paper);
  border-radius: 16px;
  padding: 12px 16px;
  width: 180px;
  margin-bottom: 1.1rem;
}

.footer__brand p {
  font-size: 0.94rem;
  max-width: 34ch;
}

.footer h3 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}

.footer__col ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer__col a {
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--yellow);
}

.footer__col address {
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  font-size: 0.84rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom a:hover {
  color: var(--yellow);
}

.footer__heart {
  color: var(--orange);
}

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

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

/* ---------- Reveal-Animationen ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card,
  .masonry__item,
  .video-card,
  .value {
    transition: none;
  }
}

/* ---------- Responsive Feinjustierung ---------- */

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

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

@media (max-width: 900px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__media {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

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

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

  .topbar__inner {
    justify-content: center;
  }

  .topbar__inner p {
    display: none;
  }
}

/* ---------- Tags / Chips ---------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.tag {
  padding: 0.42em 0.95em;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

.tag--orange {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
