/* Praxis Pramstaller — praxispramstaller.ch */
:root {
  --bg: #faf8f5;
  --bg-alt: #f1ede7;
  --ink: #23282e;
  --ink-soft: #5a6068;
  --line: #e2ddd5;
  --accent: #a4553f;        /* Terracotta, wie der Teppich in der Praxis */
  --accent-dark: #8a4634;
  --card: #ffffff;
  --footer: #23282e;
  --maxw: 1060px;
  /* 02.09.2026: ueberall Inter (Michaels Vorgabe) — --serif bleibt als Name, traegt jetzt Inter */
  --serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { height: 48px; width: auto; }
.brand span {
  font-family: var(--sans); font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 600;
}
nav.menu { display: flex; gap: 26px; align-items: center; }
nav.menu a {
  text-decoration: none; color: var(--ink-soft); font-size: 15px;
  letter-spacing: .04em; padding: 4px 0; border-bottom: 2px solid transparent;
}
nav.menu a:hover { color: var(--ink); }
nav.menu a.active { color: var(--ink); border-bottom-color: var(--accent); }
nav.menu a.notfall { color: var(--accent-dark); font-weight: 600; }

#navtoggle { display: none; }
label.burger { display: none; cursor: pointer; padding: 6px; }
label.burger svg { display: block; }

@media (max-width: 760px) {
  label.burger { display: block; }
  .brand svg { height: 42px; }
  nav.menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  nav.menu a { padding: 12px 24px; width: 100%; border-bottom: none; }
  #navtoggle:checked ~ nav.menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.kicker {
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-dark); font-weight: 600; margin-bottom: 18px;
}
.hero h1 {
  /* 03.09.2026: Variante 1 der Schriftproben — Inter Light, etwas grösser. */
  font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.25; margin-bottom: 22px;
}
.hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin-bottom: 32px; }
.hero .foto { border-radius: 10px; overflow: hidden; box-shadow: 0 18px 50px rgba(35,40,46,.14); }
.hero .foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* Startseite: Hero zentriert (Variante «Ruhe», 02.09.2026) */
.hero.mitte { padding:80px 0 0; text-align:center; }
.hero.mitte .wrap { display:block; }
.hero.mitte h1 { font-size:clamp(36px,5.6vw,64px); margin-bottom:20px; }
.hero.mitte p.slogan { font-family:var(--serif); font-style:italic; font-size:clamp(18px,2.2vw,22px); color:var(--accent-dark); max-width:36em; margin:0 auto 22px; line-height:1.4; }
.hero.mitte p.lead { margin:0 auto 32px; max-width:94%; }
.hero.mitte .btnrow { justify-content:center; margin-bottom:56px; }
/* 03.09.2026: Figuren-Foto so breit wie der Abschnitt darunter («Tradition und Fortschritt» bis Deckenbild),
   aber flacher: 16:9-Ausschnitt statt 4:3, damit es nicht zu hoch wird */
.panorama { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; object-position:center 45%; border-radius:14px; box-shadow:0 22px 60px rgba(35,40,46,.16); }
.zweispaltig { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; margin-bottom:44px; }
.zweispaltig .sub { margin-bottom:0; }
.motto { font-family:var(--serif); font-style:italic; font-size:18px; color:var(--accent-dark); margin-top:22px; }
.zweispaltig img { width:100%; height:auto; border-radius:10px; box-shadow:0 14px 40px rgba(35,40,46,.12); display:block; }
.paar { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:48px auto 0; max-width:760px; }
.paar img { width:100%; height:auto; border-radius:10px; box-shadow:0 14px 40px rgba(35,40,46,.12); display:block; }
@media (max-width:860px){ .hero.mitte { padding-top:52px; } .zweispaltig { grid-template-columns:1fr; gap:28px; } .paar { grid-template-columns:1fr; } }


.btnrow { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; border-radius: 999px;
  padding: 12px 26px; font-size: 16px; font-weight: 600; letter-spacing: .02em;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.stimmungsbild { margin: 48px auto 0; max-width: 860px; }
.stimmungsbild img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 18px 50px rgba(35,40,46,.14); }
.stimmungsbild figcaption { text-align: center; margin-top: 14px; font-size: 14px; color: var(--ink-soft); letter-spacing: .02em; }
section.alt { background: var(--bg-alt); }
/* Inter, lokal gehostet (OFL) — variable Schnitte 300-700. Muss lokal liegen:
   ohne @font-face sahen nur Besucher mit installiertem Inter die richtige Schrift,
   alle anderen ihre Systemschrift. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  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: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  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;
}

/* Überschriften wie das Logo: dünne runde Schrift (Quicksand Light, lokal gehostet, OFL)
   und darunter der Bogen in exakt der Logo-Geometrie (Breite:Tiefe 10:1, Strich 1.9 %). */
@font-face {
  font-family: "Quicksand"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/quicksand-300-latin.woff2") format("woff2");
  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: "Quicksand"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/quicksand-300-latin-ext.woff2") format("woff2");
  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;
}
h2 {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 38px); letter-spacing: .03em; line-height: 1.15;
  width: fit-content; max-width: 100%; margin-bottom: 18px;
}
h2::after {
  content: ""; display: block; width: 56%; aspect-ratio: 600 / 75; margin: .22em auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 75'%3E%3Cpath d='M7 8 Q300 127 593 8' fill='none' stroke='%23a4553f' stroke-width='11' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.sub { color: var(--ink-soft); max-width: 44em; margin-bottom: 36px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.vier { grid-template-columns: repeat(2, 1fr); }
.cards.vier .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 26px;
}
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 760px) { .cards, .cards.vier { grid-template-columns: 1fr; } }
/* 03.09.2026: Angebots-Zeilen mit Bild, abwechselnd links/rechts */
.angebote { display:grid; gap:56px; margin-top:8px; }
.angebot { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.angebot:nth-child(even) img { order:2; }
.angebot img { width:100%; height:auto; border-radius:10px; box-shadow:0 14px 40px rgba(35,40,46,.12); display:block; }
.angebot h3 { font-family:var(--serif); font-weight:600; font-size:22px; margin-bottom:10px; }
.angebot p { color:var(--ink-soft); font-size:16px; }
@media (max-width:760px) { .angebote { gap:40px; } .angebot { grid-template-columns:1fr; gap:18px; } .angebot:nth-child(even) img { order:0; } }

/* Schwerpunkte */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 15px; color: var(--ink);
}

/* Medien-Hinweis */
.media-note {
  border-left: 3px solid var(--accent); background: var(--card);
  padding: 18px 22px; border-radius: 0 8px 8px 0; color: var(--ink-soft);
  font-size: 15.5px; max-width: 44em;
}

/* ---------- Team ---------- */
.person { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; margin-bottom: 72px; }
.person:last-child { margin-bottom: 0; }
.person .foto { border-radius: 10px; overflow: hidden; box-shadow: 0 14px 40px rgba(35,40,46,.12); }
.person h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.person .rolle { color: var(--accent-dark); font-weight: 600; margin: 4px 0 16px; }
.person p { color: var(--ink-soft); margin-bottom: 16px; }
.person h4 {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); margin: 22px 0 8px;
}
.person ul { list-style: none; }
.person li { padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; color: var(--ink-soft); }
.person li b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; gap: 28px; } .person .foto { max-width: 380px; } }

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .kontakt-grid { grid-template-columns: 1fr; } }
.kv { font-size: 15.5px; }
.kv dt { font-weight: 600; margin-top: 14px; }
.kv dd { color: var(--ink-soft); }
.kv dd:first-of-type { margin-top: 0; }

/* ---------- Notfall ---------- */
.notfall-card {
  background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: 10px; padding: 30px; margin-bottom: 20px;
}
.notfall-card .nummer {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 42px); font-weight: 600;
  color: var(--accent-dark); text-decoration: none; display: inline-block; margin: 6px 0;
}
.notfall-card p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--footer); color: #cfd3d8; padding: 56px 0 36px; margin-top: 0;
}
footer .wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
footer h5 { color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
footer a { color: #cfd3d8; text-decoration: none; }
footer a:hover { color: #fff; }
footer p, footer li { font-size: 14.5px; line-height: 1.8; }
footer ul { list-style: none; }
footer .logozeile { grid-column: 1 / -1; border-top: 1px solid #3a4048; margin-top: 26px; padding-top: 24px; text-align: center; }
footer .logozeile svg { height: 52px; width: auto; opacity: .9; }
footer .fein { grid-column: 1 / -1; text-align: center; font-size: 13px; color: #8a9098; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Fliessende Uebergaenge (04.09.2026) ----------
   Abschnitte gehen ineinander ueber statt hart zu wechseln: der helle Wechselgrund
   wird oben und unten weich ein- und ausgeblendet, vor der dunklen Fusszeile liegt ein
   sanfter Schatten. Inhalte blenden beim Scrollen leicht ein (assets/fliessend.js);
   ohne JavaScript und bei reduzierter Bewegung ist alles sofort sichtbar. */
section { padding: 84px 0; position: relative; }
section.alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 18%, var(--bg-alt) 82%, var(--bg) 100%);
  padding: 104px 0;
}
section.alt + section { padding-top: 56px; }
section + section.alt { margin-top: -28px; }
.hero.mitte + section { padding-top: 40px; }
footer.site { position: relative; }
footer.site::before {
  content: ""; position: absolute; left: 0; right: 0; top: -90px; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, rgba(35,40,46,0) 0%, rgba(35,40,46,.045) 100%);
}
.fx { opacity: 0; transform: translateY(26px);
  transition: opacity .95s cubic-bezier(.2,.7,.2,1), transform .95s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.fx.in { opacity: 1; transform: none; }
.fx img { transform: scale(.985); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.fx.in img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fx, .fx img { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  section.alt { padding: 72px 0; }
}
