:root {
  --c-primary: #a2182e;
  --c-primary-hover: #7f1224;
  --c-accent: #da2129;
  --c-text: #333333;
  --c-muted: #6a6a6a;
  --c-line: #e4e4e4;
  --c-bg: #f7f5f2;
  --c-card: #ffffff;
  --radius: 10px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font: 'Roboto', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-accent); }

h1, h2, h3 { font-weight: 500; margin: 0 0 .6em; color: #1c1c1c; line-height: 1.2; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo img { height: 44px; width: auto; }
.header-nav a {
  font-size: .95rem;
  color: var(--c-muted);
  letter-spacing: .02em;
}
.header-nav a:hover { color: var(--c-primary); }

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(162, 24, 46, .92) 0%, rgba(50, 10, 18, .85) 100%),
    url('https://www.promotech.at/wp-content/uploads/2024/10/PROK_Web-Header_Hauptsujet_manuell_optimiert.jpg') center/cover no-repeat;
  color: #fff;
  padding: 96px 0 88px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  margin-bottom: .3em;
  max-width: 780px;
}
.hero .lead {
  max-width: 640px;
  font-size: 1.1rem;
  font-weight: 300;
  opacity: .95;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(162, 24, 46, .35);
}
.btn-ghost {
  background: transparent;
  color: var(--c-muted);
  border-color: var(--c-line);
}
.btn-ghost:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }

/* Main grid */
.main-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  margin-top: -56px;
  margin-bottom: 80px;
  align-items: start;
}

.event-card,
.form-card {
  background: var(--c-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px;
  position: relative;
}

.event-card {
  position: sticky;
  top: 96px;
  border-top: 4px solid var(--c-primary);
}
.event-card h2 { font-size: 1.35rem; }

.event-meta {
  margin: 0 0 24px;
  padding: 0;
}
.event-meta > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}
.event-meta > div:last-child { border-bottom: none; }
.event-meta dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.event-meta dd {
  margin: 0;
  font-weight: 400;
  color: #1c1c1c;
}

.event-contact {
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  font-size: .95rem;
  color: var(--c-muted);
}
.event-contact p { margin: 0 0 4px; }

/* Form */
.form-card h2 { font-size: 1.6rem; }
.form-intro {
  color: var(--c-muted);
  margin-bottom: 28px;
  font-size: .95rem;
}

.fs {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}
.fs legend {
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-primary);
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--c-primary);
  width: 100%;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: #1c1c1c;
  margin-bottom: 6px;
}
.req { color: var(--c-accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--c-text);
  background: #fbfbfb;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 100px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(162, 24, 46, .12);
}

.field input:invalid:not(:placeholder-shown),
.field.error input,
.field.error select {
  border-color: var(--c-accent);
  background: #fff6f6;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--c-muted);
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  background: #fbfbfb;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  transition: all .15s;
}
.check input:checked {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.check input:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}

/* Success */
.success {
  text-align: center;
  padding: 20px 0 10px;
}
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 2.4rem;
  line-height: 72px;
  animation: pop .35s ease;
}
@keyframes pop {
  0%   { transform: scale(.4); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.success h3 { font-size: 1.4rem; }
.success p { color: var(--c-muted); margin-bottom: 24px; }

/* Footer */
.site-footer {
  background: #1c1c1c;
  color: #b0b0b0;
  padding: 22px 0;
  font-size: .88rem;
}
.site-footer a { color: #d5d5d5; }
.site-footer a:hover { color: #fff; }
.footer-inner { text-align: center; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }
  .event-card { position: static; }
  .hero { padding: 72px 0 72px; }
}
@media (max-width: 560px) {
  .row { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .event-card, .form-card { padding: 24px; }
  .actions { flex-direction: column-reverse; }
  .actions .btn { width: 100%; }
}
