/*
Theme Name: FESACAMP
Theme URI: https://www.fesacamp.com
Author: FESACAMP
Description: Minimales Theme für FESACAMP – Handwerkerarbeiten aus Fürstenwalde
Version: 1.0
Text Domain: fesacamp
*/

/* ============================================
   Lokale Schriften
   ============================================ */

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/opensans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   Variablen & Reset
   ============================================ */

:root {
  --gold: #C8A84E;
  --gold-light: #E8D9A0;
  --gold-dark: #A68A3E;
  --dark: #2C2C2C;
  --dark-light: #3A3A3A;
  --text: #444;
  --text-light: #777;
  --bg: #FAFAF8;
  --white: #FFFFFF;
  --radius: 8px;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  line-height: 1.3;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-list a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-list a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('img/hero.jpg') center/cover no-repeat;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,44,44,0.82) 0%, rgba(44,44,44,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 60px 24px;
}

.hero-logo {
  width: 120px;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1) brightness(1.1);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,168,78,0.4);
}

/* ---- Intro ---- */
.intro {
  padding: 64px 0;
  background: var(--white);
}

.intro-text {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text);
}

/* ---- Leistungen ---- */
.leistungen {
  padding: 80px 0;
  background: var(--bg);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.leistung-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.leistung-img {
  height: 200px;
  overflow: hidden;
}

.leistung-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.leistung-card:hover .leistung-img img {
  transform: scale(1.05);
}

.leistung-body {
  padding: 24px;
}

.leistung-body h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--dark);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.leistung-body ul {
  list-style: none;
  padding: 0;
}

.leistung-body li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
}

.leistung-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid var(--gold);
}

.leistungen-note {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ---- Kontakt ---- */
.kontakt {
  padding: 80px 0;
  background: var(--white);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.kontakt-info {
  background: var(--dark);
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
}

.kontakt-info h3 {
  color: var(--gold-light);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.contact-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-role {
  color: var(--gold-light);
  margin-bottom: 28px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--white);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--gold-light);
}

/* ---- Contact Form 7 Styling ---- */
.kontakt-form h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.kontakt-form .wpcf7-form p {
  margin-bottom: 16px;
}

.kontakt-form .wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}

.kontakt-form .wpcf7-form input[type="text"],
.kontakt-form .wpcf7-form input[type="email"],
.kontakt-form .wpcf7-form input[type="tel"],
.kontakt-form .wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.kontakt-form .wpcf7-form input:focus,
.kontakt-form .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,168,78,0.15);
}

.kontakt-form .wpcf7-form textarea {
  resize: vertical;
}

.kontakt-form .wpcf7-form-control {
	margin-bottom:10px;
}

.kontakt-form .wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  background: var(--gold);
  color: var(--white);
  transition: all 0.25s;
}

.kontakt-form .wpcf7-form input[type="submit"]:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,168,78,0.4);
}

.kontakt-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kontakt-form .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 4px;
}

.kontakt-form .wpcf7-response-output {
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.9rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
}

.footer-nav a:hover {
  color: var(--gold-light);
}

/* ---- Unterseiten (Impressum, Datenschutz) ---- */
.page-content {
  margin-top: 70px;
  padding: 60px 0 80px;
  background: var(--white);
  min-height: 60vh;
}

.page-content h1 {
  font-size: 2.2rem;
  margin-bottom: 32px;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 12px;
  display: inline-block;
}

.page-content h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--dark);
}

.page-content h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.page-content p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.page-content ul {
  margin: 8px 0 16px 20px;
  line-height: 1.8;
}

.page-content a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.page-content a:hover {
  color: var(--gold);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li {
    border-bottom: 1px solid #eee;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    display: block;
    padding: 12px 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-logo {
    width: 80px;
  }

  .kontakt-form .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
