:root {
    --bg: rgb(53, 50, 50);
    --main:rgb(172, 21, 21);
    --shadow:rgba(0, 0, 0, 0.068);
    --nav:rgb(46, 46, 46);
    --button-hover: rgb(134, 11, 11);
}

* {
font-family: "Open sans", sans-serif;
margin:0px;
padding:0px;
box-sizing:border-box;
font-size:20px;
color:white;
}

p {
    font-size:1rem;
}
h1 {
    font-size:3.05rem;
}
h2 {
    font-size:2.44rem;
    font-weight: bold;
}
h3 {
    font-size:1.95rem;
    font-weight: bold;
}
h4 {
    font-size:1.562rem;
    font-weight: bold;
}
h5 {
    font-size:1.25rem;
}
h6{
    font-size:1rem;
}

body {
background-color: var(--bg);
width:100%;

}

.mainBody {

    background-image:url(/bilder/werkstatt.jpg);
    /* background-position:center; */
    width:100%;
    height:100%;

}

.smallIcon {
    height: 40px;
    width:40px;
    margin-left:40%;
    background-color: var(--main);
    color:white;
    border:none;
}

.smallIcon:hover {
    cursor:pointer;
    background-color: var(--button-hover);
    border-radius: 10px;
    /* padding:2px; */
    transition: .3s ease-out;
}

.centered-Text {
    text-align:center;
}
.hero {
  position: relative;
  height: 100vh; /* volle Höhe des Bildschirms */
  background: url("/bilder/werkstatt.jpg") no-repeat center center/cover;
  display: flex;
  text-align: left;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); /* dunkler Overlay für bessere Lesbarkeit */
}
.hero-content {
    margin-left:1.5rem;
    font-size: 1.5rem;
    position: relative; /* über Overlay */
    z-index: 1;
    width:75%;
}


blockquote {
    line-height: 1.75;
}

.distance {
    line-height: 1.25;
}
.werkstattFoto {
    width:100%;
}

.logo {
    width:90px;
    height:70px;
    background-color:#fff;
    margin-top:1vh;
}

.header {
    display:flex;
    flex-direction:row;
    justify-content:center;
    padding-right: 5vw;
    background-color:var(--nav);
    padding-bottom: 1vh;
}

nav {
    display:flex;
    flex-direction:row;
    justify-content:center;
    padding-top:0.75rem;
    
}

.navbar {
    display:flex;
    flex-direction:row;
    justify-content:space-between;

}

ul {
    list-style-type: none;
}

.navbarContent {
    margin:12px 0px 0px 44px;
}

.navLinks {
    text-decoration:none;
    color:white;
    font-size:1.5rem;   
    border-color: var(--nav);
    padding:8px;
    border-radius:8px;
    border-style:solid;
    border-color:var(--button-hover);
}
.navLinks:hover {
    background-color: var(--button-hover);
    transition: .3s ease-out;
}

.navActive {
    background-color:var(--button-hover);
    border-style:solid;
    border-color:var(--button-hover);
}

.sidekick-content {
    z-index:1;
    display:flex;
    flex-direction: column;
    justify-content:center;
    padding-right:20px;
}

.opening-hours {
  background: var(--main);
  padding: 20px;
  border-radius: 10px;
  max-width: 300px;
  max-height: 300px;
}

.opening-hours h3 {
  margin-top: 0;
  text-align: center;
}

.opening-hours ul {
  list-style: none;
  padding: 0;
}

.opening-hours li {
  padding: 4px 0;
}

#open-status {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}

.service-Option {
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    width: 20vw;
}

.services {
    display:flex;
    flex-direction:row;
    justify-content: center;
    /* height:20vh; */
    padding-bottom:4vh;
}

.column {
    display:flex;
    flex-direction:column;
    padding-top:10.5vh;
}

.service-Title {
    background-color:rgb(37, 36, 36);
    border-color: rgb(43, 40, 40);
    border-radius:45px;
    box-shadow: 0px 0px 15px rgb(88, 85, 85);
    padding-bottom: 10.5vh;
}

.service-Wrapper {
    background-color:var(--nav);
    padding:45px;
    padding-top: 5.5vh;
}

.service-Icons {
    width: 80px;
    height:80px;
}

.padding-top {
    padding-top: 1vh;
}

/* Startzustand für animierte Elemente */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Wenn sichtbar */
.show {
  opacity: 1;
  transform: translateY(0);
}

/* Spezielle Animation fürs Logo beim Laden */
.logo {
  opacity: 0;
  transform: scale(0.5);
  transition: transform 1s ease, opacity 1s ease;
}
.logo.loaded {
  opacity: 1;
  transform: scale(1);
}
.wheel-container { width: 260px; max-width: 40vw; margin: 2rem auto; }
.wheel { display: block; width: 100%; height: auto; }
.rotor {
  transform-box: fill-box;      
  transform-origin: center;     
  animation: spin 6s linear infinite;
  will-change: transform;
}

/* gentle hover-pause (optional) - entferne die folgende Regel, wenn du kein Pausieren beim Hover willst */
.wheel-container:hover .rotor { animation-play-state: paused; cursor: pointer; }

@keyframes spin {
  to { transform: rotate(360deg); }
}