/*
Theme Name: Nails by Rosa
Theme URI: https://nagelstudiobadhomburg.com
Author: Nails by Rosa
Description: Individuelles WordPress-Theme für Nails by Rosa Nagelstudio, Bad Homburg. One-Pager-Startseite mit eigenständigen, SEO-tragenden Unterseiten im selben Design.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: nbr
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: #1a2e1f;
  background: #e8eaf0;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── COLORS ── */
:root {
  --bg: #e8eaf0;
  --bg-gradient: linear-gradient(135deg, #dde0ea 0%, #e8eaf0 40%, #eceef5 100%);
  --dark: #1a2e1f;
  --dark-btn: #1e2d23;
  --muted: #5a6b5f;
  --white: #ffffff;
  --pill-bg: #ffffff;
  --pill-border: rgba(0,0,0,0.08);
  --section-alt: #f5f6f9;
  --accent: #1e2d23;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 32px rgba(0,0,0,0.10);
  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-btn: 12px;
}

/* Push fixed nav down when WP admin bar is showing */
body.admin-bar nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(232, 234, 240, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  display: flex;
  align-items: center;
}
.nav-logo img { max-height: 40px; width: auto; }

.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--dark);
  transition: box-shadow 0.2s;
}
.nav-menu-btn:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.10); }

.nav-menu-btn .icon { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.nav-menu-btn .icon span { display: block; height: 1.5px; background: var(--dark); border-radius: 2px; }

/* Mobile / full nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26,46,31,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay ul.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-overlay a,
.nav-overlay .nav-phone {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-overlay .nav-phone { font-size: 1.2rem; opacity: 0.6; }
.nav-overlay a:hover { opacity: 1; }
.nav-overlay .close-btn {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── HERO (Startseite) ── */
.hero {
  min-height: 100vh;
  background: var(--bg-gradient);
  padding: 64px 2.5rem 0;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 5rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--dark-btn);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-dark:hover { background: #111; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.8);
  color: var(--dark);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.10);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-outline:hover { background: #fff; transform: translateY(-1px); }

.hero-right { display: flex; justify-content: flex-end; }

.hero-img-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4/3;
  background: #d5d8e0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #c8ccd8 0%, #d8dce8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(26,46,31,0.35);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2rem;
  text-align: center;
}
.hero-img-placeholder svg { opacity: 0.3; }

/* ── SECTIONS SHARED ── */
.section { padding: 6rem 2.5rem; }
.section-alt { background: var(--section-alt); }
.section-white { background: var(--white); }

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

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ── STATS BAR ── */
.stats-bar { background: var(--dark-btn); padding: 2.5rem 2.5rem; }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 400; letter-spacing: 0.04em; }

/* ── LEISTUNGEN ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.service-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
.service-emoji { font-size: 2rem; margin-bottom: 1rem; display: block; }
.service-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 0.6rem; }
.service-text { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ── ÜBER UNS ── */
.ueber-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.ueber-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #c8ccd8 0%, #d0d4e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26,46,31,0.25);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ueber-img img { width: 100%; height: 100%; object-fit: cover; }
.ueber-text .section-title { margin-bottom: 1.5rem; }
.ueber-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.ueber-point { display: flex; gap: 1rem; align-items: flex-start; }
.ueber-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dark); flex-shrink: 0; margin-top: 0.45rem; }
.ueber-point-text { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.ueber-point-text strong { color: var(--dark); font-weight: 600; }

/* ── STUDIO ── */
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature-card { background: var(--white); border-radius: 14px; padding: 1.25rem; border: 1px solid rgba(0,0,0,0.05); }
.feature-card-title { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.feature-card-text { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* ── SPEZIAL ── */
.spezial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.spezial-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.spezial-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.09); }
.spezial-num { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.75rem; opacity: 0.6; }
.spezial-title { font-size: 1rem; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.spezial-text { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ── KONTAKT ── */
.kontakt-wrap { background: var(--dark-btn); border-radius: var(--radius-card); padding: 4rem; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
.kontakt-block h3 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.25rem; }
.kontakt-block p, .kontakt-block a { font-size: 1rem; color: #fff; line-height: 1.8; font-weight: 400; }
.kontakt-block a:hover { opacity: 0.75; }
.oz-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: rgba(255,255,255,0.85); padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.oz-row:last-child { border-bottom: none; }
.oz-row .closed { color: rgba(255,255,255,0.35); }

/* ── FOOTER ── */
footer {
  background: #0f1a12;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.6); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.location-badge { animation: fadeUp 0.5s 0.05s both; }
.hero-headline  { animation: fadeUp 0.6s 0.15s both; }
.hero-subtext   { animation: fadeUp 0.6s 0.28s both; }
.hero-actions   { animation: fadeUp 0.6s 0.40s both; }
.hero-img-wrap  { animation: fadeUp 0.7s 0.20s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .location-badge, .hero-headline, .hero-subtext, .hero-actions, .hero-img-wrap { animation: none; }
}

/* ── SUBPAGES (page.php): Hero-Kopf + Inhalt + verwandte Seiten ── */
.page-hero {
  background: var(--bg-gradient);
  padding: calc(64px + 3.5rem) 2.5rem 3.5rem;
}
.page-hero .breadcrumb {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--dark); }
.page-hero .section-eyebrow { margin-bottom: 0.5rem; }
.page-hero h1.section-title { margin-bottom: 0; max-width: 760px; }

.page-featured-img {
  margin-top: 2.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
  max-width: 1200px;
  aspect-ratio: 16/7;
}
.page-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.page-content {
  padding: 4rem 2.5rem 5rem;
  background: var(--white);
}
.page-content .container { max-width: 760px; }
.page-content p { color: var(--muted); line-height: 1.75; font-size: 1.02rem; margin-bottom: 1.25rem; }
.page-content h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); margin: 2rem 0 1rem; }
.page-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin: 1.5rem 0 0.75rem; }
.page-content ul, .page-content ol { color: var(--muted); line-height: 1.75; margin: 0 0 1.25rem 1.25rem; }
.page-content img { border-radius: var(--radius-card); margin: 1.5rem 0; }
.page-content a { color: var(--dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(26,46,31,0.25); }

.related-pages { padding: 4rem 2.5rem 6rem; background: var(--section-alt); }
.related-pages .section-eyebrow { margin-bottom: 0.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.related-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  font-weight: 700;
  color: var(--dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.cta-banner {
  background: var(--dark-btn);
  border-radius: var(--radius-card);
  padding: 3rem;
  margin: 0 2.5rem 6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner p { color: #fff; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin: 0; }

.not-found-section { min-height: 70vh; display: flex; align-items: center; padding: 64px 2.5rem 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .hero { padding: 64px 1.25rem 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 0 4rem; gap: 2rem; }
  .hero-right { justify-content: center; }
  .hero-img-wrap { max-width: 100%; }
  .section { padding: 4rem 1.25rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .ueber-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .studio-grid { grid-template-columns: 1fr; gap: 2rem; }
  .spezial-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-wrap { grid-template-columns: 1fr; padding: 2.5rem; }
  .stats-bar { padding: 2rem 1.25rem; }
  footer { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: calc(64px + 2.5rem) 1.25rem 2.5rem; }
  .page-content { padding: 3rem 1.25rem 4rem; }
  .related-pages { padding: 3rem 1.25rem 4rem; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-banner { margin: 0 1.25rem 4rem; padding: 2rem; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.4rem; }
  .spezial-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
