/* Gemeinschaftspraxis Cramer – Reeker – Schröer
   Farben und Schrift wie auf der bisherigen Website (Comfortaa, Hellblau #4cc7f4, Blau #278cc7) */

@font-face { font-family: 'Comfortaa'; font-weight: 300; font-display: swap; src: url(../assets/fonts/comfortaa-300.woff2) format('woff2'); }
@font-face { font-family: 'Comfortaa'; font-weight: 400; font-display: swap; src: url(../assets/fonts/comfortaa-400.woff2) format('woff2'); }
@font-face { font-family: 'Comfortaa'; font-weight: 700; font-display: swap; src: url(../assets/fonts/comfortaa-700.woff2) format('woff2'); }

:root {
  --hell: #4cc7f4;
  --blau: #278cc7;
  --dunkel: #1d5f8a;
  --text: #333;
  --grau: #666;
  --linie: #e3e8ec;
  --flaeche: #f4f8fb;
  --weiss: #fff;
  --radius: 10px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Comfortaa', system-ui, sans-serif;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--blau); }
a:hover { color: var(--dunkel); }
h1, h2, h3 { font-weight: 400; line-height: 1.25; color: var(--text); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1.2rem; }
h3 { font-size: 1.2rem; color: var(--blau); margin: 0 0 .6rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px; z-index: 100; }

/* Kopfbereich */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--linie);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { display: block; width: 150px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 6px;
  color: var(--text); text-decoration: none; font-size: .95rem;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--flaeche); color: var(--blau); }
.nav a.cta { background: var(--hell); color: #fff; }
.nav a.cta:hover { background: var(--blau); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--linie); border-radius: 6px; padding: 8px 12px; font: inherit; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--linie); padding: 8px 16px 16px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
}

/* Startbereich */
.hero {
  background: #fff url(../assets/img/hero-stethoskop.jpg) left center / cover no-repeat;
  padding: 64px 0 56px;
  text-align: right;
}
.siegel { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin: 0 0 1.6rem; }
.siegel img:first-child { width: 200px; }
.siegel img:last-child { width: 90px; }
@media (max-width: 600px) { .siegel { justify-content: flex-start; } .siegel img:first-child { width: 160px; } .siegel img:last-child { width: 72px; } }

/* Bildbanner zwischen den Abschnitten (wie auf der bisherigen Seite) */
.banner { height: clamp(220px, 40vh, 420px); background-size: cover; background-repeat: no-repeat; background-color: #e2e0d4; }
@media (max-width: 600px) { .banner { height: 200px; } }
.zeitung { display: block; margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.zeitung img, .zeitung-kopf { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.zeitung-kopf { margin-bottom: 8px; }
.zeitung:hover img { opacity: .92; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: 0; }
.hero .sub { color: var(--hell); font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin: .6rem 0 1.6rem; }
.hero ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.hero li { padding: 4px 0; font-size: 1.05rem; }
@media (max-width: 600px) {
  .hero { text-align: left; background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.82)), url(../assets/img/hero-stethoskop.jpg) 20% center / cover no-repeat; }
}

.btn-row { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-left: auto; }
.btn {
  display: inline-block; text-align: center;
  background: var(--hell); color: #fff; text-decoration: none;
  padding: 14px 24px; border-radius: 6px; border: 0;
  font: inherit; font-size: 1.05rem; cursor: pointer;
}
.btn:hover { background: var(--blau); color: #fff; }
.btn::after { content: " ›"; }
.btn.secondary { background: #fff; color: var(--blau); border: 2px solid var(--hell); }
.btn.secondary:hover { background: var(--flaeche); color: var(--dunkel); }

/* Abschnitte */
section { padding: 56px 0; }
section.alt { background: var(--flaeche); }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid.vier { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.card {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 24px;
}
.card p { margin: .3rem 0; }
.card .tel { font-size: 1.15rem; }
.card .tel a { text-decoration: none; }
.card .zeiten { color: var(--grau); font-size: .95rem; margin-top: .8rem; }
.card .btn { margin-top: 1rem; width: 100%; }
.card .neu { display: inline-block; background: #e9f7fd; color: var(--dunkel); font-size: .85rem; padding: 2px 10px; border-radius: 99px; margin: 0 0 .5rem; }
.leistungen ul { padding-left: 1.2rem; margin: 0; }
.leistungen li { margin: .25rem 0; }
.hinweis {
  background: #e9f7fd; border-left: 4px solid var(--hell);
  padding: 16px 20px; border-radius: 6px; margin: 0 0 24px;
}
.hinweis.warn { background: #fff7e6; border-color: #e0a100; }
.page-head { background: var(--flaeche); padding: 40px 0 28px; }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.crumb { font-size: .85rem; color: var(--grau); }
.crumb a { color: var(--grau); }
.prose { max-width: 820px; }
article.news { padding: 28px 0; border-bottom: 1px solid var(--linie); }
article.news:last-child { border-bottom: 0; }

/* QR-Codes (samedi App) */
.qr-grid { display: flex; gap: 24px; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; text-align: center; }
.qr:hover { border-color: var(--hell); color: var(--blau); }
.qr img { width: 160px; height: 160px; object-fit: contain; }
.qr small { color: var(--grau); }

/* Formular */
form.rezept { max-width: 720px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .95rem; }
.field .opt { font-weight: 300; color: var(--grau); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  width: 100%; padding: 12px; border: 1px solid #c9d3da; border-radius: 6px;
  font: inherit; background: #fff; color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--hell); border-color: var(--hell); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 16px; border-radius: 6px; margin-bottom: 20px; display: none; }
.form-msg.ok { display: block; background: #e8f6ea; border-left: 4px solid #080; }
.form-msg.err { display: block; background: #fdecec; border-left: 4px solid #c00; }

/* Tabelle */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { background: var(--flaeche); }
td:first-child { white-space: nowrap; color: var(--grau); }

/* Fußbereich */
.site-footer { background: #2b3a44; color: #d7e1e8; padding: 40px 0 24px; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer .grid { gap: 16px; }
.site-footer h4 { color: #fff; font-weight: 400; margin: 0 0 .5rem; }
.site-footer .legal { border-top: 1px solid #44545f; margin-top: 24px; padding-top: 16px; display: flex; gap: 20px; flex-wrap: wrap; }
