/* ---------- ROOT & RESET ---------- */
:root {
  --bg: #1a1a1a;
  --text: #ffffff;
  --accent: #D2691E;
  --card: #2a2a2a;
  --border: #444444;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--accent);
  text-align: center;
  margin: 2rem 0 0.5rem;
}

a {
  color: var(--text);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

/* ---------- HEADER ---------- */
header {
  background: rgba(26, 26, 26, 0.95);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url(images/hintergrundbild.jpg) center/cover no-repeat;
  padding: 10rem 0 6rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  display: inline-block;
  transition: background 0.3s;
}

.btn:hover {
  background: #b8580f;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------- BEFORE/AFTER SLIDER ---------- */
.hint {
  color: #ffffff;
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
  user-select: none;
  cursor: default;
}

.slider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.slider-wrapper {
  text-align: center;
}

.label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--accent);
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.slider .after {
  clip-path: inset(0 0 0 50%);
}

.slider .range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  cursor: ew-resize;
  appearance: none;
}

.slider .range::-webkit-slider-thumb {
  appearance: none;
  width: 4px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.slider .range::-moz-range-thumb {
  width: 4px;
  height: 100%;
  background: #fff;
  border: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.avatar {
  width: 100px;
  height: 100px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
}

.role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--card);
  color: var(--text);
}

.contact-info .info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: #111;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.socials a {
  color: var(--accent);
  font-size: 1.2rem;
}

footer ul {
  list-style: none;
}

footer a:hover {
  color: var(--accent);
}

/* Eigenwerbung */
.own-site {
  text-align: center;
  font-size: 0.8rem;
  margin: 1rem 0 0.5rem;
}

.own-site a {
  color: var(--accent);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 1rem;
}

/* ---------- MODAL ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: var(--card);
  margin: 10% auto;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  nav ul {
    display: none;
    flex-direction: column;
    background: var(--bg);
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
  }
  nav ul.show {
    display: flex;
  }
  .btn-group {
    flex-direction: column;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}