/*
Theme Name: Foto Schweizer
Description: Landing-Page-Theme für Foto Schweizer Schwäbisch Gmünd
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
License: Privat
Text Domain: foto-schweizer
*/

/* ── Open Sans (self-hosted) ──────────────────────────── */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/open-sans/opensans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/open-sans/opensans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/open-sans/opensans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/open-sans/opensans-700.woff2') format('woff2');
}

/* ── Root ─────────────────────────────────────────────── */
:root {
  --fs-black: #0a0a0a;
  --fs-white: #fafafa;
  --fs-gray:  #f0f0f0;
  --fs-mid:   #666;
}

* { scroll-behavior: smooth; }

body {
  background-color: var(--fs-white);
  color: var(--fs-black);
  font-family: 'Open Sans', sans-serif;
}

/* ── Alert-Banner ─────────────────────────────────────── */
.fs-alert-banner {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  z-index: 1029;
  border-radius: 0 !important;
  border-left: none;
  border-right: none;
}
/* Adminbar (eingeloggt) */
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .navbar { top: 46px; }
}

/* ── Navbar ───────────────────────────────────────────── */
.navbar {
  background-color: rgba(250,250,250,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ddd;
}
.navbar-brand img { height: 46px; width: auto; }
.nav-link {
  color: var(--fs-mid) !important;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--fs-black) !important; }
.navbar-toggler  { border-color: #ccc; }

/* ── Hero ─────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--fs-gray);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fs-mid);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.hero-title span { color: var(--fs-mid); font-weight: 300; }
.hero-sub {
  font-size: 1rem;
  color: var(--fs-mid);
  max-width: 420px;
  line-height: 1.7;
}
.hero-img-wrap { height: 100vh; overflow: hidden; }
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-fs-solid {
  background: var(--fs-black);
  color: var(--fs-white);
  border-radius: 0;
  padding: 0.65rem 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-fs-solid:hover { background: var(--fs-mid); color: var(--fs-white); }

.btn-fs-outline {
  border: 1px solid var(--fs-black);
  color: var(--fs-black);
  background: transparent;
  border-radius: 0;
  padding: 0.65rem 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-fs-outline:hover { background: var(--fs-black); color: var(--fs-white); }

/* ── Divider / Labels ─────────────────────────────────── */
.section-divider {
  width: 40px;
  height: 1px;
  background: var(--fs-mid);
  margin: 0 auto 2rem;
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fs-mid);
  font-weight: 400;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── Passbilder ───────────────────────────────────────── */
#passbilder { background: var(--fs-white); }

.passbilder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #ccc;
}
.passbilder-item {
  background: var(--fs-gray);
  text-align: center;
  font-size: 0.8rem;
  color: var(--fs-mid);
  transition: background 0.2s, color 0.2s;
}
.passbilder-item:hover { background: #e5e5e5; color: var(--fs-black); }
.passbilder-item-body  { padding: 1.6rem 1.4rem; }
.passbilder-item-body .bi {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.6rem;
  color: var(--fs-black);
}
.passbilder-item-body h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--fs-black);
}
.passbilder-item-body p {
  font-size: 0.78rem;
  color: var(--fs-mid);
  line-height: 1.6;
  margin: 0;
}

/* Passbilder – Mobile Carousel */
#passbild-carousel .carousel-caption-below {
  background: var(--fs-gray);
  padding: 1.6rem 3.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--fs-mid);
}
#passbild-carousel .carousel-caption-below .bi {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--fs-black);
}
#passbild-carousel .carousel-caption-below h3 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--fs-black);
}
#passbild-carousel .carousel-caption-below p {
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
}
#passbild-carousel .carousel-indicators { bottom: -2rem; }
#passbild-carousel .carousel-indicators [data-bs-target] {
  background-color: var(--fs-mid);
}
#passbild-carousel { padding-bottom: 2.5rem; }

/* ── Leistungen ───────────────────────────────────────── */
#leistungen { background: var(--fs-white); }

.service-card {
  background: var(--fs-gray);
  border: 1px solid #e0e0e0;
  height: 100%;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  border-color: #aaa;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.service-card-body { padding: 1.8rem 1.6rem; }
.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--fs-black);
  margin-bottom: 1.2rem;
}
.service-card h3 {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--fs-mid);
  line-height: 1.7;
  margin-bottom: 0;
}
.badge-sofort {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid #aaa;
  color: var(--fs-black);
  padding: 0.2em 0.7em;
  margin-top: 0.9rem;
}

/* ── Galerie ──────────────────────────────────────────── */
#galerie { background: var(--fs-gray); }

.masonry {
  column-count: 3;
  column-gap: 12px;
}
.masonry img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
  break-inside: avoid;
}
@media (max-width: 767px) {
  .masonry { column-count: 2; }
}

/* ── Öffnungszeiten ───────────────────────────────────── */
#oeffnungszeiten {
  background: var(--fs-gray);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.oz-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.88rem;
}
.oz-row:last-child { border-bottom: none; }
.oz-day  { font-weight: 600; min-width: 140px; }
.oz-time { color: var(--fs-mid); text-align: right; }
.oz-time.closed { color: #bbb; }
.oz-note {
  font-size: 0.78rem;
  color: var(--fs-mid);
  border-left: 2px solid #ccc;
  padding-left: 1rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* ── Kontakt ──────────────────────────────────────────── */
#kontakt { background: var(--fs-white); }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #bbb;
  color: var(--fs-mid);
  background: transparent;
  padding: 0.75rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  font-family: 'Open Sans', sans-serif;
}
.social-btn:hover {
  border-color: var(--fs-black);
  color: var(--fs-black);
  background: rgba(0,0,0,0.03);
}
.social-btn .bi { font-size: 1.1rem; }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: #ebebeb;
  border-top: 1px solid #ddd;
  font-size: 0.78rem;
  color: #999;
}
footer a { color: #888; text-decoration: none; }
footer a:hover { color: var(--fs-mid); }

/* ── Footer-Menü ──────────────────────────────────────── */
.fs-footer-menu {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fs-footer-menu li a {
  color: #888;
  font-size: 0.78rem;
  text-decoration: none;
}
.fs-footer-menu li a:hover { color: var(--fs-mid); }

/* ── Statische Seite (Impressum, Datenschutz …) ───────── */
.fs-page {
  padding-top: 120px;
  padding-bottom: 5rem;
  min-height: 70vh;
}
.fs-page-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}
.fs-page-content {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #333;
}
.fs-page-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
}
.fs-page-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}
.fs-page-content p  { margin-bottom: 1rem; }
.fs-page-content ul,
.fs-page-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.fs-page-content li { margin-bottom: 0.3rem; }
.fs-page-content a  { color: var(--fs-black); text-decoration: underline; }
.fs-page-content a:hover { color: var(--fs-mid); }
