/*
Theme Name: Wellnessfriseur
Theme URI: https://example.com/wellnessfriseur
Author: Grok
Author URI: https://x.ai
Description: Ein elegantes, vollständig anpassbares WordPress-Theme für Friseursalons und Wellness-Studios. Mit Hero-Bereich, Leistungen, Team, Kundenstimmen und mehr – alles über den Customizer bearbeitbar.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wellnessfriseur
Tags: custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, flexible-header, theme-options, translation-ready, one-column, two-columns, blog
*/

/* =====================================================
   CSS Variables (werden vom Customizer überschrieben)
   ===================================================== */
:root {
  --color-primary: #8B7355;
  --color-primary-hover: #6B5740;
  --color-accent: #C9A86C;
  --color-text: #2C2C2C;
  --color-heading: #1A1A1A;
  --color-background: #FAF8F5;
  --color-header-bg: #FFFFFF;
  --color-footer-bg: #2C2C2C;
  --color-footer-text: #F0EDE8;
  --color-border: #E8E2D9;
  --color-card-bg: #FFFFFF;
  --color-text-muted: #7A7A7A;
  --color-section-alt: #F5F0EB;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-size-base: 16px;
  --content-width: 1140px;
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.3;
  font-weight: 600;
}

/* =====================================================
   Layout
   ===================================================== */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
  width: 100%;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
  background-color: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0;
  letter-spacing: 0.02em;
}

.site-title a {
  color: inherit;
}

.site-description {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom-logo-link img {
  max-height: 55px;
  width: auto;
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.main-navigation a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.3rem 0;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
  width: 100%;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-primary-hover) !important;
  color: #fff !important;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #3D3229 0%, #5C4A3A 50%, #8B7355 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 2rem 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

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

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: #1A1A1A;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #B8955A;
  color: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 108, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-dark:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* =====================================================
   Services Section
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--color-section-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

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

.service-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.05rem;
}

/* =====================================================
   About Section
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #8B7355, #C9A86C);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.about-content p {
  margin-bottom: 1.1rem;
  color: var(--color-text);
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* =====================================================
   Team Section
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
}

.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #D4C4B0, #A89078);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 3rem;
}

.team-info {
  padding: 1.5rem 1.25rem;
}

.team-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.team-role {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--color-border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.35;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  color: var(--color-text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-heading);
}

.testimonial-stars {
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

/* =====================================================
   Opening Hours / Contact CTA
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, #3D3229 0%, #5C4A3A 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.hours-item {
  background: rgba(255,255,255,0.08);
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.12);
}

.hours-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-accent);
}

/* =====================================================
   Blog / Posts Grid
   ===================================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.25rem;
}

.post-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.post-excerpt {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.read-more {
  font-weight: 600;
  color: var(--color-primary);
}

/* =====================================================
   Single / Page Content
   ===================================================== */
.single-post .entry-header,
.page .entry-header {
  margin-bottom: 2rem;
  text-align: center;
}

.single-post .entry-title,
.page .entry-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.entry-content {
  max-width: 720px;
  margin: 0 auto;
}

.entry-content p {
  margin-bottom: 1.25rem;
}

.entry-content h2,
.entry-content h3 {
  margin: 2rem 0 1rem;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-widgets .widget-title {
  color: var(--color-accent);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-widgets a {
  color: var(--color-footer-text);
  opacity: 0.85;
}

.footer-widgets a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-widgets p,
.footer-widgets li {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.footer-widgets ul {
  list-style: none;
}

.site-info {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* =====================================================
   Utilities
   ===================================================== */
.text-center { text-align: center; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .main-navigation ul {
    justify-content: center;
    gap: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    aspect-ratio: 16/10;
  }

  .hero {
    min-height: 70vh;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }
}
