*, *::after, *::before {
    box-sizing: border-box;
  }

body {
    font-family: 'Open Sans', sans-serif;
    list-style-type: none;
    hyphens: auto; 
    background-color: white;
}

header {
    font-size: 20px;
    align-items: center;
    width: 100%;
}


.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* bleibt linksbündig */
    gap: 10rem;
    margin: 0.6rem auto;  /* zentriert die Box selbst */
    max-width: 1200px;    /* z.B. Begrenzung der Breite */
    width: 100%;
  }

.name {
    text-align:center;
}

.name a {
    text-decoration: none;
    color:black;
    font-weight: 800;
}

.slogan {
    text-align:center;
}

main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    justify-items: center;   /* Inhalte innerhalb ihrer Spalte mittig */
    text-align: center;      
    gap: 2rem;               
    max-width: 1200px;       
    margin: 2rem auto;       
    padding: 0 1rem;         
  }
  
.slogan {
    grid-column: 1 / -1;     /* nimmt die ganze Breite ein */
    font-size: 1.2rem;       /* etwas größer, damit es hervorsticht */
    font-weight: 300;
}
  
main p {
    margin: 0; 
}

main {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    justify-items: center;   
    text-align: center;      
    gap: 2rem;               
    max-width: 1200px;       
    margin: 2rem auto;       
    padding: 0 1rem;         
  }
  
  .slogan {
    grid-column: 1 / -1;     
    font-size: 1.2rem;  
    margin-bottom: 2rem;  /* Abstand nach unten */     
  }
  
  .contact-item {
    display: flex;
    flex-direction: column;   /* Icon über dem Text */
    align-items: center;      /* zentriert Icon + Text */
    gap: 1rem;              /* Abstand zwischen Icon und Text */
  }
  
  .data {
    max-height: 35px;
  }

.content {
    font-weight: 300;
    font-size: small;
}

/*footer*/

footer {
    font-family: 'Raleway', sans-serif;
    border-style: solid;
    
    border-width: thin;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    
    border-color: black;
    width: 65%;
    
    margin-right: auto;
    margin-left: auto;
    margin-top: 55px;
    
}

footer p {
    font-size: 12px;
    margin-top: 7px;
    text-align: center;   /* Text im Absatz zentrieren */
}

.impressumlink {
    color: black; /* Ändert die Farbe des Links */
    text-decoration: none; /* Entfernt die Unterstreichung */
    margin-bottom: 60px;    
}

.datenschutzerklarung {
    padding-top: 20%; 
    padding-left: 50px;
    padding-right: 50px;
}

.datenschutzerklarung p {
    font-size: 12px; 
    text-align: left;

}

/* Datenschutz */
  
/* Logo bleibt links */
.logo img {
    display: block;
    margin-left: 150px;
    max-width: 200px;
  }
/* Gemeinsame Basis für Überschrift + Text */
.titel,
.datenschutz,
.datenliste {
  display: block;
  max-width: 60ch;   /* gleiche Zeilenbreite */
  width: 90%;        /* responsiv, aber begrenzt */
  margin: 0 auto 1rem auto; /* zentriert */
  text-align: left;  /* Text innerhalb linksbündig */
  line-height: 1.6;
}

/* Überschrift darf extra größer sein */
.titel {
  line-height: 1.3;
  margin-top: 2rem;   /* Abstand nach oben */
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
}

  
  
  ul.datenliste {
    list-style-type: disc;
    display:block
  }


@media only screen and (max-width: 768px) {
    header {
        justify-content: center;
        font-size: 12px;
    }
    
    .brand {
        flex-direction: column;  /* Logo und Name untereinander */
        align-items: center;     /* zentriert alles horizontal */
        gap: 1rem;               /* Abstand zwischen Logo und Name */
    }
    
    .logo {
        margin-left: 0; 
        max-width: 300px;        
        width: 100%;             
        height: auto; 
    }
}
