/* =========================================
   GRUNDLAYOUT
========================================= */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

a {
  color: #0b74b8;
  text-decoration: none;
}

.außenwrapper {
  max-width: 900px;
  margin: 4rem auto; /* gleicher Abstand wie zum .hero */
  padding: 2.5rem 2rem;
  background: #fffefc; /* Weißton wie auf Über-mich2.html */
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.05);

  box-shadow:
    0 2px 4px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.04);
}

.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* =========================================
   HERO
========================================= */
.hero {
  height: 14vh;
  background: linear-gradient(
    135deg,
    #f7a440 0%,
    #f8b35c 100%
  );
  border-bottom: 1px solid #d0d0d0;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.06);
}


/* =========================================
   HEADER & NAVIGATION
========================================= */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Menübutton */
.menubutton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  cursor: pointer;
  background: #ffffff;
  color: #222;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.75rem 1.3rem;
  border: 2px solid #555;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  width: fit-content;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger::before,
.burger::after,
.burger span {
  content: "";
  width: 22px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  display: block;
}

/* Navigation */
.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.menubutton.showmenu + ul {
  max-height: 100rem;
}

.site-nav a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: #333;
  font-size: 1.05rem;
}

.site-nav a:hover {
  background: #e7f3fb;
  color: #0b74b8;
}

.current a {
  background: #e5e5e5;
  color: #333;
}


/* =========================================
   MODERNES ACCORDIONX
========================================= */
.accordionx {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

/* Header */
.accordionx-header {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2f3b45;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.accordionx-header::after {
  content: "▾";
  font-size: 1.2rem;
  color: #555;
  transition: transform 0.3s ease;
}

.accordionx-header.active {
  background: #f3f8fb;
  border-color: #bcd3e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.accordionx-header.active::after {
  transform: rotate(180deg);
}

.accordionx-header:hover {
  background: #f7f7f7;
}

/* Inhalt */
.accordionx-content {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  border: 1px solid #e5e5e5;
  border-top: none;

  padding: 0 1.4rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordionx-content.open {
  padding: 1.4rem;
  max-height: 2000px;
}

.accordionx-content h3 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #3c4a52;
}

.accordionx-content p {
  margin: 0.4rem 0 1rem;
  color: #444;
  line-height: 1.65;
}

.accordionx-content hr {
  border: 0;
  border-top: 1px solid #e5e5e5;
  margin: 1.2rem 0;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  text-align: center;
  padding: 20px;
  color: #666;
}
