/* PhysioFokus – statische Praxiswebsite. Farben, Abstände und Schrift hier. */

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/raleway-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/raleway-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

:root {
  --sage: #5e7461;
  --sage-deep: #3d5241;
  --ink: #243028;
  --muted: #4c5a50;
  --paper: #f7f4ef;
  --white: #fffcf8;
  --line: #e3dcd2;
  --soft: #e7efe8;
  --display: "Raleway", "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --header: 5.4rem;
  --wrap: 1120px;
  --nav-break: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sage-deep);
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

::selection {
  background: #d5e3d6;
  color: var(--ink);
}

[id] {
  scroll-margin-top: 6.5rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kicker {
  margin: 0;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Banner + header */

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.news {
  background: var(--sage);
  color: #fff;
}

.news[hidden],
.news:not(:has(p:not(:empty))) {
  display: none !important;
}

.news p {
  margin: 0;
  padding: 0.72rem 1.25rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.45;
}

.news a {
  color: #fff;
}

.site-header {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: 4.6rem;
  height: 4.6rem;
}

.header-inner {
  position: relative;
}

.header-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-check {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.bars::before {
  top: -6px;
}

.bars::after {
  top: 6px;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
}

.nav-check:checked + .nav-toggle .bars {
  background: transparent;
}

.nav-check:checked + .nav-toggle .bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-check:checked + .nav-toggle .bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--sage-deep);
}

@media (max-width: 979px) {
  .nav-check,
  .nav-toggle {
    display: inline-flex;
  }

  .nav-check {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav {
    display: none;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.15rem 0 0.35rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(36, 48, 40, 0.1);
  }

  .nav-check:checked ~ .nav {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
    font-size: 1.15rem;
    white-space: normal;
  }

  .nav a:last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (min-width: 980px) {
  .nav-check,
  .nav-toggle {
    display: none;
  }
}

/* Hero */

.hero {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 0 3rem;
}

.hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.lede {
  font-size: 1.28rem;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.35rem 0 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.btn:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--sage-deep);
}

.fine {
  color: var(--muted);
  font-size: 1rem;
}

.fine a {
  color: inherit;
}

.hero-photo,
.frame,
.shot,
.portrait {
  margin: 0;
}

.hero-photo img,
.frame img,
.shot img,
.portrait img,
.detail-break img {
  background: #e6e0d6;
}

.hero-photo img,
.frame img,
.shot img {
  width: 100%;
}

.caption,
figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Sections */

.section {
  padding: 4.25rem 0;
}

.band {
  background: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.block h2 {
  margin: 0.3rem 0 0.8rem;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.split {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.points li {
  position: relative;
  padding: 0.72rem 0 0.72rem 1.15rem;
  border-top: 1px solid var(--line);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--sage);
}

.service {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.45rem 0;
  border-top: 1px solid var(--line);
}

.service:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.45rem;
}

.service .num {
  margin: 0;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.service p {
  margin-bottom: 0.75rem;
}

.gallery {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.shot img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.detail-break {
  margin: 3rem 0 0;
}

.detail-break img {
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
}

.about {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

.portrait img {
  width: 100%;
}

.quote {
  margin: 1.6rem 0;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 2px solid var(--sage);
}

.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote figcaption {
  margin-top: 0.45rem;
}

.creds {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.creds li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.creds li:last-child {
  border-bottom: 1px solid var(--line);
}

.creds strong {
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem 1.45rem;
}

.band .panel {
  background: var(--white);
}

.panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.45rem;
}

.panel h3.follow {
  margin-top: 1.6rem;
}

.hours,
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td,
.price-table th,
.price-table td {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
  font-weight: 400;
}

.hours th {
  font-weight: 600;
  padding-right: 1rem;
}

.hours td {
  text-align: right;
  color: var(--muted);
}

.price-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.price-table th {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
}

.stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1rem;
}

.address {
  font-style: normal;
  margin-bottom: 0.9rem;
}

.anfahrt {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
  align-items: start;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Footer */

.footer {
  padding: 2.2rem 0 2.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer a {
  color: var(--ink);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.footer .logo img {
  width: 3.4rem;
  height: 3.4rem;
}

.legal {
  margin: 0;
}

/* Subpages */

.page-hero {
  padding: 2.5rem 0 0.5rem;
}

.page-hero h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.prose {
  max-width: 42rem;
  padding-bottom: 4rem;
}

.prose h2 {
  margin: 2.1rem 0 0.7rem;
  font-size: 1.55rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.prose li {
  margin: 0.3rem 0;
}

.prose a {
  overflow-wrap: anywhere;
}

/* Wider layouts */

@media (min-width: 800px) {
  .service {
    grid-template-columns: 16rem 1fr;
    padding: 1.7rem 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .anfahrt {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 2rem;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
    align-items: center;
    padding: 3.5rem 0 4.5rem;
  }

  .section {
    padding: 5.75rem 0;
  }

  .split,
  .about {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.25rem;
  }

  .about {
    grid-template-columns: 0.82fr 1.18fr;
  }
}

@media (max-width: 599px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.7rem));
  }

  body {
    font-size: 1.0625rem;
  }

  .logo img {
    width: 3.7rem;
    height: 3.7rem;
  }

  .price-table th:nth-child(2),
  .price-table td:nth-child(2) {
    padding-inline: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .top,
  .actions,
  .nav-toggle,
  .map-links {
    position: static;
  }

  .top {
    border: 0;
    background: #fff;
  }

  .nav-toggle,
  .nav-check {
    display: none !important;
  }

  .nav {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 12pt;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
