/* ReparaturCenter Bruno Stadelmann
   Nachbau des bisherigen Weebly Designs (Theme mit Roboto, 960px Inhalt) */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  color: #4d4d4d;
  background: #fff;
}
a { color: #fa081e; text-decoration: none; }
a:hover { color: #2b2b2b; }
img { border: 0; }
h2 {
  overflow-wrap: break-word;
  margin: 0 0 21px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  color: #2b2b2b;
}
strong { font-weight: 400; }
.paragraph { margin: 0 auto 1.7em; line-height: 1.5; }
.paragraph strong { font-weight: 400; }

/* Schriftgroessen wie Weebly <font size> */
.fs3 { font-size: 16px; }
.fs4 { font-size: 18px; }
.fs6 { font-size: 32px; }
.fs7 { font-size: 48px; }

.container { width: 100%; max-width: 960px; margin: 0 auto; }

/* ---------- Header ---------- */
.header-spacer { height: 80px; }
#header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  box-shadow: rgba(99, 99, 99, .2) 0 0 3px 0;
}
#header { display: table; width: 100%; max-width: 100%; padding: 0 2em; height: 80px; }
#logo { display: table-cell; vertical-align: middle; padding: 15px 0; width: 300px; max-width: 300px; }
#logo a { display: block; line-height: 0; }
#logo img { max-width: 300px; max-height: 50px; width: auto; height: auto; }
#nav { display: table-cell; vertical-align: middle; }
#nav ul { margin: 0; padding: 0; text-align: right; overflow: hidden; }
#nav li { list-style: none; display: inline-block; }
#nav li a {
  display: block; padding: 30px 15px;
  font-size: 17px; font-weight: 700; line-height: 17px; text-transform: uppercase;
  color: #8e8e8e; transition: color 240ms linear;
}
#nav li:first-child a { padding-left: 30px; }
#nav li:last-child a { padding-right: 0; }
#nav li.active a, #nav li a:hover { color: #2b2b2b; }

#nav-trigger { display: none; background: none; border: 0; padding: 0; cursor: pointer; }
#mobile-nav { display: none; }

/* ---------- Inhalt ---------- */
#main-wrap { padding: 56px 0 64px; }
.spacer20 { height: 20px; overflow: hidden; }
.hr-block { padding: 20px 0; }
.styled-hr { height: 1px; background: rgba(0, 0, 0, .13); border: 0; margin: 0; width: 100%; }
.clear { clear: both; }

/* Mehrspaltig (wie wsite-multicol) */
.multicol { display: flex; margin: 0 -15px; }
.multicol > .col { padding: 0 15px; }
.multicol.wide { margin: 0 -20px; }
.multicol.wide > .col { padding: 0 20px; }

/* ---------- Slideshow ---------- */
.slideshow { position: relative; width: 100%; height: 250px; overflow: hidden; }
.slideshow .slide {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 1s linear;
}
.slideshow .slide.on { opacity: 1; }
.slideshow .frame { position: relative; width: 100%; }
.slideshow img { display: block; width: 100%; height: auto; }
.slideshow .caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; isolation: isolate;
  font-family: Arial, sans-serif; font-size: 22px; line-height: 1.6; color: #fff;
  padding: 15.4px 22px;
}
.slideshow .caption::before {
  content: ""; position: absolute; inset: 0; background: #000; opacity: .5; z-index: -1;
}

/* ---------- Startseite ---------- */
.portrait { float: left; clear: left; width: 246px; max-width: 100%; }
.portrait img { display: block; padding: 4px; margin: 5px 60px 10px 0; width: 185px; max-width: 100%; height: auto; }

/* ---------- Galerie ---------- */
.gallery { line-height: 0; }
.gallery .item { float: left; width: 33.28%; }
.gallery .inner { position: relative; margin: 5px; }
.gallery .holder { position: relative; width: 100%; padding: 0 0 75%; overflow: hidden; }
.gallery img { position: absolute; border: 0; cursor: zoom-in; }
.gallery::after { content: ""; display: block; clear: both; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .8);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox .box { background: #fff; padding: 15px; border-radius: 4px; max-width: 100%; max-height: 100%; position: relative; }
.lightbox img { display: block; max-width: calc(100vw - 90px); max-height: calc(100vh - 90px); }
.lightbox button {
  position: absolute; background: #fff; border: 0; border-radius: 50%; width: 36px; height: 36px;
  font-size: 22px; line-height: 36px; cursor: pointer; color: #2b2b2b; box-shadow: 0 0 6px rgba(0,0,0,.3);
}
.lightbox .close { top: -18px; right: -18px; }
.lightbox .prev { left: -18px; top: 50%; margin-top: -18px; }
.lightbox .next { right: -18px; top: 50%; margin-top: -18px; }

/* ---------- Partner ---------- */
.logo-cell { padding-top: 10px; padding-bottom: 10px; text-align: center; }
.logo-cell img { max-width: 100%; vertical-align: bottom; }

/* ---------- Kontakt ---------- */
.form-required { color: #ff2825; font-weight: 400; }
.form-label { display: block; font-weight: 700; color: #4d4d4d; margin: 0 0 10px; line-height: 1; }
.form-req-note { display: block; font-weight: 400; font-style: italic; margin: 0 0 10px; line-height: 1; }
.form-field { margin: 5px 0; }
.form-input-container { margin-bottom: 28px; }
.form-input {
  width: 370px; max-width: 100%; padding: 10px; font: inherit; font-weight: 300; color: #4d4d4d;
  border: 1px solid #c1c1c1; border-radius: 3px; background: #fff;
}
textarea.form-input { height: 100px; resize: vertical; }
.wsite-button {
  display: inline-block; padding: 0; background: #fff; border: 2px solid #2b2b2b; border-radius: 6px;
  text-transform: uppercase; color: #2b2b2b; font-size: .9em; letter-spacing: 4px; font-weight: 400;
  cursor: pointer; font-family: inherit; transition: background-color .65s, border .65s;
}
.wsite-button span { display: block; padding: 16px 30px; line-height: 1; }
.wsite-button:hover { background: #2b2b2b; color: #fff; }
.address { color: #888; }
.map iframe { display: block; width: 100%; height: 350px; border: 0; margin: 10px 0 15px; }

/* ---------- Footer ---------- */
#footer-wrap { border-top: 2px solid #ededed; padding: 40px 0; }
#footer-wrap h2 { text-align: center; margin: 0; line-height: 1.2; }
#footer-wrap h2, #footer-wrap a { color: #2b2b2b; }

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
  body { font-size: 15px; }
  .container { padding: 0 2em; }
  #header { padding: 0; }
  #header-wrap { text-align: center; }
  #nav { display: none; }
  #header { display: flex; align-items: center; }
  #nav-trigger { display: block; flex: none; width: auto; padding: 0 0 0 2em; }
  #nav-trigger span, #nav-trigger::before, #nav-trigger::after {
    display: block; width: 20px; height: 3px; background: #2b2b2b; content: "";
  }
  #nav-trigger span { margin: 4px 0; }
  #logo { display: block; flex: 1; width: auto; max-width: none; padding: 10px 30px 10px 10px; text-align: center; }
  #logo a { display: inline-block; }
  #logo img { max-height: 50px; max-width: 100%; }
  #mobile-nav { display: block; }
  #mobile-nav ul {
    margin: 0; padding: 0; max-height: 0; overflow: auto; font-size: 18px; transition: max-height 240ms linear;
  }
  body.menu-open #mobile-nav ul { max-height: 900px; }
  #mobile-nav li { list-style: none; }
  #mobile-nav li:first-child { padding-top: 10px; }
  #mobile-nav li:last-child { padding-bottom: 10px; }
  #mobile-nav a { display: block; padding: 5px 20px; color: #8e8e8e; text-transform: uppercase; font-weight: 700; line-height: 1.3; }
  #mobile-nav li.active a, #mobile-nav a:hover { color: #2b2b2b; }
  .header-spacer { height: 68px; }
  #header { height: 68px; }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
  body { font-size: 14px; }
  .slideshow .caption { font-size: 13px; padding: 9px 13px; }
  .container { padding: 0 1.5em; }
  .multicol { display: block; margin: 0; }
  .multicol > .col, .multicol.wide > .col { display: block; width: auto !important; padding: 0; margin: 0 auto 1em; }
}


/* ===== Leichte optische Anpassung (gleiche Farben) ===== */

/* Header: ruhigeres Menue mit Unterstrich fuer die aktive Seite */
#nav li a {
  position: relative;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 32px 14px;
}
#nav li a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 24px; height: 2px;
  background: #2b2b2b; transform: scaleX(0); transform-origin: left; transition: transform 240ms ease;
}
#nav li:first-child a::after { left: 30px; }
#nav li:last-child a::after { right: 0; }
#nav li.active a::after, #nav li a:hover::after { transform: scaleX(1); }

/* Slideshow: abgerundete Ecken, Bildtext in Roboto */
.slideshow .frame { border-radius: 6px; overflow: hidden; }
.slideshow .caption { font-family: Roboto, sans-serif; font-weight: 300; font-size: 20px; letter-spacing: .02em; }

/* Einleitung */
.intro { margin-top: 36px; }
.eyebrow {
  display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #8e8e8e; margin-bottom: 12px;
}
.intro h2 { font-size: 40px; font-weight: 300; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 28px; }

.about { display: grid; grid-template-columns: 210px 1fr; gap: 48px; align-items: start; }
.about img {
  display: block; width: 100%; height: auto; border-radius: 6px;
  box-shadow: 0 2px 12px rgba(99, 99, 99, .25);
}
.about .paragraph { font-size: 17px; line-height: 1.75; text-align: left; margin: 0; max-width: 660px; }
.about em { display: inline-block; margin-top: 4px; }

/* Drei Einstiege zu den Unterseiten */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.teaser {
  display: block; border: 2px solid #ededed; border-radius: 6px; padding: 24px 24px 22px;
  color: #4d4d4d; transition: border-color .3s, box-shadow .3s;
}
.teaser:hover { border-color: #2b2b2b; color: #4d4d4d; box-shadow: 0 2px 12px rgba(99, 99, 99, .15); }
.teaser h3 { margin: 0 0 10px; font-size: 19px; font-weight: 400; color: #2b2b2b; line-height: 1.25; }
.teaser p { margin: 0 0 14px; line-height: 1.6; font-size: 15px; }
.teaser .more { color: #fa081e; font-weight: 400; font-size: 15px; }
.teaser:hover .more { color: #2b2b2b; }

/* Footer: einheitliche Schriftgroesse, Trenner als feine Linien */
.footer-line {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0;
  list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 400; color: #2b2b2b; line-height: 1.4;
}
.footer-line li { padding: 0 16px; border-left: 1px solid #c1c1c1; }
.footer-line li:first-child { border-left: 0; }
.footer-line a { color: #2b2b2b; }
.footer-line a:hover { color: #fa081e; }

@media (max-width: 992px) {
  .about { gap: 32px; grid-template-columns: 180px 1fr; }
}
@media (max-width: 767px) {
  .intro { margin-top: 26px; }
  .intro h2 { font-size: 30px; }
  .about { grid-template-columns: 1fr; gap: 22px; }
  .about img { max-width: 180px; margin: 0 auto; }
  .about .paragraph { font-size: 16px; }
  .teasers { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .footer-line { flex-direction: column; align-items: center; gap: 4px; }
  .footer-line li { border-left: 0; padding: 0; }
}
.teaser { display: flex; flex-direction: column; }
.teaser .more { margin-top: auto; }

/* Slideshow ohne Leerraum, auf dem Handy Bildtext unter dem Bild */
.slideshow { height: auto; }
.slideshow .slide:first-child { position: relative; }
@media (max-width: 767px) {
  .slideshow .caption { position: static; font-size: 14px; padding: 8px 12px; background: #808080; }
  .slideshow .caption::before { display: none; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
}


/* ===== Unterseiten im angepassten Stil ===== */
.intro:first-child { margin-top: 0; }
.intro + .hr-block { padding-top: 0; }
.intro h2 { margin-bottom: 24px; }
.paragraph.text { font-size: 17px; line-height: 1.75; text-align: left; }
.paragraph.lead { font-size: 18px; line-height: 1.6; margin-bottom: 0; }
h3.sub { font-size: 19px; font-weight: 400; color: #2b2b2b; margin: 0 0 12px; line-height: 1.3; }

.list { list-style: none; margin: 0 0 1.4em; padding: 0; font-size: 17px; line-height: 1.6; }
.list li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.list li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: #2b2b2b;
}

/* Reparaturdienste */
.two-col { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.g-item {
  display: block; aspect-ratio: 4 / 3; background: #fff; border: 2px solid #ededed; border-radius: 6px;
  overflow: hidden; padding: 6px; transition: border-color .3s, box-shadow .3s;
}
.g-item img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; cursor: zoom-in; }
.g-item:hover { border-color: #2b2b2b; box-shadow: 0 2px 12px rgba(99, 99, 99, .15); }
.g-item:hover img { transform: scale(1.05); }

/* Kontakt Hinweis unten */
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px;
  border: 2px solid #ededed; border-radius: 6px; padding: 22px 26px;
}
.cta-box p { margin: 0; font-size: 17px; line-height: 1.6; }
.cta-box .wsite-button { flex: none; }
a.wsite-button { color: #2b2b2b; }
a.wsite-button:hover { color: #fff; }

/* Partner */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.logo-card {
  display: flex; align-items: center; justify-content: center; height: 130px; padding: 20px;
  border: 2px solid #ededed; border-radius: 6px; background: #fff; transition: border-color .3s, box-shadow .3s;
}
.logo-card img { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.logo-card:hover { border-color: #2b2b2b; box-shadow: 0 2px 12px rgba(99, 99, 99, .15); }

/* Vermietung */
.rent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rent-card { border: 2px solid #ededed; border-radius: 6px; padding: 24px 24px 18px; }
.rent-card h3 { margin: 0 0 14px; font-size: 19px; font-weight: 400; color: #2b2b2b; line-height: 1.25; }
.rent-card .list { font-size: 16px; margin-bottom: .6em; }
.rent-card .note { margin: 10px 0 0; font-size: 15px; font-style: italic; color: #8e8e8e; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.contact-grid .form-input { width: 100%; border-radius: 6px; transition: border-color .2s; }
.contact-grid .form-input:focus { outline: none; border-color: #2b2b2b; }
.address-card { border: 2px solid #ededed; border-radius: 6px; padding: 24px 26px; color: #888; }
.address-card h3 { margin: 0 0 12px; font-size: 19px; font-weight: 400; color: #2b2b2b; line-height: 1.3; }
.address-card p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.address-card p:last-child { margin-bottom: 0; }
.map iframe { border-radius: 6px; margin-top: 20px; }

@media (max-width: 992px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .rent-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { gap: 32px; }
}
@media (max-width: 767px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .rent-grid { grid-template-columns: 1fr; gap: 14px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-card { height: 100px; padding: 14px; }
  .logo-card img { max-height: 60px; }
  .cta-box { flex-direction: column; align-items: flex-start; margin-top: 36px; padding: 20px; }
  .paragraph.text, .list, .cta-box p { font-size: 16px; }
  .form-input { width: 100%; }
}
a[href^="tel:"] { white-space: nowrap; }
