/* --------
   Lakefly – Layout
   - Top-Leiste startet auf Nav-Höhe (unter dem Logo)
   - Navigation wieder "eingesetzt" (graue Box nicht bis zum Rand)
   -------- */

/* === Poppins Schriftarten === */
@font-face {
  font-family: "Poppins";
  src: url("font/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("font/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("font/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("font/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root{
  --page-max: 1150px;
  --bg: #f3f3f3;
  --panel: #ffffff;
  --text: #555555;
  --muted: #6b6b6b;

  --nav-bg: #363839;
  --nav-text: #ffffff;
  --nav-active: #727200;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  
  background-image: url("img/hintergrund.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: scroll;
  background-color: #eaeaea;
}

/* Grid: 2 Spalten, 3 Zeilen */
.page{
  max-width: var(--page-max);
  margin: 20px auto 30px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "brand spacer"
    "nav content"
    "footer footer";
}

/* Logo */
.brand{
  grid-area: brand;
  padding: 16px 14px 12px;
  background: #ffffff;
}
.brand__link{ display: inline-block; text-decoration: none; }
.brand__logo{ display: block; max-width: 100%; height: auto; }
.spacer{ grid-area: spacer; }

/* Header-Text rechts neben dem Logo (Desktop) */
.spacer.headerinfo{
  grid-area: spacer;
  padding: 16px 26px 12px; /* identisch zur Logo-Box */
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* rechtsbündig am Rand */
}

.headerinfo__inner{
  text-align: right;
  line-height: 1.2;
}

.headerinfo__line1{
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

.headerinfo__line2,
.headerinfo__line3{
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.headerinfo__mail{
  color: inherit;
  text-decoration: none;
}

.headerinfo__mail:hover{
  text-decoration: underline;
}


/* Navigation: NICHT vollflächig grau – nur die Elemente (Toggle/Liste) */
.nav{
  grid-area: nav;
  padding: 0 14px 18px; /* sorgt für Abstand zum Rand wie zuvor */
  background: #ffffff;
}

/* Toggle nur auf Mobile sichtbar */
.nav__toggle{
  display: none;
  width: 100%;
  border: 0;
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 10px 12px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.nav__toggle-icon{ display: inline-block; width: 26px; }

/* Liste */
.nav__list{
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--nav-bg); /* graue Box (eingesetzt durch .nav padding) */
}

/* Links */
.nav__link{
  display: block;
  padding: 8px 10px;
  text-decoration: none;
  color: var(--nav-text);
  background: var(--nav-bg);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.nav__link:not(.nav__link--active):not(.nav__link--home):hover{ filter: brightness(1.7); }
.nav__link--active:hover { background: #e6e6e6; filter: none; }
.nav__link--active{
  background: #e6e6e6;
  color: #222;
  font-weight: 700;
}

/* Startseite soll immer grün bleiben */
.nav__link--home{
  background: var(--nav-active);
  color: #ffffff;
  font-weight: 700;
}

/* Content */
.content{
  grid-area: content;
  padding: 0 18px 22px;
  background: #ffffff;
}

/* Toplinks */
.content__toplinks{
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 8px;
  background: #f0f0f0;
  color: var(--muted);
  font-size: 13px;
}
.content__toplinks-left{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.content__toplinks-right{
  margin-left: auto;
  font-weight: 600;
}
.toplink{ color: var(--muted); text-decoration: none; }
.toplink:hover{ text-decoration: underline; }
.toplink__sep{ opacity: .7; }

/* Hero */
.hero{ margin: 12px 0; background: #fafafa; }
.hero__img{ width: 100%; height: auto; display: block; }

.hero__caption {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  text-align: left;
  font-style: italic;
}

/* Text */
.copy h1{
  font-size: 20px;
  margin: 10px 0 8px;
  font-weight: 600;
  color: #555555;
}

.copy h2{
  font-size: 16px;
  margin: 10px 0 8px;
  font-weight: 600;
  color: #555555;
}
.copy p{
  margin: 0 0 10px;
  font-size: 13px;
  color: #555555;
  text-align: justify;
  hyphens: auto;
  line-height: 1.8;
}
.news h2{
  margin: 14px 0 6px;
  color: #555555;
  font-size: 16px;
  letter-spacing: .3px;
}
.news p{ margin: 0; color: #1f1f1f; }

.content-list {
  font-size: inherit;        /* übernimmt exakt die Textgröße */
  line-height: inherit;      /* gleiche Zeilenhöhe wie Fließtext */
  margin: 0 0 1em 0;
  padding-left: 1.2em;       /* dezenter Einzug */
}

.content-list li {
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 6px 0;
}

/* Einleitungsabsatz (optional) */
.copy .lead{
  margin-top: 6px;
}

/* Listen exakt wie Fließtext behandeln */
.copy ul,
.copy ol {
  font-size: 13px;        /* identisch mit Absatz */
  line-height: 1.6;
  margin: 0 0 10px 0;
  padding-left: 18px;     /* dezenter Einzug */
}

.copy li {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 4px 0;
}

/* Taxonomie-Block (Definition List) */
.taxonomy{
  margin: 10px 0 14px;
  padding: 10px 12px;
  background: #f7f7f7;
  border: 1px solid #e7e7e7;
  font-size: 13px;
}

.taxonomy div{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 4px 0;
}

.taxonomy dt{
  font-weight: 600;
  color: #555;
}

.taxonomy dd{
  margin: 0;
  color: #555;
}

/* Hinweis-/Quellenzeile */
.copy .note{
  margin-top: 14px;
  font-size: 12px;
  color: #777;
}


/* Footer */
.footer{
  grid-area: footer;
  padding: 14px 18px;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
  background: #363839;
}
.footer__inner{
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__link{ color: #ffffff; text-decoration: none; }
.footer__link:hover{ text-decoration: underline; }
.footer__sep{ padding: 0 6px; opacity: .7; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* Textlinks im Content-Bereich */
.copy a {
  color: #6e7a1c;              /* dein Grünton */
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.copy a:hover {
  color: #4f5c15;              /* dunkler beim Hover */
  text-decoration-thickness: 2px;
  text-decoration: underline;
}

/* -------- Mobile -------- */
@media (max-width: 768px){
  .spacer{ display: none; }
  /* Header-Text auf Mobile ausblenden (nur Desktop) */
  .spacer.headerinfo{ display: none !important; }


  body{ background: var(--bg); }

  .page{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "brand"
      "nav"
      "content"
      "footer";
    margin: 0;
  }

  .brand{
    text-align: center;
    padding: 14px 14px 8px;
  }
  .brand__logo{ 
	margin: 0 auto; 
	width: 80%;
  	max-width: 260px;}

  .nav{
    padding: 0 14px 0; /* nav-box weiterhin nicht bis zum Rand */
  }

  .nav__toggle{ display: block; 
	  font-size: 13px; }

  .nav__list{ display: none; }
  .nav.nav--open .nav__list{ display: block; }

  .nav__link{ padding: 10px 12px; font-size: 14px; }

  .content{ padding: 14px; }
}
