/* =========================================================
   goforth-events – Stylesheet
   Statischer Nachbau der bisherigen WordPress-Seite (The7-Theme)
   ========================================================= */

:root {
  --gf-accent: #0088bc;
  --gf-accent-dark: #006d97;
  --gf-link: #1ebbf0;
  --gf-heading: #333539;
  --gf-text: #6c6f73;
  --gf-text-light: #969796;
  --gf-body-bg: #f8f8f9;
  --gf-white: #ffffff;
  --gf-footer-bg: #18191b;
  --gf-footer-text: #9aa0a7;
  --gf-border-radius: 2px;
  --gf-font-heading: "Arial", Helvetica, Arial, Verdana, sans-serif;
  --gf-font-body: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
  --gf-box-width: 1340px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--gf-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--gf-text);
  background-color: var(--gf-body-bg);
}

.container-gf {
  width: 100%;
  max-width: var(--gf-box-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gf-font-heading);
  font-weight: 700;
  color: var(--gf-heading);
}

a {
  color: var(--gf-link);
  text-decoration: none;
}
a:hover {
  color: var(--gf-accent-dark);
}

.gf-underline {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--gf-accent);
  margin: 18px auto 0;
}

/* ---------- Header / Navigation ---------- */
.gf-header {
  background: var(--gf-white);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.gf-header .navbar {
  padding: 14px 0;
}

.gf-header .navbar-brand img {
  height: 44px;
  width: auto;
}

.gf-nav .nav-link {
  font-family: var(--gf-font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gf-heading);
  padding: 10px 16px !important;
}
.gf-nav .nav-link:hover,
.gf-nav .nav-link.active {
  color: var(--gf-accent);
}

.navbar-toggler {
  border: 0;
  padding: 4px;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Hero ---------- */
.gf-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}
.gf-hero-dubai {
  background-image: url("../img/hero/hero-dubai.jpg");
}
.gf-hero-inner {
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 60%);
  padding: 60px 0 30px;
}

/* Small hero used on sub-pages (project detail, legal pages) */
.gf-page-hero {
  background: var(--gf-heading);
  color: var(--gf-white);
  padding: 70px 0 40px;
  text-align: center;
}
.gf-page-hero h1 {
  color: var(--gf-white);
  font-size: 34px;
  margin: 0;
}

/* ---------- Sections ---------- */
.gf-section {
  padding: 80px 0;
}
.gf-section-alt {
  background: var(--gf-white);
}
.gf-section-title {
  text-align: center;
  margin-bottom: 50px;
}
.gf-section-title h2 {
  font-size: 34px;
  margin: 0;
}
.gf-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.gf-intro p {
  font-size: 16px;
}

/* ---------- Was uns auszeichnet ---------- */
.gf-feature {
  text-align: center;
  padding: 0 20px;
}
.gf-feature .gf-feature-number {
  font-family: var(--gf-font-heading);
  font-weight: 700;
  font-size: 64px;
  color: #e7e8e9;
  line-height: 1;
  margin-bottom: 10px;
}
.gf-feature h3 {
  color: var(--gf-accent);
  font-size: 20px;
  margin-bottom: 12px;
}

/* ---------- Projekte ---------- */
.gf-project-card {
  background: var(--gf-white);
  border-radius: var(--gf-border-radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.gf-project-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gf-project-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gf-project-card h3 {
  font-size: 16px;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.gf-project-card p {
  font-size: 13px;
  color: var(--gf-text-light);
  flex: 1;
}
.gf-btn-details {
  align-self: flex-start;
  margin-top: 14px;
  font-family: var(--gf-font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gf-white);
  background: var(--gf-accent);
  border: 1px solid var(--gf-accent);
  border-radius: var(--gf-border-radius);
  padding: 9px 18px;
  transition: background .15s ease, color .15s ease;
}
.gf-btn-details:hover {
  background: var(--gf-text-light);
  border-color: var(--gf-text-light);
  color: var(--gf-white);
}

/* ---------- Kunden-Logos ---------- */
.gf-clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.gf-clients img {
  max-height: 70px;
  width: auto;
  filter: grayscale(100%);
  opacity: .7;
  transition: opacity .15s ease, filter .15s ease;
}
.gf-clients img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- Kontakt ---------- */
.gf-contact-photo img {
  width: 100%;
  max-width: 260px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.gf-contact dt {
  font-family: var(--gf-font-heading);
  font-weight: 700;
  color: var(--gf-heading);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .06em;
  margin-top: 18px;
}
.gf-contact dd {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.gf-footer {
  background: var(--gf-footer-bg);
  color: var(--gf-footer-text);
  padding: 34px 0;
  font-size: 13px;
}
.gf-footer a {
  color: var(--gf-footer-text);
}
.gf-footer a:hover {
  color: var(--gf-white);
}
.gf-footer-links a {
  margin-right: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
}
.gf-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gf-accent);
  color: var(--gf-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1040;
}
.gf-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gf-back-to-top:hover {
  background: var(--gf-accent-dark);
  color: var(--gf-white);
}

/* ---------- Projekt-Detailseiten ---------- */
.gf-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}
.gf-project-meta strong {
  color: var(--gf-white);
}
.gf-program-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.gf-program-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e7e8e9;
  font-size: 15px;
}
.gf-program-list li:last-child {
  border-bottom: 0;
}

.gf-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.gf-gallery a {
  display: block;
  border-radius: var(--gf-border-radius);
  overflow: hidden;
}
.gf-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .3s ease;
}
.gf-gallery a:hover img {
  transform: scale(1.05);
}

.gf-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--gf-font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------- Rechtstexte ---------- */
.gf-legal {
  max-width: 820px;
  margin: 0 auto;
}
.gf-legal h2 {
  font-size: 20px;
  margin-top: 40px;
}
.gf-legal h2:first-child {
  margin-top: 0;
}
.gf-legal p, .gf-legal li {
  font-size: 15px;
}

/* ---------- Lightbox ---------- */
.gf-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,10,12,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 30px;
}
.gf-lightbox.is-open {
  display: flex;
}
.gf-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 2px;
}
.gf-lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}

@media (max-width: 991.98px) {
  .gf-section { padding: 56px 0; }
  .gf-hero { min-height: 46vh; }
}
