/* =========================================================
   CaniCorpus – gemeinsame Stile (ergänzend zu Tailwind)
   ========================================================= */

html { scroll-behavior: smooth; }

body {
  background-color: #131312;
  color: #F4F0EA;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar dezent an das dunkle Theme angepasst */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #131312; }
::-webkit-scrollbar-thumb { background: #3A3532; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #4A443F; }

::selection { background: #C0563C; color: #fff; }

/* Register-Leiste: horizontal scrollbar auf schmalen Bildschirmen, ohne sichtbaren Balken */
[data-tabbar] {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
[data-tabbar]::-webkit-scrollbar { display: none; }

/* Logo-Plakette: das Logo liegt als SVG vor (transparent, aber mit dunklem
   Schriftzug #333 – Version fuer helle Hintergruende). Daher steht es auf dem
   dunklen Theme weiterhin auf einer hellen Flaeche.
   Falls spaeter eine helle Logo-Variante kommt, kann die Plakette entfallen. */
.logo-plate {
  background: #FBF9F6;
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
}

/* Sanftes Einblenden beim Scrollen */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Feiner Punkteraster als Hintergrundtextur */
.dot-grid {
  background-image: radial-gradient(rgba(244,240,234,.10) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Warmer Lichtschein hinter dem Hero */
.glow-terra {
  background: radial-gradient(60% 60% at 50% 40%, rgba(192,86,60,.22) 0%, rgba(192,86,60,0) 70%);
}

/* =========================================================
   Mobile Navigation (Burger-Menue)
   Bis 1023px: Register-Leiste aus, Burger + Aufklappmenue an.
   Ab 1024px: Register-Leiste an, Burger + Aufklappmenue aus.
   ========================================================= */

/* Register-Leiste erst ab grossen Bildschirmen */
.nav-tabs { display: none; }

/* Telefon-Kreis im Kopfbereich nur ab grossen Bildschirmen
   (auf dem Handy steckt "Anrufen" im Aufklappmenue) */
.nav-only-desktop { display: none; }

/* --- Burger-Schaltflaeche --- */
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid #332F2C;
  color: #F4F0EA;
  background: transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav-burger:hover { border-color: #C0563C; }
.nav-burger:focus-visible { outline: 2px solid #C0563C; outline-offset: 2px; }

.nav-burger-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-burger-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-burger-bars span:nth-child(1) { top: 0; }
.nav-burger-bars span:nth-child(2) { top: 5px; }
.nav-burger-bars span:nth-child(3) { top: 10px; }

/* Geoeffnet: aus den Balken wird ein Kreuz */
.nav-burger[aria-expanded="true"] .nav-burger-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bars span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* --- Aufklappmenue --- */
.nav-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  border-top: 1px solid transparent;
  background: rgba(19, 19, 18, .98);
  transition: max-height .3s ease, opacity .2s ease, visibility 0s linear .3s;
}
.nav-panel.is-open {
  max-height: calc(100vh - 5rem);
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
  border-top-color: #332F2C;
  transition: max-height .35s ease, opacity .25s ease, visibility 0s linear 0s;
}

.nav-panel-inner {
  display: flex;
  flex-direction: column;
  padding-top: .5rem;
  padding-bottom: 1.25rem;
}

.nav-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem .25rem .9rem .875rem;
  font-size: 1rem;
  letter-spacing: .025em;
  color: #B6AFA5;
  border-left: 2px solid transparent;
  border-bottom: 1px solid #23211F;
  transition: color .2s ease, border-color .2s ease;
}
.nav-panel-link:hover { color: #F4F0EA; }
.nav-panel-link.is-active {
  color: #F4F0EA;
  border-left-color: #C0563C;
}
/* kleiner Pfeil als Hinweis, dass der Eintrag verlinkt ist */
.nav-panel-link::after {
  content: "";
  width: .45rem;
  height: .45rem;
  flex-shrink: 0;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .45;
}

.nav-panel-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.25rem;
  padding: .8rem 1.25rem;
  border: 1px solid #332F2C;
  border-radius: 9999px;
  color: #F4F0EA;
  font-size: .875rem;
  letter-spacing: .025em;
  transition: color .2s ease, border-color .2s ease;
}
.nav-panel-call:hover { color: #C0563C; border-color: #C0563C; }
.nav-panel-call svg { width: 1rem; height: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .nav-panel, .nav-panel.is-open,
  .nav-burger-bars span { transition: none; }
}

/* Ab 1024px: klassische Register-Leiste, Burger verschwindet */
@media (min-width: 1024px) {
  .nav-tabs { display: flex; }
  .nav-only-desktop { display: flex; }
  .nav-burger { display: none; }
  .nav-panel { display: none; }
}

/* =========================================================
   Preisseite – Zeilen "Leistung / Betrag"
   ========================================================= */

.preis-liste { margin: 0; padding: 0; list-style: none; }

.preis-zeile {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .95rem 0;
  border-bottom: 1px solid #332F2C;
}
.preis-zeile:first-child { padding-top: 0; }
.preis-zeile:last-child { padding-bottom: 0; border-bottom: 0; }

.preis-zeile-text {
  font-weight: 300;
  font-size: .9375rem;
  line-height: 1.5;
  color: #F4F0EA;
}
.preis-zeile-zusatz {
  display: block;
  margin-top: .2rem;
  font-size: .8125rem;
  color: #B6AFA5;
}
.preis-zeile-wert {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.375rem;
  line-height: 1.2;
  color: #C0563C;
}

/* Grosse Preisangabe in der Karte "Ersttermin" */
.preis-gross {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: #C0563C;
}
