/* Schira Instruments – statische Seite
   Farben aus dem alten Avada-Theme: Rot #751211, Gold #ddb651, Beige #feeec9 */
:root {
  --red: #751211;
  --red-dark: #5a0d0c;
  --gold: #ddb651;
  --beige: #feeec9;
  --beige-soft: #fff8ea;
  --ink: #1f2933;
  --text: #4a4f55;
  --muted: #6b7178;
  --line: #ece6da;
  --wrap: 1180px;
  --font: "Segoe UI", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 1.6em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Topbar */
.topbar { background: var(--red); color: #fff; font-size: 14px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar-contact, .topbar-partners { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.topbar-partners a { font-weight: 600; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 20px; }
.brand .logo { width: 210px; height: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.main-nav a { display: block; padding: 8px 10px; color: #333; text-decoration: none; font-size: 16px; letter-spacing: .3px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--gold); }
.main-nav .nav-ext a { color: var(--red); font-weight: 600; }
.main-nav .nav-lang a { font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 4px 10px; margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--red); color: var(--red); border-radius: 4px; padding: 8px 14px; font: inherit; font-size: 15px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #3b2a1c; }
.hero picture, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .hero-img { object-fit: cover; object-position: center 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.32)); }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hero-home .hero-inner { min-height: 300px; }
.hero-page .hero-inner { min-height: 200px; }
.hero-page h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* Sections */
.section { padding: 56px 0; }
.section .wrap + .wrap { margin-top: 48px; }
.intro h2 { text-align: center; margin: 0 auto 40px; max-width: 1000px; }
.lead { font-size: 1.12rem; color: var(--ink); }

.three-col { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 40px; align-items: start; }
.center-text { text-align: center; font-size: 16px; }
.model-card { display: block; text-decoration: none; text-align: center; }
.model-card .model-img { margin: 0 auto; max-height: 620px; width: auto; transition: transform .3s ease; }
.model-card:hover .model-img { transform: translateY(-4px); }
.model-card h3 { color: var(--red); margin-top: 18px; }
.model-card:hover h3 { color: var(--red-dark); text-decoration: underline; text-decoration-color: var(--gold); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-col.align-center { align-items: center; }
.two-col h2:first-child, .two-col h3:first-child { margin-top: 0; }
.rounded { border-radius: 6px; }
.two-col .rounded { margin-bottom: 20px; }

.band-red { background: var(--red); color: #fff; padding: 52px 0; }
.band-red h2 { color: #fff; margin: 0 0 .4em; }
.band-red .band-lead { font-size: 1.2rem; line-height: 1.6; color: var(--beige); margin: 0; }

.band-beige { background: var(--beige-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 52px 0; }

.quote { margin: 0 0 24px; padding: 20px 26px; border-left: 4px solid var(--gold); background: var(--beige-soft); font-style: italic; }
.quote .quote-title { font-size: 1.2rem; color: var(--red); font-weight: 700; }
.quote p:last-child { margin-bottom: 0; }
.sign { text-align: right; font-style: italic; color: var(--ink); }

.h-small { font-size: 1.3rem; margin-top: 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery picture:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; aspect-ratio: 3 / 2; }

.button { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 11px 22px; border-radius: 4px; font-weight: 600; }
.button:hover { background: var(--red-dark); color: #fff; }

/* Partner */
.partners h2 { margin-top: 0; text-align: center; }
.partners .lead { text-align: center; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.partner-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 6px; padding: 26px; text-decoration: none; color: var(--text); transition: box-shadow .2s ease, transform .2s ease; }
.partner-card:hover { box-shadow: 0 8px 24px rgba(117,18,17,.12); transform: translateY(-2px); color: var(--text); }
.partner-name { font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.partner-url { margin-top: auto; padding-top: 8px; color: var(--red); font-weight: 600; }

.mini-models { display: flex; gap: 24px; justify-content: center; margin-top: 20px; }
.mini-models a { text-decoration: none; text-align: center; font-weight: 600; }
.mini-models img { height: 220px; width: auto; margin: 0 auto 6px; }

.contact-box { background: var(--beige-soft); border-left: 4px solid var(--red); padding: 22px 26px; margin-bottom: 24px; }
.contact-partners { border: 1px solid var(--line); border-radius: 6px; padding: 24px; }

.legal h2 { font-size: 1.4rem; }
.legal h3 { font-size: 1.12rem; }
.legal { word-wrap: break-word; }

/* Footer */
.site-footer { background: var(--red); color: #ddd; font-size: 15px; }
.site-footer a { color: var(--beige); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-logo { width: 200px; margin-bottom: 16px; }
.footer-h { color: #fff; font-size: 1.05rem; margin: 0 0 14px; letter-spacing: .5px; }
.footer-links, .footer-partners { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 3px 0; }
.footer-partners li { margin-bottom: 14px; }
.footer-partners span { color: #e8d9d9; font-size: 14px; }
.maplink { font-weight: 600; }
.copyright { background: #282a2b; color: #fff; font-size: 14px; padding: 16px 0; }
.copyright a { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 16px; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-lang a { margin: 10px 0 0; display: inline-block; }
  .header-inner { position: relative; min-height: 80px; }
  .brand .logo { width: 170px; }
  .three-col { grid-template-columns: 1fr; }
  .three-col .center-text { order: 3; }
  .model-card .model-img { max-height: 320px; }
  .two-col, .partner-grid, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-home .hero-inner { min-height: 220px; }
  .hero-page .hero-inner { min-height: 150px; }
  .section { padding: 40px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-contact, .topbar-partners { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.two-col picture img { margin-left: auto; margin-right: auto; }

/* Karte (Klick zum Laden) */
.map-section { padding-top: 0; }
.map-box { height: 420px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--beige-soft); display: flex; align-items: center; justify-content: center; text-align: center; }
.map-box.map-active { display: block; text-align: left; }
.map-placeholder { max-width: 560px; padding: 24px; }
.map-title { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: .5em; }
.map-placeholder .button { border: 0; cursor: pointer; font: inherit; font-weight: 600; margin: 6px 0 14px; }
.map-placeholder .button:disabled { opacity: .7; cursor: wait; }
.map-alt { font-size: 15px; margin: 0; }
.map-box .leaflet-container img { display: inline; }
@media (max-width: 960px) { .map-box { height: 340px; } }
