/* ============================================================
   Graupapageien – Subdomain Stylesheet
   Natur-inspiriertes Design: Waldgrün, warme Töne, luftig
   ============================================================ */

:root {
  --gp-green:       #2D6A4F;
  --gp-green-mid:   #40916C;
  --gp-green-light: #74C69D;
  --gp-green-pale:  #D8F3DC;
  --gp-cream:       #F8FAF5;
  --gp-text:        #1B2D1F;
  --gp-text-muted:  #5A7060;
  --gp-accent:      #B7950B;
  --gp-white:       #FFFFFF;
  --gp-border:      #C8E6C9;
  --gp-shadow:      rgba(45, 106, 79, 0.12);
}

/* ── Base ── */
body {
  background-color: var(--gp-cream);
  color: var(--gp-text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--gp-green); text-decoration: none; }
a:hover { color: var(--gp-green-mid); text-decoration: underline; }

/* ── Navbar ── */
.gp-navbar {
  background: var(--gp-green);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.gp-navbar .navbar-brand {
  color: var(--gp-white) !important;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gp-navbar .navbar-brand .brand-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.gp-navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem !important;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.gp-navbar .nav-link:hover,
.gp-navbar .nav-link.active {
  color: var(--gp-white) !important;
  background: rgba(255,255,255,0.15);
}

.gp-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.gp-navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* ── Hero ── */
.gp-hero {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 45%, #40916C 100%);
  color: var(--gp-white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.gp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.gp-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--gp-green-pale);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.gp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.gp-hero p.lead {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 600px;
  line-height: 1.7;
}

.gp-hero-btn-primary {
  background: var(--gp-white);
  color: var(--gp-green) !important;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
  display: inline-block;
}

.gp-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  color: var(--gp-green) !important;
}

.gp-hero-btn-outline {
  background: transparent;
  color: var(--gp-white) !important;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none !important;
  display: inline-block;
}

.gp-hero-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gp-white);
  color: var(--gp-white) !important;
}

.gp-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.gp-hero-stat {
  text-align: center;
}

.gp-hero-stat .stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gp-green-pale);
}

.gp-hero-stat .stat-label {
  font-size: 0.75rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.gp-hero-bird {
  font-size: 9rem;
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
  animation: gentle-float 4s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── Quick Facts Strip ── */
.gp-facts {
  background: var(--gp-white);
  border-bottom: 1px solid var(--gp-border);
  padding: 1.4rem 0;
}

.gp-fact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 1rem;
  border-right: 1px solid var(--gp-border);
}

.gp-fact-item:last-child { border-right: none; }

.gp-fact-item .fact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.gp-fact-item .fact-text {
  font-size: 0.82rem;
  color: var(--gp-text-muted);
  line-height: 1.3;
}

.gp-fact-item .fact-text strong {
  display: block;
  color: var(--gp-text);
  font-size: 0.88rem;
}

/* ── Section Headers ── */
.gp-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.gp-section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gp-text);
  margin: 0;
}

.gp-section-header .section-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--gp-green-light), transparent);
  border-radius: 2px;
}

.gp-section-header .section-icon {
  font-size: 1.4rem;
  color: var(--gp-green);
}

/* ── Category Pills ── */
.gp-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gp-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--gp-border);
  color: var(--gp-text-muted);
  background: var(--gp-white);
  text-decoration: none !important;
  transition: all 0.2s;
}

.gp-cat-pill:hover,
.gp-cat-pill.active {
  background: var(--gp-green);
  border-color: var(--gp-green);
  color: var(--gp-white) !important;
}

/* ── Article Cards ── */
.gp-article-card {
  background: var(--gp-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gp-border);
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.gp-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--gp-shadow);
}

.gp-article-card .card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gp-green) 0%, var(--gp-green-mid) 100%);
  flex-shrink: 0;
}

.gp-article-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gp-article-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.gp-article-card .card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.4;
}

.gp-article-card .card-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gp-white);
  color: var(--gp-green);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gp-article-card .card-body {
  padding: 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gp-article-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gp-text);
  margin-bottom: 0.6rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-article-card .card-excerpt {
  font-size: 0.875rem;
  color: var(--gp-text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gp-article-card .card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.3rem;
  border-top: 1px solid var(--gp-border);
  font-size: 0.78rem;
  color: var(--gp-text-muted);
  background: var(--gp-cream);
}

.gp-article-card .read-more-link {
  color: var(--gp-green);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
}

.gp-article-card .read-more-link:hover { text-decoration: underline; }

/* ── Featured Article ── */
.gp-featured-card {
  background: var(--gp-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gp-border);
  box-shadow: 0 4px 20px var(--gp-shadow);
  display: flex;
  min-height: 280px;
}

.gp-featured-card .featured-img {
  width: 45%;
  background: linear-gradient(135deg, #1B4332, #40916C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.gp-featured-card .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-featured-card .featured-body {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gp-featured-badge {
  display: inline-block;
  background: var(--gp-green-pale);
  color: var(--gp-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.gp-featured-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gp-text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.gp-featured-card p {
  color: var(--gp-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.gp-btn-primary {
  display: inline-block;
  background: var(--gp-green);
  color: var(--gp-white) !important;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none !important;
  font-size: 0.88rem;
  transition: background 0.2s, transform 0.2s;
}

.gp-btn-primary:hover {
  background: var(--gp-green-mid);
  transform: translateY(-1px);
}

.gp-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gp-green) !important;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--gp-green);
  text-decoration: none !important;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.gp-btn-outline:hover {
  background: var(--gp-green);
  color: var(--gp-white) !important;
}

/* ── Category Cards (home) ── */
.gp-cat-card {
  background: var(--gp-white);
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid var(--gp-border);
  text-decoration: none !important;
  display: block;
  transition: all 0.25s;
  height: 100%;
}

.gp-cat-card:hover {
  border-color: var(--gp-green);
  box-shadow: 0 6px 20px var(--gp-shadow);
  transform: translateY(-3px);
}

.gp-cat-card .cat-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.gp-cat-card .cat-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gp-text);
  margin-bottom: 0.4rem;
}

.gp-cat-card .cat-count {
  font-size: 0.8rem;
  color: var(--gp-text-muted);
}

.gp-cat-card .cat-arrow {
  margin-top: 0.75rem;
  color: var(--gp-green);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── Article Page ── */
.gp-article-hero {
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  color: var(--gp-white);
  padding: 3.5rem 0 3rem;
}

.gp-article-hero .breadcrumb-item a { color: var(--gp-green-pale); }
.gp-article-hero .breadcrumb-item.active { color: rgba(255,255,255,0.65); }
.gp-article-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

.gp-article-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gp-article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.85;
}

.gp-article-meta-bar .meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gp-article-meta-bar .meta-cat-badge {
  background: var(--gp-green-pale);
  color: var(--gp-green);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gp-green) !important;
}

/* ── Article Content ── */
.gp-article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gp-text);
}

.gp-article-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gp-green);
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gp-green-pale);
}

.gp-article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gp-text);
  margin: 1.5rem 0 0.5rem;
}

.gp-article-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.gp-article-content blockquote {
  border-left: 4px solid var(--gp-green-light);
  background: var(--gp-green-pale);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  color: var(--gp-text-muted);
  font-style: italic;
}

.gp-article-content ul, .gp-article-content ol {
  padding-left: 1.5rem;
}

.gp-article-content li { margin-bottom: 0.4rem; }

.gp-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.gp-article-content th {
  background: var(--gp-green);
  color: var(--gp-white);
  padding: 0.7rem 1rem;
  text-align: left;
}

.gp-article-content td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--gp-border);
}

.gp-article-content tr:hover td { background: var(--gp-cream); }

/* ── Sidebar ── */
.gp-sidebar-box {
  background: var(--gp-white);
  border-radius: 12px;
  border: 1px solid var(--gp-border);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.gp-sidebar-box h5 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gp-green);
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gp-green-pale);
}

/* ── Affiliate Cards ── */
.gp-affiliate-card {
  background: var(--gp-white);
  border: 1.5px solid var(--gp-border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.gp-affiliate-card:hover {
  box-shadow: 0 8px 28px var(--gp-shadow);
  transform: translateY(-4px);
}

.gp-affiliate-card .aff-img-wrap {
  height: 160px;
  background: var(--gp-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}

.gp-affiliate-card .aff-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.gp-affiliate-card .aff-body {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gp-affiliate-card .aff-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gp-text);
  margin-bottom: 0.4rem;
}

.gp-affiliate-card .aff-desc {
  font-size: 0.82rem;
  color: var(--gp-text-muted);
  flex: 1;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.gp-affiliate-card .aff-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gp-green);
  margin-bottom: 0.75rem;
}

.gp-affiliate-card .aff-btn {
  display: block;
  text-align: center;
  background: var(--gp-green);
  color: var(--gp-white) !important;
  padding: 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: background 0.2s;
}

.gp-affiliate-card .aff-btn:hover { background: var(--gp-green-mid); }

.gp-affiliate-card .aff-attribution {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gp-text-muted);
  padding: 0.5rem;
  border-top: 1px solid var(--gp-border);
}

/* ── Category Page ── */
.gp-cat-hero {
  background: linear-gradient(135deg, #1B4332, #40916C);
  color: var(--gp-white);
  padding: 3rem 0;
}

.gp-cat-hero h1 { font-size: 2rem; font-weight: 800; }

/* ── Footer ── */
.gp-footer {
  background: #1B2D1F;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.gp-footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gp-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.gp-footer p { font-size: 0.85rem; line-height: 1.6; }

.gp-footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gp-green-light);
  margin-bottom: 0.75rem;
}

.gp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gp-footer ul li { margin-bottom: 0.4rem; }

.gp-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.gp-footer a:hover { color: var(--gp-green-light); }

.gp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.gp-footer-version a {
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
}

/* ── Breadcrumb ── */
.gp-breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .gp-hero { padding: 3rem 0 2.5rem; }
  .gp-hero-bird { font-size: 5rem; }
  .gp-hero-stats { gap: 1.5rem; }
  .gp-featured-card { flex-direction: column; }
  .gp-featured-card .featured-img { width: 100%; height: 200px; }
  .gp-fact-item { border-right: none; border-bottom: 1px solid var(--gp-border); }
  .gp-fact-item:last-child { border-bottom: none; }
}
