/* Rehab Zentrum Gänserndorf - Vollständig lokales CSS (keine externen Abhängigkeiten) */

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

:root {
  --teal:        #3ab5b0;
  --teal-dark:   #2a9490;
  --teal-light:  #e6f7f7;
  --teal-mid:    #5cc8c3;
  --red:         #c0392b;
  --text:        #2c2c2c;
  --text-light:  #666;
  --border:      #c8e8e6;
  --white:       #ffffff;
  --bg:          #f4fbfb;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* Teal Blur-Blobs links und rechts */
body::before {
  content: '';
  position: fixed;
  top: 120px;
  left: -100px;
  width: 320px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(58,181,176,0.30) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

body::after {
  content: '';
  position: fixed;
  top: 120px;
  right: -100px;
  width: 320px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(58,181,176,0.30) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.header-top {
  background: var(--white);
  padding: 20px 0 14px;
  text-align: center;
}

.header-top .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.logo-area { text-align: center; }

.logo-area h1 {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
}

.header-notice {
  font-size: 14px;
  color: var(--teal);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.header-subtitle {
  font-size: 17px;
  color: var(--text);
  font-weight: 600;
  margin-top: 2px;
}

/* ── NAV ── */
nav {
  background: var(--teal);
  position: relative;
  z-index: 10;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
}

nav ul li a {
  display: block;
  padding: 13px 20px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background: var(--teal-dark);
  color: var(--white);
}

/* ── HERO BANNER ── */
.hero-banner {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  position: relative;
  z-index: 5;
  border-bottom: 3px solid var(--teal-mid);
}

.hero-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── CONTAINER ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── MAIN ── */
main {
  display: flex;
  gap: 36px;
  max-width: 1100px;
  margin: 36px auto;
  padding: 0 24px;
  align-items: flex-start;
  position: relative;
  z-index: 5;
}

/* ── CONTENT BOX ── */
.content {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 30px 34px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 18px rgba(58,181,176,0.10);
}

.content h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
}

.content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 26px 0 10px;
}

.content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  margin: 18px 0 8px;
}

.content p { margin-bottom: 12px; }
.content ul { margin: 8px 0 12px 22px; }
.content ul li { margin-bottom: 4px; }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.service-card {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(58,181,176,0.20);
  transform: translateY(-2px);
}

.service-card img {
  width: 56px; height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service-card h4 {
  font-size: 13px; font-weight: 700;
  color: var(--teal-dark); margin-bottom: 6px;
}

.service-card p { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }

.service-card a {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px; font-weight: 600;
  transition: background 0.2s;
}
.service-card a:hover { background: var(--teal-dark); }

/* ── QUOTE BLOCK ── */
.quote-block {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 24px 28px;
  margin: 24px 0;
  border-radius: 8px;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: 0 4px 14px rgba(58,181,176,0.25);
}

.quote-block cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── INFO BOX ── */
.info-box {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  padding: 13px 16px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
}
.info-box strong { color: var(--teal-dark); }

/* ── NLG BOX ── */
.nlg-box {
  background: #fff8e7;
  border: 1px solid #f0d97a;
  border-left: 4px solid #e6a817;
  padding: 13px 16px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
}

/* ── CONTENT WITH IMAGE ── */
.content-with-img {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 12px 0;
}

.content-with-img img {
  width: 140px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 2px solid var(--border);
}

/* ── SIDEBAR ── */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.sidebar-box {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 0 14px 0;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(58,181,176,0.08);
  overflow: hidden;
}

.sidebar-box h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  padding: 9px 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.sidebar-box > p,
.sidebar-box > a {
  padding: 0 16px;
}

.sidebar-box ul { list-style: none; padding: 0 16px; }

.sidebar-box ul li {
  margin-bottom: 4px;
  border-bottom: 1px dotted var(--border);
  padding-bottom: 4px;
}

.sidebar-box ul li:last-child { border-bottom: none; }

.sidebar-box ul li a {
  color: var(--teal-dark);
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.sidebar-box ul li a::before {
  content: '▸';
  color: var(--teal);
  flex-shrink: 0;
}

.sidebar-box ul li a:hover { color: var(--red); }

.sidebar-box p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  padding: 0 16px;
}

.sidebar-box .hours-table {
  width: calc(100% - 32px);
  margin: 0 16px;
  font-size: 12px;
  border-collapse: collapse;
}

.sidebar-box .hours-table td {
  padding: 3px 0;
  vertical-align: top;
}

.sidebar-box .hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #1d7a76 100%);
  color: rgba(255,255,255,0.88);
  padding: 40px 0 18px;
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

footer h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

footer p, footer li {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

footer ul { list-style: none; }
footer ul li a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--white); }
footer a { color: rgba(255,255,255,0.85); }

.footer-bottom {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  letter-spacing: 1px;
}

footer .hours-table {
  width: 100%; font-size: 12px; border-collapse: collapse;
}
footer .hours-table td {
  padding: 3px 0;
  color: rgba(255,255,255,0.82);
}
footer .hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}

/* ── CONTACT FORM ── */
.contact-form-section {
  background: var(--teal-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin: 20px 0;
}
.contact-form-section h2 { margin-top: 0; }

.form-group { margin-bottom: 13px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--teal-dark); margin-bottom: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 8px 11px;
  border: 1px solid var(--border); border-radius: 5px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px; color: var(--text); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(58,181,176,0.15);
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.radio-group { display: flex; gap: 18px; margin-top: 5px; }
.radio-group label { font-weight: 400; display: flex; align-items: center; gap: 5px; cursor: pointer; color: var(--text); }
.form-checkbox { display: flex; gap: 8px; align-items: flex-start; }
.form-checkbox input { width: auto; margin-top: 3px; }
.form-checkbox label { font-size: 12px; font-weight: 400; color: var(--text); }
.form-checkbox a { color: var(--teal); }

.btn-submit {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white); border: none;
  padding: 10px 30px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 13px; font-weight: 700;
  border-radius: 25px; cursor: pointer;
  letter-spacing: 1px; text-transform: uppercase;
  transition: opacity 0.2s, transform 0.1s; margin-top: 10px;
}
.btn-submit:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── ANFAHRT ── */
.anfahrt-grid { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.anfahrt-item {
  flex: 1; min-width: 170px;
  background: var(--teal-light);
  border: 1px solid var(--border); border-radius: 8px; padding: 14px;
}
.anfahrt-item h3 { margin-top: 0; color: var(--teal-dark); }

/* ── THERAPIE SECTION ── */
.therapie-section {
  margin-bottom: 28px; padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.therapie-section:last-child { border-bottom: none; }

/* ── PREIS BOX ── */
.preis-box {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white); padding: 5px 14px;
  border-radius: 20px; font-size: 13px; font-weight: 700;
  margin: 8px 0; letter-spacing: 0.5px;
}

/* ── LEGAL ── */
.legal-content h2 { font-size: 16px; margin: 24px 0 8px; }
.legal-content h4 { font-size: 14px; margin: 16px 0 6px; color: var(--teal-dark); }
.legal-content p { font-size: 14px; margin-bottom: 10px; color: #444; }

/* ── ALERTS ── */
.alert-success {
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-left: 4px solid #4caf50; padding: 13px 16px;
  border-radius: 0 6px 6px 0; margin-bottom: 16px;
  color: #2e7d32; font-weight: 700;
}
.alert-error {
  background: #ffebee; border: 1px solid #ef9a9a;
  border-left: 4px solid #e53935; padding: 13px 16px;
  border-radius: 0 6px 6px 0; margin-bottom: 16px; color: #c62828;
}
.alert-error ul { margin: 7px 0 0 16px; font-weight: 400; }
.honeypot { display: none !important; }

/* ── MOBILE ── */
@media (max-width: 800px) {
  main { flex-direction: column; }
  .sidebar { width: 100%; }
  .content-with-img { flex-direction: column; }
  .content-with-img img { width: 100%; max-width: 260px; }
  .form-row { flex-direction: column; }
  nav ul li a { padding: 10px 12px; font-size: 11px; letter-spacing: 0.5px; }
  .logo-area h1 { font-size: 24px; }
  body::before, body::after { display: none; }
}
