/* ========================================
   Oldtimerei – Stylesheet
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0e0b08;
  --text:      #faf3e8;
  --text-muted:#e2d2bc;
  --accent:    #d9a040;
  --accent-dim:rgba(217, 160, 64, 0.25);
  --border:    rgba(217, 160, 64, 0.4);
  --overlay:       rgba(8, 5, 2, 0.65);
  --whatsapp-green: #25D366;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/oldtimerei_startseite.jpg') center 40% / contain no-repeat;
  background-color: #1a120a;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-pre {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-logo {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.btn-contact {
  margin-top: 1.5rem;
  padding: 0.9rem 2.75rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-contact:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ---- Footer ---- */

.footer {
  background: #080503;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-col {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-muted);
}

.footer-col strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin: 0.5rem 0;
}

.footer-social a {
  line-height: 0;
}

.social-icon,
.whatsapp-icon {
  width: 1em;
  height: 1em;
}

.whatsapp-icon {
  flex-shrink: 0;
}

.footer-col .footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--whatsapp-green);
  transition: opacity 0.2s;
}

.footer-col .footer-whatsapp:hover {
  opacity: 0.8;
  color: var(--whatsapp-green);
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  color: #9a8a78;
  margin-top: 1.25rem;
  letter-spacing: 0.05em;
}

/* ---- About / Über ---- */

.about {
  background: #0e0b08;
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: flex-start;
}

.about-text {
  flex: 2;
  min-width: 280px;
}

.about-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.about-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-text em {
  color: var(--accent);
  font-style: normal;
}

.btn-contact--dark {
  margin-top: 1.25rem;
}

.about-services {
  flex: 1;
  min-width: 200px;
  padding-top: 0.25rem;
}

.services-title {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.services-list li:last-child {
  border-bottom: none;
}

.service-icon {
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- Modal ---- */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal-box {
  background: #14100c;
  border: 1px solid var(--border);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  position: relative;
}

.modal-box--wide {
  max-width: 640px;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-box h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.modal-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}

.modal-box p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.modal-intro {
  margin-bottom: 1.5rem;
}

/* ---- Form ---- */

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #0e0b08;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-status {
  font-size: 1rem;
  min-height: 1.2em;
  margin-bottom: 0.75rem;
}

.form-status.success { color: #7ecb7e; }
.form-status.error   { color: #e07070; }

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--accent);
  border: none;
  color: var(--bg);
  font-size: 1rem;
  font-family: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.85;
}

/* ---- Responsive ---- */

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .modal-box {
    padding: 1.75rem 1.25rem;
  }
}
