/* ============================================
   ST. GALLEN FILIAL-SEITE
   Modern, übersichtlich, barrierefrei
   ============================================ */

:root {
  --loc-primary: #1a83a4;
  --loc-primary-dark: #146682;
  --loc-primary-soft: #E8F4F8;
  --loc-text: #1a1a1a;
  --loc-text-muted: #525258;
  --loc-bg: #ffffff;
  --loc-bg-alt: #F8F9FB;
  --loc-bg-card: #ffffff;
  --loc-border: #E5E7EB;
  --loc-success: #10B981;
  --loc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --loc-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --loc-shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);
}

/* ============ BASE ============ */

.loc-page {
  font-family: 'Lato', system-ui, -apple-system, sans-serif;
  color: var(--loc-text);
  line-height: 1.6;
}

.loc-page h1, .loc-page h2, .loc-page h3, .loc-page h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--loc-text);
}

.loc-page p {
  color: var(--loc-text-muted);
  line-height: 1.7;
}

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

.loc-page a:hover {
  color: var(--loc-primary-dark);
  text-decoration: underline;
}

/* ============ SKIP LINK ============ */

.loc-skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--loc-primary);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
}

.loc-skip-link:focus {
  left: 1rem;
  color: white;
}

/* ============ FOCUS RING ============ */

.loc-page a:focus-visible, .loc-page button:focus-visible {
  outline: 3px solid var(--loc-primary);
  outline-offset: 2px;
}

/* ============ HERO ============ */

.loc-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  color: white;
  padding-top: 550px;
  padding-bottom: 0;
}

@media (min-width: 576px) {
  .loc-hero {
    padding-top: 600px;
    padding-bottom: 0;
  }
}

@media (min-width: 768px) {
  .loc-hero {
    align-items: center;
    min-height: 550px;
    padding-top: 240px;
    padding-bottom: 0rem;
  }
}

@media (min-width: 1200px) {
  .loc-hero {
    padding-top: 280px;
    padding-bottom: 5rem;
    min-height: 600px;
  }
}

@media (min-width: 1400px) {
  .loc-hero {
    padding-top: 480px;
    padding-bottom: 6rem;
    min-height: 800px;
  }
}

@media (min-width: 1920px) {
  .loc-hero {
    padding-top: 560px;
    padding-bottom: 7rem;
    min-height: 900px;
  }
}

.loc-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: 100%;
}

.loc-hero__content {
  max-width: 800px;
}

/* Auf grossen Screens mehr Platz, damit Title nicht umbricht */

@media (min-width: 1400px) {
  .loc-hero__content {
    max-width: 900px;
  }
}

@media (min-width: 1920px) {
  .loc-hero__content {
    max-width: 1000px;
  }
}

.loc-hero__tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.loc-hero__title {
  color: white;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.loc-hero__subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.loc-hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.loc-hero__stars {
  color: #FFD700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.loc-hero__rating-text {
  color: white;
  font-size: 0.95rem;
}

.loc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============ BUTTONS ============ */

.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.loc-btn--primary {
  background: white;
  color: var(--loc-primary);
}

.loc-btn--primary:hover {
  background: var(--loc-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--loc-shadow-md);
  text-decoration: none;
}

.loc-btn--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.loc-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  text-decoration: none;
}

.loc-btn--whatsapp {
  background: #25D366;
  color: white;
}

.loc-btn--whatsapp:hover {
  background: #1DA851;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--loc-shadow-md);
  text-decoration: none;
}

.loc-btn--outline {
  background: transparent;
  color: var(--loc-primary);
  border: 2px solid var(--loc-primary);
}

.loc-btn--outline:hover {
  background: var(--loc-primary);
  color: white;
  text-decoration: none;
}

.loc-btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

/* ============ QUICK INFO BAR ============ */

.loc-quick-info {
  background: var(--loc-bg);
  padding: 3rem 0;
  border-bottom: 1px solid var(--loc-border);
}

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

.loc-quick-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.loc-quick-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--loc-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.loc-quick-text {
  display: flex;
  flex-direction: column;
}

.loc-quick-text strong {
  font-weight: 700;
  color: var(--loc-text);
  font-size: 1rem;
}

.loc-quick-text span {
  color: var(--loc-text-muted);
  font-size: 0.88rem;
  margin-top: 0.15rem;
}

/* ============ SECTIONS ============ */

.loc-section {
  padding: 5rem 0;
  background: var(--loc-bg);
}

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

.loc-section--cta {
  background: var(--loc-bg);
  padding: 3rem 0;
}

.loc-section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.loc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.loc-section-subtitle {
  font-size: 1.05rem;
  color: var(--loc-text-muted);
  line-height: 1.7;
}

/* ============ CARDS ============ */

.loc-card {
  background: var(--loc-bg-card);
  border: 1px solid var(--loc-border);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--loc-shadow-sm);
  transition: box-shadow 0.2s;
}

.loc-card:hover {
  box-shadow: var(--loc-shadow-md);
}

.loc-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--loc-primary-soft);
}

.loc-card-heading {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--loc-text);
}

.loc-card-lead {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--loc-text-muted);
}

.loc-address {
  background: var(--loc-primary-soft);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1.5rem;
  font-style: normal;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--loc-text);
}

.loc-address strong {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.loc-card .loc-btn {
  width: 100%;
  justify-content: center;
}

/* Button-Icon (SVG) */

.loc-btn-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* ============ INFO-LIST (Adresse / Kontakt) ============ */

.loc-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.loc-info-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--loc-border);
}

.loc-info-list li:last-child {
  border-bottom: none;
}

.loc-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--loc-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.loc-info-list strong {
  display: block;
  color: var(--loc-text);
  font-weight: 700;
  font-size: 0.95rem;
}

.loc-info-list span {
  color: var(--loc-text-muted);
  font-size: 0.88rem;
}

/* ============ ÖFFNUNGSZEITEN-TABELLE ============ */

.loc-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.loc-hours-table th, .loc-hours-table td {
  padding: 0.7rem 0;
  text-align: left;
  border-bottom: 1px solid var(--loc-border);
}

.loc-hours-table th {
  font-weight: 600;
  color: var(--loc-text);
  font-size: 0.95rem;
}

.loc-hours-table td {
  text-align: right;
  color: var(--loc-primary);
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.loc-hours-table tr:last-child th, .loc-hours-table tr:last-child td {
  border-bottom: none;
}

.loc-hours-closed td {
  color: var(--loc-text-muted);
  font-weight: 500;
}

.loc-hours-note {
  background: var(--loc-primary-soft);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--loc-text);
  margin: 0;
}

/* ============ SERVICE CARDS ============ */

.loc-service-card {
  background: var(--loc-bg-card);
  border: 1px solid var(--loc-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--loc-shadow-sm);
  transition: all 0.3s;
}

.loc-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--loc-shadow-md);
}

.loc-service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.loc-service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.loc-service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.loc-service-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--loc-text);
}

.loc-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.loc-service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--loc-text-muted);
  line-height: 1.6;
}

.loc-service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--loc-primary);
  font-weight: 700;
}

.loc-service-list strong {
  color: var(--loc-text);
  font-weight: 700;
}

/* ============ CTA BOX (Preise) ============ */

.loc-cta-box {
  background: linear-gradient(135deg, var(--loc-primary) 0%, var(--loc-primary-dark) 100%);
  border-radius: 20px;
  padding: 3rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: var(--loc-shadow-lg);
}

/* Wenn CTA-Box über Leistungen → Abstand nach unten */

.loc-cta-box--mb {
  margin-bottom: 6rem;
}

.loc-cta-box > div {
  flex: 1;
  min-width: 280px;
}

.loc-cta-title {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.loc-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.loc-cta-box .loc-btn--primary {
  background: white;
  color: var(--loc-primary);
}

.loc-cta-box .loc-btn--primary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--loc-primary-dark);
}

/* ============ TEAM ============ */

/* ============ FILIAL-GALERIE ============ */

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

.loc-gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--loc-shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loc-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--loc-shadow-lg);
}

.loc-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.loc-gallery-item:hover img {
  transform: scale(1.05);
}

/* ============ TEAM ============ */

.loc-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.loc-team-card {
  text-align: center;
}

.loc-team-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: var(--loc-shadow-md);
  border: 4px solid white;
}

.loc-team-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.loc-team-role {
  color: var(--loc-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ============ BEWERTUNGEN ============ */

.loc-rating-large {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--loc-bg-card);
  padding: 2rem 3rem;
  border-radius: 20px;
  border: 1px solid var(--loc-border);
  margin-top: 1rem;
  box-shadow: var(--loc-shadow-sm);
}

.loc-rating-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--loc-primary);
  line-height: 1;
}

.loc-rating-stars {
  color: #FFD700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.loc-rating-count {
  color: var(--loc-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.loc-rating-count strong {
  color: var(--loc-text);
}

.loc-reviews-widget {
  margin-top: 2rem;
}

/* ============ ANFAHRT (statt iframe) ============ */

.loc-anfahrt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.loc-anfahrt-card {
  background: linear-gradient(135deg, var(--loc-primary) 0%, var(--loc-primary-dark) 100%);
  border-radius: 20px;
  padding: 2.5rem;
  color: white;
  text-align: center;
  box-shadow: var(--loc-shadow-lg);
}

.loc-anfahrt-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.loc-anfahrt-title {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.loc-anfahrt-address {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-style: normal;
  line-height: 1.6;
}

.loc-anfahrt-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.loc-anfahrt-buttons .loc-btn {
  background: white;
  color: var(--loc-primary);
  border-color: white;
  justify-content: center;
}

.loc-anfahrt-buttons .loc-btn:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.loc-anfahrt-tips {
  background: var(--loc-bg-card);
  border: 1px solid var(--loc-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--loc-shadow-sm);
}

.loc-anfahrt-tips-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--loc-primary-soft);
}

.loc-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.loc-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--loc-border);
}

.loc-tips-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.loc-tips-list li:first-child {
  padding-top: 0;
}

.loc-tips-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--loc-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.loc-tips-list strong {
  display: block;
  color: var(--loc-text);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.loc-tips-list span {
  color: var(--loc-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .loc-anfahrt-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ MOBILE OPTIMIZATIONS ============ */

@media (max-width: 991px) {
  .loc-hero {
    min-height: 420px;
  }
}

@media (max-width: 991px) {
  .loc-cta-box {
    padding: 2rem;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .loc-cta-box > div {
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .loc-section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 767px) {
  .loc-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 767px) {
  .loc-hero__cta .loc-btn {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .loc-quick-info {
    padding: 2rem 0;
  }
}

@media (max-width: 767px) {
  .loc-card, .loc-service-body {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .loc-rating-large {
    padding: 1.5rem 2rem;
  }
}

