/* ==========================================================================
   Gemeinschaftspraxis für podologische und medizinische Fußpflege Gerhard
   Relaunch 2026 — klinisch / vertrauenswürdig
   ========================================================================== */

:root{
  --teal-900:#00696b;
  --teal-800:#007f80;
  --teal-700:#00908f;
  --teal-600:#00a6a6;
  --teal-500:#33c2c2;
  --teal-100:#dff7f7;
  --teal-50:#f0fcfc;
  --grey-900:#1c2a32;
  --grey-700:#43555f;
  --grey-500:#6b7d87;
  --grey-300:#c9d4d9;
  --grey-100:#eef2f4;
  --white:#ffffff;
  --radius:6px;
  --shadow:0 2px 10px rgba(0,105,107,0.08);
  --shadow-lg:0 8px 30px rgba(0,105,107,0.14);
  --maxw:1180px;
  --font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--grey-900);
  background:var(--white);
  line-height:1.65;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  width:100%;
}
img{ max-width:100%; display:block; height:auto; }
a{ color:var(--teal-700); text-decoration:none; }
a:hover{ color:var(--teal-500); }
h1,h2,h3,h4{
  font-family:var(--font-heading);
  color:var(--teal-900);
  line-height:1.25;
  margin:0 0 .6em;
  font-weight:600;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(1.9rem,4vw,2.7rem); font-weight:700; }
h2{ font-size:clamp(1.4rem,2.6vw,1.9rem); }
h3{ font-size:1.15rem; }
p{ margin:0 0 1.1em; color:var(--grey-700); }
ul{ margin:0 0 1.1em; padding-left:1.2em; color:var(--grey-700); }
li{ margin-bottom:.4em; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--teal-900); color:var(--white);
  padding:10px 16px; z-index:1000; border-radius:0 0 var(--radius) 0;
}
.skip-link:focus{ left:0; }

/* ---------- Top bar ---------- */
.topbar{
  background:var(--teal-900);
  color:var(--teal-100);
  font-size:.85rem;
}
@media (max-width:900px){
  .topbar{ display:none; }
}
.topbar .container{
  display:flex; flex-wrap:wrap; gap:6px 24px; justify-content:space-between; align-items:center;
  padding-top:8px; padding-bottom:8px;
}
.topbar a{ color:var(--teal-100); }
.topbar a:hover{ color:var(--white); }
.topbar__item{ display:flex; align-items:center; gap:6px; min-width:0; }
.topbar__item svg{ flex-shrink:0; opacity:.85; }
@media (max-width:600px){
  .topbar__item{ white-space:normal; }
}
@media (min-width:601px){
  .topbar__item{ white-space:nowrap; }
}

/* ---------- Header / Nav ---------- */
.site-header{
  background:var(--white);
  border-bottom:1px solid var(--grey-100);
  position:sticky; top:0; z-index:100;
  box-shadow:var(--shadow);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:10px; padding-bottom:10px; gap:20px;
}
@media (max-width:600px){
  .site-header .container{ padding-top:8px; padding-bottom:8px; }
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:104px; width:auto; }
@media (max-width:600px){ .brand img{ height:72px; } }
.brand__text{ font-size:.95rem; line-height:1.25; color:var(--teal-900); font-weight:600; max-width:260px; }

.nav-toggle{ display:none; }
.nav-toggle-label{
  display:none; cursor:pointer; padding:8px; border-radius:var(--radius);
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after{
  display:block; width:26px; height:3px; background:var(--teal-900); border-radius:2px; position:relative; transition:.2s;
}
.nav-toggle-label span::before, .nav-toggle-label span::after{ content:""; position:absolute; left:0; }
.nav-toggle-label span::before{ top:-8px; }
.nav-toggle-label span::after{ top:8px; }

.main-nav{ }
.main-nav > ul{
  list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:2px; flex-wrap:wrap;
}
.main-nav a{
  display:block; padding:12px 14px; color:var(--teal-900); font-weight:600; font-size:.96rem; border-radius:var(--radius);
}
.main-nav > ul > li > a:hover, .main-nav a.is-active{ background:var(--teal-100); color:var(--teal-700); }

.has-submenu{ position:relative; }
.has-submenu > summary{
  list-style:none; cursor:pointer; padding:12px 14px; color:var(--teal-900); font-weight:600; font-size:.96rem;
  border-radius:var(--radius); display:flex; align-items:center; gap:6px;
}
.has-submenu > summary::-webkit-details-marker{ display:none; }
.has-submenu > summary:hover, .has-submenu > summary.is-active{ background:var(--teal-100); color:var(--teal-700); }
.has-submenu__chev{ transition:transform .15s ease; flex-shrink:0; }
.has-submenu[open] .has-submenu__chev{ transform:rotate(180deg); }
.has-submenu .submenu{
  list-style:none; margin:6px 0 0; padding:8px; background:var(--white); border:1px solid var(--grey-100);
  border-radius:var(--radius); box-shadow:var(--shadow-lg);
}
@media (min-width:901px){
  .has-submenu .submenu{ position:absolute; top:100%; left:0; min-width:260px; }
}
.has-submenu .submenu a{ padding:9px 12px; font-weight:500; font-size:.92rem; white-space:nowrap; }

@media (max-width:900px){
  .nav-toggle-label{ display:block; }
  .main-nav{
    display:none; width:100%; order:3;
  }
  .nav-toggle:checked ~ .main-nav{ display:block; }
  .main-nav > ul{ flex-direction:column; align-items:stretch; padding:8px 0 16px; gap:0; }
  .main-nav > ul > li{ width:100%; }
  .main-nav > ul > li > a{ padding:12px 4px; border-bottom:1px solid var(--grey-100); border-radius:0; }
  .has-submenu > summary{ border-bottom:1px solid var(--grey-100); border-radius:0; }
  .has-submenu .submenu{ box-shadow:none; border:none; background:var(--teal-50); margin:0; }
  .has-submenu .submenu a{ padding:10px 24px; white-space:normal; }
  .site-header .container{ flex-wrap:wrap; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; background:var(--teal-900); color:var(--white); overflow:hidden;
}
.hero__content{ position:relative; padding-top:64px; padding-bottom:56px; max-width:760px; }
.hero h1{ color:var(--white); }
.hero__lead{ color:var(--teal-100); font-size:1.08rem; max-width:620px; margin-bottom:0; }

.hero--compact .hero__content{ padding-top:44px; padding-bottom:44px; }

/* ---------- Sections ---------- */
.section{ padding:56px 0; }
.section--alt{ background:var(--teal-50); }
.section--tight{ padding:40px 0; }
.section-head{ max-width:720px; margin-bottom:32px; }

/* ---------- Cards / grids ---------- */
.grid{ display:grid; gap:28px; }
.grid--2{ grid-template-columns:repeat(2,1fr); }
.grid--3{ grid-template-columns:repeat(3,1fr); }
.grid--4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid--3, .grid--4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid--2, .grid--3, .grid--4{ grid-template-columns:1fr; } }

.card{
  background:var(--white); border:1px solid var(--grey-100); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; display:flex; flex-direction:column;
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.card__media{ aspect-ratio:4/3; overflow:hidden; background:var(--grey-100); }
.card__media img{ width:100%; height:100%; object-fit:cover; }
.card__body{ padding:20px 22px 24px; flex:1; display:flex; flex-direction:column; }
.card__body h3{ margin-bottom:8px; }
.card__body p{ margin-bottom:0; font-size:.95rem; }
.card__link{ font-weight:700; font-size:.9rem; margin-top:14px; display:inline-block; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; } }
.split__media img{ border-radius:var(--radius); box-shadow:var(--shadow); }
.split__media--icon{ max-width:200px; margin:0 auto; }
.split__media--icon img{ border-radius:0; box-shadow:none; }
@media (max-width:820px){ .split__media--icon{ max-width:160px; } }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 26px; border-radius:var(--radius);
  font-weight:700; font-size:.95rem; background:var(--teal-600); color:var(--white); border:1px solid var(--teal-600);
}
.btn:hover{ background:var(--teal-800); border-color:var(--teal-800); color:var(--white); }
.btn--outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.6); }
.btn--outline:hover{ background:rgba(255,255,255,.12); color:var(--white); }
.btn--ghost{ background:transparent; color:var(--teal-700); border-color:var(--grey-300); }
.btn--ghost:hover{ background:var(--teal-100); color:var(--teal-700); }

/* ---------- Info notice ---------- */
.notice{
  background:var(--teal-100); border:1px solid rgba(0,166,166,.3); padding:16px 20px; border-radius:var(--radius);
  font-size:.95rem; color:var(--teal-900);
}
.notice p{ color:var(--teal-900); margin:0; }

/* ---------- Team ---------- */
.team-card{ text-align:center; }
.team-card .card__media{ aspect-ratio:1/1; }
.team-card h3{ font-size:1.02rem; margin-bottom:2px; }

/* ---------- Price table ---------- */
.price-table{ width:100%; border-collapse:collapse; background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.price-table th, .price-table td{ padding:14px 18px; text-align:left; border-bottom:1px solid var(--grey-100); font-size:.95rem; }
.price-table th{ background:var(--teal-900); color:var(--white); font-weight:700; }
.price-table tr:last-child td{ border-bottom:none; }
.price-table td:last-child{ text-align:right; font-weight:700; color:var(--teal-800); white-space:nowrap; }
.price-block{ margin-bottom:36px; }
.price-block h3{ color:var(--teal-800); margin-bottom:12px; }
.table-scroll{ overflow-x:auto; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:36px; }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-item{ display:flex; gap:14px; margin-bottom:22px; align-items:flex-start; }
.contact-item__icon{
  width:42px; height:42px; border-radius:50%; background:var(--teal-100); color:var(--teal-700);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-item h3{ font-size:1rem; margin-bottom:4px; }
.contact-item p{ margin-bottom:0; }
.map-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--grey-100); }
.map-frame iframe{ width:100%; height:340px; border:0; display:block; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--teal-900); color:var(--teal-100); }
.footer-top{ padding-top:48px; padding-bottom:32px; display:grid; grid-template-columns:.9fr 1fr 1.15fr; gap:32px; }
@media (max-width:820px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.site-footer h3{ color:var(--white); font-size:1rem; margin-bottom:14px; }
.site-footer p, .site-footer li{ color:var(--teal-100); font-size:.92rem; }
.site-footer a{ color:var(--teal-100); }
.site-footer a:hover{ color:var(--white); }
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer li{ margin-bottom:8px; }
.footer-brand-col{ max-width:230px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand__badge{ display:inline-flex; background:var(--white); padding:10px 16px; border-radius:var(--radius); }
.footer-brand img{ height:52px; width:auto; }
.footer-brand-col p{ font-size:.88rem; line-height:1.6; }
.footer-contact li{ display:flex; align-items:flex-start; gap:10px; margin-bottom:14px; }
.footer-contact li:last-child{ margin-bottom:0; }
.footer-contact__icon{ flex-shrink:0; margin-top:1px; opacity:.9; }
.footer-contact strong{ color:var(--white); font-weight:600; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:18px; padding-bottom:18px; font-size:.82rem; color:var(--teal-100);
  display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between;
}
.footer-bottom ul{ list-style:none; display:flex; flex-wrap:wrap; gap:6px 18px; margin:0; padding:0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-size:.85rem; color:var(--teal-100); margin-bottom:10px; }
.breadcrumb a{ color:var(--teal-100); }
.breadcrumb a:hover{ color:var(--white); }

.breadcrumb-bar{ background:var(--grey-100); border-bottom:1px solid var(--grey-300); }
.breadcrumb-bar .container{ padding-top:10px; padding-bottom:10px; font-size:.85rem; }
.breadcrumb-bar a{ color:var(--teal-700); font-weight:600; }
.breadcrumb-bar a:hover{ color:var(--teal-500); }
.breadcrumb-bar .sep{ color:var(--grey-500); }
.breadcrumb-bar .current{ color:var(--grey-700); }

/* ---------- Legal pages ---------- */
.legal p, .legal li{ color:var(--grey-700); }
.legal h2{ margin-top:1.4em; }

/* ---------- Scroll reveal ---------- */
/* Scoped to html.js (set by an inline script in <head>) so content stays
   fully visible if JavaScript is blocked or fails - it never depends on
   script execution to become readable. */
html.js .reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1);
  will-change:opacity, transform;
}
html.js .reveal.is-visible{ opacity:1; transform:translateY(0); }
html.js .grid .reveal:nth-child(1){ transition-delay:0ms; }
html.js .grid .reveal:nth-child(2){ transition-delay:90ms; }
html.js .grid .reveal:nth-child(3){ transition-delay:180ms; }
html.js .grid .reveal:nth-child(4){ transition-delay:270ms; }
@media (prefers-reduced-motion: reduce){
  html.js .reveal{ opacity:1; transform:none; transition:none; }
}
