/* ============================================
   Esra's Haartraum - Hauptstylesheet
   Farben: Navy #1e2157 | Lila #6a5b8e | Akzent #c0392b | Weiß #ffffff
   ============================================ */

:root {
  --navy:     #1e2157;
  --navy-dark:#14173d;
  --purple:   #6a5b8e;
  --purple-light: #9b8eb5;
  --lavender: #e8e4f0;
  --red:      #c0392b;
  --white:    #ffffff;
  --grey-light: #f4f2f8;
  --text-dark: #1a1a2e;
  --text-muted: #666;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

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

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

ul { list-style: none; }

/* ---- Navigation ---- */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.nav-logo img {
  height: 52px;
  width: auto;
  border-radius: 4px;
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

nav ul {
  display: flex;
  gap: 0.25rem;
}

nav ul li a {
  color: var(--lavender);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--purple);
  color: var(--white);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px !important;
}

.nav-cta:hover {
  background: #a93226 !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 60%, #9b8eb5 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../301580705_492979886163618_5795434944725863275_n.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

.hero-logo {
  width: 220px;
  margin: 0 auto 2rem;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #a93226; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---- Section Utility ---- */
section { padding: 4.5rem 1.5rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--red), var(--purple));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-top: 4px solid var(--purple);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(106,91,142,0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Leistungen-Tabelle ---- */
.leistungen-section { background: var(--grey-light); }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.leistungen-category {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.leistungen-category h3 {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.leistungen-list {
  padding: 0.5rem 0;
}

.leistungen-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--lavender);
}

.leistungen-item:last-child { border-bottom: none; }

.leistungen-item span { color: var(--text-dark); font-size: 0.95rem; }

.leistungen-item .preis {
  color: var(--purple);
  font-weight: 700;
  white-space: nowrap;
}

/* ---- Galerie ---- */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.galerie-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.2s;
  position: relative;
}

.galerie-item:hover { transform: scale(1.02); }

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

.galerie-placeholder {
  text-align: center;
  padding: 1rem;
}

.galerie-placeholder .ph-icon { font-size: 2.5rem; margin-bottom: 0.5rem; opacity: 0.5; }

/* ---- Kontakt ---- */
.kontakt-section { background: var(--grey-light); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.kontakt-info h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.kontakt-block {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.kontakt-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.kontakt-block-text h4 {
  color: var(--navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.kontakt-block-text p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  border-radius: 12px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.map-placeholder .map-icon { font-size: 3rem; opacity: 0.6; }

/* ---- Öffnungszeiten ---- */
.oeffnungszeiten-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.oeffnungszeiten-table tr {
  border-bottom: 1px solid var(--lavender);
}

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

.oeffnungszeiten-table td {
  padding: 0.6rem 0.25rem;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.oeffnungszeiten-table td:last-child {
  text-align: right;
  color: var(--purple);
  font-weight: 600;
}

.oeffnungszeiten-table .geschlossen { color: var(--text-muted) !important; font-weight: 400 !important; }

/* ---- About strip ---- */
.about-strip {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.about-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.about-strip p {
  max-width: 680px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* ---- Team-Platzhalter ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
}

.team-card h4 { color: var(--navy); margin-bottom: 0.25rem; }
.team-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ---- Bewertungen ---- */
.bewertungen-section { background: var(--lavender); }

.bewertung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.bewertung-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sterne { color: #f0a500; font-size: 1.1rem; margin-bottom: 0.75rem; }

.bewertung-card p {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.bewertung-card .autor {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

/* ---- Footer ---- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 52px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--white); }

/* ---- Page Hero (Unterseiten) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: var(--white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 0.75rem;
}

.breadcrumb a { color: inherit; }
.breadcrumb a:hover { opacity: 1; }

/* ---- Kontaktformular ---- */
.formular {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.formular h3 {
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--lavender);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--purple);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  nav ul {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  nav ul.open { display: flex; }

  .menu-toggle { display: flex; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
}
