/* Chirurgie Frankl – Farben und Stil angelehnt an chirurgie-oberlaa.at */
:root {
  --bg: #fcfaf6;
  --card: #fffdf9;
  --ink: #26332d;
  --heading: #263c32;
  --muted: #5f6b63;
  --sage: #77806a;
  --teal: #2f918c;
  --teal-dark: #24746f;
  --line: #e7dfd2;
  --soft: #f4f0e8;
  --shadow: 0 20px 55px rgba(61, 69, 56, .10);
  --radius: 24px;
  --max: 1160px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0 0 .6em; }
h1 { font: 500 clamp(2.2rem, 5vw, 3.6rem)/1.1 var(--serif); }
h1 span, h2 span { color: var(--sage); }
h2 { font: 500 clamp(1.7rem, 3.4vw, 2.4rem)/1.2 var(--serif); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: block;
  color: var(--sage);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }

/* Hinweisleiste */
.notice {
  background: var(--heading);
  color: #fff;
  font-size: .92rem;
  text-align: center;
  padding: 10px 16px;
}
.notice a { color: #fff; font-weight: 600; }

/* Kopfzeile */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(252, 250, 246, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { text-decoration: none; color: var(--heading); line-height: 1.15; margin-right: auto; }
.brand strong { display: block; font: 500 1.45rem var(--serif); }
.brand small { color: var(--sage); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--teal-dark); }

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 14px;
  border: 2px solid var(--teal);
  transition: background .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn.ghost:hover { background: var(--soft); }
.nav .btn { padding: 10px 18px; font-size: .95rem; }

/* Hero: großes Foto über die ganze Breite, Text links */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex; align-items: center;
  padding: 0;
  background: #e8e8e6;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 20%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(252,250,246,.94) 0%, rgba(252,250,246,.82) 38%, rgba(252,250,246,0) 62%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.hero-inner > * { max-width: 590px; }
.typed-line {
  font: 500 clamp(1.3rem, 2.6vw, 1.75rem) var(--serif);
  color: var(--teal-dark);
  min-height: 1.5em;
  margin: -.2em 0 .9em;
}
.cursor { display: inline-block; width: 2px; height: 1.05em; background: var(--teal); margin-left: 3px; vertical-align: -.15em; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lead { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

/* Abschnitte */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
.section-head { max-width: 46em; margin-bottom: 40px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--soft); color: var(--teal-dark);
  font-weight: 700; margin-bottom: 16px;
}
.card.focus { border-top: 4px solid var(--teal); }
.card .more { font-size: .95rem; font-weight: 600; }

.topics-title { margin: 48px 0 20px; }
.topics { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.topics li {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 20px 18px; display: flex; flex-direction: column; gap: 6px;
}
/* Grafiken: weißes Motiv auf Türkis-Kreis */
.topics svg { width: 68px; height: 68px; margin-bottom: 8px; }
.topics svg .bg { fill: url(#topicGrad); }
.topics svg .b { fill: #fff; }
.topics svg .a { fill: #e2c88f; }
.topics svg .seg { fill: none; stroke: #d7ebe8; stroke-width: 7; stroke-dasharray: 7 2.2; }
.topics svg .l, .topics svg .duct { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.topics svg .l { stroke: var(--teal); stroke-width: 1.8; opacity: .7; }
.topics svg .duct { stroke: #fff; stroke-width: 3.5; }
.topics strong { color: var(--heading); line-height: 1.3; }
.topics span { color: var(--muted); font-size: .9rem; line-height: 1.45; }

/* Terminanfrage */
.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.contact-layout .contact-grid { grid-template-columns: 1fr; max-width: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--heading); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form-grid textarea { resize: vertical; min-height: 110px; }
.termin-form button { font: inherit; font-weight: 600; cursor: pointer; }
.form-error { color: #a33a2b; font-weight: 600; }
.form-hint { color: var(--muted); font-size: .88rem; margin: 16px 0 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps .card { box-shadow: none; }

/* Über mich */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cv { list-style: none; padding: 0; margin: 0 0 1.4em; border-left: 2px solid var(--line); }
.cv li { padding: 0 0 12px 20px; position: relative; }
.cv li::before { content: ""; position: absolute; left: -6px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.cv b { color: var(--heading); }
.quals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.quals ul { padding-left: 1.1em; margin: 0; color: var(--muted); font-size: .95rem; }
blockquote {
  margin: 0 0 1.4em; padding: 20px 24px;
  background: var(--card); border-left: 4px solid var(--sage); border-radius: 0 16px 16px 0;
  font: italic 1.1rem/1.6 var(--serif); color: var(--heading);
}

/* Kosten */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; }
.price { font: 500 2.6rem var(--serif); color: var(--heading); margin-bottom: 4px; }
.note { color: var(--muted); font-size: .95rem; max-width: 46em; margin-top: 28px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; }
.contact-grid a.big { font-size: 1.15rem; font-weight: 600; text-decoration: none; word-break: break-word; }
address { font-style: normal; margin-bottom: 1em; }

/* Kassenordination */
.kasse {
  background: var(--heading); color: #e9efe9;
  border-radius: var(--radius);
  padding: 44px;
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center;
}
.kasse h2 { color: #fff; }
.kasse .eyebrow { color: #b9c7b4; }
.kasse .btn { background: #fff; color: var(--heading); border-color: #fff; justify-self: start; }

/* Fußzeile */
footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer nav { display: flex; gap: 20px; }

/* Rechtstexte */
.legal { max-width: 780px; padding: 56px 24px 80px; margin: 0 auto; }
.legal h1 { font-size: 2.4rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 6px 20px; }
.legal dt { font-weight: 600; color: var(--heading); }
.legal dd { margin: 0; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .about, .kasse { grid-template-columns: 1fr; }
  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero-photo { position: static; height: 58vw; max-height: 460px; object-position: 78% 15%; }
  .hero-inner { padding-top: 36px; padding-bottom: 48px; background: var(--bg); }
  .cards, .contact-grid, .contact-layout { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-img { max-width: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-photo { height: 72vw; }
  section { padding: 52px 0; }
  .steps, .prices, .quals, .form-grid { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr; }
  .topics li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .topics svg { margin: 0; flex: 0 0 auto; }
  .topics strong { flex: 1; }
  .topics span { flex-basis: 100%; }
  .card { padding: 24px; }
  .kasse { padding: 28px; }
  .brand strong { font-size: 1.2rem; }
  .brand small { font-size: .68rem; }
  .nav { gap: 12px; }
  .nav .btn { padding: 9px 14px; font-size: .88rem; white-space: nowrap; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 10px; }
}
