/* Redesign-Entwurf simon.gregordietz.at — Farben & Schriften der Original-Site */
:root {
  --forrest: #06281f;
  --sage: #c7d5c1;
  --bordeaux: #54232e;
  --lavender: #c7c0e1;
  --ink: #1d1d1b;
  --white: #ffffff;

  --font-head: "nicholas", "Iowan Old Style", Georgia, serif;
  --font-text: "heimat-sans", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--forrest);
  background: var(--ink);
}

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

.skip-link {
  position: absolute; left: -9999px; z-index: 30;
  background: var(--forrest); color: var(--white);
  padding: 10px 20px; text-decoration: none;
}
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 18px 32px;
  color: var(--white);
  transition: background 0.4s ease, padding 0.4s ease;
}
.nav.scrolled {
  background: rgba(29, 29, 27, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-family: var(--font-head); font-size: 21px;
}
.nav-logo img { width: 40px; }
.nav-links {
  display: flex; gap: 26px; margin-left: auto;
  font-size: 15.5px;
}
.nav-links a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-mail {
  background: var(--sage); color: var(--forrest);
  text-decoration: none; font-size: 15.5px;
  padding: 10px 22px; border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav-mail:hover { background: var(--lavender); transform: translateY(-2px); }

.menu-btn {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: var(--white); font-size: 26px; line-height: 1;
  padding: 8px 10px;
}

/* ---------- Mobiles Vollbild-Menü ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--forrest); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 36px 60px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

.menu-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: 0; cursor: pointer;
  color: var(--sage); font-size: 26px; line-height: 1;
  padding: 10px;
}

.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(28px, 7.5vw, 36px);
  text-decoration: none;
  display: block;
  padding: 9px 0;
}

.menu-mail {
  margin-top: 36px;
  font-size: 16.5px;
  color: var(--sage);
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #0a3a2d 0%, var(--forrest) 45%, var(--ink) 100%);
  color: var(--white);
  text-align: center;
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; padding: 120px 20px 80px; }
.hero-eyebrow {
  font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(64px, 12vw, 150px);
  line-height: 1.02;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--sage);
  margin-top: 22px;
}
.hero-cta { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--font-text); font-size: 16.5px;
  padding: 15px 34px; border-radius: 999px; border: 0; cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.btn-sage { background: var(--sage); color: var(--forrest); }
.btn-sage:hover { background: var(--lavender); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(199, 213, 193, 0.5); color: var(--sage); }
.btn-ghost:hover { border-color: var(--sage); transform: translateY(-2px); }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1.5px solid rgba(199, 213, 193, 0.55);
  border-radius: 12px; z-index: 2;
}
.hero-scroll span {
  position: absolute; top: 7px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: var(--sage);
  animation: scrollhint 2.2s ease-in-out infinite;
}
@keyframes scrollhint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Sektionen ---------- */
.block { padding: clamp(90px, 12vw, 150px) 24px; }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap.narrow { max-width: 880px; }
.center { text-align: center; }

.bg-sage { background: var(--sage); color: var(--forrest); }
.bg-white { background: var(--white); color: var(--forrest); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-bordeaux { background: var(--bordeaux); color: var(--white); }
.bg-forrest { background: var(--forrest); color: var(--white); }

.eyebrow {
  font-size: 13.5px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.65; margin-bottom: 18px;
}
.block h2 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 40px;
}
.block h3 {
  font-family: var(--font-head); font-weight: 600;
  font-size: 26px; margin-bottom: 14px;
}
.prose p { margin-bottom: 20px; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.prose-em { font-size: 19px; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.65; max-width: 62ch; margin: 0 auto 24px; }
.center .lede { margin-inline: auto; }

/* Ring-Marken: Einzelring über „Die Methode", ganzes Logo über „Kontakt" */
.ring-mark { margin: 0 auto 26px; animation: ringspin 60s linear infinite; }
@keyframes ringspin { to { transform: rotate(360deg); } }

/* ---------- Über ---------- */
.ueber-grid {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.portrait-frame {
  border-radius: 54% 46% 58% 42% / 48% 54% 46% 52%;
  overflow: hidden;
  animation: blobmorph 16s ease-in-out infinite alternate;
  position: sticky; top: 110px;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blobmorph {
  0%   { border-radius: 54% 46% 58% 42% / 48% 54% 46% 52%; }
  50%  { border-radius: 46% 54% 44% 56% / 56% 44% 58% 42%; }
  100% { border-radius: 58% 42% 52% 48% / 44% 58% 42% 56%; }
}

/* ---------- Praxis ---------- */
.praxis-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.praxis-grid .prose { grid-column: 1 / -1; max-width: 62ch; }
.praxis-adresse {
  font-family: var(--font-head); font-size: 24px; line-height: 1.4;
}
.praxis-adresse span { font-family: var(--font-text); font-size: 16px; opacity: 0.75; }
.foto-organic { overflow: hidden; }
.foto-organic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.foto-organic:hover img { transform: scale(1.04); }
.foto-organic.f1 { border-radius: 52% 48% 44% 56% / 46% 52% 48% 54%; }
.foto-organic.f2 { border-radius: 44% 56% 52% 48% / 54% 46% 56% 44%; margin-top: 48px; }

.map-slot {
  margin-top: clamp(48px, 6vw, 80px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.map-hint { font-size: 14.5px; opacity: 0.8; max-width: 420px; }
.map-hint a { text-decoration: underline; }
.map-slot .btn { margin-top: 14px; }
.map-extern { font-size: 14px; margin-top: 10px; }
.map-slot iframe { width: 100%; height: 420px; border: 0; border-radius: 12px; }

/* ---------- Konditionen ---------- */
.kond-card {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(28px, 5vw, 64px);
  background: var(--sage);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 60px);
  align-items: start;
}
.kond-preis { text-align: center; }
.kond-euro {
  display: block;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(64px, 8vw, 96px); line-height: 1;
}
.kond-detail { display: block; margin-top: 10px; font-size: 15.5px; opacity: 0.8; }
.kond-text p { margin-bottom: 16px; }
.kond-text p:last-child { margin-bottom: 0; }

/* ---------- Informationen ---------- */
.info-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}

/* ---------- Notfall ---------- */
.notfall-liste { list-style: none; margin: 32px 0; }
.notfall-liste li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; flex-wrap: wrap;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(6, 40, 31, 0.15);
}
.notfall-liste li span { font-variant-numeric: tabular-nums; opacity: 0.8; }
.notfall-akut {
  background: var(--lavender); color: var(--bordeaux);
  border-radius: 14px; padding: 18px 24px; max-width: none;
}

/* ---------- Kontakt ---------- */
.kontakt-mail { margin-bottom: 10px; }
.kontakt-mail a {
  text-decoration: none;
  border-bottom: 2px solid rgba(199, 213, 193, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
  overflow-wrap: anywhere;
}
.kontakt-mail a:hover { color: var(--sage); border-color: var(--sage); }
.mail-br { display: none; }
.kontakt-tel { font-size: 24px; margin-top: 26px; }
.kontakt-tel a { text-decoration: none; }
.kontakt-tel a:hover { color: var(--sage); }
.kontakt-adresse { opacity: 0.75; margin-top: 8px; }

/* ---------- Footer ---------- */
.foot {
  background: var(--lavender); color: var(--bordeaux);
  text-align: center; padding: 30px 20px; font-size: 15px;
}
.foot a { color: inherit; }
.foot-hinweis { font-size: 13px; opacity: 0.75; margin-top: 6px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .portrait-frame, .ring-mark, .hero-scroll span { animation: none; }
  .foto-organic img, .nav-mail, .btn, .mobile-menu { transition: none; }
  .hero-scroll::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .ueber-grid { grid-template-columns: 1fr; }
  .portrait-frame { position: static; max-width: 420px; }
  .praxis-grid { grid-template-columns: 1fr; }
  .foto-organic.f2 { margin-top: 0; }
  .info-cols { grid-template-columns: 1fr; }
  .kond-card { grid-template-columns: 1fr; text-align: left; }
  .kond-preis { text-align: left; }
  .mail-br { display: block; }
}
@media (max-width: 520px) {
  .nav { padding: 14px 18px; gap: 14px; }
  .nav-logo span { display: none; }
  .block { padding: 72px 18px; }
}

/* Hero-Feinschliff am Handy */
@media (max-width: 700px) {
  .hero-eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.14em;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-cta { flex-direction: column; align-items: center; gap: 12px; }
  .hero-cta .btn { width: min(100%, 300px); text-align: center; }
}

/* Touch-Geräte: statt der Maus-Silhouette ein dezenter Pfeil */
@media (pointer: coarse) {
  .hero-scroll { width: auto; height: auto; border: 0; border-radius: 0; }
  .hero-scroll span { display: none; }
  .hero-scroll::after {
    content: '';
    display: block;
    width: 12px; height: 12px;
    border-right: 1.5px solid rgba(199, 213, 193, 0.75);
    border-bottom: 1.5px solid rgba(199, 213, 193, 0.75);
    transform: rotate(45deg);
    animation: chevfloat 2.2s ease-in-out infinite;
  }
  @keyframes chevfloat {
    0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.9; }
    60% { transform: translateY(10px) rotate(45deg); opacity: 0.3; }
  }
}

/* ---------- Impressum / Datenschutz ---------- */
.legal-body { background: var(--white); color: var(--forrest); }
.legal-nav {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(6, 40, 31, 0.12);
}
.legal-nav a {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-family: var(--font-head); font-size: 21px;
}
.legal-nav img { width: 36px; }
.legal-nav .zurueck {
  margin-left: auto;
  font-family: var(--font-text); font-size: 15px;
  opacity: 0.8;
}
.legal-nav .zurueck:hover { opacity: 1; text-decoration: underline; }
.legal { max-width: 860px; margin: 0 auto; padding: 64px 24px 80px; }
.legal h2 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(30px, 4.5vw, 38px);
  margin: 64px 0 24px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--font-head); font-weight: 600;
  font-size: 24px;
  margin: 40px 0 12px;
}
.legal p { margin-bottom: 20px; }
.legal ul { margin: 0 0 20px 24px; }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration: underline; }
.legal .stand { margin-top: 48px; font-size: 14px; color: var(--bordeaux); }
@media (max-width: 520px) {
  .legal-nav { padding: 14px 18px; }
  .legal { padding: 48px 18px 64px; }
}

/* Nur für Screenreader sichtbar */
.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;
}
