/* DieFahrerei – gemeinsames Stylesheet für index.html / index-en.html
   Ausgelagert aus dem bisherigen Inline-<style> von index.html, damit
   der Browser die Datei über beide Sprachversionen hinweg cachen kann. */

@font-face { font-family: 'DIN'; src: url('../fonts/DIN-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DIN'; src: url('../fonts/DIN-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DIN'; src: url('../fonts/DIN-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'DIN'; src: url('../fonts/DIN-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

* { margin: 0; padding: 0; box-sizing: border-box; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; font-size: clamp(14px, 1.8vw, 22px); }
body { font-family: 'DIN', sans-serif; font-weight: 300; background: rgba(70, 82, 82, 0.819); color: #fff; overflow-x: hidden; position: relative; line-height: 1.7; }
strong, b { font-weight: 700; }
section { padding-top: 10vw !important; padding-bottom: 10vw !important; }
#hero { padding: 0 !important; height: 100vh !important; position: relative; overflow: hidden; }
.section-inner > .text-block { margin-bottom: 10vw !important; }
.images-two, .section-slider, .bewertungen-grid { margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 !important; }
.text-block h2 { margin-top: 0 !important; margin-bottom: 2vw !important; text-align: center; letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); font-size: clamp(2rem, 4vw, 3.6rem); }
.text-block { max-width: 900px; margin: 0 auto; text-align: left; }
.text-block p { font-size: clamp(1.2rem, 2vw, 2.1rem); text-align: left; margin-bottom: 0 !important; }
#wir, #was, #sehen, #kontakt, #about, #services, #self-image, #contact { padding-bottom: 0 !important; }
@media (max-width: 700px) { .text-block { padding: 0 5vw; } }
.info-note { font-style: normal; font-weight: 300; color: #fff; margin-top: 0.5em; margin-bottom: 0.5em; display: block; text-align: left; }
.lang-switch-menu { position: fixed; top: 30px; right: 44px; z-index: 9999; font-family: 'DIN', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 2px; color: #fff; background: none; display: flex; gap: 0.5em; }
.lang-switch-menu a { color: #fff; text-decoration: none; font-weight: 700; transition: color 0.2s; font-size: 0.9em; letter-spacing: 2px; }
.lang-switch-menu a.active, .lang-switch-menu a:hover { color: #a0a0a0; text-decoration: underline; }
@media (max-width: 800px) { .lang-switch-menu { top: 10px; right: 10px; font-size: 0.88em; } }

/* Header / Navigation mit Scroll-Effekt */
.nav-desktop { position: fixed; top: 30px; left: 50%; transform: translateX(-50%); z-index: 1000; transition: opacity 0.3s ease; }
.nav-desktop ul { display: flex; gap: 2rem; list-style: none; }
.nav-desktop ul li a { color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none; }

.burger { display: none; position: fixed; top: 20px; left: 20px; font-size: 2.5rem; color: #fff; cursor: pointer; z-index: 2000; transition: opacity 0.3s ease; }

@media (max-width: 768px) {
  .nav-desktop { display: none !important; }
  .burger { display: block !important; opacity: 1 !important; }
}

#nav { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: rgba(0, 0, 0, 0.606); padding: 4rem 2rem; transform: translateX(100%); transition: transform 0.3s ease; z-index: 2001; }
#nav.active { transform: translateX(0); }
#nav ul { display: flex; flex-direction: column; gap: 2rem; list-style: none; }
#nav ul li a { color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
#mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.05); display: none; z-index: 2000; }

.slider, .slide { position: absolute; width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; animation: zoom 18s linear infinite; }
.slide { opacity: 0; transition: opacity 2s ease; }
.slide.active { opacity: 1; }
.hero-logo-overlay img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 450px; max-width: 80vw; filter: drop-shadow(0 0 20px rgba(0,0,0,0.7)); }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.1); } }

.wer-section .section-slider { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; height: 80vh; overflow: hidden; display: flex; justify-content: center; align-items: center; }
@media (max-width: 768px) { .wer-section .section-slider { height: 45vh; } }
.wer-section .section-slider .section-slide { width: 100vw; max-width: 100vw; height: 100%; margin: 0 auto; transition: opacity 2s ease, transform 15s ease; position: absolute; left: 0; right: 0; opacity: 0; }
.wer-section .section-slider .section-slide.active { opacity: 1; z-index: 1; transform: scale(1.05); position: relative; }
.wer-section .section-slider .section-slide img { width: 100vw; max-width: 100vw; height: 100%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 30px rgba(0,0,0,0.2); }

.images-two { display: flex; justify-content: center; align-items: center; gap: 3vw; padding: 0 3vw; box-sizing: border-box; width: 100%; overflow-x: auto; scrollbar-width: thin; }
.images-two img { height: 36vw; width: auto; display: block; flex-shrink: 0; object-fit: cover; cursor: default; }
.images-two::-webkit-scrollbar { height: 6px; background: #222; }
.images-two::-webkit-scrollbar-thumb { background: #555; border-radius: 3px; }

.bewertungen-section { position: relative; padding: 10vw 2vw; text-align: center; background: none; }
.bewertungen-section h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 2vw; text-align: center; }
.bewertungen-grid { position: relative; min-height: 400px; width: 100%; max-width: 850px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: center; }
.bewertungen-grid .quote { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 100%; max-width: 850px; min-height: 200px; opacity: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; transition: opacity 1s cubic-bezier(.65,0,.35,1); font-style: italic; z-index: 2; padding: 2vw 4vw; text-align: center; }
.bewertungen-grid .quote.active { opacity: 1; pointer-events: auto; }
.bewertungen-grid strong, .quote-text { font-size: clamp(1.2rem, 2vw, 2.1rem); max-width: 800px; margin: 0 auto; text-align: center; font-style: italic; font-weight: 400; }
.quote-name { display: block; margin-top: 1.2em; font-size: clamp(1rem, 1.1vw, 1.3rem); font-weight: 400; text-align: center; opacity: 1; }

.kontakt-section { padding: 10vw 2vw; text-align: center; }
.kontakt-section h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 2vw; }
.contact-options.contact-medium { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.contact-options.contact-medium a { font-weight: 500; font-size: 1.8rem; color: #fff; text-decoration: none; }
.social-icons { display: flex; justify-content: center; align-items: center; gap: 1.8rem; margin-top: 2.5rem; margin-bottom: 4rem; }
.social-icons a { color: #fff; display: flex; transition: opacity 0.2s ease-in-out; }
.social-icons svg { width: 32px; height: 32px; fill: currentColor; display: block; }
.social-icons a:hover { opacity: 0.6; }

.legal-section { padding: 150px 5vw 100px; max-width: 900px; margin: 0 auto; text-align: center; }
.legal-section h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.5rem; }
.legal-section h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin: 2rem 0 1rem; }
.legal-section p { text-align: left; margin-bottom: 1.2rem; }
.legal-section ul { text-align: left; margin: 0 0 1.2rem 1.5rem; }
.legal-section a { color: #fff; text-decoration: underline; }

footer { padding: 3rem 2rem; background: rgba(70, 82, 82, 0.066); text-align: center; border-top: 2px solid rgba(255,255,255,0.2); }
footer p { font-size: 1rem; }
footer a { color: #fff; text-decoration: underline; }
