* { margin: 0; padding: 0; box-sizing: border-box; }

@font-face {
  font-family: 'GrueneTypeNeue';
  src: url('GrueneTypeNeue-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'PTSans';
  src: url('PTSans-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: 'PTSans';
  src: url('PTSans-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal;
}
@font-face {
  font-family: 'PTSans';
  src: url('PTSans-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic;
}
@font-face {
  font-family: 'PTSans';
  src: url('PTSans-BoldItalic.ttf') format('truetype');
  font-weight: 700; font-style: italic;
}

:root {
  /* Offizielle Grünen-Farben */
  --tanne:     rgb(0, 85, 56);
  --klee:      rgb(0, 137, 57);
  --grashalm:  rgb(138, 189, 36);
  --sand:      rgb(245, 241, 233);
  --himmel:    rgb(11, 161, 221);
  --sonne:     rgb(255, 241, 122);

  /* Aliase für den Code */
  --gruen-dark:  var(--tanne);
  --gruen:       var(--klee);
  --gruen-light: rgb(220, 240, 220);
  --gruen-pale:  rgb(240, 248, 235);
  --gelb:        var(--sonne);
  --border:      rgb(200, 225, 200);
  --text:        rgb(28, 28, 28);
  --text-soft:   rgb(60, 60, 60);
  --text-muted:  rgb(110, 110, 110);
  --white:       #ffffff;

  --font-head: 'GrueneTypeNeue', sans-serif;
  --font-body: 'PTSans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* TOPBAR */
.topbar {
  background: var(--tanne);
  padding: 6px 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}
.topbar a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.topbar a:hover { color: var(--sonne); }

/* HEADER */
header {
  background: var(--white);
  border-bottom: 4px solid var(--klee);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* LOGO – reiner Text */
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: normal;
  color: var(--tanne);
  letter-spacing: 0.01em;
}
.logo-main span { color: var(--grashalm); }
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav { display: flex; }
nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 1.1rem;
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid transparent;
  margin-bottom: -4px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}
nav a:hover, nav a.active {
  color: var(--klee);
  border-bottom-color: var(--grashalm);
}

/* PAGE HERO */
.page-hero {
  padding: 4.5rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--klee);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px; height: 1.5px;
  background: currentColor;
  opacity: 0.4;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: normal;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--tanne);
}
.page-hero h1 span { color: var(--klee); }
.page-hero p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  font-family: var(--font-body);
}

/* SONNE DEKO */
.sonne-deco {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* MAIN WRAP */
.main-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.main-wrap.full { grid-template-columns: 1fr; }

/* SECTION HEADING */
.sec-heading {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: normal;
  color: var(--tanne);
  margin-bottom: 1.4rem;
}

/* CARDS */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.card-head {
  padding: 0.9rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: normal;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-head svg { width:18px; height:18px; opacity:0.85; flex-shrink:0; }

/* MEMBERS */
.member-row {
  display: flex; align-items: center; gap: 12px;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--gruen-light);
  transition: background 0.15s;
}
.member-row:last-child { border-bottom: none; }
.member-row:hover { background: var(--sand); }
.m-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gruen-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  color: var(--tanne); flex-shrink: 0;
  border: 2px solid var(--border);
  font-family: var(--font-body);
}
.m-name { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.3; font-family: var(--font-body); }
.m-role { font-size: 0.76rem; color: var(--text-muted); font-family: var(--font-body); }

/* THEMEN */
.thema-row {
  display: flex; align-items: center; gap: 12px;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--gruen-light);
  font-size: 0.9rem; color: var(--text-soft);
  transition: background 0.15s;
  font-family: var(--font-body);
}
.thema-row:last-child { border-bottom: none; }
.thema-row:hover { background: var(--sand); }
.thema-dot { width:8px; height:8px; border-radius:50%; background: var(--klee); flex-shrink:0; }

/* KONTAKT */
.kontakt-row {
  display: flex; align-items: center; gap: 12px;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--gruen-light);
  font-size: 0.88rem; color: var(--text-soft);
  font-family: var(--font-body);
}
.kontakt-row:last-child { border-bottom: none; }
.kontakt-row a { color: var(--klee); font-weight: 700; text-decoration: none; }
.kontakt-row a:hover { text-decoration: underline; }
.kontakt-row svg { width:17px; height:17px; color: var(--klee); flex-shrink:0; }

/* INSTAGRAM FORM */
.post-form {
  background: var(--sand);
  border-radius: 8px; padding: 1.25rem 1.5rem;
  margin-bottom: 1.8rem; border: 1px solid var(--border);
}
.post-form-label {
  font-size: 0.84rem; font-weight: 700;
  color: var(--tanne); margin-bottom: 10px;
  font-family: var(--font-body);
}
.post-form-row { display: flex; gap: 8px; }
.post-form input[type="url"] {
  flex: 1; padding: 10px 16px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.88rem;
  background: white; color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.post-form input[type="url"]:focus { border-color: var(--klee); }
.post-form button {
  background: var(--klee); color: white; border: none;
  border-radius: 6px; padding: 10px 22px;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.post-form button:hover { background: var(--tanne); }
.post-hint { font-size: 0.76rem; color: var(--text-muted); margin-top: 8px; font-family: var(--font-body); }

/* EMBEDS */
.embeds-list { display: flex; flex-direction: column; gap: 1.2rem; }
.embed-card { border-radius: 8px; border: 1px solid var(--border); overflow: hidden; position: relative; background: white; }
.embed-del {
  position: absolute; top: 10px; right: 10px;
  background: white; border: 1px solid var(--border); border-radius: 50%;
  width: 30px; height: 30px; cursor: pointer; font-size: 13px;
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: background 0.15s, color 0.15s;
}
.embed-del:hover { background: #fde; color: #c00; }
.embed-empty {
  padding: 2.5rem; text-align: center; color: var(--text-muted);
  font-size: 0.9rem; border: 2px dashed var(--border);
  border-radius: 8px; line-height: 2; font-family: var(--font-body);
}
.embed-empty strong { display: block; color: var(--text-soft); margin-bottom: 4px; font-weight: 700; }

/* BUTTONS */
.btn-primary {
  background: var(--klee); color: white; text-decoration: none;
  padding: 12px 30px; border-radius: 6px; font-size: 0.92rem; font-weight: 700;
  transition: background 0.2s; display: inline-block;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--tanne); }
.btn-outline {
  background: transparent; color: white; text-decoration: none;
  padding: 12px 30px; border-radius: 6px; font-size: 0.92rem; font-weight: 700;
  border: 2px solid rgba(255,255,255,0.5); transition: border-color 0.2s, background 0.2s;
  display: inline-block; font-family: var(--font-body);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* MITMACHEN */
.mitmachen-card {
  background: var(--tanne); border-radius: 8px;
  padding: 1.6rem 1.25rem; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.mitmachen-card h3 {
  font-family: var(--font-head); font-size: 1.4rem;
  font-weight: normal; margin-bottom: 0.6rem; position: relative; z-index: 1;
}
.mitmachen-card p {
  font-size: 0.88rem; opacity: 0.85; margin-bottom: 1.2rem;
  line-height: 1.6; position: relative; z-index: 1; font-family: var(--font-body);
}
.mitmachen-card a {
  background: var(--sonne); color: var(--tanne); text-decoration: none;
  padding: 10px 26px; border-radius: 6px; font-size: 0.9rem; font-weight: 700;
  display: inline-block; position: relative; z-index: 1; transition: background 0.15s;
  font-family: var(--font-body);
}
.mitmachen-card a:hover { background: #ffe55a; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

/* FOOTER */
footer {
  background: var(--tanne); color: rgba(255,255,255,0.7);
  padding: 2.5rem 2rem 2rem; position: relative; overflow: hidden;
}
.footer-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: white;
  line-height: 1.2;
}
.footer-logo span { color: var(--grashalm); }
.footer-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; font-family: var(--font-body); }
.footer-links a:hover { color: var(--sonne); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--sonne); color: var(--sonne); }
.footer-social svg { width:16px; height:16px; }
.footer-bottom {
  max-width: 1060px; margin: 1.5rem auto 0; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: center;
  position: relative; z-index: 1; font-family: var(--font-body);
}

/* SONNE STRIP */
.sonne-strip {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; overflow: hidden;
}
.sonne-strip img { height: 34px; width: auto; mix-blend-mode: multiply; }
.sonne-strip-text {
  color: var(--tanne); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  font-family: var(--font-body);
}

/* INSTA EXT */
.insta-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.5rem; }
.insta-top .sec-heading { margin:0; }
.insta-ext {
  font-size: 0.83rem; color: var(--klee); text-decoration: none; font-weight: 700;
  display: flex; align-items: center; gap: 5px; padding: 7px 16px;
  border: 2px solid var(--klee); border-radius: 6px; transition: background 0.15s;
  font-family: var(--font-body);
}
.insta-ext:hover { background: var(--gruen-light); }

@media (max-width: 780px) {
  .main-wrap { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.2rem; }
  nav { display: none; }
  .topbar { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
