/*
Theme Name: Events and Fun
Theme URI: https://example.com/
Author: Dein Name
Author URI: https://example.com/
Description: Onepage-Theme für Events and Fun Rentals – Eventagentur für Events, Festivals & Konzerte. Elementor-kompatibel.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: events-and-fun
*/

:root {
  --blue: #007ACD;
  --dark: #101010;
  --light: #F7F8FA;
  --max-width: 1200px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,.16);
}

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

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--dark);
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header / Nav */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-left img {
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.brand-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.2rem;
  margin-bottom: -3px;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .18s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.nav-phone {
  font-weight: 500;
  white-space: nowrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.23);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  background: #005f9f;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* Layout helpers */

main.site-main {
  margin-top: 72px;
}

.section {
  padding: 4.5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: #858a95;
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #616571;
  max-width: 520px;
  margin: 0 auto;
}

/* Hero */

.hero {
  position: relative;
  padding: 5.5rem 1.5rem 4rem;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.58), rgba(0,0,0,0.25));
  z-index: -2;
}

.hero-bg--image {
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,122,205,0.38) 0, transparent 55%);
  z-index: -1;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34df82;
}

.hero-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 0.8rem;
}

.hero-text {
  max-width: 520px;
  font-size: 1rem;
  color: #e5e7f1;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: #d3d6e2;
  margin-bottom: 1.6rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-note {
  font-size: 0.78rem;
  color: #c8ccda;
}

.hero-right {
  background: rgba(15,18,28,0.77);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-right h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.hero-right p {
  font-size: 0.85rem;
  color: #d0d3e0;
  margin-bottom: 1.1rem;
}

.mini-form {
  display: grid;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.mini-form label {
  display: block;
  margin-bottom: 0.1rem;
}

.mini-form input,
.mini-form select {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.mini-form input::placeholder {
  color: #9da2b2;
}

.hero-right small {
  display: block;
  font-size: 0.7rem;
  color: #a0a4b2;
  margin-top: 0.7rem;
}

/* Leistungen – cards mit Bildern */

.section-grey {
  background: var(--light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card img {
  height: 170px;
  object-fit: cover;
}

.service-body {
  padding: 1.3rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-label {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
}

.service-text {
  font-size: 0.85rem;
  color: #626774;
}

.service-footer {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Projekte / Referenzen */

.projects {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 2rem;
  align-items: flex-start;
}

.project-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.project-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-caption {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  right: 1.4rem;
  color: #fff;
  text-shadow: 0 12px 30px rgba(0,0,0,.8);
}

.project-caption h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.project-caption p {
  font-size: 0.85rem;
  opacity: .9;
}

.project-list {
  display: grid;
  gap: 0.9rem;
}

.project-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.8rem;
  align-items: center;
}

.project-item img {
  width: 90px;
  height: 70px;
  border-radius: 16px;
  object-fit: cover;
}

.project-item-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.project-item-text {
  font-size: 0.8rem;
  color: #676c77;
}

/* Ablauf */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.step {
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem 1rem 1.2rem;
  box-shadow: 0 12px 26px rgba(0,0,0,.07);
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step-text {
  font-size: 0.8rem;
  color: #646978;
}

/* Über uns */

.about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 1rem;
}

.badge {
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--light);
  border: 1px solid #dde0ea;
}

.about p {
  font-size: 0.9rem;
  color: #525663;
  margin-bottom: 0.6rem;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-photo img {
  height: 100%;
  object-fit: cover;
}

/* Kontakt */

.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
}

form {
  background: #fff;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px rgba(0,0,0,.09);
  display: grid;
  gap: 0.9rem;
  font-size: 0.88rem;
}

label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d1d4dd;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,122,205,.18);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  font-size: 0.9rem;
  color: #535766;
}

.contact-info h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.info-block {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dashed #d4d7e0;
}

.info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8b90a0;
  margin-bottom: 0.3rem;
}

/* Footer */

footer.site-footer {
  padding: 1.3rem 1.5rem 1.8rem;
  font-size: 0.8rem;
  color: #7a7f8c;
  border-top: 1px solid #e1e3ec;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.footer-links a {
  margin-left: 1rem;
  color: #7a7f8c;
}

.footer-links a:hover {
  color: var(--blue);
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    max-width: 420px;
    margin-top: 1.4rem;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .about,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  header.site-header {
    padding: 0.1rem 0;
  }
  .nav {
    padding-inline: 1rem;
  }
  .nav-links {
    display: none;
  }
  .nav-right {
    gap: 0.5rem;
  }
  main.site-main {
    margin-top: 68px;
  }
  .section {
    padding-inline: 1rem;
  }
}

@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-bottom: 3.4rem;
  }
  .hero-right {
    padding: 1.4rem 1.3rem;
  }
}
