/* Pilates Flows Marlene – gemeinsames Stylesheet (DE/FR) */
:root {
  --cream: #faf6f0;
  --sand: #efe6d8;
  --beige: #e3d5c1;
  --sage: #7d8f74;
  --sage-dark: #5d6e55;
  --terra: #c07a5a;
  --text: #2f2a25;
  --text-soft: #5f564c;
  --white: #fffdf9;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(80, 60, 40, 0.08);
  --shadow-hover: 0 16px 40px rgba(80, 60, 40, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Arial, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); }
a:focus-visible, label:focus-visible, .btn:focus-visible, .nav-toggle:focus-visible + label {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 6px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.6rem, 8vw, 4.8rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section--sand { background: var(--sand); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra); font-weight: 700; margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--text); color: var(--white); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.85rem 1.7rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary { background: var(--terra); color: var(--white); box-shadow: 0 8px 24px rgba(192, 122, 90, 0.35); }
.btn--primary:hover { background: #a9654a; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(192, 122, 90, 0.45); }
.btn--ghost { border: 2px solid var(--sage); color: var(--sage-dark); background: transparent; }
.btn--ghost:hover { background: var(--sage); color: var(--white); transform: translateY(-2px); }
.cta-wrap { margin-top: 2.5rem; text-align: center; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--beige);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 70px; flex-wrap: wrap; }
.logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--text); text-decoration: none; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-burger {
  width: 48px; height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; cursor: pointer;
}
.nav-burger span { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--terra); border-radius: 8px; }
.nav-menu {
  display: none; width: 100%; list-style: none; margin: 0; padding: 0.5rem 0 1.25rem;
}
.nav-toggle:checked ~ .nav-menu { display: block; }
.nav-menu a {
  display: block; padding: 0.7rem 0.25rem; color: var(--text); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--terra); }
.lang { display: flex; gap: 0.25rem; align-items: center; padding-top: 0.5rem; }
.lang a { display: inline-block; padding: 0.4rem 0.6rem; font-weight: 700; font-size: 0.9rem; }
.lang a[aria-current="true"] { color: var(--terra); }
.lang span { color: var(--beige); }

@media (min-width: 900px) {
  .nav { flex-wrap: nowrap; }
  .nav-burger { display: none; }
  .nav-menu { display: flex !important; width: auto; align-items: center; gap: 1.4rem; padding: 0; }
  .nav-menu a { padding: 0.4rem 0; font-size: 0.95rem; }
  .lang { padding: 0 0 0 1rem; border-left: 1px solid var(--beige); }
}

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47, 42, 37, 0.05) 30%, rgba(47, 42, 37, 0.6) 100%);
}
.hero-content { position: relative; z-index: 1; color: var(--white); padding: 6rem 1.25rem 4rem; }
.hero-content p { font-size: clamp(1.1rem, 3vw, 1.4rem); max-width: 560px; margin-bottom: 2rem; }

/* Flows */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.cards { display: grid; gap: 1.25rem; margin-top: 3rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--sage-dark);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.card p { color: var(--text-soft); margin: 0; }

/* About */
.about img {
             aspect-ratio: 800 / 1094; 
             object-fit: contain; 
            }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: 0.5rem; font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0.5rem 0 2rem; }
.tags li {
  background: var(--sand); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.95rem;
  transition: background 0.2s;
}
.tags li:hover { background: var(--beige); }

/* Schedule */
.schedule {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.slot {
  flex: 0 1 340px;   /* alle Kacheln gleich breit, dürfen nur schrumpfen */
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--sage);
}
.slot:hover { box-shadow: var(--shadow-hover); }
.slot h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.slot dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.8rem; }
.slot dt { color: var(--text-soft); font-size: 0.9rem; }
.slot dd { margin: 0; font-weight: 600; }

/* Pricing */
.prices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.price {
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 0 1 320px;   /* Wunschbreite, darf wachsen und schrumpfen */
  max-width: 340px;  /* verhindert zu breite Kacheln */
}
.price .amount { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--text); margin: 0.5rem 0; }
.price--featured { background: var(--sage); color: var(--white); }
.price--featured p, .price--featured .amount { color: var(--white); }
.note { margin-top: 2rem; font-size: 0.95rem; color: var(--text-soft); text-align: center; }

/* Locations */
.location address { font-style: normal; margin-bottom: 0.8rem; font-weight: 600; color: var(--text); }
.location .btn { margin-top: 1.2rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 2rem auto; display: grid; gap: 0.8rem; max-width: 460px; }
.contact-list a {
  display: flex; align-items: center; gap: 0.8rem; min-height: 56px; padding: 0.8rem 1.2rem;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); font-weight: 600; transition: transform 0.2s, box-shadow 0.2s;
}
.contact-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.contact-list span[aria-hidden] { color: var(--terra); font-size: 1.2rem; }

/* Footer */
.site-footer { background: var(--text); color: var(--sand); padding: 2.5rem 0; font-size: 0.95rem; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: var(--white); }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 0.4rem 0; }
@media (min-width: 800px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
html {
        scroll-behavior: smooth; /* sanftes Scrollen */
        }

        #nach-oben {
        position: fixed;      /* läuft beim Scrollen mit */
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
        border: none;
        border-radius: 50%;
        background: #2563eb;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        z-index: 1000;

        /* standardmäßig versteckt */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
        }

        #nach-oben.sichtbar {
        opacity: 1;
        visibility: visible;
        }

        #nach-oben:hover {
        transform: translateY(-3px);
        }  
