/* ============================================================
   FUSSTRAUM – Lisa Krause | Kosmetische Fußpflege
   Design: Warmes Minimal / Stilles Handwerk
   ============================================================ */

@import url('https://fonts.bunny.net/css?family=cormorant-garamond:400,400i,600|jost:300,400,500&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  color-scheme: light;
  --ivory:       #F8F5F0;
  --white:       #FFFFFF;
  --charcoal:    #1C1A18;
  --mid:         #6B6560;
  --line:        #E5E0D8;
  --accent:      #B08B6B;
  --accent-dark: #8A6B4E;
  --section-alt: #F2EDE6;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Segoe UI', sans-serif;

  --radius: 2px;
  --max-width: 1100px;
  --gap: clamp(3rem, 8vw, 7rem);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--ivory);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Hinweis-Popup ──────────────────────────────────────────── */
#hinweis-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(28,26,24,0.55);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#hinweis-popup {
  background: var(--ivory);
  border-top: 4px solid var(--accent);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2.25rem 2rem;
  text-align: center;
}
#hinweis-titel {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.1rem;
  line-height: 1.2;
}
#hinweis-text {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}
#hinweis-close {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
#hinweis-close:hover { background: var(--accent-dark); }


/* ── Navigation ────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #F8F5F0;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
#nav.scrolled { box-shadow: 0 2px 20px rgba(28,26,24,0.08); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.nav-logo img { height: 74px; width: auto; }
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--charcoal); }
.nav-links .nav-cta {
  background: var(--charcoal);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--accent-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: 0.3s;
}

/* ── Hero ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.03);
  transition: transform 8s ease;
}
#hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,26,24,0.72) 0%,
    rgba(28,26,24,0.35) 50%,
    rgba(28,26,24,0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
  width: 100%;
}
.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-content h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.8);
}
.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-light {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn-light:hover {
  background: transparent;
  color: var(--white);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-dark:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ── Section base ───────────────────────────────────────────── */
section { padding: var(--gap) 0; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--accent); }
.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 2rem;
}

/* ── About / Intro ──────────────────────────────────────────── */
#ueber { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p {
  color: var(--mid);
  font-size: 1.0rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1px solid var(--line);
  z-index: -1;
}

/* ── Leistungen ─────────────────────────────────────────────── */
#leistungen { background: var(--section-alt); }
.leistungen-intro {
  max-width: 550px;
  margin-bottom: 3.5rem;
}
.leistungen-intro p {
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.8;
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.leistung-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s;
}
.leistung-card:hover { background: var(--ivory); }
.leistung-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.leistung-preis {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.leistung-preis span {
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--mid);
  display: block;
  margin-top: 0.25rem;
}
.anfahrt-hinweis {
  background: var(--white);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  font-size: 0.94rem;
  color: var(--mid);
  line-height: 1.7;
}
.anfahrt-hinweis strong { color: var(--charcoal); }

/* ── Einsatzgebiet ──────────────────────────────────────────── */
#einsatzgebiet { background: var(--white); }
.einsatz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.einsatz-text p {
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.gemeinden {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.gemeinde-tag {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line);
  color: var(--charcoal);
  background: var(--ivory);
}
.einsatz-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 60%;
}

/* ── Kontakt ────────────────────────────────────────────────── */
#kontakt { background: var(--section-alt); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}
.kontakt-info p {
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.kontakt-tel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 1rem;
}
.kontakt-tel::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

/* Form */
.form-group {
  margin-bottom: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 100px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6560' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.form-checkbox input[type="checkbox"] {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 0.1rem;
  border: 2px solid var(--line);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 0;
  padding: 0;
}
.form-checkbox input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
  border: 2.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-checkbox input[type="checkbox"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form-checkbox a { color: var(--accent); text-decoration: underline; }
.form-submit { text-align: right; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-name {
  font-size: 0.94rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.footer-name strong { color: rgba(255,255,255,0.85); font-weight: 400; }
.footer-sep { color: rgba(255,255,255,0.4); }
.footer-bottom { color: rgba(255,255,255,0.4); }
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* ── Legal pages (Impressum / Datenschutz) ─────────────────── */
.legal-hero {
  background: var(--charcoal);
  padding: 6rem 0 4rem;
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
}
.legal-body {
  background: var(--white);
  padding: var(--gap) 0;
}
.legal-content {
  max-width: 740px;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 2.5rem 0 0.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 1.5rem 0 0.5rem;
  letter-spacing: 0.03em;
}
.legal-content h4 {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--mid);
  margin: 1.25rem 0 0.4rem;
}
.legal-content p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 0.9rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
}
.legal-content li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 0.3rem;
}
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-content code {
  display: block;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0.75rem 0;
  font-family: inherit;
  color: var(--mid);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 3rem;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--charcoal); }
.legal-back::before { content: '←'; font-size: 1rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .einsatz-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .leistungen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-image::before { display: none; }
  .einsatz-image { order: -1; }
  
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem;
    gap: 1.25rem;
    align-items: flex-start;
  }
  .nav-links .nav-cta { align-self: flex-start; }
  .nav-toggle { display: flex; }
  #nav { position: relative; }

  .leistungen-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.25rem; text-align: center; }
  .footer-sep { display: none; }
  .footer-top, .footer-bottom { display: block; }
  .footer-links { justify-content: center; }
  #hero { min-height: 80vh; }
  .hero-content { padding-bottom: 3rem; }
}

/* ── Leistungs-Chips ────────────────────────────────────────── */
.leistung-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--mid);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.3;
}
.chip span em {
  font-style: normal;
  font-size: 0.82rem;
  color: #bbb;
  font-weight: 300;
}
.chip:hover span {
  border-color: var(--accent);
  color: var(--charcoal);
}
.chip.active span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 500;
}
.chip.active span em { color: rgba(255,255,255,0.7); }
.chip.active span::before {
  content: '✓';
  font-size: 0.87rem;
  font-weight: 700;
}
.chip-error {
  font-size: 0.82rem;
  font-weight: 400;
  color: #c0392b;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 0.4rem;
}

/* ── Form success ───────────────────────────────────────────── */
.form-success {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.form-success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.form-success p {
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}
