/*
Theme Name: Praxis Lindenhof
Theme URI: https://grok.com
Author: Hausarztpraxis Lindenhof
Author URI: https://grok.com
Description: Modernes, seriöses One-Page-Theme für Arztpraxen. Sticky Header, Anker-Navigation, Leistungen, Team, Sprechzeiten, Kontaktformular, Impressum, Datenschutz und Disclaimer. Anpassbar über Design → Anpassen → Praxisdaten.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: praxis-lindenhof
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/fraunces-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f3f0e8;
  --canvas: #faf8f3;
  --cream: #efe8d8;
  --ink: #1a2e35;
  --ink-soft: #3d545c;
  --muted: #5e737a;
  --line: #d9d3c7;
  --petrol: #2a6560;
  --petrol-dark: #1d4a47;
  --sage: #8aa392;
  --sage-soft: #e4ede6;
  --on-petrol: #f6f3ea;
  --danger: #9b3d3d;
  --radius: 1.25rem;
  --shadow: 0 0 0 1px rgb(26 46 53 / 0.06), 0 8px 24px -12px rgb(26 46 53 / 0.12);
  --header-h: 6.6rem;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree Variable", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; outline: 1px solid rgb(26 46 53 / 0.1); outline-offset: -1px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: "Fraunces Variable", "Times New Roman", serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 600;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; text-wrap: pretty; }
button, [role="button"] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 80;
  background: var(--canvas); color: var(--ink); padding: 0.6rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-anchor { scroll-margin-top: var(--header-h); }
.canvas { background: var(--canvas); }
.paper { background: var(--paper); }
.petrol { background: var(--petrol); color: var(--on-petrol); }
.kicker {
  color: var(--petrol); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.kicker.light { color: var(--sage); }
h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; border: 0;
  font: 500 0.95rem/1 "Figtree Variable", system-ui, sans-serif;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--petrol); color: var(--on-petrol); }
.btn-primary:hover { background: var(--petrol-dark); }
.btn-outline { background: transparent; color: var(--on-petrol); box-shadow: 0 0 0 1px rgb(246 243 234 / 0.45); }
.btn-secondary { background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); }

.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--petrol); color: var(--on-petrol); }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; }
.topbar-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-size: 0.9rem; font-weight: 500; }
.navbar { background: rgb(250 248 243 / 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.is-scrolled .navbar { box-shadow: 0 8px 24px -16px rgb(26 46 53 / 0.28); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; }
.brand-name { display: block; font-family: "Fraunces Variable", serif; font-weight: 600; }
.brand-kicker { display: block; font-size: 0.75rem; color: var(--muted); }
.nav-desktop { display: none; gap: 0.15rem; }
.nav-desktop a { padding: 0.5rem 0.75rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.nav-desktop a.is-active, .nav-desktop a:hover { background: var(--sage-soft); color: var(--petrol); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-cta { display: none; }
.menu-toggle {
  width: 2.75rem; height: 2.75rem; border: 0; background: transparent; display: grid; place-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.nav-mobile {
  background: var(--canvas); padding: 1rem 1.25rem 2rem; display: grid; gap: 0.25rem;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a { padding: 0.85rem 0.5rem; font-size: 1.1rem; font-weight: 500; }
.nav-mobile a.is-active { color: var(--petrol); }

.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(26 46 53 / 0.82), rgb(26 46 53 / 0.45) 55%, rgb(26 46 53 / 0.25)); }
.hero-copy { position: relative; padding: 7rem 0 4rem; color: var(--on-petrol); max-width: 44rem; margin-left: max(1rem, calc((100% - 72rem) / 2)); }
.hero .eyebrow { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; color: var(--sage); }
.hero .lead { font-size: 1.1rem; max-width: 36rem; color: rgb(246 243 234 / 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.split { display: grid; gap: 3rem; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.8rem; margin: 0.6rem 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.25rem; width: 1.1rem; height: 1.1rem; border-radius: 999px; background: var(--sage-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }
.stats dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.stats dd { margin: 0.2rem 0 0; font-family: "Fraunces Variable", serif; font-size: 2rem; color: var(--petrol); }
.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.portrait figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgb(250 248 243 / 0.95); padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.9rem; }

.cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
.card { background: var(--canvas); padding: 1.25rem; border-radius: 1rem; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.team { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.team img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow); }
.team .role { color: var(--petrol); font-weight: 500; margin: 0; }
.team .focus { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.gallery { display: grid; gap: 1rem; margin-top: 2.5rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { aspect-ratio: 16/8; }
.gallery figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgb(250 248 243 / 0.95); padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.85rem; }

.hours { width: 100%; border-collapse: collapse; background: rgb(29 74 71 / 0.5); border-radius: 1rem; overflow: hidden; }
.hours th, .hours td { padding: 1rem 1.25rem; border-bottom: 1px solid rgb(246 243 234 / 0.1); text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }

.phone-lg { font-size: 1.25rem; font-weight: 600; color: var(--petrol); }
.contact-form { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.contact-form label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; }
.contact-form input, .contact-form textarea {
  min-height: 2.75rem; border: 0; border-radius: 0.5rem; padding: 0.6rem 0.85rem;
  background: var(--canvas); box-shadow: 0 0 0 1px var(--line); font: inherit;
}
.contact-form textarea { min-height: 8rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--petrol); }
.form-row { display: grid; gap: 0.9rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.check input { margin-top: 0.3rem; }
.map { width: 100%; height: 22rem; border: 0; border-radius: 1rem; box-shadow: var(--shadow); }
.muted { color: var(--muted); font-size: 0.9rem; }
.notice { padding: 1.25rem; border-radius: 1rem; margin-top: 1.5rem; }
.notice.success { background: var(--sage-soft); }
.notice.error { background: #f3e4e4; color: var(--danger); }

.legal { max-width: 46rem; padding-top: 2rem; }
.legal .entry h2 { margin-top: 2rem; }
.legal .entry { color: var(--ink-soft); }

.site-footer { background: var(--ink); color: var(--on-petrol); padding: 3.5rem 0 0; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-name { font-family: "Fraunces Variable", serif; font-size: 1.2rem; margin: 0; }
.footer-tag { color: var(--sage); }
.footer-label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); }
.footer-copy { border-top: 1px solid rgb(246 243 234 / 0.1); text-align: center; padding: 1.1rem; margin: 0; font-size: 0.8rem; color: rgb(246 243 234 / 0.55); }
.site-footer a:hover { color: var(--sage); }

@media (min-width: 640px) {
  .nav-cta { display: inline-flex; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
  .split { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .team { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .topbar-mail { display: inline-flex; }
}
@media (max-width: 639px) {
  .topbar-mail { display: none; }
  .hero { min-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
