* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}
body {
    background: #e4f6f9;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

main {
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
    padding-top: 140px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #ff6e42;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin: 3rem 0 5rem 0;
}

.hero h1 {
    font-family: Gibson;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: black;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.hero h3 {
    font-size: 1.1rem;
    font-family: 'Segoe UI', sans-serif;
    max-width: 600px;
    line-height: 2rem;
    margin: 0 auto 2rem auto;

}

.guide-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.step {
    background-color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 360px;
    display: flex;               /* Flexbox aktivieren */
    align-items: center;         /* Vertikal zentrieren */
    justify-content: center;     /* Horizontal zentrieren */
    text-align: center;
    position: relative;
}

.step-number {
    background-color: #ff6e42;
    color: white;
    font-weight: bold;
    width: 28px;
    height: 28px;
    display: flex;               /* Flexbox für Kreis */
    align-items: center;         /* Vertikal zentrieren im Kreis */
    justify-content: center;     /* Horizontal zentrieren im Kreis */
    border-radius: 50%;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    }

    .step p {
    margin: 0;                   /* Verhindert extra Abstand */
    padding-left: 30px;          /* Platz für die Step-Zahl */
}

/* USA Karte */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    margin-top: 10rem;
}

.usa-map {
    width: 100%;
    height: auto;
    display: block;
}

.pin {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #84D0F7;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 10;
}

.pin:hover {
    transform: translate(-50%, -50%) scale(1.3);
    background-color: #2b5e6e;
}

.popup {
    position: absolute;
    top: -10%; 
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2b5e6e;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
    z-index: 10;
    color: white;
    text-align: center;
    line-height: 1.5;
    max-width: 90%;
}

/* Städtebuttons */
.city-buttons {
    margin-top: 4rem;
    text-align: center;
}

.city-buttons h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 Spalten */
  gap: 1rem;
  padding: 1rem;
  max-width: 1000px;
  margin: auto;
}

.button-grid button {
    padding: 0.7rem;
    border: none;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Hauttyp */
.skin-types {
    margin-top: 4rem;
    margin-bottom: 15rem;
    text-align: center;
}

.skin-type-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.skin-types h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skin-button {
    background: none;
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.skin-button img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
}

.skin-button:hover {
    border-color: #2b5e6e;
}

.skin-button.selected {
    border-color: #2b5e6e;
    background-color: #fff4ed;
}

.popup-skin {
position: absolute;
top: 180%;
left: 50%;
transform: translateX(-50%);
background: #84D0F7;
padding: 1rem 1.5rem;
border-radius: 12px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
display: none;
z-index: 10;
color: white;
text-align: center;
line-height: 1.5;
}

/* Footer */
.site-footer {
  background-color: white;
  color: black;
  padding: 40px 20px 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-left {
  flex: 1 1 250px;
  margin: 10px;
  text-align: center;
}

.footer-left h3 {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}

.button-grid button.active {
  background-color: #2b5e6e;
  color: white;
}

/* Media Queries */
@media (max-width: 768px) {
    
    .popup {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 10;
    display: none;
    }

    .popup-skin {
        width: 90%;
        top: 110%;
        padding: 1.5rem 2rem;
    }

    .pin {
        width: 10px;
        height: 10px;
    }

    .footer-left {
        text-align: center;
    }

  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }

  .logo img {
    height: 40px;
  }

  .nav-links {
    flex-direction: row;
    gap: 1rem;
  }

  .nav-links li {
    margin: 0;
  }
  
.map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.guide-steps {
    margin-bottom: 160px;
}

.button-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 Spalten */
}

}
