* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f7f7f7;
}

h1, h2, h3, .logo, .btn {
  font-family: 'Poppins', sans-serif;
}

.hero {
  background: linear-gradient(135deg, #1f3c88, #4a90e2);
  color: white;
  min-height: 50vh;
  padding: 20px 40px 60px;
}

.nav {
  max-width: 100%;
  margin: 0 auto;
  padding: -10px 40px;
  display: flex;
  align-items: center;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 700
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
}


.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.03em;
}

.logo-name {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.logo-name::after {
  content: "";
  position: absolute;
  left: 1%;
  bottom: 9px;
  width: 85%;
  height: 0.4rem;
  background: white;
  border-radius: 999px;
}

.logo-dot {
  position: absolute;
  right: 5px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.lang-btn {
  background: transparent;
  border: 1px transparent;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  margin-left: 10px;
  color: white;
  font-size: 18px;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

.hero-wrapper {
  max-width: 1000px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  line-height: 1.1;
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #e8eefc;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 900px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: #f3f6ff;
}

.hero-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-block;
  background: white;
  color: #1f3c88;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.about {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #4a90e2;
}

.about h2 {
  font-size: 2.3rem;
  margin-bottom: 30px;
  color: #1f3c88;
}

.about p {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
  text-align: justify;
  hyphens: auto;
}

.about p:last-child {
  margin-bottom: 0;
}

.projects {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.contact {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #4a90e2;
}

.contact a {
  color: #1f3c88;
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}

.contact h2 {
  font-size: 2.3rem;
  margin-bottom: 30px;
  color: #1f3c88;
}

.contact p {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
  text-align: justify;
  hyphens: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.journey {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #4a90e2;
}

.journey h2 {
  font-size: 2.3rem;
  margin-bottom: 30px;
  color: #1f3c88;
}

.journey-box {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.journey-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(31, 60, 136, 0.12);
}

.journey-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.journey-year {
  font-weight: 700;
  color: #1f3c88;
  font-family: 'Poppins', sans-serif;
}

.schulabshluss {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22881f;
  font-family: 'Poppins', sans-serif;
}

.umzug {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22881f;
  font-family: 'Poppins', sans-serif;
}

.Bachelor {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22881f;
  font-family: 'Poppins', sans-serif;
}

.Master {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22881f;
  font-family: 'Poppins', sans-serif;
}

.journey-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1f3c88;
}

.journey-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

.footer {
  text-align: center;
  padding: 30px 20px;
  background: #222;
  color: white;
}

/* =========================
   Handy / Tablet Ergänzung
   oberer Code bleibt gleich
========================= */

@media (max-width: 992px) {
  .hero {
    padding: 20px 24px 50px;
  }

  .hero-wrapper {
    max-width: 90%;
    gap: 24px;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1.08rem;
    max-width: 100%;
  }

  .about,
  .contact,
  .journey {
    margin: 40px 20px;
    padding: 30px;
  }

  .projects {
    margin: 40px 20px;
    padding: 0;
  }

  .journey-item {
    grid-template-columns: 170px 1fr;
    gap: 16px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .hero {
    padding: 18px 16px 40px;
    min-height: auto;
  }

  .hero-wrapper {
    margin-top: 24px;
    max-width: 100%;
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content h2 {
    font-size: 1.2rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-image img {
    width: 220px;
    height: 220px;
  }

  .logo {
    font-size: 1.6rem;
  }

  .nav {
    width: 100%;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .lang-btn {
    font-size: 16px;
  }

  .about,
  .contact,
  .journey {
    margin: 30px 14px;
    padding: 22px 18px;
  }

  .projects {
    margin: 30px 14px;
    padding: 0;
  }

  .about h2,
  .contact h2,
  .journey h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .about p,
  .contact p,
  .journey-content p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .journey-item {
    grid-template-columns: 130px 1fr;
    gap: 14px;
  }

  .journey-content h3 {
    font-size: 1.05rem;
  }

  .schulabshluss,
  .umzug,
  .Bachelor,
  .Master {
    font-size: 1.2rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-image img {
    width: 180px;
    height: 180px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .about h2,
  .contact h2,
  .journey h2 {
    font-size: 1.5rem;
  }

  .journey-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .journey-year {
    margin-bottom: 4px;
  }
}

/* Hamburger-Button standardmäßig verstecken */
.menu-toggle {
  display: none;
  background: rgba(34, 47, 68, 0.95);
  border: none;
  border-radius: 14px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #5f6977;
  border-radius: 999px;
}

/* Nur für Mobile */
@media (max-width: 768px) {
  .nav {
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    width: 220px;
    background: rgba(34, 47, 68, 0.98);
    border-radius: 16px;
    padding: 14px;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: white;
    font-size: 1rem;
    display: block;
    width: 100%;
  }
}