/*
Theme Name: GSC Landesbergen
Template: twentyeleven
Author: Gleitschirmclub Landesbergen e.V.
Description: Child-Theme für den Gleitschirmclub Landesbergen e.V. – moderne Startseite, Footer und Typografie auf Basis von Twenty Eleven.
Version: 1.1.0
*/

/* ---------------------------------------------------------------
   Grundlagen
   --------------------------------------------------------------- */
:root {
  --gsc-ink: #14202b;
  --gsc-ink-soft: #42525f;
  --gsc-accent: #1d6fa5;
  --gsc-accent-dark: #15547d;
  --gsc-sun: #e8a33d;
  --gsc-line: #e3e8ec;
  --gsc-bg: #f6f8fa;
  --gsc-radius: 10px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gsc-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

#page { max-width: 1040px; }

#branding { padding-bottom: 0; }

#site-title a,
#site-description { color: var(--gsc-ink); }

#access {
  background: var(--gsc-ink);
  border-radius: 0;
  box-shadow: none;
}

#access a { color: #fff; }

#access li:hover > a,
#access ul ul :hover > a,
#access a:focus { background: var(--gsc-accent); }

#access .current-menu-item > a,
#access .current_page_item > a { background: var(--gsc-accent-dark); }

/* ---------------------------------------------------------------
   Startseite
   --------------------------------------------------------------- */
.home #branding a img,
.home #branding > a { display: none; }

.home #branding { padding: 26px 0 18px; border-top: 0; }

.home #branding #searchform { display: none; }

.home #main { padding-top: 18px; }
.gsc-hero {
  position: relative;
  margin: 0 0 34px;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--gsc-radius);
  overflow: hidden;
  background: #1b2b38 center / cover no-repeat;
}

.gsc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 30, 0.15) 0%, rgba(10, 20, 30, 0.82) 100%);
}

.gsc-hero-inner {
  position: relative;
  z-index: 2;
  padding: 42px 44px;
  max-width: 680px;
  color: #fff;
}

.gsc-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  color: #fff;
}

.gsc-hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.gsc-lead {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.gsc-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.gsc-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--gsc-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.gsc-btn:hover { background: var(--gsc-accent-dark); transform: translateY(-1px); }

.gsc-btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.gsc-btn-ghost:hover { background: rgba(255, 255, 255, 0.26); }

/* Kacheln */
.gsc-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 44px;
}

.gsc-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gsc-line);
  border-radius: var(--gsc-radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gsc-tile:hover { box-shadow: 0 12px 28px rgba(20, 32, 43, 0.12); transform: translateY(-2px); }

.gsc-tile-img {
  height: 150px;
  background: #dfe6ea center / cover no-repeat;
}

.gsc-tile-body { padding: 18px 20px 22px; }

.gsc-tile h2 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--gsc-ink);
}

.gsc-tile p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gsc-ink-soft);
}

.gsc-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--gsc-accent);
}

.gsc-tile:hover .gsc-more { text-decoration: underline; }

/* Aktuelles */
.gsc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gsc-line);
}

.gsc-section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--gsc-ink);
}

.gsc-section-head a { font-size: 14px; font-weight: 600; color: var(--gsc-accent); text-decoration: none; }

.gsc-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 46px;
}

.gsc-news-item {
  display: block;
  padding: 20px;
  border: 1px solid var(--gsc-line);
  border-radius: var(--gsc-radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gsc-news-item:hover { box-shadow: 0 12px 28px rgba(20, 32, 43, 0.12); transform: translateY(-2px); }

.gsc-news-date {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b9aa5;
  margin-bottom: 8px;
}

.gsc-news-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--gsc-ink);
}

.gsc-news-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gsc-ink-soft);
}

/* Abschlussband */
.gsc-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 34px;
  margin: 0 0 10px;
  border-radius: var(--gsc-radius);
  background: var(--gsc-ink);
  color: #fff;
}

.gsc-band h2 { margin: 0 0 6px; font-size: 21px; color: #fff; font-weight: 700; }
.gsc-band p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.78); }
.gsc-band .gsc-btn { background: var(--gsc-sun); color: #20303d !important; }
.gsc-band .gsc-btn:hover { background: #f0b559; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
#colophon.gsc-footer {
  margin-top: 40px;
  padding: 0;
  background: #0f1a24;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  border-radius: var(--gsc-radius) var(--gsc-radius) 0 0;
}

.gsc-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
  padding: 34px 34px 26px;
}

.gsc-footer h3 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.gsc-footer p { margin: 0 0 10px; }
.gsc-footer p:last-child { margin-bottom: 0; }

.gsc-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.gsc-footer a:hover { color: #fff; text-decoration: underline; }

.gsc-footer ul { list-style: none; margin: 0; padding: 0; }
.gsc-footer li { margin: 0 0 7px; }

.gsc-footer-bottom {
  padding: 16px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---------------------------------------------------------------
   Responsiv
   --------------------------------------------------------------- */
@media (max-width: 900px) {
  .gsc-tiles, .gsc-news { grid-template-columns: 1fr 1fr; }
  .gsc-footer-inner { grid-template-columns: 1fr 1fr; }
  .gsc-hero h1 { font-size: 32px; }
}

@media (max-width: 620px) {
  .gsc-tiles, .gsc-news { grid-template-columns: 1fr; }
  .gsc-footer-inner { grid-template-columns: 1fr; }
  .gsc-hero { min-height: 320px; }
  .gsc-hero-inner { padding: 26px 22px; }
  .gsc-hero h1 { font-size: 26px; }
  .gsc-lead { font-size: 15.5px; }
  .gsc-band { padding: 24px 22px; }
  #site-title a { font-size: 21px; line-height: 1.2; }
  #access .menu { display: flex; flex-wrap: wrap; }
  #access li { width: auto; }
}