/* ============================================================
   massage-kunst.net — Dienstags-Massagekurs
   Gemeinsames Stylesheet für alle Seiten
   ============================================================ */

:root {
  --color-bg: #F7F3EC;
  --color-bg-alt: #EFE7D8;
  --color-accent: #7C8F6E;
  --color-accent-dark: #63735A;
  --color-dark: #4A4238;
  --color-dark-light: #6B6255;
  --color-sand: #C79A6B;
  --color-text: #3A352E;
  --color-text-soft: #6B6255;
  --color-white: #FFFFFF;
  --color-border: #E4DAC8;

  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 10px 30px rgba(74, 66, 56, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Kicker / Badges ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-accent-dark);
  background: rgba(124, 143, 110, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--color-accent-dark);
  text-decoration: none;
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800 !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
  text-decoration: none;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background: radial-gradient(circle at 85% 15%, rgba(199, 154, 107, 0.28), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(74, 66, 56, 0.14), transparent 50%),
              var(--color-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 30px;
}

.pill {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
  border: 2px dashed var(--color-sand);
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(
    135deg,
    rgba(199, 154, 107, 0.08),
    rgba(199, 154, 107, 0.08) 12px,
    rgba(199, 154, 107, 0.15) 12px,
    rgba(199, 154, 107, 0.15) 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-accent-dark);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 320px;
  padding: 24px;
}

.photo-placeholder small {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  color: var(--color-text-soft);
}

.hero .photo-placeholder { min-height: 380px; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}

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

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}

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

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124, 143, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* ---------- Callout / placeholder note ---------- */
.callout {
  border-left: 4px solid var(--color-sand);
  background: rgba(199, 154, 107, 0.12);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.callout strong { color: var(--color-accent-dark); }

/* ---------- Placeholder inline text ---------- */
.fill-me {
  background: rgba(199, 154, 107, 0.25);
  border: 1px dashed var(--color-accent);
  border-radius: 6px;
  padding: 1px 8px;
  color: var(--color-accent-dark);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Info strip ---------- */
.info-strip {
  background: var(--color-dark);
  color: var(--color-white);
}

.info-strip .grid-3 { text-align: center; }
.info-strip h3 { color: var(--color-white); margin-bottom: 6px; }
.info-strip p { color: rgba(255,255,255,0.82); margin: 0; }

/* ---------- Table (Termine & Preise) ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.price-table th, .price-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
}

.price-table th {
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
}

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

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question .icon-plus {
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question .icon-plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px;
}

/* ---------- Forms ---------- */
.contact-form {
  display: grid;
  gap: 18px;
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

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

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--color-dark);
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-bg);
}

input:focus, textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/* ---------- Map ---------- */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover { color: var(--color-sand); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.text-soft { color: var(--color-text-soft); }

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.checklist li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 900;
}

/* ---------- Bildergalerie ---------- */
.gallery-grid {
  column-count: 4;
  column-gap: 14px;
}

.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }

  .gallery-grid { column-count: 3; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--color-border);
    display: none;
    gap: 16px;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { align-self: flex-start; }
}

@media (max-width: 640px) {
  .gallery-grid { column-count: 2; }
}

@media (max-width: 420px) {
  .gallery-grid { column-count: 1; }
}
