/* Updated Color Palette */
:root {
  --primary-color: #2A5C8B; /* Trustworthy blue */
  --secondary-color: #6A994E; /* Sustainability green */
  --accent-color: #FFA040; /* Warm orange for CTAs */
  --neutral-light: #F5F5F5; /* Light gray for backgrounds */
  --neutral-dark: #333333; /* Dark gray for text */
  --white: #FFFFFF;
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
}

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.logo {
  height: 90px;
  width: auto;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 8px;
}
.hero-logo {
  height:150px;
}
.gih {
  height:150px;
}
.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.header-content h1 {
  margin: 0;
  color: var(--white);
}

.header-content nav {
  text-align: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.header-content ul {
  white-space: nowrap;
  width: max-content;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.header-content li {
  display: inline-block;
  vertical-align: middle;
}
.header-content li:not(:first-child) {
  border-left: 2px solid #fff;
  margin-left: 0.5rem;
}

.header-content a {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  background: transparent;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.header-content a:hover,
.header-content a:focus {
  background-color: var(--accent-color);
  color: var(--neutral-dark);
  border-radius: 8px;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 0;
  }
  .header-inner {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .logo {
    margin-left: 0;
    margin-right: 0;
    height: 48px;
  }
}

/* Main Content */
main {
  padding: 1rem;
  text-align: center;
}

#hero.hero-bg {
  position: relative;
  min-height: calc(100vh - 80px); /* header ~80px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(42,92,139,0.7), rgba(42,92,139,0.7)), url('ramirez.jpg') center/cover no-repeat;
  margin-bottom: 2rem;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 0;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 48px;
  z-index: 2;
}

.hero-image {
  width: 340px;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 4px solid var(--white);
  background: var(--white);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--white);
  max-width: 500px;
  padding: 32px 24px;
  background: rgba(42,92,139,0.65);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.hero-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: 1px;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--white);
  opacity: 0.95;
}

.button {
  background: var(--accent-color);
  color: var(--neutral-dark);
  padding: 1rem 2.2rem;
  border-radius: 32px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 8px rgba(255,160,64,0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.button:hover, .button:focus {
  background: #FF8800;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,160,64,0.18);
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 24px;
    padding: 32px 0;
  }
  .hero-image {
    width: 90vw;
    max-width: 320px;
    height: 340px;
  }
  .hero-text {
    max-width: 95vw;
    padding: 24px 12px;
  }
  #hero.hero-bg {
    min-height: 80vh;
    border-radius: 0 0 16px 16px;
  }
}

#hero p {
  color: var(--neutral-dark);
}

#ueber-mich, #leistungen, #berufserfahrung, #weiterbildungen, #kenntnisse, #kontakt {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#ueber-mich h2, #leistungen h2, #berufserfahrung h2, #weiterbildungen h2, #kenntnisse h2, #kontakt h2 {
  color: var(--primary-color);
}

#leistungen ul {
  list-style: disc;
  padding-left: 20px;
}

#leistungen li {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Buttons (if added later) */
.button {
  background-color: var(--accent-color);
  color: var(--neutral-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s;
}

.button:hover {
  background-color: #FF8800; /* Darker shade for hover */
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 0 0.5rem 0;
  font-size: 1rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
  width: 100%;
  padding: 0 2rem;
}

.footer-col {
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.footer-address {
  align-items: flex-start;
  text-align: left;
}

.footer-contact {
  align-items: center;
  text-align: center;
}

.footer-links {
  align-items: flex-end;
  text-align: right;
}

.footer-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--white);
}

.footer-copyright {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95em;
  color: var(--white);
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .footer-address,
  .footer-contact,
  .footer-links {
    align-items: flex-start !important;
    text-align: left !important;
  }
}
