/* ========== Podologie Zentrum Ense – Navigation IMMER sichtbar ========== */

:root {
  --bg: #ffffff;
  --surface: #f7fafb;
  --brand: #a9cfd3;
  --brand2: #b9d9dc;
  --ink: #1b2b2f;
  --muted: #6f7b80;
  --line: rgba(27,43,47,0.1);
  --shadow: 0 20px 50px rgba(27,43,47,0.1);
  --radius: 22px;
  --max: 1180px;
  --easeOut: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(900px 500px at 20% -10%, rgba(169,207,211,0.35), transparent 55%),
              radial-gradient(700px 420px at 90% 0%, rgba(185,217,220,0.28), transparent 50%),
              linear-gradient(180deg, #ffffff, #ffffff);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 30px));
  margin-inline: auto;
}

/* ========== TOPBAR ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  height: 45px;
  width: auto;
}

.brand__logo img {
  height: 100%;
  width: auto;
}

.brand__text {
  line-height: 1.1;
}

.brand__title {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(27,43,47,0.65);
}

.brand__sub {
  font-size: 0.6rem;
  color: rgba(27,43,47,0.55);
}

.brand__name {
  font-style: italic;
  font-size: 0.75rem;
  color: var(--brand);
  margin-top: 2px;
}

/* ========== NAVIGATION – IMMER SICHTBAR ========== */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  background: transparent;
}

.nav a {
  padding: 8px 14px;
  border-radius: 40px;
  background: rgba(169,207,211,0.2);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(169,207,211,0.4);
}

.nav a[aria-current="page"] {
  background: var(--brand);
  font-weight: 600;
}

/* CTA - Telefon */
.topbar__cta {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  background: rgba(169,207,211,0.25);
  font-weight: 600;
  font-size: 0.85rem;
}

.pill .dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* ========== HERO ========== */
.hero {
  padding: 25px 0 15px;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.heroCard {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(247,250,251,0.95));
  box-shadow: var(--shadow);
}

.heroImage {
  min-height: 250px;
  background: linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.35)),
              url("/assets/img/PHOTO-2026-04-12-19-54-05.jpg") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 25px 15px;
}

.heroTitle {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2.5rem);
  font-weight: 700;
  color: rgba(27,43,47,0.8);
}

.heroSub {
  margin: 8px 0 0;
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  color: rgba(27,43,47,0.55);
}

.panel {
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 12px;
  border-radius: 40px;
  background: rgba(169,207,211,0.2);
  font-weight: 600;
  font-size: 0.75rem;
}

/* Buttons */
.ctaRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn--brand {
  background: var(--brand);
  border-color: var(--brand);
}

.btn--ghost {
  background: transparent;
}

/* ========== SECTIONS ========== */
.section {
  padding: 30px 0;
}

.sectionTitle {
  margin-bottom: 20px;
}

.sectionTitle h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.sectionTitle small {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  transition: all 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.card p {
  color: #666;
  line-height: 1.5;
  font-size: 0.85rem;
}

/* Info Text */
.info-text {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 20px;
  margin: 25px 0;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--brand);
}

.info-text h3 {
  color: var(--brand);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.info-text p {
  line-height: 1.6;
  margin-bottom: 12px;
  color: #444;
  font-size: 0.9rem;
}

.info-text ul {
  margin: 12px 0;
  padding-left: 20px;
}

.info-text li {
  margin: 6px 0;
  line-height: 1.5;
  font-size: 0.9rem;
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 15px 0;
}

/* ========== FOOTER ========== */
.footer {
  background: #9aa6b3;
  color: rgba(255,255,255,0.9);
  padding: 30px 0 20px;
  margin-top: 30px;
}

.footerGrid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 25px;
}

.footer h5 {
  margin-bottom: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer p, .footer a {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}

.footer a:hover {
  color: white;
}

.footer .muted {
  opacity: 0.8;
  font-style: italic;
}

.footerBottom {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 0.7rem;
}

/* ========== FORMULAR ========== */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

label {
  font-weight: 600;
  font-size: 0.85rem;
}

input, textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.85rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

/* ========== KICKER ========== */
.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* ========== LEISTUNGEN LISTE ========== */
.leistungen-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leistungen-liste li {
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.4;
  font-size: 0.85rem;
}

.leistungen-liste li::before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 6px;
}

/* ========== INFORMATIONEN SEITE ========== */
body.informationen-page {
  background: url('/assets/img/PHOTO-2026-04-12-19-54-05.jpg') center/cover fixed no-repeat;
  position: relative;
}

body.informationen-page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(169,207,211,0.88), rgba(185,217,220,0.85));
  z-index: 0;
}

body.informationen-page > * {
  position: relative;
  z-index: 1;
}

body.informationen-page .topbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
}

.info-hero {
  text-align: center;
  padding: 40px 15px;
  color: white;
}

.info-hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.magazin-article {
  background: rgba(255,255,255,0.94);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 30px;
}

.magazin-article h2 {
  color: var(--brand);
  font-size: 1.3rem;
  margin-bottom: 15px;
  border-left: 4px solid var(--brand);
  padding-left: 15px;
}

.magazin-article p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
  font-size: 0.9rem;
}

.zitat {
  font-style: italic;
  padding: 15px 20px;
  background: var(--surface);
  border-radius: 20px;
  margin: 20px 0;
  border-left: 4px solid var(--brand);
  font-size: 0.9rem;
}

.info-kasten {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-radius: var(--radius);
  padding: 25px;
  color: white;
  text-align: center;
}

.info-kasten a {
  color: white;
  text-decoration: underline;
}

/* ========== TABLET (ab 600px) ========== */
@media (min-width: 600px) {
  .topbar__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .nav {
    order: 0;
  }
  
  .topbar__cta {
    margin-top: 0;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footerGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footerBottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========== DESKTOP (ab 980px) ========== */
@media (min-width: 980px) {
  .hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
  }
  
  .heroImage {
    min-height: 380px;
    padding: 50px;
  }
  
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footerGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}