/* ================================================
   style.css – Lukman Hussein
   Farben & Schrift wie auf den Screenshots
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── RESET & VARIABLEN ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #0d1117;
  --bg-mid:       #111820;
  --bg-card:      #151d28;
  --bg-card2:     #1a2332;
  --accent:       #00bcd4;
  --accent-dark:  #0097a7;
  --accent-glow:  rgba(0, 188, 212, 0.12);
  --text:         #e8edf5;
  --text-muted:   #7a8a9e;
  --text-dim:     #4a5568;
  --border:       rgba(255, 255, 255, 0.06);
  --border-accent:rgba(0, 188, 212, 0.25);
  --radius:       10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* Mobile Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.2rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: 0.25s;
}

/* ─── SEITENINHALT ─── */
.page {
  padding-top: 60px;
  min-height: 100vh;
}

/* ─── HERO (Startseite) ─── */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2.5rem 4rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 120, 140, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #0d1f2d 0%, var(--bg) 60%);
  position: relative;
  overflow: hidden;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary:hover {
  background: #26c6da;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

/* ─── LEISTUNGEN (Startseite) ─── */
.leistungen-section {
  background: var(--bg);
  padding: 5rem 2.5rem;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.card-icon {
  width: 46px;
  height: 46px;
  background: rgba(0, 188, 212, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ─── ÜBER MICH SEITE ─── */
.about-page {
  padding: 5rem 2.5rem;
}

.page-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.about-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.15;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
  max-width: 680px;
}

.about-text p strong {
  color: var(--text);
  font-weight: 500;
}

.offer-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  max-width: 600px;
}

.offer-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.offer-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300bcd4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

.about-cta {
  margin-top: 2.5rem;
}

/* ─── KONTAKT SEITE ─── */
.kontakt-page {
  padding: 5rem 2.5rem;
}

.kontakt-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.kontakt-page .intro {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 500px;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.email-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  text-decoration: none;
}

.email-line svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 560px;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

input,
textarea {
  width: 100%;
  background: var(--bg-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(0, 188, 212, 0.04);
}

input.error,
textarea.error {
  border-color: #e53e3e;
}

.error-msg {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 0.3rem;
  display: none;
}

.error-msg.show { display: block; }

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

.form-submit {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.25rem;
}

.form-submit:hover {
  background: #26c6da;
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  display: none;
}

.form-message.success {
  background: rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.3);
  color: var(--accent);
  display: block;
}

.form-message.error-state {
  background: rgba(229,62,62,0.08);
  border: 1px solid rgba(229,62,62,0.3);
  color: #e53e3e;
  display: block;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
}

footer a:hover { color: var(--text-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: #0d1117;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  .nav-links.open { transform: translateY(0); }

  .hero { padding: 4rem 1.25rem 3rem; }
  .leistungen-section { padding: 3.5rem 1.25rem; }
  .about-page { padding: 4rem 1.25rem; }
  .kontakt-page { padding: 4rem 1.25rem; }
}
