/* /public/assets/css/layout.css */

/* ── Container ───────────────────────────────────── */
.container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--container-width);
  gap: 24px;
  margin: 0 auto;
  padding: 96px 25px 0;
}

/* ── Nav ─────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 70px;
  border-bottom: 2px solid var(--accent-gold);
  background: var(--nav-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-smooth);
}
.nav-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 25px;
}
.nav-logo {
  z-index: 10005;
  font-family: "Arial Black", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fdfdfd;
  text-decoration: none;
  transition: color var(--transition-smooth);
}
.nav-logo span {
  color: var(--accent-gold);
}
.nav-links {
  position: absolute;
  left: 50%;
  z-index: 10001;
  display: flex;
  gap: 5px;
  list-style: none;
  transform: translateX(-50%);
}
.nav-links li {
  margin: 0;
  padding: 0;
}
.nav-links li::before {
  display: none;
  content: none;
}
.nav-links a {
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  color: rgba(253, 253, 253, 0.85);
  text-decoration: none;
  transition:
    color var(--transition-smooth),
    background-color var(--transition-smooth);
}
.nav-links a.active,
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
}
html[data-theme="dark"] .nav-links a {
  color: rgba(254, 254, 254, 0.65);
}
html[data-theme="dark"] .nav-links a.active,
html[data-theme="dark"] .nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
}
.nav-actions {
  z-index: 10005;
  display: flex;
  align-items: center;
  gap: 15px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 3px 0;
  background: var(--accent-gold);
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

/* ── Grid ────────────────────────────────────────── */
.grid-layout {
  display: grid;
  width: 100%;
  gap: 24px;
}
.action-grid {
  grid-template-columns: repeat(3, 1fr);
}
.card-full {
  grid-column: 1 / -1;
}
.card-main {
  grid-column: span 2;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 3px solid var(--accent-gold);
  background-color: var(--nav-bg);
  color: #fdfdfd;
  transition: background-color var(--transition-smooth);
}
html[data-theme="dark"] .site-footer {
  color: #fefefe;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  width: 100%;
  max-width: var(--container-width);
  gap: 80px;
  margin: 0 auto;
  padding: 0 25px 40px;
}
.footer-heading {
  position: relative;
  display: block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fdfdfd;
}
html[data-theme="dark"] .footer-heading {
  color: #fefefe;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--accent-gold);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.footer-links a,
.footer-link,
.footer-link:link,
.footer-link:visited {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(253, 253, 253, 0.8);
  text-decoration: none;
  transition: color var(--transition-smooth);
}
html[data-theme="dark"] .footer-links a,
html[data-theme="dark"] .footer-link {
  font-weight: 400;
  color: #9ea3a9;
}
.footer-links a:hover,
.footer-link:hover {
  color: var(--accent-gold);
}
.footer-icon-svg,
.trust-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  padding-top: 3px;
  color: var(--accent-gold);
  transition:
    color var(--transition-smooth),
    transform var(--transition-smooth);
}
html[data-theme="dark"] .footer-icon-svg,
html[data-theme="dark"] .trust-icon {
  color: #9ea3a9;
}
.footer-links li:hover .footer-link,
.footer-links li:hover .footer-icon-svg {
  color: var(--accent-gold) !important;
}
.footer-links li:hover .footer-icon-svg {
  transform: scale(1.05);
}
.footer-hours-flex {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-hours-flex:hover .footer-icon-svg {
  transform: scale(1.05);
  color: var(--accent-gold);
}
.footer-hours-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(253, 253, 253, 0.9);
}
html[data-theme="dark"] .footer-hours-box {
  color: #9ea3a9;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: var(--container-width);
  gap: 15px;
  margin: 0 auto;
  padding: 30px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fdfdfd;
}
html[data-theme="dark"] .trust-item {
  border-color: rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  color: #9ea3a9;
}
.footer-bottom {
  width: 100%;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
}
html[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.03);
  background-color: rgba(0, 0, 0, 0.15);
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(253, 253, 253, 0.5);
}
html[data-theme="dark"] .footer-bottom p {
  color: #767c85;
}
.footer-logo-wrap {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.back-to-top-logo {
  display: inline-block;
  cursor: pointer;
  transition: transform var(--transition-smooth);
}
.back-to-top-logo:hover {
  transform: translateY(-5px);
}
.footer-logo {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.back-to-top-logo:hover .footer-logo {
  opacity: 1;
}

/* ── Schwebender Google Bewertungs-Button ────────── */
.floating-google-review {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  background-color: var(--nav-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition:
    transform var(--transition-smooth),
    background-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}
.floating-google-review:hover {
  transform: scale(1.1) translateY(-3px);
  background-color: rgba(255, 255, 255, 0.03);
  box-shadow: 0 6px 20px rgba(249, 216, 87, 0.25); /* Nutzt den Schimmer passend zum Gold */
}
html[data-theme="dark"] .floating-google-review:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 950px) {
  .container {
    padding: 96px 15px 0;
  }
  .menu-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10006;
    display: flex;
    transform: translate(-50%, -50%);
  }
  .nav-links {
    display: none;
  }
  #nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: var(--nav-bg);
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  #nav-menu.active {
    transform: translateX(0);
  }
  #nav-menu a {
    padding: 15px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fdfdfd;
    text-decoration: none;
    width: 200px;
    text-align: center;
    border-radius: 8px;
  }
  html[data-theme="dark"] #nav-menu a {
    color: #fefefe;
  }
  #nav-menu a.active,
  #nav-menu a:hover {
    background: none !important;
    color: var(--accent-gold) !important;
  }
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .action-grid {
    grid-template-columns: 1fr;
  }
  .card-main,
  .card-full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    justify-items: center;
  }
  .footer-heading {
    width: 100%;
    text-align: center;
  }
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-hours-flex {
    justify-content: flex-start;
  }
  .footer-hours-box {
    align-items: flex-start;
    text-align: left;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links li {
    justify-content: flex-start;
  }
  .floating-google-review {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}
