/* physiotherapie-frankfurt-rouchdi.de — Stylesheet der statischen Seite (2026-10-23)
   Farben und Schriften der Seite von 2012: Orange #eb4e07, Braun #735645, Kasten #f7f7f7, Menü #58595b, aktiv #b49b46 */

@font-face {
  font-family: 'Ruluko';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ruluko/xMQVuFNZVaODtm0ZDK-y.woff2') format('woff2');
}

:root {
  --orange: #eb4e07;
  --braun: #735645;
  --braun-dunkel: #5a4236;
  --grau: #58595b;
  --gold: #b49b46;
  --kasten: #f7f7f7;
  --linie: #dddddd;
  --schrift: Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--braun); font: 15px/1.55 var(--schrift); }
img { max-width: 100%; height: auto; }
a { color: var(--braun-dunkel); }
a:hover { color: var(--orange); }

.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site { max-width: 1024px; margin: 0 auto; padding: 0 24px 32px; }

/* Kopf: Logo und Menü, bleibt beim Scrollen oben stehen */
.kopf { position: sticky; top: 0; z-index: 20; background: #fff; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; padding: 24px 0 22px; margin-bottom: 4px; transition: box-shadow .2s; }
.kopf.fest { box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .35); }
#inhalt, .inhalt h2 { scroll-margin-top: 160px; }
.kopf > * { min-width: 0; }
.logo { display: block; line-height: 0; }
.logo img { width: 328px; max-width: 100%; height: auto; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.hauptmenue a { display: block; color: var(--grau); text-decoration: none; padding: 8px 0 6px; border-bottom: 2px solid transparent; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.hauptmenue a:hover { color: var(--orange); }
.hauptmenue a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.menu-toggle { display: none; }

/* Bühne: Bild links, Inhalt rechts */
.buehne { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 12px; align-items: start; }   /* Abstand = doppelte Balkenbreite */
.buehne > * { min-width: 0; }
.slider { position: relative; aspect-ratio: 359 / 373; overflow: hidden; background: #f0ece8; }
.slider, .bild-fest { border-top-left-radius: 60px; border-bottom: 6px solid var(--orange); }   /* große Rundung oben links, Balken unten wie beim Inhalt (Wunsch Stephan 2026-10-23) */
.slider img, .bild-fest { display: block; width: 100%; height: auto; }
.slider img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; animation: fade 28s infinite; }
.slider img:first-child { animation-name: fade-erstes; }
.slider.n3 img { animation-duration: 12s; animation-name: fade3; }
.slider.n3 img:first-child { animation-name: fade3-erstes; }
.slider.n9 img { animation-duration: 36s; animation-name: fade9; }
.slider.n9 img:first-child { animation-name: fade9-erstes; }
.slider img:nth-child(2) { animation-delay: 4s; }
.slider img:nth-child(3) { animation-delay: 8s; }
.slider img:nth-child(4) { animation-delay: 12s; }
.slider img:nth-child(5) { animation-delay: 16s; }
.slider img:nth-child(6) { animation-delay: 20s; }
.slider img:nth-child(7) { animation-delay: 24s; }
.slider img:nth-child(8) { animation-delay: 28s; }
.slider img:nth-child(9) { animation-delay: 32s; }
/* 7 Bilder, 28 s */
@keyframes fade        { 0% { opacity: 0; } 3.57% { opacity: 1; } 14.29% { opacity: 1; } 17.86% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fade-erstes { 0% { opacity: 1; } 14.29% { opacity: 1; } 17.86% { opacity: 0; } 96.43% { opacity: 0; } 100% { opacity: 1; } }
/* 3 Bilder, 12 s */
@keyframes fade3        { 0% { opacity: 0; } 8.33% { opacity: 1; } 33.33% { opacity: 1; } 41.67% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fade3-erstes { 0% { opacity: 1; } 33.33% { opacity: 1; } 41.67% { opacity: 0; } 91.67% { opacity: 0; } 100% { opacity: 1; } }
/* 9 Bilder, 36 s */
@keyframes fade9        { 0% { opacity: 0; } 2.78% { opacity: 1; } 11.11% { opacity: 1; } 13.89% { opacity: 0; } 100% { opacity: 0; } }
@keyframes fade9-erstes { 0% { opacity: 1; } 11.11% { opacity: 1; } 13.89% { opacity: 0; } 97.22% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .slider img { animation: none; }
  .slider img:first-child { opacity: 1; }
}

.termine { margin: 18px 0 0; padding: 0 4px; font-size: 13px; line-height: 1.5; }
.termine strong { display: block; font: 16px/1.3 'Ruluko', Helvetica, Arial, sans-serif; color: var(--orange); margin-bottom: 2px; }
.termine a { color: var(--braun); text-decoration: none; white-space: nowrap; }
.termine a:hover { color: var(--orange); }

.inhalt { background: var(--kasten); padding: 26px 32px 28px; border-bottom: 6px solid var(--orange); border-bottom-right-radius: 36px; min-height: 373px; }   /* Rundung unten rechts als Gegenstück zur Bildecke */
.inhalt h1 { margin: 0 0 14px; font: 300 22px/1.25 var(--schrift); color: var(--orange); letter-spacing: .01em; }
.inhalt h2 { margin: 24px 0 10px; font: 600 13px/1.4 var(--schrift); letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.inhalt p { margin: 0 0 12px; }
.inhalt strong { color: var(--braun-dunkel); }
.inhalt em { color: var(--braun-dunkel); }
.inhalt small { font-size: 11px; color: #9a8478; }
.inhalt a { color: var(--braun-dunkel); }
.inhalt a:hover { color: var(--orange); }
.inhalt strong a { color: var(--orange); text-decoration: none; }
.inhalt strong a:hover { text-decoration: underline; }
.adresse { font-style: normal; margin: 0 0 12px; }

/* Angebote und Behandlungen als Akkordeon */
.angebote { margin-top: 22px; }
.angebot { border-top: 1px solid var(--linie); }
.angebot:last-child { border-bottom: 1px solid var(--linie); }
.angebot summary { list-style: none; cursor: pointer; padding: 11px 12px 11px 34px; position: relative; font-weight: 600; color: var(--braun); }
.angebot summary::-webkit-details-marker { display: none; }
.angebot summary::before { content: '+'; position: absolute; left: 10px; top: 10px; width: 16px; height: 16px; line-height: 16px; text-align: center; font-weight: 700; font-size: 14px; color: #fff; background: var(--orange); border-radius: 3px; }
.angebot[open] summary::before { content: '–'; background: var(--braun); }
.angebot[open] summary { background: #fff; }
.angebot summary:hover { color: var(--orange); }
.angebot .text { padding: 2px 12px 10px 34px; }
.angebot .text p:last-child { margin-bottom: 4px; }

.fuss { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: 12px; color: #8a7466; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.fuss a { color: var(--braun); text-decoration: none; }
.fuss a:hover { color: var(--orange); }

/* Schmale Bildschirme: Spalten untereinander, Menü hinter dem Knopf */
@media (max-width: 860px) {
  .site { padding: 0 16px 28px; }
  .kopf { align-items: center; gap: 12px 16px; padding: 14px 0 12px; }
  #inhalt, .inhalt h2 { scroll-margin-top: 90px; }
  .logo img { width: 240px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--linie); border-radius: 6px; background: #fff; cursor: pointer; }
  .menu-toggle .balken, .menu-toggle .balken::before, .menu-toggle .balken::after { display: block; width: 22px; height: 2px; background: var(--orange); position: relative; transition: transform .2s, opacity .2s; }
  .menu-toggle .balken::before, .menu-toggle .balken::after { content: ''; position: absolute; left: 0; }
  .menu-toggle .balken::before { top: -7px; }
  .menu-toggle .balken::after { top: 7px; }
  .kopf.offen .menu-toggle .balken { background: transparent; }
  .kopf.offen .menu-toggle .balken::before { transform: translateY(7px) rotate(45deg); }
  .kopf.offen .menu-toggle .balken::after { transform: translateY(-7px) rotate(-45deg); }
  .hauptmenue { display: none; flex-basis: 100%; }
  .kopf.offen .hauptmenue { display: block; }
  .hauptmenue ul { flex-direction: column; gap: 0; border-top: 1px solid var(--linie); }
  .hauptmenue a { padding: 12px 4px; border-bottom: 1px solid var(--linie); font-size: 14px; white-space: normal; }
  .hauptmenue a[aria-current="page"] { border-bottom-color: var(--linie); }
  .buehne { grid-template-columns: 1fr; }
  .bild { max-width: none; }                                                  /* Bild so breit wie der Textkasten */
  .slider, .bild-fest { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }   /* flacherer Ausschnitt, damit es auf dem Handy nicht zu hoch wird */
  .inhalt { min-height: 0; padding: 22px 20px 24px; }
}
@media (max-width: 480px) {
  .inhalt h1 { font-size: 20px; }
  .fuss { flex-direction: column; }
}
@media print {
  .menu-toggle, .slider, .skip { display: none; }
  .buehne { grid-template-columns: 1fr; }
  .inhalt { background: none; border-bottom: 0; }
}
