@font-face { font-family: "Titillium Web"; font-weight: 400; font-display: swap; src: url(../fonts/titillium-web-400.woff2) format("woff2"); }
@font-face { font-family: "Titillium Web"; font-weight: 600; font-display: swap; src: url(../fonts/titillium-web-600.woff2) format("woff2"); }
@font-face { font-family: "Titillium Web"; font-weight: 700; font-display: swap; src: url(../fonts/titillium-web-700.woff2) format("woff2"); }

:root { --red: #d2232a; --grey: #d3d5d6; --dark: #373d41; --head: #4d555a; --bg: #fff; --text: #000; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.6 Arial, Helvetica, sans-serif; color: var(--text); background: var(--bg) url(../images/page-bg.gif) repeat-x; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
h1, h2, h3 { font-family: "Titillium Web", sans-serif; font-weight: 600; color: var(--head); }
.main h1 { font-size: 25px; line-height: 1.3; margin: 0 0 .5em; }
.main h2 { font-size: 17px; font-weight: 400; margin: 0 0 .75em; }
.main hr { border: 0; border-top: 1px solid #ccc; margin: 1em 0; }

/* Kopf: Bild 1200x237, Reiter sitzen am unteren Bildrand */
.site-header { max-width: 1200px; margin: 0 auto; position: relative; }
.site-header-image img { display: block; width: 100%; }
.site-nav { position: absolute; left: 10px; bottom: 8%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav a { display: block; height: 29px; padding: 8px clamp(10px, 2.2vw, 25px); margin-right: 2px; box-sizing: content-box; font: 600 14px/20px "Titillium Web", sans-serif; color: #fff; text-decoration: none; text-transform: uppercase; background: url(../images/tab.gif) repeat-x; }
.site-nav a:hover { background: url(../images/tab-hover.gif) repeat-x center; }
.site-nav a[aria-current] { background: url(../images/tab-current.gif) repeat-x center; }
.nav-toggle, .nav-toggle-label { display: none; }

.crumb { max-width: 1200px; margin: 0 auto; padding: 8px 15px; font-size: 13px; text-transform: uppercase; color: #000; }
.crumb a { color: #000; text-decoration: underline; }

.layout { max-width: 1200px; margin: 1.5rem auto 0; padding-left: 10px; display: grid; grid-template-columns: 250px 1fr; grid-template-areas: "sidebar main"; gap: 45px; }
.main { grid-area: main; min-width: 0; padding-right: 5px; }
.sidebar { grid-area: sidebar; min-width: 0; }
.sidebar-top { height: 49px; background: url(../images/sidebar-top.gif) no-repeat; }
.sidebar-bottom { height: 16px; background: url(../images/sidebar-bottom.gif) no-repeat; }
.sidebar-body { padding: 0 15px; }
.sidebar h2 { margin: 0 0 .5em; font-size: 16px; text-transform: uppercase; color: var(--dark); }

.news-item { margin: 0 0 1rem; padding-bottom: .75rem; border-bottom: 1px solid #ccc; font: 13px/1.5 Verdana, Arial, Helvetica, sans-serif; }
.news-head { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .6rem; }
.news-item h3 { flex: 1 1 auto; min-width: 0; margin: 0; padding: 2px 0 2px 0; border: 0; background: #d2d2d2; font: 700 13px/1.4 Verdana, Arial, Helvetica, sans-serif; overflow-wrap: anywhere; }
.news-item h3 a, .main .news-item h3 a { color: var(--red); }
.news-date { flex: 0 0 2.6rem; text-align: center; border-left: 1px solid #0099e1; color: #0099e1; line-height: 1; }
.news-day { display: block; font: 700 22px/1 "Titillium Web", sans-serif; }
.news-month { display: block; font-size: 12px; margin-top: 3px; }
.news-text { margin: 0; overflow-wrap: anywhere; }
.post-date { color: #666; margin: 0 0 1em; }
.pager { display: flex; justify-content: space-between; gap: 1rem; font: 13px/1.5 Verdana, Arial, Helvetica, sans-serif; }
.crumb { overflow-wrap: anywhere; }
.news-item h3 a, .main .news-item h3 a { text-decoration: none; }
.main h1 { overflow-wrap: anywhere; }

/* Fuß: dunkles Reifenmuster, Spalten wie im Original */
.site-footer { margin-top: 70px; background: #1e2224 url(../images/footer-bg.gif) repeat-x; color: var(--grey); }
.footer-inner { max-width: 1200px; margin: 0 auto; min-height: 385px; padding: 90px clamp(1rem, 8vw, 100px) 0; background: url(../images/footer-tyres.png) repeat-y; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: space-between; }
.footer-col { overflow-wrap: anywhere; }
.footer-col:nth-child(2) { padding-left: min(100px, 4vw); }
.footer-col:nth-child(3) { padding-left: min(160px, 6vw); }
.footer-col h2 { margin: 0 0 1.2rem; font-size: 20px; color: var(--grey); }
.footer-col p { margin: 0; font: 400 16px/22px "Titillium Web", sans-serif; }
.site-footer a { color: var(--red); text-decoration: none; }
.footer-legal { margin-top: 2.5rem; margin-left: calc(-1 * clamp(1rem, 8vw, 100px)); max-width: 700px; font-size: 13px; line-height: 1.4; color: #717171; }

@media (max-width: 900px) {
  .site-nav { position: static; background: var(--dark); }
  .nav-toggle-label { display: block; padding: .75rem 1rem; color: #fff; cursor: pointer; font: 600 14px "Titillium Web", sans-serif; text-transform: uppercase; }
  .site-nav ul { display: none; flex-direction: column; }
  .nav-toggle:checked ~ ul { display: flex; }
  .site-nav a { height: auto; margin: 0; background: none; box-sizing: border-box; padding: .6rem 1rem; }
  .site-nav a:hover, .site-nav a[aria-current] { background: var(--red); }
  .layout { grid-template-columns: 1fr; grid-template-areas: "main" "sidebar"; gap: 1.5rem; padding: 0 1rem; }
  body { font-size: 15px; }
  .footer-inner { padding: 40px 1rem 1rem; min-height: 0; background-image: none; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col:nth-child(n) { padding-left: 0; }
  .footer-legal { margin-left: 0; }
}

/* Inhaltsseiten: Schrift wie im Original (Original 11px Verdana, auf Harrys Wunsch 13px) */
.main { font: 13px/1.5 Verdana, Arial, Helvetica, sans-serif; }
.main a { color: #0099e1; }
.main h2, .main h3 { font-family: "Trebuchet MS", Verdana, sans-serif; color: #333; line-height: 1.4; }
.main h2 { font-size: 16px; margin-bottom: 1em; padding-bottom: .5em; border-bottom: 1px solid #ccc; }
.main h3 { margin: 0 0 .75em; padding-bottom: .5em; border-bottom: 1px solid #ccc; font-size: 14px; font-weight: 700; }
.main hr { margin: 0 0 1em; }
.main h1 + hr { margin-top: -.25em; }
.main img.centered { display: block; margin: 1em auto; }
.cols { display: grid; gap: 0 28px; margin-bottom: 1.5em; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols > div { min-width: 0; overflow-wrap: break-word; }
.cols > div > :first-child { margin-top: 0; }
.map { margin-top: 2.5em; padding-bottom: 1em; border-bottom: 1px solid #ccc; }
.map h2 { border-bottom: 0; }
.prices { padding-top: 1em; border-top: 1px solid #ccc; }
.price { font-size: 24px; }
.prices h2 { margin-top: 0; }
.media-row { display: flex; gap: 12px; align-items: flex-start; margin: 1.5em 0; }
.media-row > p { margin: 0; flex: 0 0 112px; }
.media-row > div { flex: 1; min-width: 0; }
.media-row > div > p:first-child { margin-top: 0; }
.media-row-right { flex-direction: row-reverse; }

/* Startseite */
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 28px; margin: 1.5rem 0; }
.teaser img { display: block; width: 100%; }
.main .teaser h2 { margin: .5em 0 .75em; padding-bottom: .5em; font-size: 14px; font-weight: 700; }
.teaser p { margin: 0 0 1em; }

@media (max-width: 900px) {
  .main { font-size: 14px; }
  .cols-3, .cols-2, .teasers { grid-template-columns: 1fr; }
  .media-row { flex-direction: row; }
}
.sidebar .news-all { margin: 0 0 .5rem; font: 13px/1.5 Verdana, Arial, Helvetica, sans-serif; }
.sidebar .news-all a { color: #0099e1; }

/* Galerie, Lightbox, Karte */
.slider { margin: 1.5em 0; }
.slider-stage { position: relative; aspect-ratio: 4 / 3; }
.slider-main, .slider-main img { display: block; width: 100%; height: 100%; }
.slider-main img { object-fit: contain; }
.slider-prev, .slider-next { position: absolute; top: 50%; margin-top: -16px; width: 32px; height: 32px; padding: 0; border: 0; background: rgba(0, 0, 0, .15); color: #fff; font: 28px/30px sans-serif; opacity: .5; cursor: pointer; }
.slider-prev:hover, .slider-next:hover { opacity: 1; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px 0; }
.slider-thumbs a { opacity: .45; }
.slider-thumbs a.active, .slider-thumbs a:hover { opacity: 1; }
.slider-thumbs img { display: block; width: 25px; height: 25px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { display: block; max-width: 92vw; max-height: 90vh; margin: auto; }
.lightbox button { position: fixed; background: rgba(0, 0, 0, .5); color: #fff; border: 0; font: 32px/1 sans-serif; width: 48px; height: 48px; cursor: pointer; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 8px; top: 50%; }
.lb-next { right: 8px; top: 50%; }
.map-consent { background: var(--grey); padding: 1rem; margin: 1rem 0; }
.map-consent iframe { display: block; width: 100%; height: 350px; border: 0; }
.map-consent-button { font: inherit; background: var(--red); color: #fff; border: 0; padding: .5rem 1rem; cursor: pointer; }

/* Kontaktformular */
.form-honeybear { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form[name="kontakt"] .form-field, .form-field { margin: 0 0 1rem; }
.form-field label, .form-label { display: block; margin-bottom: .25rem; font-weight: 600; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field textarea { width: 100%; max-width: 40rem; box-sizing: border-box; padding: .5rem; font: inherit; border: 1px solid #999; }
.form-field textarea { min-height: 10rem; }
.notices { max-width: 40rem; padding: .75rem 1rem; margin: 0 0 1rem; border: 1px solid #999; }
.notices.red { border-color: #b00; color: #b00; }
.notices.green { border-color: #070; color: #070; }
.form-honeybear { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
