﻿:root {
  --bg: #f8f1f6;          /* leicht ins rose */
  --primary: #b46a86;     /* warmes Rosa/Lila */
  --primary-dark: #8c4c66;
  --text: #3b2c29;
  --accent: #e3c1d4;      /* Akzent rosa */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Navigation */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(247, 242, 236, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 20;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.nav-logo {
  font-weight: 600;
}

.nav-links a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--text);
}

.nav-links a:hover {
  color: var(--primary-dark);
}

/* Hero */

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(1.05);
  z-index: -1;
}

.hero-content {
  max-width: 760px;
  padding: 4.5rem 2.5rem 3rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 2.6rem;
  margin-bottom: 0.8rem;
}

.hero-text {
  font-size: 1rem;
  max-width: 32rem;
  margin: 0 auto 1.8rem;
  opacity: 0.95;
}

.hero-years {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Layout */

main {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 2.5rem;
}

section {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.8rem;
}

section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

section h3 {
  font-size: 1.1rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

/* Intro */

.intro p {
  margin-bottom: 0.8rem;
}

.highlight {
  margin-top: 0.6rem;
  padding: 0.9rem 1rem;
  background: #fff8f3;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  font-size: 0.95rem;
}

/* Preise - Favoriten */

.favorites {
  margin-bottom: 1.4rem;
}

.favorites h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.favorites-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.fav-card {
  background: #fdf7f1;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  border: 1px solid #f0ddcf;
  font-size: 0.95rem;
}

.fav-card h4 {
  margin-bottom: 0.3rem;
  font-size: 1rem;
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
}

.fav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.fav-meta {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #8f4e40;
  white-space: normal;
}

.fav-cat {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #7c6a61;
}

.fav-card.is-promo {
  border-color: #f0d8d8;
  background: #fff8f8;
}

/* Tabelle */

.prices {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0 1.6rem;
  font-size: 0.95rem;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

/* Zellen ohne eigene Border – Linien kommen von der Zeile */
.prices th,
.prices td {
  padding: 0.45rem 0.7rem;
  border-bottom: none;
  vertical-align: top;
}

/* Eine Linie pro Zeile */
.prices tr {
  border-bottom: 1px solid #eee;
}

/* Letzte Zeile ohne Linie */
.prices tr:last-child {
  border-bottom: none;
}

/* Header-Zeile */
.prices tr:first-child {
  background: #f3e4d6;
  border-bottom: 1px solid #e7d6c7;
}

.prices tr:first-child th {
  font-weight: 600;
}

/* Erste Spalte: nur TD darf sauber umbrechen */
.prices td:first-child {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.prices th:first-child {
  hyphens: none;
}

/* Spaltenausrichtung */
.prices th:nth-child(1),
.prices td:nth-child(1) {
  text-align: left;
}

.prices th:nth-child(2),
.prices td:nth-child(2) {
  text-align: right;
  width: 110px;
  white-space: nowrap;
}

.prices th:nth-child(3),
.prices td:nth-child(3) {
  text-align: right;
  width: 90px;
  white-space: nowrap;
}

/* Abschnitt-Zeilen */
.prices tr.prices-section {
  background: #f3e4d6;
  border-top: 2px solid #f0ddcf;
  border-bottom: 1px solid #e7d6c7;
}

.prices tr.prices-section th {
  font-weight: 600;
}

/* Promo-Styles */

/* komplette Zeile einfärben, damit nichts „abgeschnitten“ wirkt */
.prices tr.promo-row {
  background: #fff5f5;
}

.price-cell {
  text-align: right;
  white-space: nowrap;
}

.price-old {
  text-decoration: line-through;
  opacity: 0.55;
  margin-right: 0.35rem;
}

.price-new {
  font-weight: 700;
  color: #8c4c66;
}

/* Einheitlicher Badge-Stil (nur rechts) */
.price-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f3d6db;
  color: #7a2e3a;
  white-space: nowrap;
}

/* Preis-Accordion */

.price-block {
  margin-top: 1rem;
  border-radius: 16px;
  border: 1px solid #f0ddcf;
  background: #fdf7f1;
  overflow: hidden;
}

.price-block > summary {
  list-style: none;
  position: relative;
  padding: 0.8rem 1rem 0.8rem 2rem; /* Platz für Pfeil */
  cursor: pointer;
  font-weight: 600;
  background: #f3e4d6;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

/* Default Marker entfernen */
.price-block > summary::-webkit-details-marker { display: none; }
.price-block > summary::marker { content: ""; }

/* Pfeil ohne Sonderzeichen (CSS-Dreieck) */
.price-block > summary::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid rgba(0,0,0,0.55);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform 0.15s ease;
}

.price-block[open] > summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.price-block .prices {
  border-radius: 0;
  margin: 0;
}

/* iOS / Mobile Tap-Highlight entfernen */
.price-block summary {
  -webkit-tap-highlight-color: transparent;
}

/* Kein dunkler Active-Flash */
.price-block summary:active {
  background: #f3e4d6;
}

/* Fokus sauber */
.price-block summary:focus { outline: none; }
.price-block summary:focus-visible {
  outline: 2px solid rgba(0,0,0,0.08);
  outline-offset: 2px;
  border-radius: 14px;
}

/* Mobile Tabellen-Feintuning */
@media (max-width: 600px) {
  .prices th,
  .prices td {
    padding: 0.45rem 0.6rem;
    font-size: 0.92rem;
    vertical-align: top;
  }

  /* Header nicht automatisch trennen */
  .prices th {
    white-space: nowrap;
  }

  .prices th:nth-child(2),
  .prices td:nth-child(2),
  .prices th:nth-child(3),
  .prices td:nth-child(3) {
    width: auto;
    text-align: center;
  }

  .price-cell {
    white-space: normal;
  }

  .price-old,
  .price-new,
  .price-badge {
    display: inline-block;
  }
}

/* Mobile Promo-Fixes */
@media (max-width: 600px) {
  .prices td:first-child {
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: none;
  }

  .price-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.15rem;
    white-space: normal;
  }
}

/* Galerie */

.gallery-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-grid figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #6b5041;
}

.gallery-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
}

.contact-grid p {
  margin-bottom: 0.5rem;
}

.contact-grid a {
  color: var(--primary-dark);
  text-decoration: none;
}

.contact-grid a:hover {
  text-decoration: underline;
}

/* Rechte Seite als Stack */
.contact-right{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Anfahrt-Box */
.map-placeholder {
  border-radius: 16px;
  background: #f3e3d5;
  padding: 1rem;
  font-size: 0.9rem;
  color: #6b5041;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Map-Embed Wrapper */
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

@media (max-width: 768px) {
  .map-embed iframe {
    height: 180px;
  }
}

/* Alternative kleine Map-Box falls genutzt */
.mini-map iframe{
  width: 100%;
  height: 180px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* Hinweise */

.hinweise h2 {
  margin-bottom: 1rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.note {
  background: #fff8f3;
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  border: 1px solid #f0ddcf;
  font-size: 0.95rem;
}

.note h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.note p + p {
  margin-top: 0.4rem;
}

/* FAQ */

.faq details {
  margin-top: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: #fdf7f1;
  border: 1px solid #f0ddcf;
  font-size: 0.95rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-left: 1.4rem;
}

.faq summary::marker { content: ""; }
.faq summary::-webkit-details-marker { display: none; }

/* FAQ-Pfeil ohne Sonderzeichen */
.faq summary::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid rgba(0,0,0,0.55);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform 0.15s ease;
}

.faq details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq details p {
  margin-top: 0.4rem;
}

/* Intro-Qual (optional) */

.intro-qual {
  margin: 1.4rem 0 1.8rem;
}

.intro-qual h2 {
  margin-bottom: 0.9rem;
}

.intro-qual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: flex-start;
}

.intro-text ul {
  margin: 0;
  padding-left: 1.2rem;
}

.intro-image img {
  max-width: 260px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  display: block;
}

@media (max-width: 900px) {
  .intro-qual-grid {
    grid-template-columns: 1fr;
  }

  .intro-image {
    justify-self: center;
  }
}

.treatment-note {
  margin: 0 0 1.4rem;
  padding: 0.9rem 1rem;
  background: #fff8f3;
  border-radius: 12px;
  border: 1px solid #f0ddcf;
  font-size: 0.9rem;
  color: #5a4338;
}

.treatment-note h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* Microderm Unter-Accordion */

.microderm-info {
  margin-top: 1rem;
  border: 1px solid #f0ddcf;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  position: relative;
}

.microderm-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 238, 246, 0.75), rgba(255, 247, 241, 0.9));
  z-index: 0;
}

.microderm-info::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #d97aa0, #f6c9d8);
  opacity: 0.85;
}

.microderm-info summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.microderm-info summary::before {
  content: "\25C6";
  font-size: 0.9rem;
  color: #8c4c66;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fdecef;
}

.microderm-content {
  padding: 0.2rem 1.15rem 1.15rem;
  font-size: 0.95rem;
  color: #5a3d3d;
  position: relative;
  z-index: 1;
}

.microderm-content p {
  margin-bottom: 0.35rem;
}

.microderm-content ul {
  margin: 0.4rem 0 0.8rem 1.2rem;
  list-style: none;
  padding-left: 0;
}

.microderm-content ul li {
  margin-bottom: 0.2rem;
  position: relative;
  padding-left: 0.85rem;
}

.microderm-content ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #8c4c66;
}

.microderm-sub {
  font-weight: 600;
  margin-top: 0.6rem;
}

/* Footer */

footer {
  text-align: center;
  font-size: 0.8rem;
  color: #7c6a61;
  padding: 1.5rem 1rem 2.5rem;
}

/* Responsive - allgemein */

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .nav-inner {
    justify-content: center;
    gap: 0.5rem;
  }

  section {
    padding: 1.6rem 1.3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
