/* Podologie Eichholz — static site stylesheet */

:root {
  --color-bg: #faf7f3;
  --color-surface: #ffffff;
  --color-text: #2e2a26;
  --color-text-muted: #6b6258;
  --color-primary: #7a9b76;
  --color-primary-dark: #5c7d58;
  --color-accent: #c98a5e;
  --color-border: #e8e1d8;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(46, 42, 38, 0.06);
  --max-width: 980px;
  --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }

/* Header */

.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
}
.brand:hover { text-decoration: none; }
.brand img { height: 42px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 0.95rem;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* Layout */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
}

.page-title {
  font-size: 2rem;
  margin: 0 0 1.25rem;
  color: var(--color-primary-dark);
}

section + section { margin-top: 2rem; }

/* Info / notice banner */

.notice {
  background: #f1f0e4;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}
.notice h2 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  color: var(--color-accent);
  text-align: center;
}
.notice p { margin: 0.25rem 0; }

/* Hero */

.hero {
  text-align: center;
  padding: 1rem 0 2rem;
}
.hero-logo {
  width: 400px;
  height: auto;
  margin: 0 auto 1rem;
}
.hero h1 {
  font-size: 1.8rem;
  margin: 0 0 0.25rem;
  color: var(--color-primary-dark);
}
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}
.hero-label {
  display: inline-block;
  font-size: 1.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

/* Cards / lists */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
}

ul.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
ul.service-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
}

/* Price table */

table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.price-table th,
table.price-table td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--color-border);
}
table.price-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
table.price-table td:last-child,
table.price-table th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
table.price-table tr:last-child td { border-bottom: none; }
table.price-table tr:hover td { background: #f6f4ee; }

@media (max-width: 560px) {
  table.price-table, table.price-table thead, table.price-table tbody, table.price-table tr, table.price-table td {
    display: block;
    width: 100%;
  }
  table.price-table thead { display: none; }
  table.price-table tr {
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1.1rem;
  }
  table.price-table td {
    border: none;
    padding: 0.2rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  table.price-table td:last-child { text-align: left; }
}

/* Gallery (Praxis) */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery figure {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.gallery figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 100;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
}
.lightbox-close:hover { opacity: 0.75; }

.gallery img { cursor: zoom-in; }

/* Anfahrt */

.directions-grid {
  display: grid;
  gap: 1.5rem;
}
.directions-grid h3 {
  margin-top: 0;
  color: var(--color-primary-dark);
}

/* Footer */

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.footer-inner h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--color-primary-dark);
}
.footer-inner p { margin: 0.2rem 0; color: var(--color-text-muted); }
.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
}
