/*
Theme Name: Sygma v3
Description: Moderner One-Pager für Sygma – baukastenartig über WordPress-Felder bearbeitbar.
Version: 1.0
Author: Sygma
Text Domain: sygma
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 6%;
  background: var(--sygma-nav-bg-alpha, rgba(255,255,255,0.96));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  z-index: 100;
}
.logo { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; color: #0f0f0f; text-decoration: none; }
.logo-img { text-decoration: none; display: flex; align-items: center; }
.logo-img img { height: 38px; width: auto; display: block; filter: brightness(0) invert(0); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: #555; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: #1a1a1a; }
.nav-cta { background: var(--sygma-akzent, #b8975a) !important; color: #fff !important; padding: 0.5rem 1.2rem !important; border-radius: 6px; font-size: 0.85rem !important; font-weight: 500; }
.nav-cta:hover { background: var(--sygma-hover, #9e7e45) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: #1a1a1a; }

section { padding: 7rem 6%; }

/* HERO */
#hero { min-height: 100vh; display: flex; align-items: center; padding-top: 8rem; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.hero-inner { max-width: 680px; }
.hero-eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #888; margin-bottom: 1.5rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: #0f0f0f; }
h1 span { color: #bbb; }
.hero-sub { font-size: 1.1rem; color: #555; max-width: 480px; line-height: 1.7; margin-bottom: 2.5rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--sygma-akzent, #b8975a); color: #fff; padding: 0.8rem 1.8rem; border-radius: 6px; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--sygma-hover, #9e7e45); color: #fff; }
.btn-secondary { color: #1a1a1a; padding: 0.8rem 1.8rem; border-radius: 6px; text-decoration: none; font-size: 0.95rem; border: 1px solid #ddd; transition: border-color 0.2s; display: inline-block; }
.btn-secondary:hover { border-color: #aaa; }

/* LEISTUNGEN */
#leistungen { background: #fff; }
.section-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #aaa; margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 3.5rem; color: #0f0f0f; max-width: 520px; line-height: 1.25; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { border: 1px solid #ebebeb; border-radius: 10px; padding: 2rem; background: #fff; transition: border-color 0.2s; }
.card:hover { border-color: #ccc; }
.card-num { font-size: 0.75rem; font-weight: 500; color: #bbb; margin-bottom: 1.2rem; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; color: #111; }
.card p { font-size: 0.9rem; color: #666; line-height: 1.65; }

/* ÜBER UNS */
#ueber { background: var(--sygma-ueber-bg, #0f0f0f); color: #fff; }
#ueber .section-label { color: #555; }
#ueber h2 { color: #fff; }
#ueber .ueber-text { color: #aaa; max-width: 580px; font-size: 1.05rem; line-height: 1.8; }
.stats { display: flex; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.stat-num { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; color: #fff; display: block; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.85rem; color: #555; }

/* KONTAKT */
#kontakt { background: #fafafa; border-top: 1px solid #f0f0f0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info p.sub { color: #666; font-size: 0.95rem; margin-bottom: 2rem; margin-top: 1rem; }
.contact-detail { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-detail a { color: #1a1a1a; text-decoration: none; font-size: 0.9rem; }
.contact-detail a:hover { text-decoration: underline; }
.contact-detail span { color: #888; font-size: 0.9rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; color: #888; margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.form-group input, .form-group textarea { width: 100%; border: 1px solid #e0e0e0; border-radius: 6px; padding: 0.7rem 0.9rem; font-family: inherit; font-size: 0.9rem; color: #1a1a1a; background: #fff; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: #999; }
.form-group textarea { height: 110px; resize: vertical; }
.btn-submit { background: var(--sygma-akzent, #b8975a); color: #fff; border: none; padding: 0.8rem 1.8rem; border-radius: 6px; font-size: 0.9rem; font-weight: 500; cursor: pointer; font-family: inherit; width: 100%; transition: background 0.2s; }
.btn-submit:hover { background: var(--sygma-hover, #9e7e45); }

/* FOOTER */
footer { padding: 2rem 6%; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #bbb; flex-wrap: wrap; gap: 1rem; }
footer a { color: #bbb; text-decoration: none; }
footer a:hover { color: #888; }

/* SUCCESS */
.form-success { background: #f0faf4; border: 1px solid #c3e6cb; border-radius: 6px; padding: 1rem 1.2rem; color: #2d6a4f; font-size: 0.9rem; margin-bottom: 1rem; }

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid #eee; padding: 1rem 6%; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  section { padding: 5rem 6%; }
}

.custom-logo { height: 40px; width: auto; display: block; }
.logo-img img { height: 40px; width: auto; display: block; filter: none; }

