/* ==========================================================================
   TAO TE Physiotherapie — Coming Soon
   Farben, Typografie und Formsprache aus dem Theme "taote-physio"
   ========================================================================== */

@import url('./fonts/fonts.css');

:root {
  --dark:   #213038;
  --accent: #4199b9;
  --mid:    #48707f;
  --light:  #97bcc9;
  --bg:     #d9e8ed;
  --white:  #ffffff;

  --serif: 'Spectral', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --shadow-card: 0 30px 60px -30px rgba(72, 112, 127, 0.55);
  --gutter: clamp(20px, 5vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

/* --- Hintergrund: weiches Licht hinter der Bühne ------------------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(45% 45% at 12% 88%, rgba(65, 153, 185, 0.20) 0%, rgba(65, 153, 185, 0) 65%),
    radial-gradient(38% 38% at 92% 92%, rgba(151, 188, 201, 0.28) 0%, rgba(151, 188, 201, 0) 70%);
}

/* --- Bühne --------------------------------------------------------------- */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 40px) var(--gutter) 0;
}

.stage-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Kopfzeile ----------------------------------------------------------- */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  animation: taoFade 0.7s ease both;
}

.masthead-logo img {
  height: clamp(46px, 6vw, 62px);
  width: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(65, 153, 185, 0.28);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: taoPulse 2.6s ease-in-out infinite;
}

/* --- Hauptbereich -------------------------------------------------------- */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px);
}

/* Eyebrow — Formsprache aus .tao-eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  animation: taoFade 0.7s ease both 0.06s;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 26px;
  animation: taoFade 0.7s ease both 0.12s;
}
.headline em {
  color: var(--accent);
  font-style: italic;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--mid);
  max-width: 30em;
  margin: 0 0 34px;
  animation: taoFade 0.7s ease both 0.18s;
}

/* --- Fortschritt --------------------------------------------------------- */
.progress {
  max-width: 340px;
  margin-bottom: 36px;
  animation: taoFade 0.7s ease both 0.24s;
}
.progress-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 10px;
}
.progress-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(72, 112, 127, 0.18);
  overflow: hidden;
}
.progress-track::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(65, 153, 185, 0) 0%, var(--accent) 45%, var(--light) 100%);
  animation: taoSweep 2.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* --- Call to Action ------------------------------------------------------ */
.actions {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: taoFade 0.7s ease both 0.3s;
}

/* Formsprache aus .tao-btn-dark */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: var(--dark);
  color: #fff;
  font-size: clamp(16px, 1.5vw, 17px);
  font-weight: 600;
  padding: 17px 30px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-phone:hover,
.btn-phone:focus-visible {
  background: #2c414c;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(33, 48, 56, 0.75);
}
.btn-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

.link-mail {
  font-size: 15px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(72, 112, 127, 0.35);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.link-mail:hover,
.link-mail:focus-visible {
  color: var(--dark);
  border-color: var(--accent);
}

/* --- Leistungs-Chips ----------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: taoFade 0.7s ease both 0.36s;
}
.chips li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mid);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(72, 112, 127, 0.16);
  border-radius: 999px;
  padding: 8px 16px;
}

/* --- Bildkarte ----------------------------------------------------------- */
.showcase {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  animation: taoFade 0.9s ease both 0.2s;
}

.showcase-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 66vh;
  border-radius: 6px;
  overflow: hidden;
  background: var(--mid);
  box-shadow: var(--shadow-card);
}

.showcase-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: taoCycle 21s ease-in-out infinite both;
}
.showcase-frame img:nth-child(2) { animation-delay: 7s; }
.showcase-frame img:nth-child(3) { animation-delay: 14s; }

/* Farbverlauf für die Lesbarkeit der Bildmarke */
.showcase-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(33, 48, 56, 0) 45%, rgba(33, 48, 56, 0.38) 100%);
  pointer-events: none;
}

/* Bildmarke als „atmender“ Akzent */
.mark {
  position: absolute;
  top: clamp(-26px, -2.2vw, -18px);
  right: clamp(-22px, -1.8vw, -14px);
  width: clamp(76px, 9vw, 108px);
  z-index: 2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px;
  box-shadow: 0 14px 30px -14px rgba(33, 48, 56, 0.5);
  animation: taoBreathe 7s ease-in-out infinite;
}

/* Badge — Formsprache aus .tao-hero-badge */
.badge {
  position: absolute;
  left: clamp(-20px, -2vw, -12px);
  bottom: clamp(28px, 4vw, 44px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 4px;
  padding: 18px 24px;
  box-shadow: 0 20px 44px -22px rgba(33, 48, 56, 0.45);
  animation: taoFade 0.8s ease both 0.55s;
}
.badge-num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}
.badge-text {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--mid);
}

/* --- Fußzeile ------------------------------------------------------------ */
.footer {
  border-top: 1px solid rgba(72, 112, 127, 0.18);
  padding: 26px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: flex-start;
  justify-content: space-between;
  animation: taoFade 0.7s ease both 0.45s;
}

.footer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
}
.footer-item {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
}
.footer-item strong {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 5px;
}
.footer-item a { text-decoration: none; }
.footer-item a:hover { color: var(--dark); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  font-size: 13.5px;
  color: var(--mid);
}
.footer-legal a {
  text-decoration: none;
  border-bottom: 1px solid rgba(72, 112, 127, 0.3);
  padding-bottom: 2px;
}
.footer-legal a:hover { color: var(--dark); border-color: var(--accent); }

/* --- Animationen --------------------------------------------------------- */
@keyframes taoFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes taoPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.8); }
}

@keyframes taoSweep {
  0%   { transform: translateX(-105%); }
  100% { transform: translateX(255%); }
}

@keyframes taoBreathe {
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1.06); }
}

/* Drei Bilder, 21s Zyklus: je 7s sichtbar, sanfte Überblendung + Ken Burns */
@keyframes taoCycle {
  0%    { opacity: 0; transform: scale(1.09); }
  3%    { opacity: 1; }
  30%   { opacity: 1; }
  35%   { opacity: 0; transform: scale(1.0); }
  100%  { opacity: 0; transform: scale(1.09); }
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(48px, 9vw, 64px);
    padding-top: clamp(36px, 8vw, 56px);
  }
  .showcase { order: -1; max-width: 460px; margin-left: 0; }
  .showcase-frame { aspect-ratio: 5 / 4; }
  .mark { width: clamp(64px, 12vw, 84px); }
}

@media (max-width: 560px) {
  .masthead { justify-content: center; text-align: center; }
  .lead { font-size: 16.5px; }
  .btn-phone { width: 100%; justify-content: center; }
  .badge { left: 0; bottom: -18px; padding: 14px 18px; }
  .mark { right: 0; top: -18px; }
  .showcase { margin-bottom: 26px; }
  .footer { gap: 20px; }
}

/* --- Bewegung reduzieren -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .showcase-frame img { animation: none !important; opacity: 0; }
  .showcase-frame img:first-child { opacity: 1; }
}

/* ==========================================================================
   Dokumentseiten (Impressum, Datenschutz)
   ========================================================================== */

.doc-stage {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 40px) var(--gutter) 0;
}

.doc-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* --- Kopf ---------------------------------------------------------------- */
.doc-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(72, 112, 127, 0.18);
  animation: taoFade 0.6s ease both;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(72, 112, 127, 0.24);
  background: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.doc-back:hover,
.doc-back:focus-visible {
  color: var(--dark);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
}

/* --- Titel --------------------------------------------------------------- */
.doc-title {
  padding: clamp(44px, 7vw, 76px) 0 clamp(30px, 4vw, 44px);
  animation: taoFade 0.6s ease both 0.08s;
}
.doc-title h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0;
}

/* --- Fließtext ----------------------------------------------------------- */
.prose {
  max-width: 68ch;
  padding-bottom: clamp(48px, 7vw, 80px);
  color: var(--mid);
  font-size: 16.5px;
  line-height: 1.72;
  animation: taoFade 0.6s ease both 0.14s;
}

.prose > section + section {
  margin-top: clamp(38px, 5vw, 56px);
  padding-top: clamp(30px, 4vw, 40px);
  border-top: 1px solid rgba(72, 112, 127, 0.15);
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(25px, 3.2vw, 31px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 0 0 18px;
}

.prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--dark);
  margin: 34px 0 10px;
}

.prose h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--dark);
  margin: 24px 0 6px;
}

.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(65, 153, 185, 0.4);
  word-break: break-word;
}
.prose a:hover,
.prose a:focus-visible { color: var(--dark); border-color: var(--dark); }

.prose strong { color: var(--dark); font-weight: 600; }

/* Kontaktblock */
.doc-address {
  font-style: normal;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(72, 112, 127, 0.16);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 22px 26px;
  margin: 0 0 20px;
  line-height: 1.7;
}
.doc-address strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 6px;
}

/* Cookie-Tabelle */
.doc-table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid rgba(72, 112, 127, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
}
.doc-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.doc-table th,
.doc-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(72, 112, 127, 0.14);
  vertical-align: top;
}
.doc-table tr:last-child td { border-bottom: none; }
.doc-table th {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--light);
  background: rgba(217, 232, 237, 0.5);
  white-space: nowrap;
}

/* Offener Punkt — muss vor dem Livegang gefüllt oder entfernt werden */
.todo {
  background: #fff3cd;
  color: #7a5b00;
  border: 1px dashed #d9a900;
  border-radius: 3px;
  padding: 1px 8px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* --- Fuß ----------------------------------------------------------------- */
.doc-footer {
  border-top: 1px solid rgba(72, 112, 127, 0.18);
  padding: 26px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--mid);
}
.doc-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.doc-footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(72, 112, 127, 0.3);
  padding-bottom: 2px;
}
.doc-footer a:hover { color: var(--dark); border-color: var(--accent); }

@media (max-width: 560px) {
  .doc-masthead { justify-content: center; }
  .prose { font-size: 16px; }
}
