/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #111827;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

header,
section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   HERO
========================= */

.hero-wrapper {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0.2)),
    url("images/hero_baustelle_wien_opt.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  padding: 3rem 1.5rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.btn-primary,
.btn-secondary {
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: #fbbf24;
  color: #111827;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
}

/* =========================
   TYPO & LAYOUT
========================= */

h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

/* =========================
   GRID & CARDS
========================= */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem 1.4rem;
  background: #f9fafb;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* =========================
   ABOUT (MIT FOTO)
========================= */

.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  width: 150px;
  height: auto;
  border-radius: 50%;
  border: 3px solid #fbbf24;
  flex-shrink: 0;
}

/* =========================
   CHATBOT
========================= */

.chatbot-wrapper {
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 1.25rem 1.4rem;
  max-width: 800px;
}

.chatbot-messages {
  height: 260px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
}

.chatbot-message {
  max-width: 85%;
  margin-bottom: 0.6rem;
  padding: 0.55rem 0.8rem;
  border-radius: 0.8rem;
  font-size: 0.95rem;
}

.chatbot-message.bot {
  background: #111827;
  color: #f9fafb;
}

.chatbot-message.user {
  background: #e5e7eb;
  margin-left: auto;
}

.chatbot-input-row {
  display: flex;
  gap: 0.5rem;
}

.chatbot-input-row input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
}

.chatbot-input-row button {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  border: none;
  cursor: pointer;
}

.chatbot-topic-btn {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  background: #ffffff;
  cursor: pointer;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
  margin-top: 2rem;
}

.contact-link {
  font-weight: 500;
  text-decoration: underline;
}
