/* ============================================================
   Subpage Styles (ueber, online, kontakt, downloads, agb)
   ============================================================ */

/* ── ÜBER MICH ── */
.bio-grid { display: grid; grid-template-columns: 380px 1fr; gap: 3.5rem; align-items: start; }
.bio-img  { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.bio-img-placeholder { width: 100%; aspect-ratio: 4/5; background: var(--green-pale); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 5rem; }

.quote-block { background: var(--green-pale); border-left: 4px solid var(--green); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.quote-block p { font-size: 15px; font-style: italic; color: var(--text-sec); line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.value-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; transition: all .3s; }
.value-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.value-icon  { font-size: 2rem; margin-bottom: .75rem; color: var(--green); display: flex; justify-content: center; }
.value-card h3 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.value-card p  { font-size: 13px; color: var(--text-sec); line-height: 1.65; }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -1.75rem; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid var(--green-pale); }
.timeline-year { font-family: var(--font-head); font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: .08em; margin-bottom: 4px; }
.timeline-item h4 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.timeline-item p  { font-size: 13.5px; color: var(--text-sec); line-height: 1.6; }

/* ── ONLINE VERSICHERT ── */
.online-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.online-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all .3s; position: relative; overflow: hidden; }
.online-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--green); }
.online-card:hover   { border-color: var(--green); box-shadow: var(--shadow-md); }
.online-card-head    { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.online-card-icon    { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; color: var(--green); }
.online-card h3      { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.online-card p       { font-size: 13.5px; color: var(--text-sec); line-height: 1.65; margin-bottom: 1.25rem; }

.product-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.5rem; }
.product-list li { font-size: 13px; color: var(--text-sec); display: flex; align-items: center; gap: 8px; }
.product-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

.partner-badge { background: var(--green-pale); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 10px; font-size: 11px; font-weight: 700; font-family: var(--font-head); color: var(--green); display: inline-block; margin-bottom: 1.25rem; }
.disclaimer { font-size: 11px; color: var(--text-muted); font-style: italic; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ── KONTAKT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }

.form-group    { margin-bottom: 1.25rem; }
.form-label    { display: block; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-sec); margin-bottom: 6px; }
.form-input, .form-textarea { width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 14px; color: var(--text); background: var(--white); outline: none; transition: border-color .2s; }
.form-input:focus, .form-textarea:focus { border-color: var(--green); }
.form-textarea  { min-height: 120px; resize: vertical; }
.form-row       { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success   { display: none; color: var(--green); font-weight: 600; margin-top: 1rem; text-align: center; padding: 1rem; background: var(--green-pale); border-radius: var(--radius-md); }

.contact-info-card   { background: var(--green); border-radius: var(--radius-lg); padding: 2rem; color: #fff; }
.contact-info-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.contact-info-item   { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: 1.25rem; }
.contact-icon        { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.contact-info-item p { font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.5; }
.contact-info-item a { color: #fff; text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }
.contact-info-item strong { display: block; font-size: 11px; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 2px; }

.hours-table { background: rgba(255,255,255,.1); border-radius: var(--radius-md); padding: 1rem; margin-top: 1.5rem; }
.hours-title { font-size: 11px; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .75rem; }
.hours-row   { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.hours-row:last-child { border-bottom: none; }
.hours-note  { font-size: 11px; color: rgba(255,255,255,.5); padding-top: 8px; }

.map-placeholder { background: var(--green-pale); border: 1px solid var(--border); border-radius: var(--radius-md); height: 200px; margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }

/* ── DOWNLOADS ── */
.downloads-intro { font-size: 15px; color: var(--text-sec); line-height: 1.7; margin-bottom: 2.5rem; max-width: 640px; }
.downloads-grid  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.download-card   { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; align-items: center; gap: 1.25rem; transition: all .3s; text-decoration: none; color: inherit; }
.download-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.download-card.disabled { opacity: .5; pointer-events: none; }
.download-icon   { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--green-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--green); font-size: 1.4rem; }
.download-card h3 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.download-card p  { font-size: 12.5px; color: var(--text-muted); }
.download-arrow  { margin-left: auto; color: var(--green); flex-shrink: 0; transition: transform .2s; }
.download-card:hover .download-arrow { transform: translateX(4px); }

.downloads-note { background: var(--green-pale); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-top: 2rem; font-size: 13.5px; color: var(--text-sec); line-height: 1.7; }
.downloads-note a { color: var(--green); font-weight: 600; text-decoration: none; }
.downloads-note a:hover { text-decoration: underline; }

/* ── AGB ── */
.legal-wrap  { max-width: 800px; }
.legal-content h2 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--text); margin: 2rem 0 .75rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content p  { font-size: 14px; color: var(--text-sec); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content ul li { font-size: 14px; color: var(--text-sec); line-height: 1.8; }
.legal-content a  { color: var(--green); font-weight: 600; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-meta { font-size: 12px; color: var(--text-muted); margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ── RESPONSIVE SUBPAGES ── */
@media (max-width: 900px) {
  .bio-grid       { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr 1fr; }
  .online-cards   { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .downloads-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
}

/* ── GOOGLE MAPS IFRAME ── */
.map-iframe-wrap{margin-top:1.5rem;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border)}
.map-iframe-wrap iframe{display:block;width:100%;height:280px;border:none}

/* ── FORMSPREE STATUS ── */
.form-success{display:none;color:var(--green);font-weight:600;margin-top:1rem;padding:1rem 1.25rem;background:var(--green-pale);border-radius:var(--radius-md);border-left:4px solid var(--green)}
.form-error{display:none;color:#c0392b;font-weight:600;margin-top:1rem;padding:1rem 1.25rem;background:#fdf0ef;border-radius:var(--radius-md);border-left:4px solid #c0392b}
