:root {
  --salbei: #8FA897;
  --sand: #EDE6DD;
  --beige: #F7F3EE;
  --brown: #C7A27C;
  --text: #3b3b3b;
  --footer:#6f8578;

}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff2") format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-bold.woff2") format("woff2");
  font-weight: 700;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins.woff2") format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-bold.woff2") format("woff2");
  font-weight: 600;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", Arial, sans-serif;
  background: var(--beige);
  color: var(--text);
  line-height: 1.7;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;   /* sorgt für vertikale Zentrierung */
  gap: 10px;
  font-weight: 400;
}

.logo a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
}

.logo a:hover {
  color: var(--salbei);
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
}

nav a:hover {
  color: var(--salbei);
  text-decoration: none;
}

a {
  color: inherit;          /* übernimmt die Textfarbe */
  text-decoration: underline;   /* entfernt Unterstreichung */
}

a:visited {
  color: inherit;          /* verhindert violette Links */
}

a:hover {
  color: #6f8578;          /* verhindert violette Links */
}

a:active {
  color: inherit;
}

main {
  padding-top: 90px;
}

/* Hero */
.hero {
  background: var(--sand);
  padding: 60px 12%;
  text-align: center;
  overflow-wrap: break-word;
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  color: var(--salbei);
}

.hero p {
  font-size: 1.1rem;
  margin-top: 15px;
}

/* Sections */
section {
  padding: 60px 12%;
}

h2 {
  font-family: "Poppins", sans-serif;
  color: var(--salbei);
  margin-bottom: 15px;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.card {
  background: white;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
}

.card-img, .card-profile {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

  @media (min-width: 768px) {
    .card-img {
      width: 50%; /* Bild nimmt nur noch die Hälfte des Containers ein */
    }
    .card-profile{
      width: 20%;
    }
  }

/* Contact Box */
.contact-box {
  background: white;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: var(--footer);
  color: white;
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

footer a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    margin-top: 8px;
  }
}

button, input, textarea {
  font-size: 1rem;
  padding: 10px;
}
a:focus, button:focus, input:focus {
  outline: 3px solid #C7A27C;
}

html, body {
  height: 100%;
  margin: 0;
}

.page-wrapper {
  min-height: 98vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

ul {
  padding-left: 20px; /* Erhöht den Einzug von Bullet-Listen (z.B. auf Datenschutz-Seite). */
}